Commit Graph

32901 Commits

Author SHA1 Message Date
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
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
Haoyu Qiu
9031d264e4 Improves SpriteFrames editor 2022-03-15 09:12:46 +08:00
Haoyu Qiu
95c672e1b4 Separate 2D grid visibility and grid snap 2022-03-15 08:52:21 +08:00
Rémi Verschelde
7a4f9dfb15
Merge pull request #59145 from Sauermann/fix-3x-internal-gui-state 2022-03-14 23:18:26 +01:00
Rémi Verschelde
ee818e1631
Merge pull request #54026 from ConteZero/primary_clipboard_linux_3.x 2022-03-14 18:52:20 +01:00
Markus Sauermann
62fa80afd7 Cleanup internal GUI state, if event is accepted in _input. 2022-03-14 18:36:31 +01:00
ConteZero
2ff0735329 Added primary clipboard for Linux 2022-03-14 15:28:36 +01:00
Rémi Verschelde
fdaf0de3f0
Merge pull request #59100 from RandomShaper/mouse_drop_on_disable_3.x 2022-03-14 11:25:12 +01:00
Pedro J. Estébanez
3d7821bf1f Drop mouse focus and over when gui input is globally disabled
Since some porjects may be relying on the former behavior, this is opt-in via a new project setting, disabled by default, but enabled for new projects, since it's the new standard behavior (and the only one in 4.0).
2022-03-14 11:06:26 +01:00
FireForge
c2c0c8067d Add missing property name capitalizations
(cherry picked from commit 543218fc7c)
2022-03-14 10:38:05 +01:00
Rémi Verschelde
50ae62135f
Merge pull request #54353 from ConteZero/unique_selection_3.x 2022-03-14 10:11:53 +01:00
ConteZero
0ffacff998 [3.x] Add option to make selection unique 2022-03-14 09:48:09 +01:00
Rémi Verschelde
08c3e00b95
Merge pull request #55355 from ConteZero/drag_and_drop_3.x 2022-03-14 08:43:22 +01:00
ConteZero
4167e98088 Add drag and drop to TextEdit, LineEdit, RichTextLabel 2022-03-14 08:15:25 +01:00
Rémi Verschelde
29d28dcee2
Merge pull request #59122 from Calinou/3d-editor-improve-indicator-bars-3.x
Improve display of freelook/zoom speed indicator bars in the 3D editor (3.x)
2022-03-14 07:24:43 +01:00
Hugo Locurcio
5f9c13b980
Improve display of freelook/zoom speed indicator bars in the 3D editor
- Use a different color for freelook and zoom speed bars.
- Use a shadow for the text to make it readable on any background.
2022-03-13 22:59:21 +01:00
Rémi Verschelde
3f08b72361
Merge pull request #56036 from Rubonnek/fix-startup-leaks-and-use-after-free 2022-03-13 18:09:55 +01:00
Rémi Verschelde
77d594409e
Merge pull request #59111 from timothyqiu/is-null-3.x 2022-03-13 16:39:02 +01:00
Haoyu Qiu
871a73341b Fix crash when is-operator right-hand-side is null 2022-03-13 23:17:25 +08:00
Hugo Locurcio
caf2c20655 Don't store and show current file/directory/path FileDialog properties
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.

(cherry picked from commit 2ad6e11b78)
2022-03-13 15:46:01 +01:00
Ryan Roden-Corrent
846416afe8 Copy full project setting path from dialog.
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.

Fixes #59020.

(cherry picked from commit d271e2517e)
2022-03-13 15:43:23 +01:00
Rémi Verschelde
fa08c0c858
Merge pull request #59054 from timothyqiu/rtl-shadow-color-3.x 2022-03-13 15:28:55 +01:00
Rémi Verschelde
7f99b6d422
Merge pull request #59094 from timothyqiu/tilemap-grid-half-offset
[3.x] Fix missing grid lines when TileMap has half offset
2022-03-13 13:15:57 +01:00
Haoyu Qiu
f280712215 Fix missing grid lines when TileMap has half offset 2022-03-13 17:20:43 +08:00