summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* iOS Modules: separate main platform code from modulesSergey Minakov2020-11-1045-224/+594
| | | | | | | | 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.
* Merge pull request #43398 from ↵Rémi Verschelde2020-11-104-0/+23
|\ | | | | | | | | KoBeWi/add_an_array_to_another_array_but_with_a_method Add append_array() method to Array class
| * Add append_array() method to Array classTomasz Chabora2020-11-084-0/+23
| |
* | Merge pull request #43350 from gvekan/fix-load-autocompleteRémi Verschelde2020-11-102-24/+21
|\ \ | | | | | | Fix completion for built-in load() function
| * | Fix completion for built-in load functionGustav2020-11-102-24/+21
| | |
* | | Merge pull request #43357 from KoBeWi/editor_art_3dRémi Verschelde2020-11-102-2/+54
|\ \ \ | |/ / |/| | Register methods for drawing 3D editor overlays
| * | Register methods for drawing 3D editor overlaysTomasz Chabora2020-11-102-2/+54
| | |
* | | 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 #40748 from RandomShaper/improve_packed_fs_apiRémi Verschelde2020-11-103-9/+55
|\ \ \ \ | |_|/ / |/| | | Improve/fix packed data API
| * | | Improve/fix packed data APIPedro J. Estébanez2020-07-273-9/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Enhance directory API - Fix `FileAccess::exists()` not checking for PackedData being disabled - Fix moving to the parent directory (`..`) - Allow absolute paths in existence checks
* | | | Merge pull request #43433 from HaSa1002/docs-examples-43356Rémi Verschelde2020-11-101-2/+23
|\ \ \ \ | | | | | | | | | | [Docs] Add C# example for EditorPlugin::forward_canvas_draw_over_viewport
| * | | | [Docs] Add C# example for EditorPlugin::forward_canvas_draw_over_viewportHaSa10022020-11-101-2/+23
|/ / / / | | | | | | | | | | | | Follow up to #43356
* | | | Merge pull request #43397 from ↵Rémi Verschelde2020-11-101-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Calinou/fix-filesystem-copy-path-shortcut-conflict Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
| * | | | Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcutHugo Locurcio2020-11-081-1/+2
| | |_|/ | |/| | | | | | | | | | This closes #43396.
* | | | 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).
* | | | | Merge pull request #43369 from Calinou/allow-svg-project-iconRémi Verschelde2020-11-101-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Allow using SVG images as project icon
| * | | | | Allow using SVG images as project iconHugo Locurcio2020-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since exporters will save their own icon, the target platforms don't have to support SVG to display the icon correctly. This closes #23068.
* | | | | | Merge pull request #43356 from KoBeWi/editor_artRémi Verschelde2020-11-101-1/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add docs for editor viewport drawing methods
| * | | | | | Add docs for editor viewport drawing methodsTomasz Chabora2020-11-061-1/+15
| | | | | | |
* | | | | | | Merge pull request #43333 from YeldhamDev/global_rate_scale_minRémi Verschelde2020-11-101-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Disallow setting the AudioServer's 'global_rate_scale' to a value equal or inferior to 0
| * | | | | | | Disallow setting the AudioServer's 'global_rate_scale' to a value equal or ↵Michael Alexsander2020-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inferior to 0
* | | | | | | | Merge pull request #43417 from akien-mga/variant-default-constructors-docsRémi Verschelde2020-11-1045-584/+701
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Variant: Sync docs with new constructors, fixes to #43403
| * | | | | | | | Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde2020-11-0945-584/+701
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
* | | | | | | | Merge pull request #43421 from reduz/improve-variant-constructorRémi Verschelde2020-11-092-97/+319
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Change how no-arg constructor is handled internally in Variant.
| * | | | | | | | Change how no-arg constructor is handled internally in Variant.reduz2020-11-092-97/+319
|/ / / / / / / /
* | | | | | | | Merge pull request #43419 from reduz/document-operatorsRémi Verschelde2020-11-093-3/+53
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make sure operators appear in the docs too
| * | | | | | | | Make sure operators appear in the docs tooreduz2020-11-093-3/+53
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "operator" and "constructor" qualifiers to make it easier to see in the docs.
* | | | | | | | Merge pull request #43415 from bruvzg/var_ctr_af32Rémi Verschelde2020-11-091-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Fix duplicate variant constructor typo.
| * | | | | | | Fix duplicate variant constructor typo.bruvzg2020-11-091-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #40106 from Calinou/improve-3d-selection-boxRémi Verschelde2020-11-092-16/+53
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Improve the 3D editor selection box appearance
| * | | | | | | | Improve the 3D editor selection box appearanceHugo Locurcio2020-11-092-16/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Draw two boxes slightly offset from each other to give the illustion of a thicker outline. - Decrease the offset compared to the 3D node's AABB to give a more accurate representation of its size. - Make the box fully visible instead of only displaying the corners. - Draw a x-ray version of the box that's more translucent, but visible through walls. This helps make the box more visible while still having a sense of depth. - Use an orange color similar to the 2D editor.
* | | | | | | | | Merge pull request #43412 from akien-mga/variant-rename-_RID-to-RIDRémi Verschelde2020-11-0931-95/+98
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | Variant: Rename Type::_RID to Type::RID
| * | | | | | | | Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-0931-95/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | | | | | | | Merge pull request #41407 from Calinou/scons-debug-symbols-replace-yes-with-fullRémi Verschelde2020-11-097-24/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Remove `debug_symbols=full` in favor of `debug_symbols=yes`
| * | | | | | | | Remove `debug_symbols=full` in favor of `debug_symbols=yes`Hugo Locurcio2020-11-097-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `debug_symbols=yes` will now behave like `debug_symbols=full` did before. The difference in compressed file sizes is not that large, which means there isn't much point in having two different values. This helps make the buildsystem easier to understand.
* | | | | | | | | Merge pull request #43413 from akien-mga/ci-warnings-extraRémi Verschelde2020-11-095-5/+5
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | CI: Build with warnings=extra to catch 'em all
| * | | | | | | | CI: Build with warnings=extra to catch 'em allRémi Verschelde2020-11-095-5/+5
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... on all platforms but MSVC, as it still has a number of unsolved warnings in its `/Wall` level. Some of it might be valid, others might be overkill, this needs further assessment and fixes. (We could also change the `extra` level to `/W4` on MSVC if that's more meaningful.)
* | | | | | | | Merge pull request #43404 from akien-mga/color-fix-clamp-uint32_t-warningRémi Verschelde2020-11-092-51/+54
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Color: Fix -Wtype-limits GCC warning after refactoring
| * | | | | | | | Color: Fix -Wtype-limits GCC warning after refactoringRémi Verschelde2020-11-092-51/+54
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning from GCC 10.2.0 with `warnings=extra`: ``` ./core/math/color.h: In member function 'int32_t Color::get_r8() const': ./core/typedefs.h:107:42: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] 107 | #define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a)) | ~~~~~~^~~~~~~~~ ./core/math/color.h:201:49: note: in expansion of macro 'CLAMP' 201 | _FORCE_INLINE_ int32_t get_r8() const { return CLAMP(uint32_t(r * 255.0), 0, 255); } | ^~~~~ ``` Also some code consistency changes while at it.
* | | | | | | | Merge pull request #43403 from reduz/variant-constructor-refactorRémi Verschelde2020-11-0933-571/+1369
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Refactored variant constructor logic
| * | | | | | | | Refactored variant constructor logicreduz2020-11-0933-571/+1369
| |/ / / / / / /
* | | | | | | | Merge pull request #43409 from bruvzg/sync_open_simplex_noiseRémi Verschelde2020-11-092-6/+7
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Update "open-simplex-noise-in-c" to fix undefined signed overflow
| * | | | | | | Update "open-simplex-noise-in-c" to fix undefined signed overflow.bruvzg2020-11-092-6/+7
|/ / / / / / /
* | | | | | | Merge pull request #42841 from HaSa1002/docs-lang-3Rémi Verschelde2020-11-0914-114/+645
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Port code examples to C# (D and E)
| * | | | | | Port code examples to C# (D)HaSa10022020-11-0114-114/+645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes: * Decal * Dictionary * Directory * DisplayServer * DTLSServer * DynamicFont * EditorImportPlugin * EditorPlugin * EditorScenePostImport * EditorScript * EditorSettings * EditorTranslationParserPlugin * Engine * Expression Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
* | | | | | | Merge pull request #43380 from YeldhamDev/light2d_iconsRémi Verschelde2020-11-082-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add icons for the new Light2D nodes