Commit Graph

47773 Commits

Author SHA1 Message Date
Rémi Verschelde
8017827144 SCons: Re-enable treating #warning as error with werror
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.

We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
Rémi Verschelde
4e4e16f9a9 SCons: Cleanup GCC warnings configuration
- Outright disable spammy warnings due to past or present GCC bugs:
  * `-Wno-strict-overflow` for GCC 7.
  * `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in
    earlier releases but at this stage we don't care).
  * `-Wno-return-type` for GCC 12/13 (regression, still not fixed).
- Enable extra warnings conditionally when broken on earlier GCC:
  * `-Wnoexcept` was removed due to an upstream regression in GCC 9, could
    be re-enabled (but commented out for now as we actually have `-Wnoexcept`
    warnings to fix.
  * `-Wlogical-op` was broken on our variadic templates before GCC 11, now
    seems fine.
2022-10-10 16:12:26 +02:00
Rémi Verschelde
77f4670d00 Merge pull request #66774 from touilleMan/fix-variant-type-in-extension-api-dump
Fix Variant types displayed as `Nil` in extension_api.json
2022-10-10 13:55:37 +02:00
Emmanuel Leblond
a9aedb0cf2 Fix extension_api.json Variant types incorrectly displayed as Nil 2022-10-10 13:54:33 +02:00
Rémi Verschelde
8c24b35b76 Merge pull request #65942 from SaracenOne/animation_change_callback_fix
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
51bb3c36dd Merge pull request #66584 from rune-scape/rune-validated-call-obj-bug
Fix unset `ObjectID` with validated `get_object()` call
2022-10-10 13:53:26 +02:00
Rémi Verschelde
ddb97a0b35 Merge pull request #67117 from Jummit/tree-button-color
Expose TreeItem::set_button_color
2022-10-10 13:52:57 +02:00
Rémi Verschelde
b9d063170c Merge pull request #67178 from TokageItLab/add-signal-animation_selected-APEditer
Add `animation_selected` signal to AnimationPlayerEditor to subscribe changed animation
2022-10-10 13:52:48 +02:00
Rémi Verschelde
4be5660223 Merge pull request #67145 from Paulb23/tab_textedit
Fix inserting tabs in TextEdit
2022-10-10 13:52:42 +02:00
Rémi Verschelde
39570afe1a Merge pull request #67180 from BastiaanOlij/openxr_verbose
Cleanup a bunch of debug messages in OpenXR
2022-10-10 13:52:36 +02:00
Rémi Verschelde
5616898184 Merge pull request #67128 from KoBeWi/call_deferred_always_works
Defer clearing of ResourceUID cache
2022-10-10 13:52:32 +02:00
Rémi Verschelde
543128d84d Merge pull request #67175 from bruvzg/macos_title_edscale
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 13:52:23 +02:00
kobewi
14b82c36a2 Defer clearing of ResourceUID cache and silence warnings 2022-10-10 11:20:23 +02:00
Bastiaan Olij
7f6c00f41a Cleanup a bunch of debug messages in OpenXR and change the ones we want to keep to print_verbose 2022-10-10 20:19:18 +11:00
Rémi Verschelde
104af08e9d Merge pull request #65805 from MewPurPur/improve-breakpoint-hovering
Improve bookmark and breakpoint indicators
2022-10-10 10:03:26 +02:00
Rémi Verschelde
1c3a63a970 Merge pull request #67079 from timothyqiu/main-caret
Don't allow removing `TextEdit`'s main caret
2022-10-10 10:03:16 +02:00
Rémi Verschelde
d56bc19905 Merge pull request #67165 from touilleMan/gdextension-remove-GDNativeExtensionClassObjectInstance
Remove unused `GDNativeExtensionClassObjectInstance` type def from GDExtension
2022-10-10 10:03:05 +02:00
Rémi Verschelde
27d61016b0 Merge pull request #67147 from gongpha/crash!-sorting-tileset-sources
Fix crashing when editing the `TileSet` field
2022-10-10 10:02:49 +02:00
Rémi Verschelde
bfffc06eb1 Merge pull request #67131 from KoBeWi/simplify_the_simplify
Fix `simplify_path()` breaking `uid://`
2022-10-10 10:02:41 +02:00
Silc Renew
847c783319 Add animation_selected signal to AnimationPlayerEditor 2022-10-10 16:52:49 +09:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale. 2022-10-10 10:32:41 +03:00
VolTer
d6e60f45a1 Improved breakpoints hover indicator 2022-10-10 04:36:45 +02:00
Haoyu Qiu
eac9adf7a1 Don't allow removing TextEdit's main caret 2022-10-10 08:30:23 +08:00
Emmanuel Leblond
aa76a905c7
Remove unused GDNativeExtensionClassObjectInstance type def from GDExtension 2022-10-10 01:15:07 +02:00
Kongfa Waroros
e81e81a56e Fix crashing when editing the TileSet field 2022-10-10 00:37:47 +07:00
Paulb23
7333aa68f4 Handle tab in TextEdit 2022-10-09 17:46:40 +01:00
Rémi Verschelde
ca25c6e0a3 Merge pull request #67103 from Mickeon/i-forgor
Fix Array.`slice()` and `filter()` forgetting Typed Array
2022-10-09 18:31:35 +02:00
Rémi Verschelde
629fa413ab Merge pull request #67109 from TokageItLab/remove-clear-editors-in-bone-mapper
Remove unused func definition in BoneMapEditor
2022-10-09 18:29:18 +02:00
Rémi Verschelde
6f6482e82b Merge pull request #67083 from RedMser/label-font-warning
Add warning for missing characters in label font
2022-10-09 18:29:06 +02:00
Rémi Verschelde
432125aa54 Merge pull request #67084 from HolonProduction/svg_default_option
Show svg import options in default settings.
2022-10-09 18:28:15 +02:00
Rémi Verschelde
3a045a1744 Merge pull request #67074 from raulsntos/dotnet/symbols
C#: Generate symbols packages
2022-10-09 18:28:04 +02:00
Rémi Verschelde
7c1e15bfb9 Merge pull request #67076 from timothyqiu/hint-enum-suffix
Remove invalid suffix hint for enum property
2022-10-09 18:27:59 +02:00
Rémi Verschelde
49be2d2cf8 Merge pull request #66524 from microaeris/aeris/text-edit-get-scroll-bar
Getters for TextEdit scroll bars
2022-10-09 18:27:30 +02:00
kobewi
785e5880b3 Fix simplify_path() breaking uid:// 2022-10-09 14:22:13 +02:00
Micky
bf64a068a4 Fix Array.slice() and filter() forgetting Typed Array 2022-10-09 12:34:19 +02:00
Jummit
1e28675560 Expose TreeItem::set_button_color 2022-10-09 10:37:55 +02:00
Silc Renew
a2a3f8cd0a Remove unused func definition in BoneMapEditor 2022-10-09 12:13:22 +09:00
Yuri Rubinsky
880a0177d1
Merge pull request #67086 from timothyqiu/text-txt 2022-10-08 19:34:46 +03:00
Haoyu Qiu
2a921cc9f8 Fix Label text length mismatch after localization 2022-10-08 23:07:19 +08:00
RedMser
9579d49820 Add warning for missing characters in label font 2022-10-08 17:02:25 +02:00
HolonProduction
e87c9fc48c Show svg import options in default settings.
Fixes: #63840

Importers can export options conditional based on the resource path.
If an empty path is passed (as by the editor settings) filtering should not be done.
2022-10-08 16:01:00 +02:00
Raul Santos
fbea89d4f1
C#: Generate symbols packages 2022-10-08 13:59:06 +02:00
Rémi Verschelde
bbac8198f8 Merge pull request #67070 from timothyqiu/bind-redraw
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
2022-10-08 13:56:35 +02:00
Rémi Verschelde
f7c374272f Merge pull request #67060 from timothyqiu/named-layers
Only show named layers in layer menu
2022-10-08 13:56:30 +02:00
Rémi Verschelde
358c751658 Merge pull request #67053 from Calinou/doc-array-sort-not-stable
Document `Array.sort()` and `sort_custom()` using unstable sorting
2022-10-08 13:56:25 +02:00
Rémi Verschelde
bea0cbbb4d Merge pull request #67066 from timothyqiu/register-null
Validate input in `ScriptServer::register_language`
2022-10-08 13:56:18 +02:00
Rémi Verschelde
2b376437a2 Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Rémi Verschelde
0a129645ac Merge pull request #67062 from timothyqiu/enum-space
Remove leading spaces from enumerator name hints
2022-10-08 13:55:58 +02:00
Rémi Verschelde
b9f4f269be Merge pull request #67052 from OvercookedRoach/patch-1
Area3D: declare "_validate_property" as protected
2022-10-08 13:55:53 +02:00
Rémi Verschelde
658929997d Merge pull request #67051 from clayjohn/CanvasGroup-clear
Allow clearing backbuffer after finishing CanvasGroup
2022-10-08 13:55:48 +02:00