Commit Graph

58917 Commits

Author SHA1 Message Date
Fredia Huya-Kouadio dce2686e52 Remove Android specific abis from the export preset feature list
The presence of those abis cause them to be included in the set of `p_features` passed to the `gdextension_export_plugin#_export_file(...)` method, which caused them to be lumped in the `features_wo_arch` set.
When trying to find the gdextension library path, we use a predicate with the following logic:

```
[features_wo_arch, arch_tag](String p_feature) { return features_wo_arch.has(p_feature) || (p_feature == arch_tag); }
```

For a `gdextension` config file like the one below, this causes the first android entry (`android.armeabi-v7a = ...`) to always be returned regardless of archs since it always satisfies the predicate.

```
[configuration]

entry_symbol = "example_library_init"
compatibility_minimum = 4.1

[libraries]
linux.x86_64 = "res://libgdexample.so"

android.armeabi-v7a = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.arm32 = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.x86 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_32 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_64 = "res://libgdexample.android.template_release.x86_64.so"
android.arm64-v8a = "res://libgdexample.android.template_release.arm64-v8a.so"
android.arm64 = "res://libgdexample.android.template_release.arm64-v8a.so"
```
2023-11-10 07:32:59 -08:00
Rémi Verschelde 2b987d1c54
Merge pull request #84702 from bitsawer/fix_fog_material_leak
Fix FogMaterial memory leak
2023-11-10 11:34:50 +01:00
bitsawer 0f66bc9ba6 Fix FogMaterial memory leak 2023-11-10 12:13:52 +02:00
Rémi Verschelde 7f49389c4b
Merge pull request #84698 from RandomShaper/fix_doccy
Fix link in the docs about ResourceImporterTextureAtlas
2023-11-10 10:46:30 +01:00
Rémi Verschelde 4eae6f8028
Merge pull request #84669 from akien-mga/doc-displayserver-dont-mess-with-windows
doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on Window nodes
2023-11-10 10:46:06 +01:00
Rémi Verschelde 8c53a72a49
Merge pull request #84661 from Sauermann/fix-cursor-in-advanced-importer
Fix stuck cursor in Advanced Scene Importer
2023-11-10 10:45:43 +01:00
Rémi Verschelde 804c1926c9
Merge pull request #84648 from NiftyHat/patch-1
Add C# example for the AudioStreamGenerator code snippet
2023-11-10 10:45:20 +01:00
Rémi Verschelde dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Rémi Verschelde a9c864dc35
Merge pull request #83039 from KoBeWi/it's_always_the_cache
Fix GDScript cache assigning UID as scene path
2023-11-10 10:44:33 +01:00
Rémi Verschelde 38c3e5aae9
Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
Pedro J. Estébanez 29a4707fa5 Fix link in the docs about ResourceImporterTextureAtlas 2023-11-10 09:51:11 +01:00
Duncan "NiftyHat" Saunders 496eaafe49
Add C# example for the AudioStreamGenerator code snippet 2023-11-10 09:28:35 +01:00
Rémi Verschelde 9df6491853
Merge pull request #84678 from aaronfranke/blend-name
Use the Blender file name instead of the generated GLTF file name
2023-11-09 20:05:32 +01:00
Rémi Verschelde 03d97977b1
Merge pull request #84649 from bruvzg/mac_fs_fs_switch
[macOS] Fix fullscreen <-> exclusive fullscreen transition.
2023-11-09 20:05:09 +01:00
Rémi Verschelde b06fe0d574
Merge pull request #84620 from dsnopek/gdextension-library-path-absolute
Change `GDExtension`'s `library_path` back to an absolute path
2023-11-09 20:04:45 +01:00
Rémi Verschelde a49b932bdb
Merge pull request #84568 from bruvzg/gl_blocklist
[Windows] Add some AMD GPUs to the OpenGL blocklist.
2023-11-09 20:04:21 +01:00
Rémi Verschelde 0e6160a00f
Merge pull request #81525 from KoBeWi/tweening_the_impossible
Check if property exists before tweening
2023-11-09 20:03:53 +01:00
Aaron Franke 6d8f029df4
Use the Blender file name instead of the generated GLTF file name 2023-11-09 12:11:39 -06:00
bruvzg 173b84127b
[Windows] Add some AMD GPUs to the OpenGL blocklist. 2023-11-09 20:11:04 +02:00
bruvzg d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
David Snopek 09fcc3a1ad Change `GDExtension`'s `library_path` back to an absolute path 2023-11-09 11:24:57 -06:00
Rémi Verschelde c2246a5a6f
Merge pull request #84668 from YuriSizov/gui-dont-warn-when-popup-subs-are-nameless
Allow auto-generated node names in `PopupMenu::add_submenu_item`
2023-11-09 18:10:35 +01:00
Rémi Verschelde 02e52da774
Merge pull request #84667 from timothyqiu/semi-redundant
Remove a redundant semicolon from `max_fps` documentation
2023-11-09 18:10:11 +01:00
Rémi Verschelde 884c794754
Merge pull request #84663 from AThousandShips/cs_rename
Rename `Vector2/3/4I.Min/Max` to `MinValue/MaxValue`
2023-11-09 18:09:48 +01:00
Rémi Verschelde f7a701587e
Merge pull request #84662 from YuriSizov/gui-warn-about-autowrapping
Warn about autowrapped labels in containers
2023-11-09 18:09:25 +01:00
Rémi Verschelde 19db9308ff
Merge pull request #84657 from RandomShaper/lang_srv_threading
Make languages bookkeeping thread-safe
2023-11-09 18:09:01 +01:00
Rémi Verschelde d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Rémi Verschelde 25e650ab61
Merge pull request #83388 from jsjtxietian/document-resource-saver-uid
Document UID behavior in ResourceSaver's save function
2023-11-09 18:07:41 +01:00
Rémi Verschelde 9ff5ee79b8
Merge pull request #82991 from jsjtxietian/update-doc-for-draw-poly-line
Update `draw_polyline` documentation to clarify negative width behavior
2023-11-09 18:07:16 +01:00
Rémi Verschelde 95a42aeb96
Merge pull request #82092 from jitspoe/master.pr_physical_keycode_doc_fix
Fix documentation on how to get the keycode string from a `physical_keycode`
2023-11-09 18:06:51 +01:00
Rémi Verschelde 75d27e3893
Merge pull request #79832 from DarkMessiah/fix-autoload-settings
Fix undo methods for DELETE in EditorAutoloadSettings
2023-11-09 18:06:28 +01:00
Rémi Verschelde 460dd9fdb7
Merge pull request #79021 from KoBeWi/hide_slider_and_EVERYTHING_ELSE
Fix missing arrows in integer vector properties
2023-11-09 18:06:01 +01:00
Pedro J. Estébanez f3e96a8548 Make languages bookkeeping thread-safe 2023-11-09 18:03:43 +01:00
kobewi aff49d3a76 Fix missing arrows in integer vector properties 2023-11-09 17:35:15 +01:00
Rémi Verschelde 354c622aa7
doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on Window nodes 2023-11-09 17:23:38 +01:00
Yuri Sizov edcad2ea88 Allow auto-generated node names in `PopupMenu::add_submenu_item` 2023-11-09 17:12:41 +01:00
Yuri Sizov 58a3cfa192 Warn about autowrapped labels in containers 2023-11-09 16:33:46 +01:00
Haoyu Qiu d6bd0e1289 Remove a redundant semicolon from max_fps documentation 2023-11-09 22:18:01 +08:00
kit d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
A Thousand Ships 668761fa8e Rename `Vector2/3/4I.Min/Max` to `MinValue/MaxValue`
More consistent with the `Mathf` constants they reference
2023-11-09 14:16:53 +01:00
jitspoe 1e01fcd038
Fix documentation on how to get the keycode string from a `physical_keycode`
Fixes #82091.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-11-09 13:03:29 +01:00
Markus Sauermann 75b4ea05a4 Fix stuck cursor in Advanced Scene Importer
Display an Arrow mouse cursor, while the mouse is moved within the
`SubViewportContainer` of the Advanced Scene Importer.
2023-11-09 12:50:13 +01:00
Rémi Verschelde d1381bbca2
Merge pull request #84625 from KoBeWi/yeet_sprite_node()
Remove AnimatedSprite pointer when clearing editor
2023-11-09 11:48:12 +01:00
Rémi Verschelde e769a75640
Merge pull request #84618 from YuriSizov/docs-resolve-method-reference-collisions
Resolve collisions in reference anchors added for methods
2023-11-09 11:47:48 +01:00
Rémi Verschelde 26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde b153f4868a
Merge pull request #84567 from timothyqiu/shapecast-doc
Sync changes between ShapeCast and RayCast class references
2023-11-09 11:47:00 +01:00
Rémi Verschelde aaafc69132
Merge pull request #84513 from bruvzg/x11_fallback_and_spam
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-09 11:46:36 +01:00
Rémi Verschelde 0e8781e818
Merge pull request #84504 from jitspoe/master.pr_fullscreen_to_windowed_fix
Fix bug where maximized->fullscreen->windowed mode stays maximized.
2023-11-09 11:46:12 +01:00
Rémi Verschelde ce53362f98
Merge pull request #83670 from raulsntos/notification-predelete-cleanup
Add `NOTIFICATION_PREDELETE_CLEANUP` notification to fix C# `Dispose()`
2023-11-09 11:45:49 +01:00
Rémi Verschelde 432c75d6af
Merge pull request #83081 from Rindbee/fix-wrong-split
Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong result
2023-11-09 11:45:21 +01:00