Commit graph

34200 commits

Author SHA1 Message Date
Hugo Locurcio
3b31ff9008
Optimize String.repeat()
This backports the optimization done in `master`.

Co-authored-by: VolTer <mew.pur.pur@abv.bg>
2022-08-28 18:27:42 +02:00
Rémi Verschelde
5beec641b6
Merge pull request #64933 from madmiraal/fix-error_macros-header-guard-3.x
[3.x] Fix header guard in error_macros.h
2022-08-27 09:17:04 +02:00
Rémi Verschelde
6536feb424
Merge pull request #64929 from YuriSizov/editor-tooltip-or-not-tooltip-3.x
[3.x] Remove Inspector tooltip hack that never actually worked
2022-08-26 23:05:11 +02:00
Rémi Verschelde
c78c9bcf96
Merge pull request #64926 from RandomShaper/ps_res_path_3.x
[3.x] Determine `ProjectSettings`' resource path early
2022-08-26 23:03:06 +02:00
Marcel Admiraal
e2dac6ecd9 Fix header guard in error_macros.h 2022-08-26 16:04:54 +01:00
Yuri Sizov
72d1156286 Remove Inspector tooltip hack that never actually worked 2022-08-26 17:12:46 +03:00
Pedro J. Estébanez
89892e4f32 Determine ProjectSettings' resource path early 2022-08-26 15:09:19 +02:00
Rémi Verschelde
320fe64d8c
Merge pull request #62746 from KoBeWi/sc3n3_factory🏭🏭🏭 2022-08-25 23:13:37 +02:00
Rémi Verschelde
d073d10739
Merge pull request #51146 from Haskaris/fix-output-port-mismatch 2022-08-25 21:45:15 +02:00
Rémi Verschelde
0b4e600f2b
Merge pull request #64895 from Calinou/editor-help-add-kbd-tag-3.x 2022-08-25 21:43:22 +02:00
Rémi Verschelde
9b708d614d
Merge pull request #64892 from Calinou/remove-unused-create-signal-callbacks-setting-3.x
Remove unused Create Signal Callbacks editor setting
2022-08-25 20:51:04 +02:00
Hugo Locurcio
ed380cc0fa
Add a [kbd] tag for highlighting keyboard shortcuts in the editor help
This allows backporting documentation from the `master` branch more easily,
as it already features the `[kbd]` tag.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-25 19:53:49 +02:00
Hugo Locurcio
576da2bd50
Remove unused Create Signal Callbacks editor setting
This setting wasn't referred to anywhere.
2022-08-25 19:22:12 +02:00
Perrier Mathis
dcacecaed0 Fix output port type mismatch for some VisualScript nodes 2022-08-25 17:53:41 +02:00
Rémi Verschelde
03940b77a2 CI: Remove unnecessary extra cache step for Emscripten
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
(cherry picked from commit cfcdd576dd)
2022-08-25 15:36:19 +02:00
Rémi Verschelde
abaa76fcf9 CI: Sync configuration with master branch
Updates various actions to latest versions:

actions/cache@v3
actions/checkout@v3
actions/upload-artifact@v3
actions/setup-dotnet@v2
actions/setup-java@v3
actions/setup-python@v4
mymindstorm/setup-emsdk@v11
2022-08-25 14:11:54 +02:00
Rémi Verschelde
a86da2eb8b
Merge pull request #64608 from RandomShaper/safe_audio_threading_3.x 2022-08-25 10:12:44 +02:00
Rémi Verschelde
59402ff8ad
Merge pull request #64631 from nathanfranke/3-ios-opaque
(3.x) iOS: Force app store icon to be opaque, use proper errors, fix memory leak
2022-08-25 08:43:14 +02:00
Rémi Verschelde
8388ea1d6b
Merge pull request #64839 from akien-mga/3.x-zstd-1.5.2
zstd: Update to upstream version 1.5.2
2022-08-25 00:51:28 +02:00
Rémi Verschelde
6358e41772
Merge pull request #64838 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 2nd batch
2022-08-25 00:51:19 +02:00
Rémi Verschelde
fd08545a59
Merge pull request #64579 from marcinn/backport-panning-strength
[3.x] Backport panning strength parameters from 4.0
2022-08-24 23:55:28 +02:00
Rémi Verschelde
e6f9438d2a
Merge pull request #64532 from madmiraal/fix-63972-2-3.x
[3.x] Fix axis mapped to DPad buttons not releasing opposite button
2022-08-24 20:10:51 +02:00
Rémi Verschelde
b76416a90e
Merge pull request #64811 from winterpixelgames/fix/safari-particles-fix
workaround for angle project issue 7245, safari, iOS
2022-08-24 20:07:12 +02:00
Rémi Verschelde
04a857fe86
Merge pull request #64636 from YeldhamDev/menu_buttons_popup_fix_bp
[3.x] Make `Menu/OptionButton` item auto-highlight behave better
2022-08-24 19:06:37 +02:00
bruvzg
c4885c8be8 Use clang as assembler to ensure preprocessing is done, and add assembler "target" flag.
(cherry picked from commit e873778561)
2022-08-24 18:26:29 +02:00
bruvzg
b7c9eb1a3c Add arch flag to assembler to fix build on ARM64 macOS / iOS.
(cherry picked from commit b767d2e0fd)
2022-08-24 18:26:28 +02:00
Rémi Verschelde
bda382684f zstd: Update to upstream version 1.5.2
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.1
- https://github.com/facebook/zstd/releases/tag/v1.5.2

(cherry picked from commit 39ed39900e)
2022-08-24 18:26:14 +02:00
reduz
2c92594fa6 Simplify Subresource Saving
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885.

I am not 100% entirely convinced that this approach works, but I think it should so please test.

(cherry picked from commit 9eb5f2a0d7)
2022-08-24 17:52:15 +02:00
Jummit
fd91b2dbb9 Keep Perspective menu open on selection
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.

(cherry picked from commit e3ab344af9)
2022-08-24 17:52:15 +02:00
Danil Alexeev
bf33de769a Add boot splash display time setting
Implements #8867.

(cherry picked from commit dad9683d11)
2022-08-24 17:30:00 +02:00
Rémi Verschelde
7dd322f83e libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-08-24 17:24:23 +02:00
Michael Alexsander
245d70bec0 Fix ItemList selection visual when the scrollbar visibility changes
(cherry picked from commit e298144a41)
2022-08-24 17:23:59 +02:00
Jordan Schidlowsky
1ed1a3067b workaround for angle project issue 7245, safari, iOS 2022-08-24 09:23:05 -06:00
Hugo Locurcio
a53264ab41 Add support for documenting most editor settings in the class reference
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 63ce655e75)
2022-08-24 17:22:48 +02:00
Jamie Pate
562d7c616d Improve performance of screen_get_dpi() in Javascript
Replace a bisect with a single multiplication when calling
screen_get_dpi() in Javascript

Tested the value of
window.matchMedia(`(resolution:${(window.devicePixelRatio*96).toFixed(100)}dpi)`).matches
which is true except for values that cause a lot of rounding errors
(e.g. dpr : 0.3  => resolution: 28.799999999999997dpi)

Even in these cases the value matches the result of the previous
`findDPI()` method.

See also:

6cff589b5b (r81273660)
(cherry picked from commit c2e3971013)
2022-08-24 17:16:33 +02:00
bitsawer
c8810395a2 Fix Windows list dir handle leak
(cherry picked from commit 40325006b6)
2022-08-24 17:16:18 +02:00
Micky
cfa9b772da Improve documentation of CanvasItem's draw logic
(cherry picked from commit 953c78eaff)
2022-08-24 17:15:56 +02:00
kobewi
a0fc7e80d9 Mention the stretching behavior of PopupPanel
(cherry picked from commit a2b088b1c1)
2022-08-24 17:15:23 +02:00
Pedro J. Estébanez
457a985d70 Fix jumbled error output when using Windows spawn fix
(cherry picked from commit 4a3cb14473)
2022-08-24 17:14:30 +02:00
Pedro J. Estébanez
0876491983 Clean iOS platform config of long gone macro
(cherry picked from commit 8c2a577350)
2022-08-24 17:13:21 +02:00
Michael Alexsander
b808923b54 Fix error when switching to another GridMap with an item with higher index selected
(cherry picked from commit fe16aecbac)
2022-08-24 17:12:44 +02:00
Dan Boorstein
09fb05bc05 Add note about using AudioListener2D
There was no mention of the effect of AudioListener2D in this documentation, making it unclear if there was a relationship. The new text is copied and modified from the AudioStreamPlayer3D documentation.

Use 'an' as article before 'AudioListener3D'

(cherry picked from commit a7ebc6fb18)
2022-08-24 17:12:17 +02:00
Marlin Watts-Woods
ddb568731a Added to Sprite3D Documentation
(cherry picked from commit f8f665b03e)
2022-08-24 17:10:08 +02:00
Hugo Locurcio
637330b866 Improve InstancePlaceholder documentation
(cherry picked from commit 5acf30b538)
2022-08-24 17:08:55 +02:00
Aaron Franke
284af7be96 Allow exporting PCK files without export templates installed
(cherry picked from commit 8d81ce9561)
2022-08-24 17:08:47 +02:00
Rémi Verschelde
ecc32f8b3e
Merge pull request #64772 from akien-mga/3.x-fix-vs-delete-crash
Fix VisualScript editor crash when deleting selected nodes
2022-08-24 09:52:46 +02:00
Rémi Verschelde
2960d29222
Merge pull request #64790 from akien-mga/3.x-nanosvg-2022-08-13
nanosvg: Sync with upstream bd16c4e
2022-08-24 00:43:21 +02:00
Marcin Nowak
90762b9660 [3.x] Backport panning strength parameters from 4.0 2022-08-23 23:27:51 +02:00
Rémi Verschelde
ac9bdabe5b
Merge pull request #50180 from Calinou/gpu-particles-improve-visibility-generation-3.x 2022-08-23 21:38:28 +02:00
Rémi Verschelde
052257e9b7 nanosvg: Sync with upstream bd16c4e 2022-08-23 16:57:31 +02:00