Commit Graph

124 Commits

Author SHA1 Message Date
04feb63860 Moved Engine and projectSettings. 2022-08-17 15:35:28 +02:00
220b2db443 Moved String and related classes under a string folder in core. 2022-08-17 14:19:55 +02:00
dc9cc716c7 Moved Object related classes under core/object. 2022-08-17 13:45:14 +02:00
e71e3ed897 Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code. 2022-08-16 21:55:56 +02:00
87149557b2 Fix sign comparison warning. 2022-08-15 23:12:44 +02:00
220954cf08 Backported most of the improvements to String from Godot4. 2022-08-15 22:54:03 +02:00
Yuri Sizov
eed219ada1 Fix theme propagation for children of top level controls 2022-08-07 15:34:47 +02:00
249dd4d661 Updated property hints for variant arrays. 2022-07-30 21:58:40 +02:00
Thakee Nathees
cb93141c27 Fix FileDialog file name autocompletion with filters
Fixes #38195.

(cherry picked from commit 446f1b70522d86b9afe93b6543028cbab60ffb61)
2022-07-29 19:58:34 +02:00
Haoyu Qiu
f0f2a9d960 Fix LineEdit caret after using arrow key to deselect 2022-07-29 19:56:42 +02:00
kobewi
0da3dcc5b4 Fix find_next_valid_focus() freeze
(cherry picked from commit 8d62b736b2fceb60a76ff916c8f904e25fece832)
2022-07-29 16:33:45 +02:00
kobewi
8e9782ac76 Fix find_next_valid_focus() freeze
(cherry picked from commit d9ede52ded9eb7ef6ccb7c704f1d9ccbe7f23861)
2022-07-29 16:31:09 +02:00
648b9fce40 Ported: Add an option to drag'n'drop selected text in TextEdit - ConteZero
a13b3028a2
2022-07-29 16:29:53 +02:00
152f9728b0 Ported: [Windows, 3.x] Add support for handling network share paths. - bruvzg
11a7997a67
2022-07-28 19:33:43 +02:00
kobewi
69976cd190 Disable scroll when dragging at edges of TextEdit 2022-07-28 19:23:36 +02:00
bruvzg
9dbb96dc1d Improve RTL table fill. 2022-07-28 19:21:13 +02:00
43131ad4cb Ported: Add readable export errors. Add RTL image vertical alignment support. - bruvzg
f5fa1ca944
2022-07-28 18:40:46 +02:00
Michael Alexsander
b03af6e40e Take into account the clear icon's size even when not visible in LineEdits 2022-07-28 13:43:20 +02:00
Michael Alexsander
9ffe4a2e51 Fix specific bug related to submenus in PopupMenu 2022-07-28 13:42:58 +02:00
Michael Alexsander
2ebc4905fc Fix hover being drawn twice inside PopupMenus 2022-07-28 13:42:35 +02:00
Haoyu Qiu
2d6183beb7 Fix LineEdit clear button for asymmetric stylebox 2022-07-28 11:36:32 +02:00
kleonc
0c4799c45a Allow changing exclusive of already popped up Popup 2022-07-28 11:35:45 +02:00
kleonc
3dbf7c3d52 PopupMenu Fix hover stylebox overflowing horizontally 2022-07-28 11:34:22 +02:00
Aaron Record
54b02c41e6 Allow ScrollBar params of a ScrollContainer to be modified from _ready()
Cherrypicks b8610dbd3159985f007deb0424a64df386832d07
2022-07-28 10:18:48 +02:00
7fd0b29642 Ported: Backport Label3D node implementation and Sprite*3D material render priority. - bruvzg
dc6d8d6098
2022-07-27 23:40:35 +02:00
Haoyu Qiu
49b6f63f5f Update last min size when Control becomes visible
(cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd)
2022-07-27 23:11:43 +02:00
c3bb14f49e Ported: add check for selection when try to push a meta.
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
- danielkariv
47ead8504a
2022-07-27 23:10:55 +02:00
53f8707713 Ported: Add node list param to GraphEdit::delete_nodes_request signal - Chaosus
32b9818965
2022-07-27 20:01:38 +02:00
Sergey Pershenkov
c819fe68dd Return -1 from get_selected_id() when not selected
Partial cherry pick from 3b146c5eaa06d9f6827c651802b9fb2a9a1e013d
2022-07-27 19:49:47 +02:00
Rémi Verschelde
e81d1f010a Revert invalid PopupMenu breaking change from #61102
Fixes #61179.
2022-07-27 19:49:17 +02:00
52183f16da Ported: Make various improvements to OptionButton
- Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor.
- Reset OptionButton selection to -1 when the selected item has been removed.
- Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
- okla
431c032d8c
2022-07-27 19:26:59 +02:00
Markus Sauermann
ee4f41951e Distribute remaining pixel to expanding childs of GridContainer
(cherry picked from commit 6b3207644b8d2338a9a55f8cfeb0ec65f1cea207)
2022-07-27 19:12:28 +02:00
Hendrik Brucker
3585f416d4 Fix button icon expansion calculation with empty text
(cherry picked from commit c09a5e277410761733a59a2b207d7320131b2511)
2022-07-27 18:42:10 +02:00
FireForge
71d20ea670 Add interpolation modes to Gradient - Linear, Constant, and Cubic interpolation modes - Partial backport of #53321 2022-07-27 18:12:14 +02:00
Haoyu Qiu
390735e803 Fix tree button icon not centered vertically 2022-07-27 15:21:35 +02:00
Michael Alexsander
9af14c8d90 Add font_separator to PopupMenu 2022-07-27 15:21:19 +02:00
Michael Alexsander
1e2c8637c2 Fix separator height influencing labeled variation in PopupMenu 2022-07-27 15:17:29 +02:00
bruvzg
814f76bf6b Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-07-27 13:08:20 +02:00
Haoyu Qiu
7190c806ec Fix Label autowrap for CJK text 2022-07-26 15:03:08 +02:00
Hugo Locurcio
4951e23481 Add a property hint for AspectRatioContainer's ratio property
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.

The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-07-26 15:02:39 +02:00
Michael Alexsander
691b99f40c Draw relationship lines for items offscreen 2022-07-26 15:02:12 +02:00
Michael Alexsander
21d66d3a68 Fix GridContainer not ignoring toplevel children
(cherry picked from commit 506d8ba526188bb683eeb4e4389c8bd4a18abab8)
2022-07-26 14:59:18 +02:00
58b8271bf4 Ported: Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
- ZheisterCoding
c0513268bd
2022-07-26 12:56:16 +02:00
Haoyu Qiu
56fed34913 Fix undo history for function name autocompletion 2022-07-26 12:46:13 +02:00
Eric McGuirk
55ed3e573e Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
2022-07-26 12:37:32 +02:00
kobewi
0da6b17950 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac9bf342e45e6b6332b5efa13af9fa26)
2022-07-26 12:37:15 +02:00
Haoyu Qiu
2aefcf5585 Consider chained operation when selecting text in TextEdit::undo()
(cherry picked from commit 8cefbfcf432ef6ed3879ee60bf500b52149f3e01)
2022-07-26 12:35:47 +02:00
8275f6b161 Ported: Add missing argument names in bindings - akien-mga
21c3048397
2022-07-25 23:51:34 +02:00
220b7e99be Ported: [3.x] Add deselect() to RichTextLabel - ConteZero
5e714051ea
2022-07-25 22:01:26 +02:00
d1ddbecc54 Ported: [3.x] Expose get_selected_text in RichTextLabel - ConteZero
820728aa52
2022-07-25 21:53:36 +02:00
a43091d427 Ported: Add drag and drop to TextEdit, LineEdit, RichTextLabel - ConteZero
4167e98088
2022-07-25 20:32:14 +02:00
c8adff0f99 Ported:
Fix Right-Click clearing selection - ConteZero
57b616fb21
2022-07-25 19:55:26 +02:00
d85caf2c71 Ported:
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
Yuri Roubinsky
54b534c4a4 Add selection getter methods to LineEdit
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-07-25 18:22:15 +02:00
Markus Sauermann
e1a8b0befe Fix event transform in ViewportContainer 2022-07-25 18:13:25 +02:00
Haoyu Qiu
9e0a1c88a0 Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-07-25 18:12:28 +02:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
a89fa56bea Backported: - Fix children visibility check (cherry picked from commit 280956d) - taigi100 - b33eed23ae 2022-03-20 19:12:43 +01:00
d7f455f36f Backported: - Add item tooltip access to OptionButton - timothyqiu - d537a88299 2022-03-20 19:07:53 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
8fbdcd18f9 Same change to classes under scene. 2022-03-17 22:57:56 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
c354d4304f Fix an another include error. 2022-03-17 14:30:08 +01:00
e37f5a7fe5 Hopefully fix some of the failing builds. 2022-03-17 14:21:08 +01:00
ad43fd50bd Moved more includes. 2022-03-17 13:58:13 +01:00
3ca78453da Moved more includes. 2022-03-17 12:47:22 +01:00
f55afe20ef More include moves. 2022-03-17 12:12:41 +01:00
85475900e8 More include moves. 2022-03-17 12:06:40 +01:00
866569d22a Moved more includes to cpp files. 2022-03-17 11:52:53 +01:00
2c88c46101 Moved more includes to cpp files. 2022-03-17 11:28:57 +01:00
ced4ae75a5 Backported:
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd

From godot.
2022-03-16 18:18:23 +01:00
84bd8ad20a Removed VisualShaders. 2022-03-16 00:55:47 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00