summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-18Merge pull request #43663 from EricEzaM/PR/INP4-dehardcode_scene_shortcutsRémi Verschelde
Remove hardcoded shortcuts from /scene and instead use the input action system to allow them to be customised.
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18Added ability to override built-in actions for the editorEric M
This adds the ability to add overrides for built-in actions (i.e. ui_*) in the editor. Also added a number of additional built-in actions for various text-related actions, gui-generic actions (like copy and paste) and graph-related actions (duplicate nodes), etc. Moved the definition of input actions to input_map, rather than in project_settings so the editor can make use of these actions as well.
2021-02-18Added convenience create_reference methods for Key and JoyButton inputsEric M
2021-02-18Merge pull request #46127 from reduz/reorganize-project-settingsRémi Verschelde
Reorganize Project Settings
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-18Merge pull request #45032 from neikeq/classdb-tests-for-44856Rémi Verschelde
Add ClassDB tests to look for core API deps on editor API
2021-02-18Merge pull request #45943 from KoBeWi/YEEEETRémi Verschelde
Remove Merge From Scene
2021-02-18Merge pull request #46170 from ↵Rémi Verschelde
gongpha/jr-_-avoid-get_tree-when-flying-colorpicker-master Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
2021-02-18Merge pull request #46171 from akien-mga/scons-editor-always-freetypeRémi Verschelde
SCons: Make freetype module a mandatory editor dependency
2021-02-18Merge pull request #46166 from angad-k/fix-mesh-instance3d-crashRémi Verschelde
add null check in MeshInstance::_mesh_changed()
2021-02-18Avoid signal methods in ColorPicker to access the tree when it isn't in the treeKongfa Waroros
2021-02-18SCons: Make freetype module a mandatory editor dependencyRémi Verschelde
Fixes #28650.
2021-02-18Merge pull request #46148 from nekomatata/fix-test-body-motionRémi Verschelde
Fix test_body_motion recovery and rest info
2021-02-18Merge pull request #46169 from m4gr3d/follow_up_splash_handling_masterRémi Verschelde
Follow up on bootsplash handling on Android
2021-02-18Merge pull request #46159 from gongpha/jr-_-fix-function-bindingRémi Verschelde
Fixes function bindings
2021-02-18Merge pull request #46156 from Vignesh1-art/patch-1Rémi Verschelde
Fixed Invalid function bindings #46135
2021-02-18add null check in MeshInstance::_mesh_changed()Angad Kambli
2021-02-18Disable engine splash logic on Android; this is now handled by the Android ↵Fredia Huya-Kouadio
theme api. In addition, add support for scaling and applying filter to the splash screen on Android. One limitation of the api being used is that the splash screen aspect ratio is not maintained when it's scaled up.
2021-02-18Merge pull request #45950 from KoBeWi/naughty_resourcesRémi Verschelde
Fix internal resource detecting when pasting nodes
2021-02-18Merge pull request #46161 from akien-mga/linux-joypads-udev-fallbackRémi Verschelde
Linux: Fix fallback logic when udev fails creating a context
2021-02-18Merge pull request #46150 from m4gr3d/update_ndk_fetcher_logicRémi Verschelde
Override `ANDROID_NDK_ROOT` based on the project ndk version.
2021-02-18Linux: Fix fallback logic when udev fails creating a contextRémi Verschelde
Thanks to Noshyaar for pointing out the bug.
2021-02-18Merge pull request #46151 from ellenhp/fix_spatial_player_playRémi Verschelde
Fix a pop on play() in AudioStreamPlayer2D and 3D
2021-02-18Fixes function bindingsKongfa Waroros
2021-02-18Fixed Invalid function bindings #46135Vignesh1-art
Fixed GDScriptLanguageProtocol::notify_client - have 3 arguments, but only 2 are binded
2021-02-17Override `ANDROID_NDK_ROOT` based on the project ndk version.Fredia Huya-Kouadio
This helps resolve issues where the project ndk version differs from the one pointed by the `ANDROID_NDK_ROOT` environment variable (if it exists).
2021-02-17Fix pops in play() of both spatial audio playersEllen Poe
2021-02-17Fix test_body_motion recoveryPouleyKetchoupp
This change makes test_body_motion more reliable when the kinematic body recovers from being stuck. - When recovery occurs, the rest information is generated, in order to make sure collision results from test_move, move_and_collide and move_and_slide are consistent and return a collision in case of overlap. - The new calculation for recovery vector makes sure the recovery is never more than the overlap depth between shapes. This can help with cases where the kinematic body overlaps with several shapes. Recovery is made iteratively, without forcing a full overlap at each step. This helps with getting proper rest information when recovery occurs. - One Way Collision: When attempting motion, contact direction is checked against motion before skipping in order to solve cases where kinematic bodies can sink into one-way collision shapes. Rest info now sets max contact depth in order to properly handle one-way collision. - Low speed motion is now handled in the rest info, by never setting min_allowed_depth lower than motion length. Separation is always applied with full margin, otherwise contact is lost when low speed motion occurs right after higher speed motion. - Similar changes are applied to 3D in order to make 2D and 3D consistent.
2021-02-18Merge pull request #46147 from m4gr3d/add_missing_ndk_version_configRémi Verschelde
Add missing `ndkVersion` to the library gradle build config.
2021-02-17Add missing `ndkVersion` to the library gradle build config.Fredia Huya-Kouadio
2021-02-17Merge pull request #46142 from m4gr3d/revert_agp_to_4_0Fredia Huya-Kouadio
Revert AGP to version 4.0.1
2021-02-17Revert AGP to version 4.0.1 as a workaround to ↵Fredia Huya-Kouadio
https://issuetracker.google.com/issues/171235570 in version 4.1.x
2021-02-18Merge pull request #46143 from hpvb/dont-clobber-symbolsRémi Verschelde
Don't clobber original library symbols
2021-02-18Merge pull request #46145 from akien-mga/android-ndk-21.4.7075529Rémi Verschelde
Android: Bump NDK version to 21.4.7075529
2021-02-18Android: Bump NDK version to 21.4.7075529Rémi Verschelde
This is what GitHub Actions now provide and they removed the previous 21.3.6528147. A bit annoying to have our hand forced this way but it's still 21.x so should be good to upgrade.
2021-02-18Merge pull request #46139 from m4gr3d/add_verbose_logging_android_export_masterRémi Verschelde
Improve verbose logging for the Android export process
2021-02-18Don't clobber original library symbolsHein-Pieter van Braam-Stewart
It appears that we can get a fun circle dependency on a shared object on some system configurations causing issues with our 'fake' function pointer names. This can lead to a crash. The new wrapper generator renames all the symbols so this can't happen anymore. See https://github.com/hpvb/dynload-wrapper/commit/704135e This closes #46140
2021-02-17Add verbose logging to help with troubleshooting the Android build/export ↵Fredia Huya-Kouadio
process.
2021-02-17Merge pull request #46124 from angad-k/cpu-particles-3d-fixRémi Verschelde
CPUParticles3D crash fix
2021-02-17add null check in _update_particle_data_buffer()Angad Kambli
add check to see if p_order is in range for CPUParticles3D::set_draw_order'
2021-02-17Merge pull request #40316 from jiteshvm/missing-animatedsprite3d-signalsRémi Verschelde
adding animation_finished signal and fix frame_changed signal not firing
2021-02-17Add animation_finished signal and fix frame_changed signal for AnimatedSprite3DJitesh
Fixes #40301. Fixes #45947.
2021-02-17Merge pull request #46117 from akien-mga/dynamic-load-libudevRémi Verschelde
Dynamically load libudev.so.1 on Linux
2021-02-17Merge pull request #46119 from Faless/js/4.x_processor_countRémi Verschelde
[HTML5] Implement OS.get_processor_count(), 4.0 fixes
2021-02-17Merge pull request #45955 from angad-k/fix-set-joint-i-to-nameRémi Verschelde
fix set_joint_i_to_name to use the provided argument
2021-02-17Dynamically load libudev.so.1 on Linux if `udev=yes`Rémi Verschelde
This makes it possibly to run Linux binaries compiled with udev support on Linux systems which do not provide udev (typically systemd-less distros). If udev is missing, we fall back to parsing `/dev/input` like when compiled without udev support (`udev=no`). Also adding some verbose debug statements to know which method we're using when debugging Linux joypad issues. The libudev so wrappers were generated on Mageia 8 with libudev 246.9 using https://github.com/hpvb/dynload-wrapper: ``` ./generate-wrapper.py --include /usr/include/libudev.h --sys-include '<libudev.h>' \ --soname libudev.so.1 --init-name libudev --omit-prefix gnu_ \ --output-header libudev-so_wrap.h --output-implementation libudev-so_wrap.c ```
2021-02-17Merge pull request #46050 from akien-mga/ci-simplify-file_formatRémi Verschelde
CI: Remove file_format.sh changes hard to reproduce on Windows
2021-02-17glTF: Fix set_joint_i_to_name not using its argumentAngad Kambli
Fixes #45371.
2021-02-17[HTML5] Implement get_processor_count.Fabio Alessandrelli