Commit graph

32925 commits

Author SHA1 Message Date
Raul Santos
862691a9f7
Support explicit values in flag properties, add C# flags support
- Add support for explicit values in properties using `PROPERTY_HINT_FLAGS`
that works the same way it does for enums.
- Fix enums and flags in VisualScriptEditor (it wasn't considering the
explicit value).
- Use `PROPERTY_HINT_FLAGS` for C# enums with the FlagsAttribute instead
of `PROPERTY_HINT_ENUM`.
2022-03-19 19:22:54 +01:00
Rémi Verschelde
cec7fc4ffe
Merge pull request #58479 from ChronicallySerious/use-time-in-vcs
Use Time singleton in VersionControlEditorPlugin
2022-03-18 20:34:56 +01:00
Rémi Verschelde
69a07f3a8c
Merge pull request #59292 from rburing/get_process_info_docs_3.x
[3.x] Document that `PhysicsServer`'s `get_process_info` is implemented only for Godot Physics
2022-03-18 20:30:58 +01:00
ChronicallySerious
9e978bf989 Use Time singleton in VersionControlEditorPlugin
Instead of displaying the exact string, now Godot uses the Time
singleton to calculate the date string from the UTC Unix timestamp and
also uses Time's timezone offset conversion to string function
2022-03-19 00:50:37 +05:30
Ricardo Buring
812d45ea7c Document that PhysicsServer's get_process_info is implemented only for Godot Physics 2022-03-18 20:01:45 +01:00
Rémi Verschelde
a3a5b10e88
Merge pull request #59291 from fire-forge/gradient2d_editor_3.x
[3.x] Add a GradientTexture2D editor plugin
2022-03-18 19:52:28 +01:00
FireForge
d76c9f8d92 Add a GradientTexture2D editor plugin 2022-03-18 13:18:10 -05:00
Rémi Verschelde
4739c821dc
Merge pull request #59234 from akien-mga/3.x-rid-comparison-id 2022-03-18 12:06:17 +01:00
Rémi Verschelde
0de7cfc60f i18n: Sync editor translation template after #59265 2022-03-18 11:52:03 +01:00
Rémi Verschelde
4228d320bd i18n: Sync editor translations with Weblate 2022-03-18 11:50:55 +01:00
Rémi Verschelde
ba0f8e6071
Merge pull request #59265 from timothyqiu/extract-groups-3.x 2022-03-18 11:46:35 +01:00
Haoyu Qiu
177c60fc52 Improves editor property name extraction 2022-03-18 17:53:28 +08:00
Rémi Verschelde
6a524b2cc0
Merge pull request #57661 from lawnjelly/bind_mesh_merging 2022-03-17 19:54:31 +01:00
Rémi Verschelde
009b286e31 i18n: Sync classref translations with Weblate 2022-03-17 19:51:11 +01:00
Rémi Verschelde
93a3d47edc i18n: Sync editor translation POs with template 2022-03-17 19:44:13 +01:00
Rémi Verschelde
972c6687ff i18n: Add property paths to editor translation template 2022-03-17 19:42:24 +01:00
Rémi Verschelde
98b8f4043a i18n: Sync editor translations with Weblate 2022-03-17 19:39:48 +01:00
Rémi Verschelde
cdbc819b85
Merge pull request #59164 from timothyqiu/filter-property-3.x 2022-03-17 19:19:16 +01:00
Rémi Verschelde
fc93c22b6e
Merge pull request #59238 from akien-mga/3.x-cherrypicks 2022-03-17 19:16:48 +01:00
Rémi Verschelde
fc2d15033e
Merge pull request #59245 from timothyqiu/property-path-capitalization-3.x 2022-03-17 19:04:04 +01:00
Haoyu Qiu
7e0d814603 Improve inspector filtering 2022-03-18 01:15:31 +08:00
Haoyu Qiu
8d7ec5075b Remap property path based on path substrings
Also added captialization caching.
2022-03-18 00:32:36 +08:00
ztco224
658877c350 Fix DST Error on Windows
(cherry picked from commit 4802f15231)
2022-03-17 15:49:58 +01:00
taigi100
e49d8f8b4c Update color constants to use HEX codes
(cherry picked from commit bd247fa315)
2022-03-17 15:49:58 +01:00
Haoyu Qiu
d537a88299 Add item tooltip access to OptionButton
(cherry picked from commit a635ecf6d4)
2022-03-17 14:45:19 +01:00
taigi100
b33eed23ae Fix children visibility check
(cherry picked from commit 280956ddc3)
2022-03-17 14:45:19 +01:00
Fredia Huya-Kouadio
b8178a7f0a Setup logic to publish the Godot Android library to MavenCentral
(cherry picked from commit a2bf47de2b)
2022-03-17 14:45:19 +01:00
Hugo Locurcio
1a300503c6 Document Range's value_changed signal is also emitted with code changes
This also mentions that the signal is potentially emitted every frame,
which can have performance implications.

(cherry picked from commit cdbb31adc9)
2022-03-17 14:45:19 +01:00
Haoyu Qiu
8eb539d5c1 More icon updates on theme change
(cherry picked from commit 0ac6e6acbe)
2022-03-17 14:45:19 +01:00
Bartłomiej T. Listwon
8db39b82ea Include platform_config.h in thread.cpp and thread.h
(cherry picked from commit 6c6291b84f)
2022-03-17 13:03:52 +01:00
Rémi Verschelde
797321fec4 RID: Change comparison operators to use RID_Data id instead of address
This should helps making sorting more deterministic in physics and rendering.

The same change was done for 4.0 in 4f163972bb.
2022-03-17 11:03:07 +01:00
Rémi Verschelde
88e2c513e7
Merge pull request #59195 from Snowapril/fix_59175 2022-03-17 10:07:27 +01:00
snowapril
c77b710035 Fix crash on get index for non-existing string
As _buttons and _axes have both valid string and nullptr.
When iterating over them, if given key exists it will work correctly.
But if given key does not exist, it will end up with
String::operator=(nullptr). As String constructor from nullptr exists, I
use it.
2022-03-17 17:49:12 +09:00
Rémi Verschelde
72aa848931
Merge pull request #59225 from timothyqiu/navicons-3.x
[3.x] Add missing navigation node icons
2022-03-17 08:23:03 +01:00
Haoyu Qiu
bb257543d8 Add missing navigation node icons
Co-Authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-03-17 10:55:07 +08:00
Rémi Verschelde
ed87e977e8
Merge pull request #59213 from Calinou/doc-add-xml-schema-3.x
Add an XML schema for documentation (3.x)
2022-03-16 23:31:50 +01:00
Hugo Locurcio
b087538119
Add an XML schema for documentation
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.

Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Rémi Verschelde
9ddeeb8b1a
Merge pull request #59191 from timothyqiu/keynote 2022-03-16 13:09:07 +01:00
Haoyu Qiu
04eb5c486a Add note about encryption key to export dialog 2022-03-16 19:55:26 +08:00
Rémi Verschelde
add9049ee1
Merge pull request #59190 from timothyqiu/rtl-visible-lines 2022-03-16 11:21:57 +01:00
Haoyu Qiu
72837b8ecd Fix RichTextLabel underlining does not respect visible character 2022-03-16 17:54:07 +08:00
Haoyu Qiu
c0bd05762e Revert "Fixed underlines and striketrough not respecting visible character"
This reverts commit 8bbcc624fd.
2022-03-16 17:40:14 +08:00
Haoyu Qiu
fd968157a4 Revert "Fixed 0 width issue of rich text label"
This reverts commit a1155b86e4.
2022-03-16 17:40:09 +08:00
Rémi Verschelde
cd76891dbf
Merge pull request #59187 from timothyqiu/i18n-context 2022-03-16 10:04:04 +01:00
Haoyu Qiu
878cf8262a Add context support for editor translation 2022-03-16 15:44:30 +08:00
Rémi Verschelde
6073277cca
Merge pull request #59166 from madmiraal/doc-control-rect_pivot_offset 2022-03-15 16:49:08 +01:00
Marcel Admiraal
d2c0ee700a Update documentation for Control rect_pivot_offset to include rotation 2022-03-15 10:28:45 +00:00
Rémi Verschelde
6c2bd12031 Revert "Fix detected leaks/heap-use-after-free by AddressSanitizer at startup"
This reverts commit 3f94ea6271.

It broke `detect_prime`'s main purpose which is to detect GPUs and use
the best one available.
2022-03-15 09:34:57 +01:00
Rémi Verschelde
a6762a30b5
Merge pull request #59138 from timothyqiu/sprite-frames-editor-3.x 2022-03-15 09:11:04 +01:00
Rémi Verschelde
6150773231
Merge pull request #57849 from timothyqiu/2d-grid-options-3.x 2022-03-15 08:58:09 +01:00