Commit graph

42812 commits

Author SHA1 Message Date
Rémi Verschelde
3a7dd7f323
Merge pull request #58937 from hoontee/master
Add SNAME macro optimization missed during rebase of #40814
2022-03-09 20:35:47 +01:00
reduz
21637dfc25 Remove VARIANT_ARG* macros
* Very old macros from the time Godot was created.
* Limited arguments to 5 (then later changed to 8) in many places.
* They were replaced by C++11 Variadic Templates.
* Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard.
* Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09 18:39:13 +01:00
hoontee
f1cc99c6e8
Add SNAME macro optimization missed during rebase 2022-03-09 11:23:46 -06:00
kobewi
39d429e497 Change some math macros to constexpr
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09 16:24:32 +01:00
Rémi Verschelde
922348f4c0
Merge pull request #58925 from akien-mga/remove-unused-gdnative-code 2022-03-09 15:57:30 +01:00
Rémi Verschelde
bc9dd15f0e
Merge pull request #58926 from fabriceci/avoid-direction-correction-when-motion-is-down 2022-03-09 15:12:08 +01:00
Rémi Verschelde
56d055c1f9
Merge pull request #40814 from hoontee/master 2022-03-09 14:16:09 +01:00
Rémi Verschelde
9b05f29894 Remove unused GDNative code
This has been superseded by GDExtension so this code is no longer useful
nor usable.

There's still some GDNative-related stuff in platform export code which
needs to be adapted for GDExtension (e.g. to include GDExtension libraries
in exports).
2022-03-09 13:59:03 +01:00
fabriceci
7f47889a5f Avoid directional correction when the motion is downward 2022-03-09 13:45:42 +01:00
Rémi Verschelde
af77395f90
Merge pull request #58923 from MmAaXx500/headless 2022-03-09 11:34:27 +01:00
Rémi Verschelde
da4fc8d0ea i18n: Sync classref translations with Weblate
(cherry picked from commit 6c56433997)
2022-03-09 10:44:30 +01:00
Rémi Verschelde
e78f9da476 i18n: Sync editor translations with Weblate
(cherry picked from commit 751769ed45)
2022-03-09 10:44:18 +01:00
MmAaXx500
eda3180395
Add missing header for headless builds 2022-03-09 09:58:20 +01:00
Rémi Verschelde
70c5e7b0b8
Merge pull request #58920 from timothyqiu/autoload-cap 2022-03-09 09:20:34 +01:00
Rémi Verschelde
a2d67c2fff
Merge pull request #58913 from Sauermann/fix-mouse-cursor-change 2022-03-09 09:05:20 +01:00
Yuri Roubinsky
cf51b541e0
Merge pull request #58919 from Chaosus/vs_fix_custom_template 2022-03-09 11:02:34 +03:00
Haoyu Qiu
851ed8886c Fix Autoload capitalization inconsistency 2022-03-09 15:03:03 +08:00
Markus Sauermann
0fce98b4b5 Update mouse cursor shape after changes
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-03-09 07:54:03 +01:00
Rémi Verschelde
f726ba37ec
Merge pull request #57586 from YeldhamDev/minmaxing
Replace `TabBar`'s `min_width` with `max_tab_width` and expose it
2022-03-09 07:46:47 +01:00
Yuri Roubinsky
4fee0e3b7d Fix VisualShaderNodeCustom script template 2022-03-09 09:45:20 +03:00
Michael Alexsander
182e038af5 Replace TabBar's min_width with max_tab_width and expose it 2022-03-09 01:48:18 -03:00
Jesse Dubay
d437355f55 Sky renderer: Only flip Z when calculating panorama_coords 2022-03-08 19:51:43 -08:00
nova++
ce66f8a7a0 Add check to prevent "p_gutter = -1" error spam 2022-03-08 20:23:46 -05:00
hoontee
ce2b367afb
Properly handle CSGShape parent and visibility updates, plus some refactoring 2022-03-08 18:58:47 -06:00
Rémi Verschelde
f73ef03a86
Merge pull request #58877 from akien-mga/core-unexpose-range_step_decimals 2022-03-08 22:45:29 +01:00
Rémi Verschelde
3aaaf2e3ec
Merge pull request #57095 from madmiraal/implement-3125
Rename Control's Rect properties to exclude rect_ part
2022-03-08 20:05:33 +01:00
Marcel Admiraal
507f72db8e Rename Control's Rect properties to exclude rect_ part 2022-03-08 16:30:35 +00:00
Rémi Verschelde
fe95b61e52
Merge pull request #58899 from V-Sekai/thorvg-0-8-0 2022-03-08 16:17:22 +01:00
Rémi Verschelde
6046d3babb
Merge pull request #57769 from Chaosus/vs_custom 2022-03-08 15:34:08 +01:00
K. S. Ernest (iFire) Lee
f7a809603c ThorVG: Sync with upstream 0.8.0 2022-03-08 06:30:31 -08:00
Rémi Verschelde
45fa14e1ae
Merge pull request #58850 from YeldhamDev/more_tab_regressions 2022-03-08 14:28:39 +01:00
Yuri Roubinsky
4d6790e9df Add _get_func_code/_is_available virtual functions to custom nodes 2022-03-08 16:23:44 +03:00
Rémi Verschelde
f470979732
Merge pull request #58896 from timothyqiu/locks-n-groups 2022-03-08 12:54:59 +01:00
Rémi Verschelde
761398556e
Merge pull request #58887 from cesarizu/bbcode_align_left 2022-03-08 12:52:54 +01:00
Rémi Verschelde
8ca4bd2755
Merge pull request #58879 from Calinou/basebutton-shortcut-context-fix-typo 2022-03-08 12:52:28 +01:00
Rémi Verschelde
b4ed8885cc
Merge pull request #58892 from groud/avoid_toasters_mise_en_abyme 2022-03-08 12:50:44 +01:00
Rémi Verschelde
2023178732
Merge pull request #58894 from akien-mga/CompressedTexture-compat-aliases 2022-03-08 12:50:29 +01:00
Haoyu Qiu
fb999ebe22 Don't show Lock & Group buttons for nodes hidden by CanvasLayer 2022-03-08 19:43:34 +08:00
Rémi Verschelde
85149303a5
Merge pull request #58893 from TokageItLab/fix-deselect-skeleton-gizmo 2022-03-08 12:39:36 +01:00
Rémi Verschelde
31b3bda36a
Merge pull request #58881 from pfertyk/issue_58790_all_tabs_in_front_crash 2022-03-08 12:17:54 +01:00
Rémi Verschelde
b94cda86ac Add compat aliases for renamed CompressedTexture* types 2022-03-08 12:14:31 +01:00
Rémi Verschelde
e0f6a22fdd
Merge pull request #58891 from bruvzg/x11_popup_crash 2022-03-08 11:53:46 +01:00
Gilles Roudière
0a15706aca Avoid recursive errors in EditorToaster 2022-03-08 11:51:08 +01:00
Silc 'Tokage' Renew
40f2eefe78 fix deselect behavior for Skeleton gizmo 2022-03-08 19:26:27 +09:00
bruvzg
3cc37342c4
[X11] Do not try to focus unmapped window. 2022-03-08 11:46:44 +02:00
Rémi Verschelde
86b0faf2ec
Merge pull request #58882 from V-Sekai/avoid-gizmo-crashes
Avoid gizmo crashes in cases where the points are null
2022-03-08 07:49:34 +01:00
Rémi Verschelde
1561737055
Merge pull request #49447 from Calinou/remove-shadow-color-property
Remove unused `shadow_color` property from Light3D
2022-03-08 07:48:05 +01:00
César Izurieta
42f1697857 Add support to align to left to bbcode 2022-03-08 01:36:19 -05:00
Paweł Fertyk
5381a27f79 Fix crash with all_tabs_in_front
Fixes #58790.
2022-03-08 00:19:21 +01:00
Hugo Locurcio
be5116c4a4
Fix typo in BaseButton shortcut context methods 2022-03-07 22:36:12 +01:00