aboutsummaryrefslogtreecommitdiff
path: root/core/io (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0560-4210/+3490
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-0/+57
|
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-283-5/+3
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-217-9/+9
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Many fixes to make exported scenes work better, still buggy.Juan Linietsky2017-02-154-11/+54
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-1313-139/+139
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde2017-02-1211-65/+45
|\ | | | | TCP/UDP listen bind to address and bugfixes
| * Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-238-42/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
| * Implement UDP listen bind addressFabio Alessandrelli2017-01-232-3/+3
| |
| * Implement TCP Server bind addressFabio Alessandrelli2017-01-232-13/+2
| |
| * IP_Address can now be a wildcard (not a valid IP, used for binding)Fabio Alessandrelli2017-01-232-1/+8
| |
| * Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-235-7/+28
| |
* | Merge pull request #7749 from Faless/fix_7697Rémi Verschelde2017-02-121-2/+4
|\ \ | | | | | | HTTPClient properly handle partial data in non-blocking mode
| * | HTTPClient properly handle partial data in non-blocking modeFabio Alessandrelli2017-02-071-2/+4
| | | | | | | | | | | | | | | Use block to send DVector::Write out of scope in HTTPClient::read_response_body_chunk()
* | | Merge pull request #7743 from karroffel/json_parsing-3.0Rémi Verschelde2017-02-121-2/+2
|\ \ \ | |/ / |/| | JSON::parse reports errors on open-ended objects (master)
| * | JSON::parse reports errors on open-ended objectsKarroffel2017-02-061-2/+2
| | |
* | | shadows were not working in-editor for nvidia, fixed nowJuan Linietsky2017-02-061-2/+0
|/ /
* | Several bugfixes, improving the import workflowJuan Linietsky2017-02-062-1/+23
| |
* | CSV translation import pluginJuan Linietsky2017-02-012-4/+11
| |
* | Lot of work in new importer, importing textures now works.Juan Linietsky2017-02-015-13/+123
| |
* | Removed import/export system, will start new one from scratch.Juan Linietsky2017-01-256-226/+230
| |
* | Audio bus editing is COMPLETE!Juan Linietsky2017-01-251-1/+2
|/
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: No break before list braceRémi Verschelde2017-01-161-4/+2
| | | | | | | clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-165-1/+73
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Fix error while JSON::parse with empty stringGeequlim2017-01-151-1/+1
|
* removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-147-22/+22
| | | | added a check to detect this case in the future
* Style: Fix whole-line commented codeRémi Verschelde2017-01-146-22/+29
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky2017-01-142-3/+3
|
* UDP.set_send_address to UDP.set_dest_addressJuan Linietsky2017-01-142-5/+5
|
* rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-145-13/+13
| | | | String.get_basename()
* Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-113-12/+12
|
* Type renames:Juan Linietsky2017-01-119-72/+72
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky2017-01-082-13/+10
|
* Remove XML format, as promised, for 3.0Juan Linietsky2017-01-082-3052/+0
|
* Variant INT and REAL are now 64 bits (other types remain at 32)Juan Linietsky2017-01-082-24/+114
|
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-4/+4
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-0713-165/+165
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-059-31/+44
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* Begin modifying properties to make them more friendly to script and doc.Juan Linietsky2017-01-032-4/+4
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-0228-175/+175
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-023-112/+41
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-033-112/+41
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-0212-94/+153
|\ \ | | | | | | Fixes and improvementes for IPv6 implementation.
| * | Expose HTTP classes' set_ip_type to scriptingFabio Alessandrelli2016-12-132-6/+10
| | |
| * | Separate hostname resolve cache based on ip_typeFabio Alessandrelli2016-12-091-11/+15
| | |
| * | IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2016-12-093-47/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IP_Address changes: - Converts to and from String transparently while handling IPv4 as IPv6 mapped (::ffff:[IP]) address internally. - Completely remove AddrType enum. - Setting/Getting of ip array is now only possible through dedicated functions (ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6) - Add function to know if the address is a valid IPv4 (for IP implementation and enet)
| * | Allow setting ip_type for TCP/UDP and HTTP classesFabio Alessandrelli2016-12-098-0/+26
| | |
| * | Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-0910-32/+30
| | |
| * | Use an instance variable for ip_type in raw socketsFabio Alessandrelli2016-12-096-15/+24
| | | | | | | | | | | | | | | | | | | | | PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack). All calls to resolve addresses, sending/receving data, connecting/listening will use that socket type.