summaryrefslogtreecommitdiff
path: root/core/io
AgeCommit message (Collapse)Author
2022-12-21Fix crashed when compressing empty image data.stmSi
2022-12-20Merge pull request #65376 from reduz/astc-supportRémi Verschelde
Implement basic ASTC support
2022-12-20Implement basic ASTC supportJuan Linietsky
Implements basic ASTC support: * Only 4x4 and 8x8 block sizes. * Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future. The need for ASTC is mostly for the following use cases: * Implement a high quality compression option for textures on mobile and M1 Apple hardware. * For this, the 4x4 is sufficient, since it uses the same size as BPTC. ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high. Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing. Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-07Fix `ResourceLoader::thread_load_tasks` crashAdam Scott
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-02ETCPAK expects BGRA data for ETCBastiaan Olij
2022-11-29[Core] Fix Resource.resource_name type.Fabio Alessandrelli
The methods returns a String, but the Variant was bound as a StringName. We could alternatively change the method return type but that's a breaking change which will requires code changes in other parts of the engine.
2022-11-22Merge pull request #64284 from kleonc/image-rotate90-in-placeRémi Verschelde
`Image` Fix `rotate_90`/`rotate_180` methods
2022-11-17Merge pull request #67619 from nongvantinh/fix-calling-pckpacker-crashRémi Verschelde
Fixes engine crashes caused by the user failing to initialize PCKPacker with pck_start()
2022-11-04Implement SVG in OT support.bruvzg
2022-11-02Merge pull request #66017 from Mickeon/rename-image-copy-rectRémi Verschelde
Rename Image's `get_rect` to `get_region`
2022-11-01Rename Image's `get_rect` to `get_region`Micky
Also renames its parameter to from "rect" to "region".
2022-11-01Fix Image::bump_map_to_normal_map incorrectly keeping mipmap flagdzil123
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #67577 from qarmin/fix_exporting_big_templatesRémi Verschelde
Fix exporting with big export templates
2022-10-28Expose the logic to recognize a save path in ResourceSaverGilles Roudière
2022-10-24Fix crash when calling `fill` method on an empty `Image`Yuri Rubinsky
2022-10-19Fixes engine crashes caused by the user failing to initialize PCKPacker with ↵Nong Van Tinh
pck_start()
2022-10-19Fix exporting big templatesRafał Mikrut
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-15Merge pull request #65281 from MisterMX/zip-moduleRémi Verschelde
Expose minizip API to allow creating zips using scripts
2022-10-14Expose minizip API to allow creating zips using scriptsMarcelo Fernandez
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com> Co-authored-by: James Westman <flyingpimonster@gmail.commail> Co-authored-by: MisterMX <mbxd12@web.de> Signed-off-by: MisterMX <mbxd12@web.de>
2022-10-14Make some Image methods statickobewi
2022-10-11Merge pull request #67241 from ↵Rémi Verschelde
groud/expose_resource_format_loader_recognize_path Exposes ResourceFormatLoader.recognize_path to scripting
2022-10-11Exposes ResourceFormatLoader.recognize_path to scriptingGilles Roudière
2022-10-10Defer clearing of ResourceUID cache and silence warningskobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-05Merge pull request #66886 from akien-mga/error-print-cleanupRémi Verschelde
Logger: Don't print error twice on `ERR_PRINT`
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Logger: Don't print error twice on `ERR_PRINT`Rémi Verschelde
Also fix broken `ERR_PRINT_ED` macro and simplify comments. For the record these macros aren't used yet, they're intended to be used where needed to surface messages in the toaster when useful to end users, but we haven't done that codebase review yet.
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