summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2021-03-14Merge pull request #46936 from DavidSichma/match_temp_headerRémi Verschelde
Fixed match test expression for temporaries
2021-03-12Fixed match test expression for temporariesDavid Sichma
Fixed that a potentially popped temporary was used for the value in match statements.
2021-03-12Fixes small typos and grammar correctionAnshul7sp1
2021-03-10Implement Navigation layersGilles Roudière
2021-03-02Fixed match for expression patternDavid Sichma
equality comparison now writes to right target address
2021-03-02Merge pull request #42029 from ThakeeNathees/export-type-infer-bug-fixGeorge Marques
GDScript export array/dictionary type infer bug fix
2021-03-02Merge pull request #46559 from asmaloney/fix-code-completionRémi Verschelde
Script editor: Fix two special cases not being checked in code completion
2021-03-02Merge pull request #41897 from strank/not-in-conditional-doneRémi Verschelde
Add a "not in" operator to GDScript.
2021-03-01[script editor] Fix two special cases not being checked in code completionAndy Maloney
When this code was changed for 4.0, a "break" statement inside a for loop in 3.x was changed to "return". This means that the two special cases (autoloads and input actions) are never checked. Removing the return lets these work properly in the editor. (Also reorder conditionals to short-circuit and avoid expensive methods.)
2021-02-25Merge pull request #46379 from ThakeeNathees/signal-idf-not-found-fixRémi Verschelde
GDScript: False positive "Identifier not found" error on signals fixed
2021-02-25Merge pull request #40276 from Taywee/masterRémi Verschelde
remove invalid codeLensProvider value from lsp
2021-02-24false positive "Identifier not found" error or signals fixedThakee Nathees
2021-02-18Fixed Invalid function bindings #46135Vignesh1-art
Fixed GDScriptLanguageProtocol::notify_client - have 3 arguments, but only 2 are binded
2021-02-11Improve resource load cachereduz
-Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-02-08Initialize class/struct variables with default values in modules/Rafał Mikrut
2021-01-31Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde
Modernize Thread
2021-01-29Modernize ThreadPedro J. Estébanez
- Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
2021-01-28Unify URI encoding/decoding and add to C#Aaron Franke
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-26Fix highlight color for class attributes that are also keywordsLucas Van Mol
2021-01-11Merge pull request #43176 from mateosss/crash-uninit-constRémi Verschelde
Fix crash by adding nullcheck for uninitialized constants
2021-01-11Merge pull request #43980 from gvekan/fix-missing-function-hintsRémi Verschelde
Fix missing function hints
2021-01-11Merge pull request #44104 from nekomatata/coroutine-await-fixRémi Verschelde
Fix error when calling coroutine with await in _ready
2021-01-11Merge pull request #44005 from RandomShaper/gds_needless_checkRémi Verschelde
Remove useless check in GDScript
2021-01-11Merge pull request #44604 from lyuma/gdscript_dictionary_crashRémi Verschelde
GDScript: Fix crash when iterating through empty dictionary.
2021-01-11Merge pull request #44719 from ThakeeNathees/assert-argument-bug-fixedRémi Verschelde
GDScript assert message parsing bug fixed
2021-01-11Merge pull request #44672 from ThakeeNathees/array-dict-const-fold-bug-fixRémi Verschelde
Array/Dictionary marked as not safe to const fold
2021-01-11Merge pull request #44818 from ThakeeNathees/const-crash-fixRémi Verschelde
GDScript crash at incomplete const bug fix
2021-01-11Merge pull request #44889 from ThakeeNathees/builtin-invalid-call-crash-fixRémi Verschelde
GDScript invalid method call on built-in crash fix
2021-01-11Merge pull request #45076 from ↵Rémi Verschelde
ThakeeNathees/gdscript-operator-precedence-bug-fix GDScript operator `+` `-` precedence bug fix
2021-01-10GDScript operator `+` `-` precedence bug fixThakee Nathees
Fix: #43265
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2021-01-03GDScript builtin invalid function call crash fixThakee Nathees
Fix: #44852
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-30GDScript crash at incomplete const bug fixThakee Nathees
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-27GDScript assert message parsing bug fixedThakee Nathees
Fix: #43540
2020-12-25Array/Dictionary marked as not safe to const foldThakee Nathees
Fix: #44459
2020-12-21Fix crash when iterating through empty dictionary.Lyuma
2020-12-17Fix error when calling coroutine with await in _readyPouleyKetchoupp
The code paths for calling async functions seemed to be missing in some cases, causing a debug break and false positive error.
2020-12-16Merge pull request #44424 from briansemrau/gdscript-fix-andRémi Verschelde
Fix gdscript `and` operator
2020-12-16Fix gdscript and operatorBrian Semrau
2020-12-15fixes crash in disassemlber for opcode OPCODE_ASSIGN_TYPED_NATIVEJordan Schidlowsky
2020-12-15Merge pull request #44275 from vnen/variant-function-arg-pointersRémi Verschelde
Use pointer parameters in Variant function pointers
2020-12-15Merge pull request #43890 from vnen/gdscript-builtin-functions-refactorRémi Verschelde
GDScript: Refactor builtin functions
2020-12-13Pow method doc fixskyace65
2020-12-10Use pointer parameters in Variant function pointersGeorge Marques
Instead of references. This is needed because those function pointers are used in GDNative which needs to work with plain C, which doesn't support passing parameters by reference.
2020-12-09LSP: Fix iterator in enum API dumpRémi Verschelde
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-08Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde
Initialize class/struct variables with default values in platform/ and editor/