Commit graph

32999 commits

Author SHA1 Message Date
George Marques
663978e8ba
GDScript: Properly check type info in release builds
This makes sure native methods and properties have the actual type
checked to compare for compatibility and inference.
2022-04-01 18:20:37 -03:00
George Marques
226103d166
Enable type information on release
This is needed for GDScript (and potentially other scripting languages)
to properly identify type errors and avoid mismatch between release and
debug versions.

This increases the release bynary size by about 889 KiB.
2022-04-01 18:20:33 -03:00
Rémi Verschelde
8f06d8653c
Merge pull request #59724 from timothyqiu/custom-viewport 2022-03-31 16:17:56 +02:00
Haoyu Qiu
b89befe173 Fix crash when using Camera2D::set_custom_viewport() 2022-03-31 16:42:14 +08:00
Rémi Verschelde
383f79e4f1
Merge pull request #59668 from timothyqiu/strip-feature-tag-3.x 2022-03-30 16:06:56 +02:00
Rémi Verschelde
8f2b484817
Merge pull request #59179 from Calinou/occluder3D-add-editor-icons-3.x 2022-03-30 16:03:37 +02:00
Haoyu Qiu
14c13f7c4a Strip feature tag manually when extracting property paths 2022-03-30 20:28:57 +08:00
Rémi Verschelde
70aaad769b
Merge pull request #59690 from timothyqiu/missing-extract-3.x 2022-03-30 13:48:46 +02:00
Haoyu Qiu
79d3fc5319 Add more patterns for property path extraction 2022-03-30 18:21:24 +08:00
Rémi Verschelde
3c0d32562b
Merge pull request #59606 from m4gr3d/fix_low_processor_mode_3x
[3.x] Fix flickering issues with low processor mode on Android
2022-03-29 22:51:32 +02:00
Fredia Huya-Kouadio
8ca32d1727 Fix flickering issues with low processor mode on Android 2022-03-29 12:17:25 -07:00
Rémi Verschelde
2ad82982ec
Merge pull request #59661 from timothyqiu/fbx-reg-3.x
[3.x] Simplify FBX importer project settings registering
2022-03-29 09:21:45 +02:00
Haoyu Qiu
17ce0fcc7c Simplify FBX importer project settings registering 2022-03-29 15:00:31 +08:00
Rémi Verschelde
eb837f8cb4
Merge pull request #59375 from timothyqiu/extract-refactor-3.x
[3.x] Refactor editor `extract.py`
2022-03-29 08:45:18 +02:00
Rémi Verschelde
37f6fff7ae i18n: Sync classref translations with Weblate 2022-03-29 01:22:21 +02:00
Rémi Verschelde
15dc747de8 i18n: Sync editor translation template after #59349 2022-03-29 01:22:20 +02:00
Rémi Verschelde
0db753ef54 i18n: Sync editor translations with Weblate 2022-03-29 01:22:20 +02:00
Rémi Verschelde
91c6192678
Merge pull request #59648 from akien-mga/3.x-cherrypicks 2022-03-29 01:19:44 +02:00
FireForge
7f787857ef Fix inspector group name capitalization
(cherry picked from commit 88b09694e7)
2022-03-29 00:20:23 +02:00
Aleksey Smirnov
ad0c4bf32d Replace copies with constant refs
(cherry picked from commit 1a13de0f8d)
2022-03-29 00:08:29 +02:00
Nicholas Huelin
6c778a19d1 Hide "Normal Map" import option when using lossless compression on Texture
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.

Resolves: #59435
(cherry picked from commit 01ca9d3eec)
2022-03-29 00:07:45 +02:00
Daniel Kříž
7ed3bfc2fb Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a)
2022-03-29 00:06:24 +02:00
Vitika9
8d1827cf7c Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc5)
2022-03-29 00:03:53 +02:00
Rémi Verschelde
c4897c4b8d Improve range property hints for various collision shapes
Fixes #36419.

Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
(cherry picked from commit 0d772c6e6e)
2022-03-28 23:57:43 +02:00
Rémi Verschelde
81eda4eee0 doc: Fix String.rsplit code example
Fixes #36898.
Supersedes and closes #36951.

(cherry picked from commit e7fd0ec31f)
2022-03-28 23:51:32 +02:00
FireForge
e97893ba0e Remove space in MeshLibrary editor button
(cherry picked from commit c0f2825f8b)
2022-03-28 23:50:30 +02:00
Jason Knight
1f080e203d Use 3001 instead of 1001 when destroying a websocket.
(cherry picked from commit b659cfbd53)
2022-03-28 23:50:00 +02:00
taigi100
d20cf762b3 Update properties to properly filter for templates.
(cherry picked from commit d8d73cdd02)
2022-03-28 23:49:44 +02:00
Haoyu Qiu
60fe14c595 Add TTR context for pagination button texts
(cherry picked from commit 81c21ebf39)
2022-03-28 23:49:23 +02:00
Haoyu Qiu
98069fa6f1 Document how to specify explicit value for PROPERTY_HINT_ENUM names
(cherry picked from commit 405bc96a1e)
2022-03-28 23:49:06 +02:00
Haoyu Qiu
50ba2d3051 Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef825)
2022-03-28 23:48:03 +02:00
Rémi Verschelde
113102aa51 ResourceImporterWAV: Allow configuring loop mode on import
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample

Fixes #46164.

(cherry picked from commit b389ce5ccd)
2022-03-28 23:46:29 +02:00
Haoyu Qiu
f062e967f5 Mention default output node name for AnimationNodeBlendTree
(cherry picked from commit 6bf01e0567)
2022-03-28 23:45:23 +02:00
Vitika9
77a386aa08 Removed extra separator in absence of ChangeType and Rename
(cherry picked from commit 46ca4737f1)
2022-03-28 23:44:56 +02:00
pkowal
5e5154e5b9 Change godot.ico to uncompressed/fixed size
(cherry picked from commit d469cfb2ab)
2022-03-28 23:43:46 +02:00
backwardspy
0118a95976 set StartupWMClass in linux .desktop file
this allows linux app launchers and docks to correctly associate the godot project selector & editor windows with the icon used to launch godot.
it prevents this problem specifically: https://askubuntu.com/questions/1144214/why-does-my-custom-launcher-file-create-two-icons-on-the-launcher-bar

(cherry picked from commit 7b346258a9)
2022-03-28 23:43:26 +02:00
Rémi Verschelde
11d40d76a3
Merge pull request #57747 from m4gr3d/android_editor_3x
[3.x] Editor Android Port
2022-03-28 19:54:20 +02:00
Fredy Huya-Kouadio
6f2442b17a Cleanup the gradle build configuration
These changes resolve the inconsistency between gradle and scons targets by configuring the gradle buildtypes to match the scons targets.
2022-03-28 08:12:55 -07:00
Fredy Huya-Kouadio
cb0b2aefc3 Android port of the Godot Editor
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.

Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 07:54:10 -07:00
Rémi Verschelde
3575db706c
Merge pull request #59313 from timothyqiu/name-style-3.x 2022-03-28 14:46:19 +02:00
Haoyu Qiu
b1044b9b86 Add property name style toggle to Inspector 2022-03-28 17:10:41 +08:00
Rémi Verschelde
e80a8bebf6
Merge pull request #59615 from timothyqiu/debug-colors-3.x 2022-03-28 10:19:09 +02:00
Rémi Verschelde
fa9e2f8e21
Merge pull request #59522 from bruvzg/mo_and_woff2_3x
[3.x] Add binary MO translation file and brotli decoder and WOFF2 support.
2022-03-28 09:00:54 +02:00
Haoyu Qiu
37d4306c2e Update SceneTree debug colors when settings changed 2022-03-28 10:49:13 +08:00
Rémi Verschelde
d8e460cd57
Merge pull request #59572 from timothyqiu/ssl-restart-3.x
[3.x] Mark Editor SSL Certificates setting as require restart
2022-03-27 10:38:33 +02:00
Haoyu Qiu
7b7ef59552 Mark Editor SSL Certificates setting as require restart 2022-03-27 09:48:42 +08:00
Rémi Verschelde
c18df50eb6
Merge pull request #59521 from raulsntos/csproj-globbing-3.x 2022-03-25 20:40:11 +01:00
bruvzg
fd2fba7c2c
Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
2022-03-25 19:51:39 +02:00
Rémi Verschelde
56e0c38c27
Merge pull request #59520 from Calinou/dns-increase-resolver-max-queries-3.x 2022-03-25 18:15:08 +01:00
Hugo Locurcio
292ad704e6
Increase the maximum number of concurrent DNS queries from 32 to 256
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:

    Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-03-25 17:13:51 +01:00