Age | Commit message (Collapse) | Author |
|
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
|
|
|
|
enh: Add FLAG_NONE to SaverFlags in ResourceSaver to fix api inconsistency
fix: flags parameter of ResourceSaver::save is now uint32_t to allow flag composition in scripts
|
|
Previously, only one line per 100 files was printed.
This also refactors the print statement to use Godot methods and
make it more informative overall.
|
|
Fix loading of binary resources with 64-bit floats
|
|
Add missing flag when encode_variant writes math types with doubles
|
|
|
|
|
|
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
|
|
|
|
|
|
|
|
* Reuse was not setting the internal index.
* Supersedes #52599, without re-reading all properties.
|
|
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
|
|
This was changed in #56943 to allow adding new importers from plugins that
take precedence over built-in ones, but this should be opt-in, not the default
behavior.
Fixes #57730.
|
|
Make add_importer and add_post_importer_plugin override existing importers.
|
|
Faster CVTT by lowering default quality
|
|
Now correctly erases old instances.
The code will likely need overhaul anyway to be usable.
It doesn't apply to editor runs, there's a bunch of inconsistencies on
how to clients are handled, and I don't really understand why multiple
instances are created for a single client/server.
|
|
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
|
|
|
|
String: Add contains().
|
|
|
|
HTTPClientJavaScript already supports non-blocking requests.
|
|
Verify custom HTTP headers, fix off by one error
|
|
Use clear() instead of resize(0).
Use has() instead of "find(p_val) != -1".
|
|
First, we should not insert into cache if the hostname resolution has
failed (as it might be a temporary internet issue), second, the async
resolver should also properly insert into cache.
Took the chance to remove some duplicate code with critical section in
it at the cost of little performance when calling the blocking
resolve_hostname function.
|
|
|
|
Allow method binds to take Object subclasses as arguments
|
|
|
|
|
|
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
|
|
Remove unnecessary locale length checks.
Add "C" -> "en" locale remap.
|
|
|
|
Enforce mult-of-4 requirements on etcpak input.
|
|
|
|
Parsing was fixed, but not the return value for the exposed getter.
|
|
These are not used consistently and some can conflict with
system-specific defines. While here, also delete some unused macros.
|
|
|
|
|
|
Use separate language, script and country lists.
Add locale selection dialog and property hint.
|
|
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.
|
|
|
|
|
|
|
|
|
|
[File] Fix FileAccessCompressed::get_buffer return value.
|
|
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.
|
|
Fix http limitation for large "content-length"
|
|
Happy new year to the wonderful Godot community!
|