summaryrefslogtreecommitdiff
path: root/core/io
AgeCommit message (Collapse)Author
2022-09-30Fix crash when executing `ResourceUID.set_id`Haoyu Qiu
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-27Make some File/Dir methods privatekobewi
2022-09-26Fix FileAccessZip() causing a stack overflownikitalita
2022-09-23Merge pull request #66246 from Jummit/fix-dir-crashRémi Verschelde
Fix crash when listing files in nonexistent directory
2022-09-22Fix crash when listing files in nonexistent directoryJummit
2022-09-22Merge pull request #66110 from Zylann/reference_get_countRémi Verschelde
get_reference_count()`
2022-09-21Rename and expose `RefCounted::get_reference_count()`Marc Gilleron
2022-09-21Merge pull request #66117 from RedMser/json-parse-recursionRémi Verschelde
Add recursion depth check to `JSON.stringify/parse`
2022-09-20Merge pull request #63740 from Faless/net/4.x_http_request_decompressRémi Verschelde
[HTTP] Implement streaming decompression.
2022-09-20[IO] Add StreamPeerGZIP for streaming compression/decompression.Fabio Alessandrelli
Putting data results in writing the compressed/decompressed output into a RingBuffer. You can retrieve the content of the RingBuffer via get_data. Support both gzip and deflate.
2022-09-20Merge pull request #60408 from KoBeWi/statically_typed_directoriesRémi Verschelde
Introduce more static methods to directory API
2022-09-20Introduce more static methods to directory APIkobewi
2022-09-20[Core] Make ImageFormatLoader extensible.Fabio Alessandrelli
2022-09-19Add recursion depth check to JSON stringify/parseRedMser
2022-09-19Replace File/Directory with FileAccess/DirAccesskobewi
2022-09-16Merge pull request #65295 from reduz/json-as-resourceRémi Verschelde
2022-09-10Fixes #65377: get_datetime_* functions can return wrong valuesJames
2022-09-09Merge pull request #64938 from YuriSizov/editor-scaled-iconsRémi Verschelde
2022-09-09Fix parsing of XML CDATA and add test casesHaoyu Qiu
2022-09-08[Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli
2022-09-07Allow images to be imported "for editor use" and respect editor settingsYuri Sizov
2022-09-07Merge pull request #65447 from Faless/net/4.x_ssl_to_tlsRémi Verschelde
[Net] Rename StreamPeerSSL to StreamPeerTLS.
2022-09-07[Net] Rename StreamPeerSSL to StreamPeerTLS.Fabio Alessandrelli
SSL has been deprectated almost 10 years ago.
2022-09-06Prevent HTTPRequest from polling invalid clientMicky
2022-09-04Replace Rect2(i) has_no_area with has_areaAaron Franke
2022-09-04Treat JSON as resource files.Juan Linietsky
This makes the files ended in ".json" be treated as Godot resources. This solves two problems: * Avoid extensions to implement their own handling, which results in conflicts (all must use this one). * Allow code to still work opening it as a file (since it will not be imported).
2022-09-01Merge pull request #65212 from Faless/net/4.x_simplify_ext_bindingsRémi Verschelde
2022-09-01Merge pull request #65187 from JohanAR/vector_to_sizeRémi Verschelde
2022-09-01Merge pull request #65206 from aaronfranke/fix-projection-decodeRémi Verschelde
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
2022-09-01Simplify network GDExtension bindings using EXBIND macros.Fabio Alessandrelli
Simplify StreamPeer, PacketPeer, MultiplayerPeer extension. Simplify and update WebRTC*Extension with newly supported types.
2022-09-01Fix a minor bug in the Projection binary decode logicAaron Franke
2022-09-01Add support for scene/resource customization in export pluginsJuan Linietsky
EditorExportPlugin adds a set of callbacks to allow customizing scenes, resources or subresources in all files exported: * Can take scene files, resource files and subresources in all of them. * Uses a cache for the converted files if nothing changes, so this work only happens if a file is modified. * Uses hashing to differentiate export configuration caches. * Removed the previous conversion code to binary, as this one uses existing stuff. This API is useful in several scenarios: * Needed by the "server" export platform to get rid of textures, meshes, audio, etc. * Needed by text to binary converters. * Needed by eventual optimizations such as shader precompiling on export, mesh merging and optimization, etc. This is a draft, feedback is very welcome.
2022-08-30Additional fixes to the Android `get_current_dir()` implementation.Fredia Huya-Kouadio
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Merge pull request #65031 from akien-mga/os-drop-obsolete-resource-debuggingRémi Verschelde
2022-08-29Drop obsolete resource usage debug methods from OS classRémi Verschelde
These methods exist since the dawn of (open source) Godot and have hardly been updated over time, so they barely work and I'm fairly sure nobody is using them. (See #46505 for details.) While some of the functionality they aimed to provide might be useful for optimization work and introspection, this should likely be redesigned from scratch with a cleaner and more modern interface (e.g. exposed via the Performance singleton, or ResourceLoader, and a better API overall).
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-25Merge pull request #64776 from YuriSizov/import-images-moar-flagsRémi Verschelde
2022-08-25Merge pull request #64844 from RandomShaper/fa_access_typeRémi Verschelde
Add `FileAccess::get_access_type()`
2022-08-24Add FileAccess::get_access_type()Pedro J. Estébanez
2022-08-24fix arg naming in ResourceFormatLoader extensionderammo
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Make `ImageLoader` take bit field flagsYuri Sizov
2022-08-16Make JSON methods statickobewi
2022-08-08Merge pull request #63632 from ↵Rémi Verschelde
dsnopek/fix-locale-remap-with-binary-resources-4.x [4.x] Fix locale resource remapping with binary conversion on export
2022-08-08Fix locale resource remapping with binary conversion on exportDavid Snopek
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-08-08Merge pull request #62861 from samdze/image-size-vector2iRémi Verschelde
Make Image.get_size() return a Vector2i instead of a Vector2