Commit Graph

64201 Commits

Author SHA1 Message Date
Hugo Locurcio a008896f70
Use `OS::delay_usec()` to avoid using deprecated `usleep()` on Linux
usleep(3) was declared obsolete in POSIX.1-2001 and removed in POSIX.1-2008.
nanosleep(2) was recommended to be used instead.

`OS::delay_usec()` internally uses `nanosleep()`.

This also uses large number separators for improved readability.
2024-05-21 17:32:40 +02:00
Rémi Verschelde aaa4560729
Merge pull request #92192 from timothyqiu/no-thank-you
Don't translate preview in node batch rename dialog
2024-05-21 11:23:11 +02:00
Rémi Verschelde 0e39ac6ac6
Merge pull request #92176 from emrekultursay/master
Fix detecting when Gradle is invoked from Studio
2024-05-21 11:23:08 +02:00
Rémi Verschelde 365d25de3e
Merge pull request #92173 from cosparks/fix-tilemap-occluder-sdf
Fix 2d sdf collision for TileMapLayer Occluders
2024-05-21 11:23:05 +02:00
Rémi Verschelde 9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde d7a5f9d67c
Merge pull request #92164 from DarioSamo/force_update_skeleton
Replace List with LocalVector on Skeleton3D's bone transform update.
2024-05-21 11:22:59 +02:00
Rémi Verschelde 0f044855f5
Merge pull request #92158 from bruvzg/win_crlf
[Windows] Use CRLF in the terminal prints.
2024-05-21 11:22:56 +02:00
Rémi Verschelde dcc7cb01a7
Merge pull request #92154 from lawnjelly/is_polygon_clockwise_doc
Clarify `is_polygon_clockwise()` coordinate system
2024-05-21 11:22:53 +02:00
Rémi Verschelde 149e3b85aa
Merge pull request #92145 from jsjtxietian/doc-init
Prevent add shader uniform doc when DocTool is not inited
2024-05-21 11:22:50 +02:00
Rémi Verschelde 008fd5fee6
Merge pull request #92078 from lawnjelly/increase_tight_cull_epsilon
Tight shadow culling - increase epsilon to prevent flickering
2024-05-21 11:22:47 +02:00
Rémi Verschelde ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
Rémi Verschelde c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Rémi Verschelde 0cf42d6273
Merge pull request #88919 from nongvantinh/fix-88834
Revise implementation of C# `Aabb.GetSupport` to match the implementation in `core`
2024-05-21 11:22:36 +02:00
Rémi Verschelde a720ce3046
Merge pull request #84331 from Alex2782/debug-InputEventScreenDrag
Fix InputEventScreenDrag on Android
2024-05-21 11:22:31 +02:00
Haoyu Qiu 09feef3572 Don't traslate preview in node batch rename dialog 2024-05-21 15:55:06 +08:00
Emre Kultursay 3b8d0bee4a Fix detecting when Gradle is invoked from Studio
The existing 'idea.platform.prefix' system-property approach
only worked because of a Android Studio bug that leaks the
system properties from Android Studio into Gradle build:
  - https://issuetracker.google.com/201075423

This bug was fixed in Android Studio 2023.3.1 (Jellyfish).

The correct way of identifying builds from Android Studio is to
use the following project property (not system property):
 - android.injected.invoked.from.ide
2024-05-20 17:02:36 -07:00
Alexander Hartmann ab9e377fe6 Fix InputEventScreenDrag on Android 2024-05-21 01:04:23 +02:00
cosparks 601edc7d3e Fix 2d sdf collision for TileMapLayer 2024-05-20 13:03:02 -07:00
kobewi e70ca3bf5a Fix tile polygon grid not covering whole tile 2024-05-20 20:16:06 +02:00
lawnjelly 331ecf3ca8 Clarify is_polygon_clockwise() coordinate system
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +01:00
Rémi Verschelde 40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde eef7e29527
Merge pull request #92143 from m4gr3d/cleanup_android_plugin_on_exit
Add logic to unregister the Godot plugins on engine termination
2024-05-20 17:07:05 +02:00
Rémi Verschelde b44e9b0ce4
Merge pull request #92136 from Maran23/editor-feature-profile-improvements
Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited
2024-05-20 17:07:02 +02:00
Rémi Verschelde 15a888712d
Merge pull request #92116 from RadiantUwU/new_audio_icons
Change the AudioStreamPlayer icons to be clearer.
2024-05-20 17:06:58 +02:00
Rémi Verschelde b0822250d6
Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +02:00
Rémi Verschelde fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Rémi Verschelde 45f6aaeb10
Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Rémi Verschelde 3bd2a6ad6e
Merge pull request #91700 from Sievaxx/checkbox_max_width
Fix CheckBox and CheckButton not using `icon_max_width`
2024-05-20 17:06:37 +02:00
Rémi Verschelde b5f8f103aa
Merge pull request #91291 from m4gr3d/fix_unreachable_export_button_android_editor
Fix export dialog sizing issue on small devices
2024-05-20 17:06:34 +02:00
Rémi Verschelde 7b89bd4496
Merge pull request #89798 from timothyqiu/clear-all
Disable Clear All button when not filtering in Settings
2024-05-20 17:06:31 +02:00
Rémi Verschelde 68ac4ee358
Merge pull request #80232 from Calinou/vulkan-pipeline-cache-improve-messages
Improve warning messages related to Vulkan pipeline cache
2024-05-20 17:06:25 +02:00
Dario e54b928974 Replace List with LocalVector on Skeleton3D's bone transform update. 2024-05-20 11:58:36 -03:00
bruvzg 497f65fa50 [Windows] Use CRLF in the terminal prints. 2024-05-20 14:23:17 +03:00
Marius Hanl 7008111a3f Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited 2024-05-20 11:32:41 +02:00
Riley Willows ea7860c614
Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
Haoyu Qiu becc98162e Fix error when duplicating visual shader node inside a Frame 2024-05-20 15:56:16 +08:00
jsjtxietian d1cd0c4780 Prevent add shader uniform doc when DocTool is not inited 2024-05-20 12:26:26 +08:00
Fredia Huya-Kouadio 5a74e5812b Add logic to unregister the Godot plugins on engine termination 2024-05-19 19:27:04 -07:00
Radiant b20d7afa53 Change the AudioStreamPlayer icons to be more clear.
Co-authored-by: mieldepoche <mieldepoche@users.noreply.github.com>
2024-05-19 19:32:52 +03:00
Haoyu Qiu e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
kobewi a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +02:00
Haoyu Qiu 55459dd74e Disable Clear All button when not filtering in Editor Settings 2024-05-19 19:29:48 +08:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Rémi Verschelde daa81bbb7d
Merge pull request #92087 from Repiteo/scons/windows-color-fix-maybe
SCons: Fix potential Windows ANSI exception
2024-05-19 11:21:18 +02:00
Rémi Verschelde c63383fa88
Merge pull request #92035 from rune-scape/rune-gdscript-invalid
GDScript: Fix segfault on invalid script
2024-05-19 11:21:14 +02:00
Rémi Verschelde 4ce95d684c
Merge pull request #91653 from HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone
Autocompletion: Analyze CLASS types as they are encountered
2024-05-19 11:21:11 +02:00
Rémi Verschelde 6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Fredia Huya-Kouadio 60a4cc2fbe Fix export dialog sizing issue on small devices
Fixes https://github.com/godotengine/godot/issues/73130

- Update the min height from `700` to `500` to match the editor's min height of `600`
- Wrap the sections of the `TabContainer` within a `ScrollContainer`. This prevents the export dialog from trying to resize to fit the tallest of those sections, and make them accessible on small screen devices.
2024-05-18 11:27:50 -07:00
Thaddeus Crews a9810cffb4
SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
Rémi Verschelde f58a96cfa2
Merge pull request #92075 from autoit4you/fix-92062
Use `GLOBAL_GET` for `window_{height,width}_override`
2024-05-18 17:41:48 +02:00