summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* NodePath: Remove unimplemented `get_parent()` methodRémi Verschelde2021-04-231-2/+0
| | | | Fixes #48100.
* Make randomize() use unix time tookobewi2021-04-221-1/+1
|
* Add type_traits include for `std::is_trivially_destructible`Rémi Verschelde2021-04-221-0/+1
|
* Merge pull request #47956 from vnen/gdscript-double-stackRémi Verschelde2021-04-201-33/+0
|\ | | | | GDScript: Use special stack space for temporaries to reduce type changes
| * Remove return value type adjust of builtin method callsGeorge Marques2021-04-161-33/+0
| | | | | | | | | | Make calls faster with the caveat that the caller needs to make sure that the return value type is already correct.
* | Use multiple threads to import.Juan Linietsky2021-04-193-2/+42
| | | | | | | | | | | | | | | | | | | | - 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.
* | Merge pull request #35666 from Calinou/inputmap-nonexistent-suggestionsRémi Verschelde2021-04-182-9/+39
|\ \ | | | | | | Print suggestions when requesting a nonexistent InputMap action
| * | Print suggestions when requesting a nonexistent InputMap actionHugo Locurcio2021-04-182-9/+39
| | | | | | | | | | | | Co-authored-by: Marc Gilleron <marc.gilleron@gmail.com>
* | | Avoid creating joy_names map entries when using Map operator[]Marcel Admiraal2021-04-171-8/+15
|/ /
* | Merge pull request #47701 from vnen/gdscript-test-runnerRémi Verschelde2021-04-161-4/+3
|\ \
| * | Set resource path earlier on ProjectSettings setupGeorge Marques2021-04-081-4/+3
| | | | | | | | | | | | | | | Since loading the config might use the resource path, it needs to be set before that happens.
* | | Merge pull request #47726 from dalexeev/patch-1Rémi Verschelde2021-04-161-4/+4
|\ \ \ | | | | | | | | Fix `Color::get_{r,g,b,a}8`
| * | | Fix `Color::get_{r,g,b,a}8`Danil Alexeev2021-04-091-4/+4
| |/ / | | | | | | | | | Closes #47022.
* | / Separate set.h from map.hBartłomiej T. Listwon2021-04-142-1/+2
| |/ |/|
* | Fix PackedFloat32Array get index not workingJulien Nguyen2021-04-121-0/+1
| |
* | Fix `_File::get_buffer` length always set to p_lengthJohannes2021-04-111-1/+1
| |
* | Merge pull request #47761 from reduz/packedbytearray-marshallingRémi Verschelde2021-04-102-41/+370
|\ \ | | | | | | Add marshalling to PackedByteArray
| * | Add marshalling to PackedByteArrayreduz2021-04-102-41/+370
| |/ | | | | | | | | | | | | -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.
* | Merge pull request #47512 from DanielKriz/bugfix/uri_encodeFabio Alessandrelli2021-04-101-2/+2
|\ \ | |/ |/| fix wrong encoding format in uri_encode
| * fix wrong encoding in uri_encodeDaniel Kříž2021-04-101-2/+2
| |
* | Sync controller mappings DB with SDL2 community repoRémi Verschelde2021-04-061-3/+14
| | | | | | | | Synced with gabomdq/SDL_GameControllerDB@01dce71403e93eb699cc156f3237725863f0105a.
* | Add flag to stop printing to stdout/stderrGeorge Marques2021-04-062-0/+35
| | | | | | | | | | This allows the terminal output to be suppressed but still be captured by print/error handlers.
* | Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-054-21/+38
| |
* | Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde2021-04-052-7/+7
| |
* | fix crash on null class in ClassDB.get_property() and set_property()jmb4622021-04-021-0/+4
| |
* | Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde2021-04-016-17/+17
|\ \ | | | | | | Rename Array.invert() to Array.reverse()
| * | Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-216-17/+17
| | | | | | | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* | | Fix Quat multiplicationrafallus2021-03-291-3/+6
| | | | | | | | | | | | x, y, z values were updated too early
* | | Merge pull request #46830 from vnen/gdscript-typed-arraysRémi Verschelde2021-03-293-67/+91
|\ \ \ | | | | | | | | GDScript typed arrays
| * | | Make Variant setget use set() method of ArrayGeorge Marques2021-03-181-60/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Add functions to retrieve type of a typed ArrayGeorge Marques2021-03-182-0/+20
| | | |
| * | | Don't check type when assigning ArrayGeorge Marques2021-03-182-7/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | 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.
* | / Optimize image channel detectionJuan Linietsky2021-03-261-18/+20
| |/ |/| | | | | Speeds up compression
* | Merge pull request #47163 from bruvzg/macos_sandbox_file_dialogRémi Verschelde2021-03-261-0/+2
|\ \ | | | | | | FileDialog: add Back/Forward buttons, add message for inaccessible folders.
| * | FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg2021-03-231-0/+2
| | |
* | | Sync controller mappings DB with SDL2 community repoRémi Verschelde2021-03-231-19/+26
| | | | | | | | | | | | Synced with gabomdq/SDL_GameControllerDB@807ac1fbf9352da30ecbef869eced4a5bbf3c13e.
* | | Merge pull request #40804 from naithar/fix/json-parseRémi Verschelde2021-03-231-7/+15
|\ \ \ | | | | | | | | JSON parser fix
| * | | Core: add EOF check for json parserSergey Minakov2021-02-031-7/+15
| | | | | | | | | | | | | | | | Additionally reset parse result if error was found.
* | | | Rename some more global enums (Key, Joy, MIDI)Aaron Franke2021-03-235-25/+25
| | | |
* | | | Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-234-63/+63
| | | |
* | | | Merge pull request #47231 from Faless/js/4.x_gamepad_db_dualsenseRémi Verschelde2021-03-231-0/+1
|\ \ \ \ | |_|/ / |/| | | [HTML5] Logitech Dual Action Gamepad FF/Linux
| * | | [HTML5] Logitech Dual Action Gamepad FF/LinuxFabio Alessandrelli2021-03-211-0/+1
| | |/ | |/|
* | | Merge pull request #45234 from madmiraal/rename-phashtranslationRémi Verschelde2021-03-234-25/+25
|\ \ \ | | | | | | | | Rename PHashTranslation to OptimizedTranslation
| * | | Rename PHashTranslation to OptimizedTranslationMarcel Admiraal2021-03-204-25/+25
| |/ /
* | | Merge pull request #45562 from aaronfranke/core-modules-real_tRémi Verschelde2021-03-231-23/+22
|\ \ \ | | | | | | | | Use real_t in GridMap and VariantParser
| * | | Use real_t in GridMap and VariantParserAaron Franke2021-03-191-23/+22
| |/ /
* | | Merge pull request #34587 from ↵Rémi Verschelde2021-03-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | YeldhamDev/translation_resource_notification_removal Remove translation change notification when setting the locale of a Translation resource
| * | | Make translation change notification when setting the locale of a ↵Michael Alexsander2020-11-081-1/+1
| | | | | | | | | | | | | | | | Translation resource only happen when loaded in the server
* | | | Add a "keep" import mode to keep files as-is and export them.Juan Linietsky2021-03-222-0/+7
| | | |
* | | | Improved 3D Scene ImporterJuan Linietsky2021-03-221-0/+3
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.