summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-04-22Add type_traits include for `std::is_trivially_destructible`Rémi Verschelde
2021-04-20Merge pull request #47956 from vnen/gdscript-double-stackRémi Verschelde
GDScript: Use special stack space for temporaries to reduce type changes
2021-04-19Use multiple threads to import.Juan Linietsky
- For now everything imports multithreaded by default (should work I guess, let's test). - Controllable per importer Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads: Importing goes down from 46 to 7 seconds. For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-18Merge pull request #35666 from Calinou/inputmap-nonexistent-suggestionsRémi Verschelde
Print suggestions when requesting a nonexistent InputMap action
2021-04-18Print suggestions when requesting a nonexistent InputMap actionHugo Locurcio
Co-authored-by: Marc Gilleron <marc.gilleron@gmail.com>
2021-04-17Avoid creating joy_names map entries when using Map operator[]Marcel Admiraal
2021-04-16Remove return value type adjust of builtin method callsGeorge Marques
Make calls faster with the caveat that the caller needs to make sure that the return value type is already correct.
2021-04-16Merge pull request #47701 from vnen/gdscript-test-runnerRémi Verschelde
2021-04-16Merge pull request #47726 from dalexeev/patch-1Rémi Verschelde
Fix `Color::get_{r,g,b,a}8`
2021-04-14Separate set.h from map.hBartłomiej T. Listwon
2021-04-12Fix PackedFloat32Array get index not workingJulien Nguyen
2021-04-11Fix `_File::get_buffer` length always set to p_lengthJohannes
2021-04-10Merge pull request #47761 from reduz/packedbytearray-marshallingRémi Verschelde
Add marshalling to PackedByteArray
2021-04-10Merge pull request #47512 from DanielKriz/bugfix/uri_encodeFabio Alessandrelli
fix wrong encoding format in uri_encode
2021-04-10Add marshalling to PackedByteArrayreduz
-Decode/Encode functions for u8,s8,u16,s16,u32,s32,u64,s64,half,float,double,variant -Improved binder template to allow this Given in Godot 4.0 PackedByteArray is passed as reference, it is now possible to have these functions there, which makes the most sense.
2021-04-10fix wrong encoding in uri_encodeDaniel Kříž
2021-04-09Fix `Color::get_{r,g,b,a}8`Danil Alexeev
Closes #47022.
2021-04-08Set resource path earlier on ProjectSettings setupGeorge Marques
Since loading the config might use the resource path, it needs to be set before that happens.
2021-04-06Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@01dce71403e93eb699cc156f3237725863f0105a.
2021-04-06Add flag to stop printing to stdout/stderrGeorge Marques
This allows the terminal output to be suppressed but still be captured by print/error handlers.
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-04-02fix crash on null class in ClassDB.get_property() and set_property()jmb462
2021-04-01Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde
Rename Array.invert() to Array.reverse()
2021-03-29Fix Quat multiplicationrafallus
x, y, z values were updated too early
2021-03-29Merge pull request #46830 from vnen/gdscript-typed-arraysRémi Verschelde
GDScript typed arrays
2021-03-26Optimize image channel detectionJuan Linietsky
Speeds up compression
2021-03-26Merge pull request #47163 from bruvzg/macos_sandbox_file_dialogRémi Verschelde
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-23Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@807ac1fbf9352da30ecbef869eced4a5bbf3c13e.
2021-03-23Merge pull request #40804 from naithar/fix/json-parseRémi Verschelde
JSON parser fix
2021-03-23Rename some more global enums (Key, Joy, MIDI)Aaron Franke
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-23Merge pull request #47231 from Faless/js/4.x_gamepad_db_dualsenseRémi Verschelde
[HTML5] Logitech Dual Action Gamepad FF/Linux
2021-03-23FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg
2021-03-23Merge pull request #45234 from madmiraal/rename-phashtranslationRémi Verschelde
Rename PHashTranslation to OptimizedTranslation
2021-03-23Merge pull request #45562 from aaronfranke/core-modules-real_tRémi Verschelde
Use real_t in GridMap and VariantParser
2021-03-22Merge pull request #34587 from ↵Rémi Verschelde
YeldhamDev/translation_resource_notification_removal Remove translation change notification when setting the locale of a Translation resource
2021-03-22Add a "keep" import mode to keep files as-is and export them.Juan Linietsky
2021-03-22Improved 3D Scene ImporterJuan Linietsky
* Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
2021-03-21[HTML5] Logitech Dual Action Gamepad FF/LinuxFabio Alessandrelli
2021-03-21Rename Array.invert() to Array.reverse()Marcel Admiraal
Does the same internally for List and Vector<>, which includes all PackedArray types.
2021-03-20Rename PHashTranslation to OptimizedTranslationMarcel Admiraal
2021-03-19Use real_t in GridMap and VariantParserAaron Franke
2021-03-18Make Variant setget use set() method of ArrayGeorge Marques
This ensure that typed arrays are properly checked when setting an element. Moved the macro to a straight declaration since the macro was only used for Array and it now is quite specific to the Array class.
2021-03-18Add functions to retrieve type of a typed ArrayGeorge Marques
2021-03-18Don't check type when assigning ArrayGeorge Marques
The array should just assimilate the type of the other one since assignment in this case means a change in the reference. This also adds a `typed_assign` function for the cases where type validation is wanted.
2021-03-16Allow nullptr with zero length in FileAccess get_bufferAlex Hirsch
fix #47071
2021-03-16Merge pull request #47076 from Faless/debugger/4.x_remote_peer_backoffRémi Verschelde
[Net] Make debugger peer less CPU intensive.
2021-03-16[Net] Make debugger peer less CPU intensive.Fabio Alessandrelli
Make sure that RemoteDebuggerPeer wait at least 100us between polls (effectively forcing a min tick of 100 microseconds). This greatly improve performances (the call to poll was useless since during low traffic, writes would always be available, and during high traffic, reads would always be available, effectively making it a busy-waiting loop). We could further improve this, by separating the two polls, and adjust the min tick based on load, but this is most likely more than enough already without sacrificing too much on high loads.
2021-03-16Fix bug causing `project.godot` to be ignored when `project.binary` is missingFredia Huya-Kouadio