summaryrefslogtreecommitdiff
path: root/core/io
AgeCommit message (Collapse)Author
2022-01-24Fix translation with multiple sources for the same language.bruvzg
Remove unnecessary locale length checks. Add "C" -> "en" locale remap.
2022-01-23Merge pull request #56931 from lyuma/etcpak_po2Rémi Verschelde
Enforce mult-of-4 requirements on etcpak input.
2022-01-22Pad etcpak input to 4x4 blocks. Fixes #49981Lyuma
2022-01-23[Net] Fix get_response_body_length for large files.Fabio Alessandrelli
Parsing was fixed, but not the return value for the exposed getter.
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-19Fix locale always selecting translation instead of "en", when no match found.bruvzg
2022-01-18Improve locale detection.bruvzg
Use separate language, script and country lists. Add locale selection dialog and property hint.
2022-01-14Remove support for PVRTC texture encoding and decodingHugo Locurcio
On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-06Rename Variant enum members in resource_format_binary.cppAaron Franke
2022-01-06Merge pull request #56224 from Calinou/variant-rename-packed-array-constantsRémi Verschelde
2022-01-06Fix multiple missing UTF-8 decoding.bruvzg
2022-01-06Merge pull request #53434 from Faless/io/4.x_file_access_compressedRémi Verschelde
[File] Fix FileAccessCompressed::get_buffer return value.
2022-01-04Style: Remove inconsistently used `@author` docstringsRémi Verschelde
Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.
2022-01-04Merge pull request #56331 from Cnidarias/large_http_downloadsFabio Alessandrelli
Fix http limitation for large "content-length"
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-30Fix http limitation for large "content-length"Cnidarias
When a request was issued to a server that returned "content-length" header whose value was greater than that of an "int" we ran into overflow problems. The fix for this was rather simple by increasing the data type to `int64_t`
2021-12-24Rename Variant Packed*Array constants for consistencyHugo Locurcio
All arrays are now prefixed with `PACKED_` to distinguish them from GDScript's generic typed arrays. `RAW_ARRAY` is now `PACKED_BYTE_ARRAY` (RawArray was the name of PackedByteArray back in Godot 2.x).
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-06Merge pull request #47257 from timothyqiu/http-client-proxyRémi Verschelde
2021-11-26Fix console colors on WindowsYuri Roubinsky
2021-11-24Project feature warning systemAaron Franke
2021-11-24Adds proxy support for HTTPClientHaoyu Qiu
Also fixed a potential infinite loop when connecting to server.
2021-11-23Image Use memcpy() in fill(), fill_rect(), _put_pixelb(), _get_pixelb()kleonc
Co-authored-by: Lightning_A <aaronjrecord@gmail.com>
2021-11-23Add Image::fill_rect methodkleonc
2021-11-21Fix crash when executing PackedDataContainer._iter_initHaoyu Qiu
2021-11-17Fix divide by zero in pck_packerPaulb23
2021-11-14Add path to functions that return iporter optionsreduz
-Allows displaying custom options for specific file format variants -Added support for scene format import to retrieve custom options This PR is necessary for #54886 to be implemented properly.
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-04Add is_built_in() method to Resourcekobewi
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-25Fixed implicit conversion of uint32_t to uint8_t in `image`Anton Christoffersson
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-19Merge pull request #52940 from groud/toast_notificationRémi Verschelde
2021-10-14Add a name to TileSet sourcesGilles Roudière
2021-10-14Implement toast notifications in the editorGilles Roudière
2021-10-12Fix some LGTM errors of "Multiplication result converted to larger type"Aaron Franke
2021-10-05Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_masterRémi Verschelde
2021-10-05[File] Fix FileAccessCompressed::get_buffer return value.Fabio Alessandrelli
It used to return the write index instead of the written bytes (i.e. index + 1) when reading until last block.
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Use functions defined in the their classes.Anilforextra
2021-09-28Merge pull request #52481 from Faless/net/4.x_native_peersFabio Alessandrelli
[Net] Extension system for network peers, webrtc.
2021-09-27Parse UTF-8 when getting path from resource UIDHaoyu Qiu
2021-09-24[Net] StreamPeer GDExtension.Fabio Alessandrelli
2021-09-24[Net] Enable PacketPeer native extensions.Fabio Alessandrelli
2021-09-15Provide a getter for the project data directory.ne0fhyk
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-02Fix _send_default_spawn_default function sending zero lengthSaracenOne
PackedByteArray when deriving from a single PackedByteArray state variant.
2021-08-30Merge pull request #52240 from Rubonnek/rename-rel-pathJuan Linietsky
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30Try other resolved IPs if one fails to connectHaoyu Qiu