Commit Graph

67911 Commits

Author SHA1 Message Date
Rémi Verschelde
6bf8a3e3f8
Merge pull request #95449 from SlashScreen/array_functions
Add callable support for `find` and `rfind` `Array` methods
2024-09-20 16:06:13 +02:00
Rémi Verschelde
da9764ad43
Merge pull request #93313 from Repiteo/ci/clang-format
CI: Update `clang-format` pre-commit hook to latest version
2024-09-20 16:06:08 +02:00
Dungeon Master
d33f4820cd
Change "deconstructor" to "destructor" in NOTIFICATION_PREDELETE docs 2024-09-20 15:49:03 +02:00
Hugo Locurcio
84e278cbfd
Tweak script editor zoom presets to be more useful
The presets are now 50%, 75%, 90%, 100%, 110%, 125%, 150%.

This also mentions Ctrl + mouse wheel in the tooltip.
2024-09-20 15:42:15 +02:00
Thaddeus Crews
e90c5a4604
Ignore clang-format changes commit 2024-09-20 08:10:12 -05:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
Haoyu Qiu
9e1121a18c Add missing period for sentences in classref 2024-09-20 19:33:32 +08:00
Haoyu Qiu
f169616cc6 Update AnimationTree parameter list when updating AnimationNodeTransition input names 2024-09-20 16:21:03 +08:00
Haoyu Qiu
b1000d1830 Don't list CSV as a valid extension for Translation resource 2024-09-20 15:21:50 +08:00
Wierdox
a3158d89bb Fix AudioStreamPlayer3D still processing when out of range 2024-09-19 22:16:59 -07:00
Stuart Carnie
e826ab9ba9
[2D,Metal]: Fix subpixel blending; fix inconsistent blend state in Metal 2024-09-20 15:16:31 +10:00
kit
3d6814e5d2 Fix TabContainer tab offset moving when not needed 2024-09-19 19:26:35 -04:00
kleonc
3bfadeff25 Fix C# operator *(Transform3D, AABB) 2024-09-20 00:18:54 +02:00
SheepYhangCN
3b839347df Added fallback_to_opengl3 2024-09-20 06:10:05 +08:00
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