summaryrefslogtreecommitdiff
path: root/core/io
AgeCommit message (Collapse)Author
2020-12-17Merge pull request #44393 from Calinou/add-stdout-flush-project-settingRémi Verschelde
Add a project setting to enable stdout flushing in release builds
2020-12-15Quick fix to incorrect error messages when writing to compressed or ↵Andy Savage
encrypted files.
2020-12-15Add a project setting to enable stdout flushing in release buildsHugo Locurcio
This can be used in server builds for journalctl compatibility.
2020-12-10Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2Rémi Verschelde
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years, so let's drop it instead of keeping a compress type which doesn't work. The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-09Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde
Cleanup unused engine code
2020-12-09Cleanup unused engine codeTomasz Chabora
2020-12-09Merge pull request #44199 from bruvzg/pvs_fixes_1Rémi Verschelde
PVS-Studio static analyzer fixes
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-09Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde
Remove unused FileAccessBuffered
2020-12-06Tweak log file names for consistency between Mono and non-Mono logsHugo Locurcio
- Avoid spaces in Mono log file names. - Use a `.log` extension for Mono logs, just like non-Mono logs. - Use periods to separate hours/minutes/seconds for non-Mono logs.
2020-12-06Remove now unused FileAccessBuffered.Fabio Alessandrelli
2020-12-02Refactored Mesh internals and formats.reduz
-Changed how mesh data is organized, hoping to make it more efficient on Vulkan and GLES. -Removed compression, it now always uses the most efficient format. -Added support for custom arrays (up to 8 custom formats) -Added support for 8 weights in skeleton data. -Added a simple optional versioning system for imported assets, to reimport if binary is newer -Fixes #43979 (I needed to test) WARNING: -NOT backwards compatible with previous 4.x-devel, will most likely never be, but it will force reimport scenes due to version change. -NOT backwards compatible with 3.x scenes, this will be eventually re-added. -Skeletons not working any longer, will fix in next PR.
2020-11-27Merge pull request #40136 from Jummit/multiplayer-root-node-gettersFabio Alessandrelli
Add root_node as property of MultiplayerAPI
2020-11-27Disable SO_REUSEADDR for UDP.Fabio Alessandrelli
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP, which still requires different ADDR:PORT combinations).
2020-11-23Initialize class/struct variables with default values in core/ and drivers/Rafał Mikrut
2020-11-21Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelvAaron Franke
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2020-11-18Fix crash duplicating local-to-scene resourcesPedro J. Estébanez
2020-11-17Merge pull request #43610 from RandomShaper/fix_res_duplicateRémi Verschelde
Fix crash in resoure duplicate
2020-11-17Fix crash in resoure duplicatePedro J. Estébanez
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #43493 from timothyqiu/request-absolute-authorityFabio Alessandrelli
Allow HTTPClient to talk to a proxy server
2020-11-15fix custom loader/saver brokenZae
2020-11-14Allows HTTPClient to talk to proxy serverHaoyu Qiu
* Makes request uri accept absolute URL and authority * Adds Host header only when missing
2020-11-10Create Variant built-in functions.reduz
-Moved Expression to use this, removed its own. -Eventually GDScript/VisualScript/GDNative need to be moved to this. -Given the JSON functions were hacked-in, removed them and created a new JSONParser class -Made sure these functions appear properly in documentation, since they will be removed from GDScript
2020-11-10Merge pull request #40748 from RandomShaper/improve_packed_fs_apiRémi Verschelde
Improve/fix packed data API
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07Increase the default HTTPClient download chunk size to 64 KiBHugo Locurcio
This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-10Fixes HTTPClient::poll crash after connection is self-assignedHaoyu Qiu
2020-10-05Improve format version mismatch error in binary loaderRémi Verschelde
2020-09-28Rename the ".import" folder to ".godot/imported"Aaron Franke
2020-09-19Fix crash when opening a ZIP data packHugo Locurcio
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-07Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde
Adds PCK encryption support (using script encryption key for export).
2020-09-07Merge pull request #38944 from Wavesonics/http-gzipFabio Alessandrelli
HttpRequest now handles gzipping response bodies
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03Ensure header guards enclose entire header.Marcel Admiraal
2020-09-03Merge pull request #41460 from Calinou/improve-resource-load-fail-messageRémi Verschelde
Improve the resource loading error message to mention the need to import
2020-09-03Merge pull request #40400 from Arivval/load-resourcepack-with-offsetRémi Verschelde
Added PCK file loading with offset feature
2020-09-02added load resource pack with offset featureYilin Ma
updated variables to use size_t removed line break to make code style more consistent added conditional check to return an error if offset field is used when loading a ZIP package fixed typo formatted file added commit regarding self contained exe files handled error loging for load zip file with offset spelling tweak updated conditional statement for magic check udpated error message when load Zip file with offset is called fix CI Trying to fix CI fix CI done Added error message for loading self-contained exe with offset. Updated documentation. Fix indent final fix indent Updated documentation. fix indents Updated doc based on suggestion Final fix fixed format
2020-09-02HTTPRequest now accepts gzipAdam Brown
Added request_raw to HttpRequest Added decompress_dynamic to Compression class Added decompress_dynamic to BytePoolArray Merge doc fix revert
2020-08-31[funexpected] clear missed remaps on deinitialization, fixes ↵Yakov Borevich
godotengine/godot#34221
2020-08-22Improve the resource loading error message to mention the need to importHugo Locurcio
This is a common pitfall when setting up projects in a headless environment.
2020-08-19Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ
fixes and updated class Reference.
2020-08-19Added plurals and context support to TranslationSkyJJ
2020-07-27Make all String float conversion methods be 64-bitAaron Franke
2020-07-27Improve/fix packed data APIPedro J. Estébanez
- Enhance directory API - Fix `FileAccess::exists()` not checking for PackedData being disabled - Fix moving to the parent directory (`..`) - Allow absolute paths in existence checks
2020-07-22issue-40396 - Added missing error strings to JSON parsing when array or ↵Adam Bates
object is never closed.
2020-07-21Fix spelling & grammar in comments, docs, and messagesAndy Maloney