summaryrefslogtreecommitdiff
path: root/core/io
AgeCommit message (Collapse)Author
2017-05-05Merge pull request #8642 from RandomShaper/fix-pack-get-curr-dirRémi Verschelde
Fix infinite loop in DirAccessPack::get_current_dir()
2017-05-04Fix infinite loop in DirAccessPack::get_current_dir()Pedro J. Estébanez
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-23Fix property warnings and hide some debug printsRémi Verschelde
"ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
2017-04-11Fix a pesky bug in marshalls.cpp/encode_variantBojidar Marinov
Fixes #7556 running game from editor on LLVM builds.
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06Core: fix possible memory leaks.Andreas Haas
2017-03-24Merge pull request #8098 from bojidar-bg/configfile-get-value-suppressRémi Verschelde
Suppress error messages when using ConfigFile::get_value and a default is given
2017-03-24Merge pull request #7985 from Faless/enet_godot_sock_squashRémi Verschelde
Update ENet to use Godot sockets.
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-24Allow non blocking UDP put_packet in C++.Fabio Alessandrelli
- Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
2017-03-21Suppress error messages when using ConfigFile::get_value and a default is givenBojidar Marinov
Fixes #8097
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- 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
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-15Many fixes to make exported scenes work better, still buggy.Juan Linietsky
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-12Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde
TCP/UDP listen bind to address and bugfixes
2017-02-12Merge pull request #7749 from Faless/fix_7697Rémi Verschelde
HTTPClient properly handle partial data in non-blocking mode
2017-02-12Merge pull request #7743 from karroffel/json_parsing-3.0Rémi Verschelde
JSON::parse reports errors on open-ended objects (master)
2017-02-07HTTPClient properly handle partial data in non-blocking modeFabio Alessandrelli
Use block to send DVector::Write out of scope in HTTPClient::read_response_body_chunk()
2017-02-06shadows were not working in-editor for nvidia, fixed nowJuan Linietsky
2017-02-06JSON::parse reports errors on open-ended objectsKarroffel
2017-02-06Several bugfixes, improving the import workflowJuan Linietsky
2017-02-01CSV translation import pluginJuan Linietsky
2017-02-01Lot of work in new importer, importing textures now works.Juan Linietsky
2017-01-25Removed import/export system, will start new one from scratch.Juan Linietsky
2017-01-25Audio bus editing is COMPLETE!Juan Linietsky
2017-01-23Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli
- 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)
2017-01-23Implement UDP listen bind addressFabio Alessandrelli
2017-01-23Implement TCP Server bind addressFabio Alessandrelli
2017-01-23IP_Address can now be a wildcard (not a valid IP, used for binding)Fabio Alessandrelli
2017-01-23Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: No break before list braceRémi Verschelde
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`
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
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).
2017-01-15Fix error while JSON::parse with empty stringGeequlim
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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.
2017-01-14Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky
2017-01-14UDP.set_send_address to UDP.set_dest_addressJuan Linietsky
2017-01-14rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky
String.get_basename()
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-08Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky
2017-01-08Remove XML format, as promised, for 3.0Juan Linietsky
2017-01-08Variant INT and REAL are now 64 bits (other types remain at 32)Juan Linietsky
2017-01-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector