Rémi Verschelde
1426cd3b3a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
Backported from #70885 .
2023-01-10 15:26:54 +01:00
kobewi
9499ebecee
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8
)
2022-12-18 10:32:04 +08:00
Hugo Locurcio
c54c1b0b6b
Fix infinite loop when calling `Control.popup_centered_minsize()`
...
Co-authored-by: sriramun <sriramun2@gmail.com>
(cherry picked from commit 08e804b3b7
)
2022-12-12 14:49:23 +01:00
Rémi Verschelde
d2d77c93bc
Merge pull request #61588 from YuriSizov/control-fix-theme-owner-toplevel-3.x
2022-08-05 19:34:05 +02:00
kobewi
14f69acaa4
Fix find_next_valid_focus() freeze
...
(cherry picked from commit 8d62b736b2
)
2022-07-01 14:00:55 +02:00
kobewi
f659869a45
Fix find_next_valid_focus() freeze
...
(cherry picked from commit d9ede52ded
)
2022-06-30 19:23:01 +02:00
Yuri Sizov
8ed297fc83
Fix theme propagation for children of top level controls
2022-06-01 03:56:51 +03:00
kleonc
9ba598f94f
Allow changing `exclusive` of already popped up Popup
2022-05-28 01:10:49 +02:00
Haoyu Qiu
4a03bc8f75
Update last min size when Control becomes visible
...
(cherry picked from commit 4ac999cc3f
)
2022-05-22 19:43:56 +02:00
Haoyu Qiu
d088128b43
Remove duplicate editor settings definitions
2022-04-27 15:26:46 +08:00
Haoyu Qiu
f9da6f6978
Extract theme property names for localization
2022-04-01 11:35:02 +08: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
Yuri Sizov
df13466139
Add type variations to Theme
2022-02-17 15:24:10 +03:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Yuri Sizov
58319564fa
Unify theme item lookup in Controls and respect default font
2022-01-13 15:21:55 +03:00
Rémi Verschelde
e805ec8574
Merge pull request #54871 from timothyqiu/remove-theme-override
...
[3.x] Add methods to remove theme overrides
2022-01-11 20:16:05 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
PucklaMotzer09
05eb33e701
Unfocus Control on NOTIFICATION_EXIT_TREE
...
(cherry picked from commit be2d59fa0a
)
2022-01-06 00:29:21 +01:00
Rémi Verschelde
86e0a0674a
Merge pull request #54330 from LennyPhoenix/lennyphoenix-patch-1
2021-11-15 23:36:12 +01:00
Haoyu Qiu
936832d59c
Add methods to remove theme overrides
2021-11-11 18:23:37 +08:00
Rémi Verschelde
14ef65e49b
Merge pull request #54348 from akien-mga/3.x-clang-format-dont-align-operands
2021-10-28 15:43:15 +02:00
Rémi Verschelde
1b65550ec7
clang-format: Various fixes to comments alignment from `clang-format` 13
...
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 14:50:32 +02:00
Rémi Verschelde
42d385b312
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
Lenny Critchley
3d1249a520
Add error condition for Control EXIT_TREE notif
2021-10-28 00:26:57 +01:00
Yuri Sizov
b3fc278dcf
Ignore property groups and categories in GDScript code completion
2021-10-26 20:01:49 +03:00
Rémi Verschelde
8ff437822a
Control: Rename `Input` group that confuses GDScript completion
...
Fixes #47926 .
2021-10-25 22:07:20 +02:00
Anton Christoffersson
35eeafdb0c
Fixes crash in caused by calling `ColorPickerButton.propagate_notification(33)`
2021-10-25 08:47:44 +02:00
Yuri Sizov
98cf645258
Expose API to retrieve Theme's default font
2021-10-04 17:44:53 +03:00
Yuri Sizov
71ec6dba67
Improve Control's theme item methods documentation
2021-08-06 22:31:58 +03:00
Yuri Sizov
e7bd53b690
Make theme item overrides more obvious in the Inspector
2021-08-04 17:02:00 +03:00
kobewi
ff7cae4c4c
Allow to create a node at specific position
2021-07-07 13:19:59 +02:00
Rémi Verschelde
03f275e66f
Merge pull request #49167 from amoriqbal/3.3-inspector-patch
...
Fixed inspector not updating anchor
2021-06-20 12:42:21 +02:00
Yuri Sizov
fddd09de17
Fix typo in Control's theme icon look-up method
...
Backported from #47544 where it was originally identified
2021-06-10 16:44:24 +03:00
amor
dacc726faf
Fixed inspector not updating anchor
2021-05-28 18:20:13 +05:30
phil-shenk
04729d9c65
added _change_notify in Control::set_scale to fix iss48936
2021-05-22 01:12:53 -04:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Johannes
a3c67dd3fc
Fix removal of `rect_min_size` not triggering resize
...
fixes #46672
(cherry picked from commit c8868fcaab
)
2021-04-26 13:07:59 +02:00
lupoDharkael
3b0cf34299
Control: Expose pass_on_modal_close_click
2021-03-25 18:29:41 +01:00
Kongfa Waroros
7646cbbca6
Check if _edit_set_position and _edit_set_rect was used outside an editor
...
(cherry picked from commit b80406770f
)
2021-03-16 11:11:31 +01:00
Rémi Verschelde
eb1698dd2a
Fix Control::_edit_set_state bogus error check
...
My mistake when cherry-picking #46699 with f8ee8b1b73
,
I forgot to amend the cherry-pick to change 'offsets' back to 'margins' for the 3.2
branch.
Fixes #46979 .
2021-03-13 21:10:12 +01:00
sps1112
f8ee8b1b73
Fix Control._edit_set_state crash
...
(cherry picked from commit 05f5a43cad
)
2021-03-12 10:11:54 +01:00
Rémi Verschelde
b7e06930aa
Revert "Fix flicker in control nodes due to pivot offset"
2021-03-11 11:01:48 +01:00
asheraryam
25f35b2c9f
Fix jitter in control nodes when using pivot-offset and animating scale
...
This is based on suggested fix from this comment
https://github.com/godotengine/godot/issues/36087#issuecomment-771593146 -- basically the old rounding workaround is removed, and rounding is now done locally in the scroll_container instead.
Fixes #28804
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2021-02-28 15:30:48 +03:00
Rémi Verschelde
96d38d9751
Revert "Warn when setting Control size inside ready()"
...
This reverts commit a8105d73c7
.
We need to improve the logic somewhat to make the warning more specific to
actual problematic scenarios. Will likely be cherry-picked again + fixes
for the next release.
Fixes #46376 .
2021-02-25 15:14:32 +01:00
Tomasz Chabora
a8105d73c7
Warn when setting Control size inside ready()
...
(cherry picked from commit 84da090a69
)
2021-02-22 10:15:00 +01:00
kobewi
7ede2f36fe
Allow to override drop data in LineEdit
...
(cherry picked from commit a3a31591b5
)
2021-01-26 17:24:55 +01:00
Nils Reid
349f25429b
Exposed find_next_valid_focus and find_prev_valid_focus.
...
(cherry picked from commit 3e94c23fa5
)
2021-01-26 17:00:16 +01:00