summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* iOS Modules: separate main platform code from modulesSergey Minakov2020-11-1037-22/+1920
| | | | | | | | Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
* Fix completion for built-in load functionGustav2020-11-102-24/+21
|
* Merge pull request #43434 from sneik15/patch-1Rémi Verschelde2020-11-101-1/+2
|\ | | | | Updated gd_glue.cpp to work in the variant refactoring (Mono enabled)
| * Updated gd_glue.cpp to work with the latest changes in the variant refactoringAdrian Adeva2020-11-101-1/+2
| | | | | | Without this change the engine dont compile with the mono module enabled.
* | Merge pull request #43423 from Calinou/doc-assert-avoid-side-effectsRémi Verschelde2020-11-101-4/+5
|\ \ | |/ |/| Clarify that code in `assert()` should avoid side effects
| * Clarify that code in `assert()` should avoid side effectsHugo Locurcio2020-11-091-4/+5
| |
* | Merge pull request #43383 from vnen/gdnative-string-headerRémi Verschelde2020-11-101-1/+6
|\ \ | | | | | | GDNative: Define special char types in string.h
| * | GDNative: Define special char types in string.hGeorge Marques2020-11-071-1/+6
| | | | | | | | | | | | | | | | | | | | | Those are standard types in C++ but not in C. This also removes the wchar header which is not needed anymore and use stddef.h instead (which is needed for size_t).
* | | Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde2020-11-092-68/+47
| |/ |/| | | | | | | Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
* | Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-097-15/+15
| | | | | | | | | | | | | | | | 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`.
* | Refactored variant constructor logicreduz2020-11-0913-39/+63
| |
* | Reorganized core/ directory, it was too fatty alreadyreduz2020-11-07192-441/+365
| | | | | | | | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* | Refactored variant setters/gettersreduz2020-11-074-14/+14
| | | | | | | | | | | | -Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder
* | Merge pull request #42947 from Calinou/image-load-bmp-from-bufferRémi Verschelde2020-11-072-5/+19
|\ \ | | | | | | Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
| * | Add `Image.load_bmp_from_buffer()` for run-time BMP image loadingHugo Locurcio2020-10-202-5/+19
| | | | | | | | | | | | | | | This partially addresses https://github.com/godotengine/godot-proposals/issues/676.
* | | [Mono] Added Shuffle method to ArrayYuri Roubinsky2020-11-072-0/+18
| | |
* | | Refactored Variant Operators.reduz2020-11-061-3/+0
| | | | | | | | | | | | | | | -Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
* | | Exposed randi_range to global funcs + renamed rand_range to randf_rangeYuri Roubinsky2020-11-068-65/+128
| | |
* | | Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde2020-11-064-30/+0
|\ \ \ | | | | | | | | Remove `Color.contrasted()` as its behavior is barely useful
| * | | Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio2020-11-034-30/+0
| | |/ | |/| | | | | | | | | | | | | Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
* | | Merge pull request #42724 from theoway/error_message_fix_call_recursiveRémi Verschelde2020-11-051-0/+7
|\ \ \ | | | | | | | | Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
| * | | Fixes the misleading error message for call_recursive method for TreeItemsUmang Kalra2020-10-171-0/+7
| | | |
* | | | doc: Sync classref with current source + fixup some bindingsRémi Verschelde2020-11-041-0/+2
| | | | | | | | | | | | | | | | Includes various changes triggered by the refactoring of method bindings.
* | | | Merge pull request #41516 from Lunatoid/allow-object-newRémi Verschelde2020-11-031-3/+5
|\ \ \ \ | |_|/ / |/| | | Fixed ParseError when calling Object.new()
| * | | Fixed ParseError when calling Object.new()Lunatoid2020-09-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #41462 where calling Object.new() in GDScript gave an error. I fixed it by adding exclusion when checking if the name is a builtin type to exclude objects with a comment detailing why.
* | | | Merge pull request #43029 from neikeq/offline-nuget-fallbackRémi Verschelde2020-10-2713-6/+472
|\ \ \ \ | | | | | | | | | | C#: Make editor create NuGet fallback folder for Godot packages
| * | | | C#: Make editor create NuGet fallback folder for Godot packagesIgnacio Etcheverry2020-10-2313-6/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main benefits: - Projects can be built offline. Previously you needed internet access the first time building to download the packages. - Changes to packages like Godot.NET.Sdk can be easily tested before publishing. This was already possible but required too many manual steps. - First time builds are a bit faster, as the Sdk package doesn't need to be downloaded. In practice, the package is very small so it makes little difference. Bumped Godot.NET.Sdk to 4.0.0-dev3 in order to enable the recent changes regarding '.mono/' -> '.godot/mono/'.
* | | | | Merge pull request #43088 from neikeq/fix-custom-event-signal-hot-reloadRémi Verschelde2020-10-275-17/+19
|\ \ \ \ \ | | | | | | | | | | | | C#: Fix custom event signals crash on hot-reload
| * | | | | C#: Fix custom event signals crash on hot-reloadIgnacio Etcheverry2020-10-265-17/+19
| |/ / / / | | | | | | | | | | | | | | | | | | | | Cleanup and re-initialization of event signals before and after hot-reload should be working correctly now.
* | | | | Fix uninitialized `GridMapEditor::node` and `InputMapEditor::setting` variables.bruvzg2020-10-261-1/+1
| | | | |
* | | | | Merge pull request #42817 from akien-mga/vulkan-sdk-1.2.154.0Rémi Verschelde2020-10-262-109/+8
|\ \ \ \ \ | | | | | | | | | | | | vulkan: Sync loader, headers and glslang to sdk-1.2.154.0
| * | | | | vulkan: Sync loader, headers and glslang to sdk-1.2.154.0Rémi Verschelde2020-10-152-109/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually sdk-1.2.154.1 for Vulkan-Loader. glslang is updated to bacaef3237c515e40d1a24722be48c0a0b30f75f which is the known-good version for Vulkan-ValidationLayers 1.2.154.0. COPYRIGHT.txt was synced with the current version of the glslang LICENSE.txt, and `glslang/register_types.cpp` now uses the upstream definition for its default builtin resource instead of hardcoding it.
* | | | | | Optimize SVG using `svgcleaner --multipass`Hugo Locurcio2020-10-2515-84/+15
| | | | | | | | | | | | | | | | | | | | | | | | This decreases the editor binary size by about 8 KB.
* | | | | | Merge pull request #42848 from Tadaboody/bugfix/gridmap_visibilityRémi Verschelde2020-10-251-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Setting visibility on GridMaps parent now works. Closes #41374.
| * | | | | | Setting visibility on GridMap now works. Closes #41374.Tomer Keren2020-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continuing the work from f43a0ef3270737d2b526480ecb0f1337ece9e041, It seems the maps visibility was not actually set and a flase value was propogated to the meshes Trying to set the maps visibility directly (Using `set_visibility` causes the map to no longer to recieve visibility notifications, instead this approach was chosen
* | | | | | | GDNative XR: remove redundant `config.py`Andrii Doroshenko (Xrayez)2020-10-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not an engine module. This is handled by GDNative's `SCsub` instead, as done for other subdirectories already.
* | | | | | | Merge pull request #43026 from Chaosus/color_autocompletionYuri Roubinsky2020-10-231-0/+8
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Shows ColorRect in Color constants autocompletion
| * | | | | | Shows ColorRect in Color constants autocompletionYuri Roubinsky2020-10-231-0/+8
| | | | | | |
* | | | | | | C#: Re-work solution build output panelIgnacio Etcheverry2020-10-2311-526/+499
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed item list that displayed multiple build configurations launched. Now we only display the last build that was launched. - Display build output next to the issues list. Its visibility can be toggled off/on. This build output is obtained from the MSBuild process rather than the MSBuild logger. As such it displays some MSBuild fatal errors that previously couldn't be displayed. - Added a context menu to the issues list with the option to copy the issue text. - Replaced the 'Build Project' button in the panel with a popup menu with the options: - Build Solution - Rebuild Solution - Clean Solution - The bottom panel button was renamed from 'Mono' to 'MSBuild' and now display an error/warning icon if the last build had issues.
* | | | | | Merge pull request #42943 from vnen/gdscript-local-scope-fixRémi Verschelde2020-10-201-9/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix handling of scope for local GDScript variables
| * | | | | | GDScript: Fix handling of scope for local variablesGeorge Marques2020-10-201-9/+5
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #41983 from ThakeeNathees/array-const-folding-bug-fixGeorge Marques2020-10-202-26/+54
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Array/Dictionary Nodes no more reduced to array/dictionary variant
| * | | | | Array/Dictinoary no more reduced to array/dictionary variantThakee Nathees2020-09-112-26/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: #41377 Fix: #20436 Fix: #41953
* | | | | | GDScript: Add initialization for the language before debug testsGeorge Marques2020-10-201-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the tests will use a full environment with correct settings so global classes and autoloads can be properly found.
* | | | | | Removed underscore from GraphEdit begin/end_node_move signalsYuri Roubinsky2020-10-201-2/+2
| | | | | |
* | | | | | Merge pull request #42067 from ThakeeNathees/for-loop-stack-overriden-fixGeorge Marques2020-10-191-3/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | GDScript: for loop override stack variable bug fix
| * | | | | | GDScript: for loop override stack variable bug fixThakee Nathees2020-09-181-3/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | Fix: #42050
* | | | | | Refactor MethodBind to use variadic templatesreduz2020-10-1810-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | Removed make_binders and the old style generated binders.
* | | | | | Add GetStringFromUTF8 and GetStringFromASCIIAaron Franke2020-10-171-0/+29
| | | | | |
* | | | | | Merge pull request #42649 from madmiraal/reapply-41806Rémi Verschelde2020-10-151-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Reapply -Avoid adding margin twice along capsule Y axis