Commit graph

33374 commits

Author SHA1 Message Date
Rémi Verschelde
037e7d8777
Merge pull request #46374 from m4gr3d/add_godot_engine_version_master
Record the version of the Godot engine for the Android platform
2021-02-24 16:08:09 +01:00
Fredia Huya-Kouadio
3ce7678374 Update the initialization timeline for the Godot fragment to be more consistent with the previous activity based timeline. 2021-02-24 06:16:07 -08:00
Rémi Verschelde
2ffecb76ed
Merge pull request #45438 from Norrox/fixtweennullcheck
Fix the tween null check
2021-02-24 15:09:28 +01:00
Rémi Verschelde
829b6ef27b
Merge pull request #40937 from 27thLiz/inputmap-error
Input: Throw error if action doesn't exist
2021-02-24 15:08:41 +01:00
Thakee Nathees
9869522e6a false positive "Identifier not found" error or signals fixed 2021-02-24 19:34:01 +05:30
Eric M
d91e915d79 Fixed 'nonexistent action' errors spammed at startup on OSX 2021-02-24 23:16:22 +10:00
Liz Haas
2aee71d52d Input: Throw error if action doesn't exist
Thow errors if requesting an unexisting InputMap action.
Makes `Input.is_action_*` methods consistents with `Event.is_action_*` which already throw errors.

fixes #33303
2021-02-24 13:49:21 +01:00
Christoffer Sundbom
5b2100d85c Tween: Add null check for target object
Fixes #45399.
2021-02-24 13:37:55 +01:00
Fredia Huya-Kouadio
bc5120eb97 Add logic to record the version of the Godot engine for the Android platform. 2021-02-24 04:23:46 -08:00
Rémi Verschelde
f3864ec89f
Merge pull request #46357 from kleonc/mesh_data_tool_crash_fix
MeshDataTool::create_from_surface Fail on invalid index data
2021-02-24 13:23:13 +01:00
Rémi Verschelde
049d654c49
Merge pull request #46354 from reduz/importer-defaults-editor
Added Import Defaults Editor in Project Settings
2021-02-24 13:19:05 +01:00
Rémi Verschelde
a930472319
Merge pull request #45863 from nekomatata/physics-queries-disabled-shapes
Fix physics queries not filtering out disabled collision shapes
2021-02-24 13:05:28 +01:00
Rémi Verschelde
3357c4d28c
Merge pull request #45871 from Riteo/improve-mime-types
General improvements to the MIME source file
2021-02-24 13:04:55 +01:00
Rémi Verschelde
5a10f52ee8
Merge pull request #45914 from HenryWConklin/45841-xml-entities
Add support for numeric XML entities to XMLParser
2021-02-24 13:03:46 +01:00
Rémi Verschelde
a527c6856b
Merge pull request #46045 from bruvzg/text_server_bmp_create
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-24 12:55:36 +01:00
Rémi Verschelde
19bfbcfec2
Merge pull request #46195 from AndyBarcia/FixLanguageCodesIncosistencies
Fix some inconsistent ISO-639 language codes
2021-02-24 11:52:08 +01:00
Rémi Verschelde
6d6a4fa1cf
Merge pull request #46342 from YeldhamDev/sun_preview_enhancements
Apply minor visual enhancements to the Sun/Env Preview
2021-02-24 11:20:36 +01:00
Rémi Verschelde
da551bbf2d
Merge pull request #46133 from aaronfranke/gray
Change fallback icon for abstract nodes to have a grayed out color
2021-02-24 11:17:49 +01:00
Rémi Verschelde
573121ca7f
Merge pull request #46366 from akien-mga/scons-fix-cmdline-bool
SCons: Properly handle overriding default values to bool options
2021-02-24 11:14:37 +01:00
Rémi Verschelde
2bdbb0508b
Merge pull request #46341 from angad-k/PathFollow3D-unit-test
add PathFollow3D unit test
2021-02-24 10:52:45 +01:00
Rémi Verschelde
a78d2701ce
Merge pull request #46364 from aaronfranke/area-body-signal
Use a more specific type for Area2D/3D body signals
2021-02-24 10:38:08 +01:00
Rémi Verschelde
b97ef35585 SCons: Properly handle overriding default values to bool options
The `dev=yes` and `production=yes` options work as aliases to set a number of
options, while still aiming to allow overriding specific options if the user
wishes so. (E.g. `production=yes use_lto=no` should work to enable production
defaults *but* disable LTO.)

That wasn't working as `ARGUMENTS.get()` returns a string and not a boolean as
expected by `BoolVariable`, and this wasn't flagged as a bug... So added a
helper method using SCons' `BoolVariable._text2bool` to do the conversion
manually.
2021-02-24 10:23:00 +01:00
Aaron Franke
548de64742
Use a more specific type for Area2D/3D body signals 2021-02-24 00:05:54 -05:00
kleonc
8e82cf8174 MeshDataTool::create_from_surface Fail on invalid index data 2021-02-23 21:37:32 +01:00
Rémi Verschelde
d4191e48c5
Merge pull request #46351 from vnen/bind-clock-direction
Bind ClockDirection enum
2021-02-23 18:47:51 +01:00
reduz
b6fce5d750 Added Import Defaults Editor in Project Settings
-Change importer defaults in project settings.
-Ability to change them or reset them.
2021-02-23 14:18:02 -03:00
George Marques
f1088e1b70
Bind ClockDirection enum
It's the only enum in math_defs.h not bound, and it's used by Plane.
2021-02-23 13:56:28 -03:00
Angad Kambli
1d20280d55 add PathFollow3D unit test 2021-02-23 20:12:25 +05:30
Michael Alexsander
0bc7049099 Apply minor visual enhancements to the Sun/Env Preview 2021-02-23 11:21:26 -03:00
Hein-Pieter van Braam
50d71e7f2a
Merge pull request #46347 from hpvb/static-link-atomic-clang
Allow static linking with libatomic using clang
2021-02-23 15:21:14 +01:00
Hein-Pieter van Braam-Stewart
0dc368f9f9 Allow static linking with libatomic using clang
When using use_static_cpp we want to statically link with atomic as well
to make sure we don't incur any new runtime dependencies.

Scons doesn't quite support this so we do this little trick.
2021-02-23 14:51:44 +01:00
Rémi Verschelde
e254715e79
Merge pull request #46316 from akien-mga/input-ui_redo-swap-order
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
2021-02-23 08:10:37 +01:00
Rémi Verschelde
c5a88e6e91
Merge pull request #46264 from nmrkr/build-planes-axes-check
Fix unchecked array access in build_*_planes
2021-02-22 21:42:17 +01:00
Rémi Verschelde
88ee248db0
Merge pull request #46307 from RandomShaper/fix_crash_mono_glue
Make glue generation shutdown more graceful
2021-02-22 21:39:01 +01:00
Rémi Verschelde
e1e52b3736
Merge pull request #46315 from reduz/add-preview-sun-and-env
Add preview Sun and Environment
2021-02-22 21:12:25 +01:00
reduz
d6a9cff8b7 Add preview Sun and Environment
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22 16:56:29 -03:00
Rémi Verschelde
0f9da46b00
Merge pull request #46324 from hpvb/fix-alsa-missing-symbol
Omit some functions in alsa wrapper
2021-02-22 20:39:19 +01:00
Hein-Pieter van Braam-Stewart
f42a7f9849 Omit some functions in alsa wrapper
These functions don't yet exist on ubuntu 14.04 so this leads to build
problems there. Omitting these symbols in the generated wrappers fixes
this. If we want to start using these symbols at a later date we should
just regenerate the wrapper.
2021-02-22 19:22:53 +01:00
Rémi Verschelde
98c63389d1
Merge pull request #46321 from hpvb/fix-clang-atomic-server
Use -latomic when using clang (server platform)
2021-02-22 17:24:54 +01:00
Hein-Pieter van Braam-Stewart
6a146d405c Use -latomic when using clang (server platform)
version of c9b3a00a63 for the server
platform
2021-02-22 17:09:30 +01:00
Delf Neumärker
f054f760e6 Fix unchecked array access in build_*_planes 2021-02-22 16:32:51 +01:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f expose edit_selected in Tree 2021-02-22 15:50:21 +01:00
Rémi Verschelde
a0cb81b119
Merge pull request #46313 from goostengine/tests-init-translation-server
Initialize `TranslationServer` in the test environment
2021-02-22 15:46:04 +01:00
Rémi Verschelde
12cc660d7d Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
That's the most common one we've been using for the general editor, and while the script editor
also supports Ctrl+Y, it should have lower priority.

In theory this code should make both be supported the same but for some reason the general editor
only seems to use the first entry (the script editor does support both).
2021-02-22 15:04:09 +01:00
Andrii Doroshenko (Xrayez)
c7b91309f2 Initialize TranslationServer in the test environment 2021-02-22 15:16:46 +02:00
Rémi Verschelde
8c5d4770e9
Merge pull request #46243 from Calinou/improve-get-node-error-message
Improve the `get_node()` error message to be more descriptive
2021-02-22 13:02:48 +01:00
Rémi Verschelde
114beb1bee
Merge pull request #46309 from akien-mga/ci-no-debug-symbols
CI: Build without debug symbols to reduce cache size
2021-02-22 12:49:54 +01:00
Rémi Verschelde
8107cbd66e
Merge pull request #45934 from angad-k/fix-smoothstep-function-documentation
fix minor issue in smooth step function's documentation
2021-02-22 12:38:47 +01:00
Hugo Locurcio
e6abdc943d
Improve the get_node() error message to be more descriptive
- Mention the origin of the `get_node()` call.
- Mention whether the attempted path is absolute or relative.

See #46214.
2021-02-22 12:19:23 +01:00