summaryrefslogtreecommitdiffstats
path: root/core/io
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde2020-12-094-14/+1
|\ | | | | Cleanup unused engine code
| * Cleanup unused engine codeTomasz Chabora2020-12-094-14/+1
| |
* | Merge pull request #44199 from bruvzg/pvs_fixes_1Rémi Verschelde2020-12-093-8/+3
|\ \ | | | | | | PVS-Studio static analyzer fixes
| * | Static analyzer fixes:bruvzg2020-12-093-8/+3
| |/ | | | | | | | | | | Removes unused code in OS. Fixes return types. Fixes few typos.
* | Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde2020-12-093-380/+0
|\ \ | |/ |/| Remove unused FileAccessBuffered
| * Remove now unused FileAccessBuffered.Fabio Alessandrelli2020-12-063-380/+0
| |
* | Tweak log file names for consistency between Mono and non-Mono logsHugo Locurcio2020-12-061-1/+1
|/ | | | | | - 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.
* Refactored Mesh internals and formats.reduz2020-12-021-0/+1
| | | | | | | | | | | | | | | -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.
* Merge pull request #40136 from Jummit/multiplayer-root-node-gettersFabio Alessandrelli2020-11-272-0/+7
|\ | | | | Add root_node as property of MultiplayerAPI
| * add root_node as property of MultiplayerAPIJummit2020-07-052-0/+7
| |
* | Disable SO_REUSEADDR for UDP.Fabio Alessandrelli2020-11-271-1/+0
| | | | | | | | | | It allows binding multiple sockets to the same ADDR:PORT (unlike TCP, which still requires different ADDR:PORT combinations).
* | Initialize class/struct variables with default values in core/ and drivers/Rafał Mikrut2020-11-234-9/+9
| |
* | Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelvAaron Franke2020-11-212-8/+8
| | | | | | | | Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
* | Fix crash duplicating local-to-scene resourcesPedro J. Estébanez2020-11-181-5/+3
| |
* | Merge pull request #43610 from RandomShaper/fix_res_duplicateRémi Verschelde2020-11-171-3/+3
|\ \ | | | | | | Fix crash in resoure duplicate
| * | Fix crash in resoure duplicatePedro J. Estébanez2020-11-171-3/+3
| | |
* | | Remove empty lines around braces with the formatting scriptAaron Franke2020-11-1611-17/+0
| | |
* | | Merge pull request #43493 from timothyqiu/request-absolute-authorityFabio Alessandrelli2020-11-161-14/+45
|\ \ \ | | | | | | | | Allow HTTPClient to talk to a proxy server
| * | | Allows HTTPClient to talk to proxy serverHaoyu Qiu2020-11-141-14/+45
| | | | | | | | | | | | | | | | | | | | * Makes request uri accept absolute URL and authority * Adds Host header only when missing
* | | | fix custom loader/saver brokenZae2020-11-152-2/+2
|/ / /
* | | Create Variant built-in functions.reduz2020-11-102-1/+54
| | | | | | | | | | | | | | | | | | | | | -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
* | | Merge pull request #40748 from RandomShaper/improve_packed_fs_apiRémi Verschelde2020-11-102-6/+48
|\ \ \ | |/ / |/| | Improve/fix packed data API
| * | Improve/fix packed data APIPedro J. Estébanez2020-07-272-6/+48
| | | | | | | | | | | | | | | | | | | | | - Enhance directory API - Fix `FileAccess::exists()` not checking for PackedData being disabled - Fix moving to the parent directory (`..`) - Allow absolute paths in existence checks
* | | Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-093-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | Reorganized core/ directory, it was too fatty alreadyreduz2020-11-0750-65/+5298
| | | | | | | | | | | | | | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* | | Increase the default HTTPClient download chunk size to 64 KiBHugo Locurcio2020-11-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
* | | Refactor MethodBind to use variadic templatesreduz2020-10-181-1/+1
| | | | | | | | | | | | Removed make_binders and the old style generated binders.
* | | Fixes HTTPClient::poll crash after connection is self-assignedHaoyu Qiu2020-10-101-0/+4
| | |
* | | Improve format version mismatch error in binary loaderRémi Verschelde2020-10-051-2/+5
| | |
* | | Rename the ".import" folder to ".godot/imported"Aaron Franke2020-09-281-1/+2
| | |
* | | Fix crash when opening a ZIP data packHugo Locurcio2020-09-191-1/+1
| | | | | | | | | | | | Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | | Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde2020-09-077-86/+282
|\ \ \ | | | | | | | | Adds PCK encryption support (using script encryption key for export).
| * | | Adds PCK encryption support (using script encryption key for export).bruvzg2020-09-057-86/+282
| | | | | | | | | | | | | | | | Change default encryption mode from ECB to CFB.
* | | | Merge pull request #38944 from Wavesonics/http-gzipFabio Alessandrelli2020-09-072-0/+90
|\ \ \ \ | |/ / / |/| | | HttpRequest now handles gzipping response bodies
| * | | HTTPRequest now accepts gzipAdam Brown2020-09-022-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added request_raw to HttpRequest Added decompress_dynamic to Compression class Added decompress_dynamic to BytePoolArray Merge doc fix revert
* | | | [Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg2020-09-036-21/+21
| | | |
* | | | Ensure header guards enclose entire header.Marcel Admiraal2020-09-031-4/+4
| | | |
* | | | Merge pull request #41460 from Calinou/improve-resource-load-fail-messageRémi Verschelde2020-09-031-1/+2
|\ \ \ \ | | | | | | | | | | Improve the resource loading error message to mention the need to import
| * | | | Improve the resource loading error message to mention the need to importHugo Locurcio2020-08-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This is a common pitfall when setting up projects in a headless environment.
* | | | | Merge pull request #40400 from Arivval/load-resourcepack-with-offsetRémi Verschelde2020-09-034-9/+21
|\ \ \ \ \ | |_|/ / / |/| | | | Added PCK file loading with offset feature
| * | | | added load resource pack with offset featureYilin Ma2020-09-024-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | [funexpected] clear missed remaps on deinitialization, fixes ↵Yakov Borevich2020-08-311-0/+3
| | | | | | | | | | | | | | | | | | | | godotengine/godot#34221
* | | | | Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ2020-08-191-2/+3
| | | | | | | | | | | | | | | | | | | | fixes and updated class Reference.
* | | | | Added plurals and context support to TranslationSkyJJ2020-08-191-10/+97
| |/ / / |/| | |
* | | | Make all String float conversion methods be 64-bitAaron Franke2020-07-271-1/+1
| |/ / |/| |
* | | issue-40396 - Added missing error strings to JSON parsing when array or ↵Adam Bates2020-07-221-0/+2
| | | | | | | | | | | | object is never closed.
* | | Fix spelling & grammar in comments, docs, and messagesAndy Maloney2020-07-211-1/+1
| | |
* | | Merge pull request #40374 from Faless/udp/server_abstractionRémi Verschelde2020-07-144-35/+166
|\ \ \ | | | | | | | | UDPServer uses single socket, abstract clients.
| * | | UDPServer handles PacketPeerUDP-client associationFabio Alessandrelli2020-07-144-35/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UDPServer now uses a single socket which is shared with the PacketPeerUDP it creates and has a new `poll` function to read incoming packets on that socket and delivers them to the appropriate peer. PacketPeerUDP created this way never reads from the socket, but are allowed to write on it using sendto. This is needed because Windows (unlike Linux/BSD) does not support packet routing when multiple sockets are bound on the same address/port.
* | | | PO loader: Fix unclosed files and error messagesRémi Verschelde2020-07-141-9/+13
|/ / / | | | | | | | | | | | | | | | Trying to get `f->get_path()` after deleting `f` was not super clever :) Fixes #40324.