Commit graph

35399 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
e9045a6d03 Add Android project settings for gesture support
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-11-03 05:25:18 -07:00
Fredia Huya-Kouadio
1ce2b800b5 Automatically pick the Android sdk path using environment variables 2023-11-01 07:36:41 -07:00
Fredia Huya-Kouadio
cf706e2dc3 Update the launchMode for the GodotApp activity to allow other activities to be part of the same task
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
2023-10-31 19:12:34 -07:00
Rémi Verschelde
23c142afe7
Merge pull request #81375 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 15th batch
2023-10-30 16:22:46 +01:00
Fabio Alessandrelli
b4240ea1a7
mbedTLS: Update to version 2.18.5
(cherry picked from commit 5333365593)
2023-10-30 14:52:24 +01:00
Angad Kambli
fe79dc90fc
Check parameter validity in Object::set_script
Fixes #46120.

(cherry picked from commit 9c6c2f09e0)
2023-10-30 14:51:07 +01:00
Rémi Verschelde
54640046a9
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@eb831f75ab

Fixes #83552.

(cherry picked from commit d3c0a7d598)
2023-10-30 14:51:07 +01:00
Rémi Verschelde
dc08fa9177
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@fc4b33c872

(cherry picked from commit e40b0b3ed8)
2023-10-30 14:49:14 +01:00
Rémi Verschelde
0a81659d9b
Web: Fix version check for missing scalbnf LTO workaround
The check needs to happen after we set `env["CXX"]`.
Follow-up to #81340.

(cherry picked from commit 50161808c2)
2023-10-30 14:49:14 +01:00
DeeJayLSP
a7c5e3134a
libwebp: Sync with upstream 1.3.2
(cherry picked from commit 56cfeda7d2)
2023-10-30 14:49:13 +01:00
Rémi Verschelde
c88a8f96b4
Web: Workaround Emscripten 3.1.42+ LTO regression
Fixes #80010.

(cherry picked from commit b064008c07)
2023-10-30 14:49:13 +01:00
Rémi Verschelde
cb0ee90fde
CI: Bump version for actions/checkout@v4
(cherry picked from commit de14f1d295)
2023-10-30 14:49:13 +01:00
ocean (they/them)
09554a66d8
Build system: add option for MSVC incremental linking.
(cherry picked from commit bbafe14970)
2023-10-30 14:49:13 +01:00
Jakub Marcowski
6637dc28f6 Remove the separator from ItemList's thumbnail mode 2023-10-28 20:20:34 +02:00
Rarysson Guilherme
db29b32cd6 Add missing include header to FBXCommon.h 2023-10-23 21:11:45 -03:00
Jason Knight
4285c44b47 Far faster and more efficient method of checking if an identifer refers an autoload. 2023-10-23 12:13:12 -06:00
TurboHz
7c3d37ec1d Return exit code 0 when running --version or --help
Fixes https://github.com/godotengine/godot/issues/83661
2023-10-20 11:26:38 +02:00
lawnjelly
6ff370030a Fix glGet overflows by using 64 bit versions
Certain glGet operations require 64 bit versions according to the GLES spec.
The previous code was susceptible to overflow bugs,  especially running under ANGLE.
2023-10-16 13:47:11 +01:00
bruvzg
d4c2e7ec2e
[macOS, 3.x] Use occlusionState to determine when window is drawable. 2023-10-11 11:49:38 +03:00
kleonc
0cde6800e7 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-10-06 10:43:07 +02:00
Rémi Verschelde
fe7ed984b5
Merge pull request #82512 from Rindbee/fix-axis-being-mixed-up-in-3.x
[3.x] BVH - fix axis getting mixed up when split leaf
2023-10-01 22:51:46 +02:00
Rémi Verschelde
3947c11cd3
Merge pull request #82502 from Rindbee/fix-bugs-in-bvh-for-3.x
[3.x] BVH - fix not refitting upward from leaf nodes
2023-10-01 22:51:24 +02:00
Rémi Verschelde
5f9cbe514d
Merge pull request #75468 from Ansraer/four_is_overkill
[3.x] Add support for 3 dir shadow splits
2023-10-01 22:50:57 +02:00
风青山
ab76395144 [3.x] BVH - fix axis getting mixed up when split leaf
Split preferentially on longest axis, rather than shortest axis.
2023-09-29 14:35:33 +08:00
风青山
01c60dc9ee [3.x] BVH - fix not refitting upward from leaf nodes
Fix leaf node possibly not updating aabb due to wrong node id.

Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.
2023-09-29 05:54:47 +08:00
Wilson E. Alvarez
6918525795
Expose EditorInspector::get_edited_object to GDScript 2023-09-23 09:49:17 -04:00
Rémi Verschelde
5271c971f3
Merge pull request #82025 from ryanabx/features/specify-lsp-port-3.x
[3.x] Add `--lsp-port` as a command line argument
2023-09-21 21:56:44 +02:00
ryanabx
22c9ac1540 [3.x] Add --lsp-port as a command line argument 2023-09-20 23:59:50 -05:00
Rémi Verschelde
ddba96755f
Merge pull request #82009 from bruvzg/xc15_ld_bug3
[macOS, 3.x] Workaround Xcode 15 linker bug.
2023-09-20 23:40:17 +02:00
Rémi Verschelde
806482db77
Merge pull request #82007 from bruvzg/pcre_fix
[macOS, 3.x] Change target version to 11.0+ to fix PCRE SLJIT build.
2023-09-20 23:39:54 +02:00
Rémi Verschelde
06401129bc
Merge pull request #80764 from mrezai/improve-lightprobes-performance
Improve BakedLightmap's lightprobes performance
2023-09-20 23:39:26 +02:00
bruvzg
fad3fced8f
[macOS, 3.x] Workaround Xcode 15 linker bug. 2023-09-20 23:18:32 +03:00
bruvzg
233f21108b
[macOS] Change target version to 11.0+ to fix PCRE SLJIT build. 2023-09-20 23:03:53 +03:00
Rémi Verschelde
1d7a417aff
Merge pull request #81902 from lawnjelly/fix_particle_zero_scale
[3.x] Fix zero scale in particle shader
2023-09-19 09:49:31 +02:00
lawnjelly
1f4a6e43df Fix zero scale in particle shader
Fixes the lower bounding of scale when given zero input.

The previous bug was due to `sign` returning 0 with 0.0 input, rather than 1.
2023-09-19 08:30:50 +01:00
Rémi Verschelde
501517a97d
Merge pull request #80931 from lawnjelly/cpuparticles2d_mega_pr
[3.x] `CPUParticles2D` - Add ability to follow physics interpolated target
2023-09-18 19:17:58 +02:00
lawnjelly
3e19cf834a CPUParticles2D - Add ability to follow physics interpolated target
Allows a non-interpolated particle system to closely follow an interpolated target without tracking ahead of the target, by performing fixed timestep interpolation on the particle system global transform, and using this for emission.
2023-09-18 16:05:03 +01:00
lawnjelly
bc1426dd70 CPUParticles2D - non-interpolated global mode use global space
Changes the implementation of non-interpolated global mode particles so that the vertices are specified in proper global space instead of local space (vertices were previously back transformed by the inverse of the parent transform).
2023-09-18 16:05:03 +01:00
Rémi Verschelde
1b4bae595e
Merge pull request #80955 from lawnjelly/fti2d_more_resets
[3.x] Physics Interpolation - automatic resets for Camera2D and TileMap
2023-09-18 17:00:05 +02:00
Rémi Verschelde
cc48c1825f
Merge pull request #80887 from lawnjelly/cpuparticles2d_fix_double_xform
[3.x] CPUParticles2D - fix interpolated transforms and culling
2023-09-18 17:00:00 +02:00
Rémi Verschelde
9eb4d5d5de
Merge pull request #80827 from lawnjelly/fix_cpu_particles_notif_transform
[3.x] CPUParticles - fix non-interpolated `NOTIFICATION_TRANSFORM`
2023-09-18 16:59:57 +02:00
Rémi Verschelde
86dee6ee13
Merge pull request #81442 from bruvzg/gl_mt
[macOS, 3.x] Disable live resize in multithreaded rendering mode.
2023-09-18 15:03:56 +02:00
Rémi Verschelde
47a93ba451
Merge pull request #81717 from Calinou/limits-settings-require-restart
[3.x] Mark debugger limits settings as requiring a restart
2023-09-18 11:36:45 +02:00
Rémi Verschelde
d6c2a4bf68
Merge pull request #81352 from MJacred/3.x
[3.x] Fix cursor after last character INDEX in line counting as a character outside of the viewing area
2023-09-18 11:36:12 +02:00
Rémi Verschelde
269749580d
Merge pull request #80935 from m4gr3d/fix_hardware_keyboard_input_routing_3x
[3.x] Fix Android input routing logic when using a hardware keyboard
2023-09-18 11:35:24 +02:00
Rémi Verschelde
ccf662c8b8
Merge pull request #79544 from panreyes/3.x
[3.x] Add support for repackaging the generated UWP APPX file with `makeappx`
2023-09-18 11:34:34 +02:00
Hugo Locurcio
f84a202235
Mark debugger limits settings as requiring a restart
These settings are only read once on engine initialization.
2023-09-16 00:31:35 +02:00
Fredia Huya-Kouadio
620fdd1f07 Fix Android input routing logic when using a hardware keyboard
When a hardware keyboard is connected, all key events come through so we can route them directly to the engine.
This is not the case for soft keyboards, for which the current logic was designed as it requires extra processing.
2023-09-14 04:29:15 -07:00
DESKTOP-UT43QTQ\Garrigan-Desktop
2a319ab6fc Backporting #76859 to 3.x
Co-authored-by: HolonProduction <holonproduction@gmail.com>
2023-09-12 09:45:23 -05:00
BlueCube3310
7aa0ce5702
[3.x] Fix grayscale dds loading 2023-09-12 15:22:42 +02:00