Commit Graph

34998 Commits

Author SHA1 Message Date
Rémi Verschelde 564622af51
Merge pull request #69645 from radenling/backport-fix-viewport-update-in-editor
[3.x] Fix for 2D viewport not updating in the editor when the camera moves
2023-04-11 10:53:20 +02:00
Yuri Sizov 0f24d6ecf7 Update make_rst.py to match the master version
This does not include master-specific concepts, like
constructors, operators, annotations, and bitfields.
2023-04-10 20:47:01 +02:00
Fredia Huya-Kouadio 61e41facc7 Enable granular control of touchscreen related settings 2023-04-05 10:11:53 -07:00
lawnjelly 5f1e7e6fbc Make MessageQueue growable
* Uses simple vector resizing (po2)
* Uses pair of read and write buffers
2023-03-31 10:07:56 +01:00
Richard Adenling 3cfbabfa59 Fix for 2D viewport not updating in the editor when the camera moves
This fixes a problem with 2D viewports not taking the camera position
into consideration when previewed in the editor.

Fixes #40441
2023-03-26 20:49:59 +02:00
Ninni Pipping ff61feaf4e [3.x] Fix `NodePath` subname index range documentation 2023-03-26 20:18:02 +02:00
Ninni Pipping 7d48dd7782 [3.x] Document lack of iOS support for WebM 2023-03-22 19:37:56 +01:00
Fredia Huya-Kouadio 2803c471e8 Bump the target SDK version to 33 (Android 13) 2023-03-21 19:24:39 -07:00
lawnjelly b0c399ec8c
Merge pull request #74895 from smix8/gridmap_navrid_error_spam_3.x
[3.5+] Fix GridMap free navigation RID error spam
2023-03-21 14:28:25 +00:00
Fredia Huya-Kouadio f3cdff46fc Add benchmark logic
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-03-20 23:29:36 -07:00
Fredia Huya-Kouadio e2c7d3e6c0 Fix directory access when the running app has the `All files access` permission 2023-03-20 09:00:48 -07:00
lawnjelly 18398f477c
Merge pull request #74933 from timothyqiu/unlit
[3.x] Set unlit/unshaded extension when importing/exporting GLTF
2023-03-19 14:40:49 +00:00
lawnjelly ab4d76ec38
Merge pull request #74953 from Khejanin/fix_texturelod
Fixed Whitescreen Issue in GLES2.0 Glow Setting
2023-03-19 10:57:41 +00:00
Haoyu Qiu 3544cd1dad Add Color + alpha constructor for Color 2023-03-16 14:51:40 +08:00
Alex Nogueira 01d0b9ad15 Fixed Whitescreen Issue in GLES2.0 Glow Setting
Replaced textureLod with texture2DLod in the tonemapping.glsl shader file.
2023-03-15 18:13:57 +01:00
Haoyu Qiu 6d7bc801f6 Set the unlit / unshaded extension when importing / exporting GLTF
Co-authored-by: Hakim <hakim.rouatbi@gmail.com>
2023-03-15 17:26:06 +08:00
smix8 befdafdbf6 [3.5+] Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.
2023-03-14 05:12:39 +01:00
kobewi fdae01de10 Add set_value_no_signal() to Range 2023-03-13 16:36:18 +00:00
Rémi Verschelde 26a584179c
Merge pull request #74794 from lawnjelly/gdscript_parser_hashtable
[3.x] Use hash table for GDScript parsing
2023-03-12 16:19:07 +01:00
Rémi Verschelde 16df3416fa
Merge pull request #74777 from lawnjelly/textedit_lineinregion
[3.x] Fix TextEdit color_region_cache bug
2023-03-12 16:12:36 +01:00
lawnjelly 19f2006ec0 Use hash table for GDScript parsing
GDScript now uses hash table for lookup of type lists / functions / keywords, instead of linear String comparisons.
2023-03-12 14:55:31 +00:00
Rémi Verschelde 1a4bcad16d
Merge pull request #74782 from lawnjelly/gdscriptparser_linkedlist
[3.x] GDScriptParser - don't use index operator on linked list
2023-03-12 15:51:29 +01:00
lawnjelly 1730fab22a Consistent render ordering for CanvasLayers
Maintains scene tree ordering for CanvasLayers that share identical layer ID.
2023-03-12 05:00:13 +00:00
lawnjelly ef914dac31 GDScriptParser - don't use index operator on linked list
Index operators are super slow with linked lists. This came up in profiling the parsing, iterating sequentially using iterator is much faster.
2023-03-11 17:05:12 +00:00
lawnjelly 57306bf0e3 Fix TextEdit color_region_cache bug
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.

This is now fixed, which should make the editor much faster with large scripts.
2023-03-11 16:18:29 +00:00
lawnjelly 1a4ef34d50
Merge pull request #74539 from Ansraer/3.x-fix-shadows
[3.x] Fix shadows when using 2 directional lights
2023-03-11 10:00:21 +00:00
lawnjelly 910ddd13c4 Batching - Add MultiRect command
Large groups of similar rects can be processed more efficiently using the MultiRect command. Processing common to the group can be done as a one off, instead of per rect.

Adds the new API to VisualServerCanvas, and uses the new functionality from Font, BitmapFont, DynamicFont and TileMap, via the VisualServerCanvasHelper class.
2023-03-10 10:58:04 +00:00
lawnjelly 18d7d36b63 Eliminate collision checks between geometry in rendering BVH.
Later logic using the `pairable_mask` would catch cases preventing pairing callbacks between geometry. However the collision checks were still taking place, wasting performance.

Here we utilize the `tree_mask` feature of BVH to totally eliminate unnecessary collision checks between geometry.
2023-03-09 11:16:30 +00:00
Ansraer 0227fcc4cc fix shadows pass viewport calculation 2023-03-07 11:22:05 +01:00
Rémi Verschelde 8e7bb469b5
Merge pull request #74490 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 12th batch
2023-03-06 15:08:31 +01:00
smix8 608317213e
Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.

(cherry picked from commit 73dc680fc1)
2023-03-06 13:48:18 +01:00
Chris Weber 914182ffe3
increased max touches to 32 for ios
(cherry picked from commit 54bd204377)
2023-03-06 13:48:18 +01:00
Julien Reichardt 669749fa39
Fix Standard Gamepad Mapping triggers
(cherry picked from commit 0cec4fcc65)
2023-03-06 13:48:17 +01:00
Ricardo Subtil e814861950
Change message of unknown joypad property from error to warning
(cherry picked from commit e841f13cdc)
2023-03-06 13:48:17 +01:00
Rémi Verschelde bab7f1c0a6
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@436c7e3d54

(cherry picked from commit 20d6a698c7)
2023-03-06 13:48:17 +01:00
Rémi Verschelde 50c598e229
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@2e7bc45a45

(cherry picked from commit 99ae2d5212)
2023-03-06 13:48:17 +01:00
Julien Reichardt 2c18066231
Add PS3 controller guide button
(cherry picked from commit e926e1bb34)
2023-03-06 13:48:17 +01:00
Rémi Verschelde 5faa423944
Math: Prevent division by zero in posmod
Fixes #43932.

Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
(cherry picked from commit f011d8ca9c)
2023-03-06 13:48:13 +01:00
Hugo Locurcio a836b6bc88
Mention `String.match()` is also called "glob"/"globbing"
This is mostly for Ctrl + F purposes, in case someone is looking
how to perform globbing on a string.

(cherry picked from commit 64906bd1f7)
2023-03-06 13:05:17 +01:00
PrecisionRender 07b37b6b6c
Fix Xbox Series controller duplicate input
(cherry picked from commit e9400867b3)
2023-03-06 13:02:51 +01:00
Juan Linietsky 16757a80a8
Fix AltGR getting stuck on Windows right alt-tab
Fixes #28511.

(cherry picked from commit e01452adb0)
2023-03-06 13:01:54 +01:00
Rémi Verschelde 8edd526c2c
Merge pull request #73781 from BZ1234567890/issue-73305-b3x
[3.x] iOS: Implement missing gamepad.buttonOptions, buttonMenu, and buttonHome joy buttons
2023-03-06 12:51:57 +01:00
Rémi Verschelde d2ac29abe3
Merge pull request #74469 from m4gr3d/configure_snapshot_publish_version_3x
[3.x] Configure maven central snapshot versions for the Godot Android library
2023-03-06 12:38:49 +01:00
Rémi Verschelde f9b2429248
Merge pull request #74399 from necrashter/3.x-android-vk-height
[3.x] Use the new API for virtual keyboard height detection on Android, bugfix for old API
2023-03-06 12:38:27 +01:00
Rémi Verschelde 0cee4a85f5
Merge pull request #74284 from Calinou/doc-shell-open-uri-encode-3.x
Document using `String.percent_encode()` with `OS.shell_open()` (3.x)
2023-03-06 12:38:04 +01:00
Rémi Verschelde e8c9b251ef
Merge pull request #74196 from YeldhamDev/accent_backport
Backport a simpler version of the accent color for check icons
2023-03-06 12:37:41 +01:00
Rémi Verschelde b810045a12
Merge pull request #74128 from RedworkDE/net-debug-crash-3x
[3.x] C#: Fix crash when errors occur before language initialization.
2023-03-06 12:37:19 +01:00
Rémi Verschelde d627f4f80d
Merge pull request #74085 from AThousandShips/tree_set_selected_3_x
[3.x] Backport Tree::set_selected
2023-03-06 12:36:56 +01:00
Rémi Verschelde 02f3b4328a
Merge pull request #73851 from smix8/add_collision_exception_error_msg_3.x
[3.x] Add error messages for collision exception functions
2023-03-06 12:36:30 +01:00
Fredia Huya-Kouadio 0e2292f341 Configure maven central snapshot versions for the Godot Android library
A snapshot version is a version that has not yet been released which allows us to deploy the same transient version incrementally, without requiring projects to upgrade the artifact version they're consuming. Those projects can use the same version to get an updated snapshot version.
2023-03-06 01:29:41 -08:00