Commit graph

68057 commits

Author SHA1 Message Date
Lisandro Lorea
bdcee836ad Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
Document exposed methods

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03:00
Thaddeus Crews
72c183ce8b
CI: Update pre-commit clang-format to 18.1.8
• Modernized `.clang-format` file against latest LLVM config settings
2024-09-19 16:00:51 -05:00
Jiří Švejda
c4bea28e17 Fix typo in CompositorEffect documentation 2024-09-19 22:26:23 +02:00
ev13bird
e2b25cfc0d Fix minor typo in EditorPlugin remove_inspector_plugin 2024-09-20 06:17:15 +10:00
Matt Enad
d6c0a53ecf Add error messages to binding generator 2024-09-19 13:31:05 -04:00
Raul Santos
ec189b1574
C#: Use dotnet CLI to launch OpenVisualStudio.dll
Use the DLL instead of the EXE, so we can rely on the dotnet CLI handling the architecture.
2024-09-19 19:23:01 +02:00
aaronp64
714357e55c Assign return value on Variant operator failure
Variant operators for String formatting and "in" could result in errors, which would return from validated_evaluate without assigning r_ret.  This would cause scripts using the return value from these operators to get results from previously run code.  Updated to return the original String value in the String formatting case, and false for "in" when an error occurs.
2024-09-19 11:22:35 -04:00
Rémi Verschelde
0a4aedb360
Merge pull request #97187 from KoBeWi/do_not
Don't store project metadata when loading
2024-09-19 17:13:56 +02:00
Rémi Verschelde
c8d76c1edd
Merge pull request #97185 from KoBeWi/ID_war
Fix FileSystemDock's EditorContextMenuPlugins
2024-09-19 17:13:53 +02:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Rémi Verschelde
6a1ab24a34
Merge pull request #97166 from Repiteo/ci/godot-cpp
CI: Improve `godot-cpp` actions
2024-09-19 17:13:46 +02:00
Rémi Verschelde
d427a60970
Merge pull request #97145 from KoBeWi/supersecretsettings
Don't show project settings starting with underscore
2024-09-19 17:13:43 +02:00
Rémi Verschelde
ff2b5a5422
Merge pull request #97075 from KoBeWi/better_new_folder_(not_to_be_confused_with_new_better_folder)
Rework creating new folders in editor
2024-09-19 17:13:39 +02:00
Rémi Verschelde
ae872a4ed5
Merge pull request #97014 from hayahane/fix_script_property_order
Reorder C# script properties to fix editor serialization
2024-09-19 17:13:34 +02:00
Rémi Verschelde
575c3212c5
Merge pull request #96954 from HolonProduction/highlighter-duplicate-docs
Docs: Add warning about sharing a syntax highlighter to `TextEdit`
2024-09-19 17:13:30 +02:00
Rémi Verschelde
b1b4c5da4b
Merge pull request #96928 from dsnopek/rename-and-expose-texture-create-external
Expose a function to create textures from a native handle in the compatibility renderer
2024-09-19 17:13:27 +02:00
Rémi Verschelde
71a7e37a43
Merge pull request #96766 from ryevdokimov/hide-white-circle-outline
Hide white circle outline during instant transformations
2024-09-19 17:13:20 +02:00
Rémi Verschelde
ff334cd1dd
Merge pull request #97169 from Dowsley/fix/undo-redo-bezier-anim-editor
Fix Undo/Redo not working in Bezier Animation Editor when moving keys
2024-09-19 17:13:16 +02:00
Rémi Verschelde
a05e06f9cf
Merge pull request #97180 from akien-mga/revert-95508
Revert "Return error when no ResourceFormatLoader found."
2024-09-19 17:13:13 +02:00
Rémi Verschelde
bea22d8c64
Merge pull request #97188 from alvinhochun/binutils-ar-tempfile-fix
Fix using Binutils `AR` with `TEMPFILE` on Windows
2024-09-19 17:13:10 +02:00
HolonProduction
30ad025f8d
Docs: Add warning about sharing a syntax highlighter to TextEdit 2024-09-19 17:07:04 +02:00
Alvin Wong
454251660c Fix using Binutils AR with TEMPFILE on Windows
Set `TEMPFILEARGESCFUNC`[1] to replace backslashes with forward slashes
in paths.

[1]: https://scons.org/doc/production/HTML/scons-user/apa.html#cv-TEMPFILEARGESCFUNC
2024-09-19 22:19:15 +08:00
David Snopek
7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 -05:00
kobewi
b277a2985d Don't store project metadata when loading 2024-09-19 16:01:53 +02:00
Thaddeus Crews
593744b733
CI: Improve godot-cpp actions 2024-09-19 08:37:42 -05:00
kobewi
5901a7a3d1 Fix FileSystemDock's EditorContextMenuPlugins 2024-09-19 15:33:11 +02:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Rémi Verschelde
b638967d01
Revert "Return error when no ResourceFormatLoader found."
This reverts commit 6df3621b47.

Fixes #97153.
2024-09-19 12:41:51 +02:00
MewPurPur
f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
alpacat
7df5b78aca Reorder C# script properties to fix editor serialization 2024-09-19 12:49:15 +08:00
Dowsley
5aa8f8dfee Fix Undo/Redo not working in Bezier Animation Editor when moving keys 2024-09-18 20:45:08 -03:00
Rémi Verschelde
694d3c2930
Merge pull request #97141 from timothyqiu/character-breaks
Fix typo in `string_get_character_breaks()` sample code
2024-09-18 17:41:12 +02:00
Rémi Verschelde
d8a82a8945
Merge pull request #97068 from Mickeon/allow_joy_axis_invalid
Allow `JOY_AXIS_INVALID` in InputEventJoypadMotion's `axis`
2024-09-18 17:41:08 +02:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
7b1d169e0e
Merge pull request #96683 from elliotfontaine/toggle-replace-button
Code Editor: Add button to toggle between search and search+replace
2024-09-18 17:40:59 +02:00
Rémi Verschelde
804d9775b5
Merge pull request #96407 from alvinhochun/mingw-ar-long-command-tempfile
Remove `ARFLAGS` hack for Windows, replace with `TEMPFILE`
2024-09-18 17:40:53 +02:00
Rémi Verschelde
8ba3c2aeb4
Merge pull request #92972 from ogapo/pr/warn-on-duplicate-uids
Editor: Warn on UID duplicates
2024-09-18 17:40:49 +02:00
Rémi Verschelde
57c868483a
Merge pull request #90703 from ZerxZ/core/classdb_get_api_type
Expose `ClassDB.class_get_api_type()` method
2024-09-18 17:40:39 +02:00
深淵の鴿子
949d24b388
Expose ClassDB::class_get_api_type method 2024-09-18 15:45:21 +01:00
kobewi
8ab9205617 Don't show project settings starting with underscore 2024-09-18 15:16:42 +02:00
Haoyu Qiu
354b58fae4 Fix typo in string_get_character_breaks() sample code 2024-09-18 19:14:32 +08:00
Rémi Verschelde
4c72d599f0
miniupnpc: Update to 2.2.8 (new major 18)
Keep support for major 17 by using a version check for the changed API.

Fixes #93907.
2024-09-18 11:50:54 +02:00
Rémi Verschelde
84dcdde908
Merge pull request #97134 from timothyqiu/file-system
Fix inconsistency in FileSystem naming in shader editor menu
2024-09-18 11:15:57 +02:00
Rémi Verschelde
2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00
Rémi Verschelde
0f27e7816f
Merge pull request #97131 from BastiaanOlij/fix_gles_canvas_background
Fix compatibility canvas background depth issue
2024-09-18 11:15:50 +02:00
Rémi Verschelde
3abff94a24
Merge pull request #97130 from Rindbee/check-space-in-remove_soft_body_from_query
Add forgotten `get_space()` check in `GodotArea3D::remove_soft_body_from_query()`
2024-09-18 11:15:47 +02:00
Rémi Verschelde
21134e146a
Merge pull request #97032 from lalitshankarchowdhury/fix-audio-crash
Fix `AudioStreamMicrophone` crash on scene-reload
2024-09-18 11:15:44 +02:00
Rémi Verschelde
2a8d30aa9f
Merge pull request #97029 from Hilderin/fix-viewport-texture-must-be-set-to-use-it
Fix Viewport Texture must be set to use it
2024-09-18 11:15:39 +02:00
Rémi Verschelde
b10338132e
Merge pull request #97006 from Gaktan/project_dialog_vulkan_crash
Fix Vulkan Instance initialized twice in ProjectDialog
2024-09-18 11:15:35 +02:00
Rémi Verschelde
1d3e9b3688
Merge pull request #96829 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-four
Fix project manager stealing focus on i3
2024-09-18 11:15:30 +02:00