summaryrefslogtreecommitdiffstats
path: root/core/io
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@d09d82d433b03bb3773fd2a8cc8d6ccc2f8739ceSpartan3222024-11-265-0/+50
|\
| * Merge pull request #97716 from ↵Thaddeus Crews2024-11-225-0/+50
| |\ | | | | | | | | | | | | | | | pafuent/add_half_precision_floating_point_to_stream_peer Add half precision floating point support to `StreamPeer` and `FileAccess`
| | * Add half precision floating point support to `StreamPeer`Pablo Andres Fuente2024-11-125-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes godotengine/godot-proposals#5983 Adds put/get methods to `StreamPeer` that handles half precision floating point values. Adds endode/decode half precision floating point to `marshalls`. Adds `get_half` and `store_half` to `FileAccess` Co-Authored-By: "Alfonso J. Ramos" <theraot@gmail.com>
* | | Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-201-15/+6
|\| |
| * | Revert "ResourceLoader: Report error if resource type unrecognized"Rémi Verschelde2024-11-201-15/+6
| | | | | | | | | | | | This reverts commit fe21913ee82c9e3fd660b511f618fce40cf43e49.
* | | Merge commit godotengine/godot@fd4c29a189e53a1e085df5b9b9a05cac9351b3efSpartan3222024-11-1910-27/+28
|\| |
| * | Merge pull request #99286 from KoBeWi/uid_in_a_path_factoryThaddeus Crews2024-11-183-7/+12
| |\ \ | | | | | | | | | | | | Support uid:// in more places
| | * | Support uid:// in more placeskobewi2024-11-163-7/+12
| | | |
| * | | Merge pull request #98483 from timothyqiu/pack-dir-existsThaddeus Crews2024-11-181-4/+0
| |\ \ \ | | | | | | | | | | | | | | | `DirAccessPack`: Fix `file_exists` and `dir_exists` in exported projects
| | * | | DirAccessPack: Fix file_exists and dir_exists in exported projectsHaoyu Qiu2024-10-241-4/+0
| | | | |
| * | | | Use `(r)find_char` instead of `(r)find` for single charactersA Thousand Ships2024-11-176-16/+16
| | |/ / | |/| |
* | | | Merge commit godotengine/godot@6c05ec3d6732cac44cf85c91db7d3fd1075bcb23Spartan3222024-11-159-25/+103
|\| | |
| * | | Resource UID fixes and improvementskobewi2024-11-143-6/+28
| | | |
| * | | Merge pull request #98918 from bruvzg/pck_enc_ivThaddeus Crews2024-11-135-18/+72
| |\ \ \ | | | | | | | | | | | | | | | Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
| | * | | Allow setting custom initialization vector for FileAccessEncrypted. Add ↵bruvzg2024-11-135-18/+72
| | | | | | | | | | | | | | | | | | | | export setting to set static seed for PCK encryption initialization vectors.
| * | | | Fix PackedData::has_path() using wrong path format.Pāvels Nadtočajevs2024-11-131-1/+1
| |/ / /
* | | | Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-1218-413/+722
|\| | |
| * | | Merge pull request #98120 from dalexeev/core-typed-dicts-bin-serializationThaddeus Crews2024-11-121-144/+261
| |\ \ \ | | | | | | | | | | | | | | | Core: Add typed dictionary support for binary serialization
| | * | | Core: Add typed dictionary support for binary serializationDanil Alexeev2024-11-121-144/+261
| | | |/ | | |/|
| * | | Merge pull request #98084 from BlueCube3310/image-cleanup-v2Thaddeus Crews2024-11-122-236/+235
| |\ \ \ | | | | | | | | | | | | | | | Clean up Image
| | * | | Clean up ImageBlueCube33102024-11-012-236/+235
| | | | |
| * | | | Merge pull request #98969 from Faless/net/split_socketsThaddeus Crews2024-11-121-0/+2
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | [Net] Split Unix/Windows NetSocket implementation
| | * | | [Net] Split Unix/Windows NetSocket implementationFabio Alessandrelli2024-11-101-0/+2
| | | | |
| * | | | Merge pull request #97363 from reduz/deterministic-gen-suberesources-idThaddeus Crews2024-11-111-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Allow passing UID to importer
| | * | | | Allow passing UID to importerJuan2024-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps, for importers spitting out new resources to the res:// filesystem to actually hash them to generate deterministic UIDs. This PR also fixes the determinism for translations.
| * | | | | Merge pull request #96590 from reduz/list-directoryThaddeus Crews2024-11-112-0/+58
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Provide a reliable way to see original resources in a directory
| | * | | | | Provide a reliable way to see original resources in a directoryJuan2024-10-072-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When exporting a project, resources are often moved, converted or remapped (source import files are gone, text scenes are converted to binary, etc). This new function allows to list a directory and obtain the actual original resource files. Example ```GDScript var resources = ResourceLoader.list_directory("res://images") print(resources) ``` Result will be something like: ``` ["image1.png","image2.png","image3.png"] ``` instead of ``` ["image1.png.import","image2.png.import","image3.png.import"] ```
| * | | | | | Merge pull request #97356 from reduz/pck-file-removalThaddeus Crews2024-11-114-25/+101
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add ability for PCK patches to remove files
| | * | | | | | Add ability for PCK patches to remove filesJuan2024-11-114-25/+101
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
| * | | | | | Merge pull request #97352 from reduz/uids-everywhereThaddeus Crews2024-11-116-1/+39
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Universalize UID support in all resource types
| | * | | | | | Universalize UID support in all resource typesJuan2024-11-116-1/+39
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures all resource types support UIDs in a project. This is required to fix: * Scripts and many other resource types can't be referenced by UID and when refactored the references are lost. * Path export properties can't use UID for unsupported types. * Refactoring problems when files are moved outside the editor (this PR effectively fixes it). * Editor properly refreshing paths if they changed externally while opened (as example, git update). This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites. Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
| * | | | | | Merge pull request #92986 from Repiteo/core/ref-instantiate-integrationThaddeus Crews2024-11-111-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Core: Integrate Ref `instantiate` where possible
| | * | | | | | Core: Integrate `Ref::instantiate` where possibleThaddeus Crews2024-11-101-1/+1
| | |/ / / / /
| * / / / / / CI: Update Linux runners to Ubuntu 24.04Thaddeus Crews2024-11-103-5/+24
| |/ / / / /
* | | | | | Merge commit godotengine/godot@0f5f3bc9546b46b2029fc8896dc859697f1eab97Spartan3222024-11-115-12/+27
|\| | | | |
| * | | | | Merge pull request #97370 from RandomShaper/refix_rl_not_foundThaddeus Crews2024-11-101-6/+15
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ResourceLoader: Report error if resource type unrecognized
| | * | | | | ResourceLoader: Report error if resource type unrecognizedPedro J. Estébanez2024-11-041-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Summersay415 <summersay415@gmail.com>
| * | | | | | Merge pull request #86600 from nikitalita/fix-missing-resourcesThaddeus Crews2024-11-103-5/+11
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | Fix `MissingResource` properties being stripped on save
| | * | | | | Fix missing resource properties being dropped on savenikitalita2024-11-053-5/+11
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #98150 from hunterloftis/fix-default-import-threadedThaddeus Crews2024-11-071-1/+1
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | Fix freeze on non-thread-safe custom importers
| | * | | | Fix freeze on non-thread-safe custom importersHunter Loftis2024-10-151-1/+1
| | | | | |
* | | | | | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-0224-128/+128
|\| | | | |
| * | | | | [Core] Improve error messages with `vformat`A Thousand Ships2024-10-3024-128/+128
| | | | | |
* | | | | | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-304-6/+6
|\| | | | |
| * | | | | Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-254-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Set clang-format `Standard` rule to `c++20`
* | | | | | Fix copyright headers referring to GodotSpartan3222024-10-2786-172/+172
| | | | | |
* | | | | | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5Spartan3222024-10-241-2/+1
|\| | | | |
| * | | | | Merge pull request #97868 from timothyqiu/po-loaderThaddeus Crews2024-10-241-2/+1
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | Fix "No loader found" error after editing PO file
| | * | | | Fix "No loader found" error after editing PO fileHaoyu Qiu2024-10-061-2/+1
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PO files used to be loaded as simple `Translation` resources. We later added a dedicated `TranslationPO` resource for it. But the loader still thinks it can only handle `Translation` resources, so it refuses to load the updated `TranslationPO` resource.
* | | | | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-222-1/+6
|\| | | |