Commit graph

42733 commits

Author SHA1 Message Date
reduz
2f651277da Add static method support to ClassDB
* Based on the work done for Variant in the past.
* Added `ClassDB::bind_static_method`
* Cleaned up ClassDB::bind_method to use variadic templates.

This adds support for having static methods in Object derived classes.
Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22 16:27:34 +01:00
Aaron Franke
13392a96e9
Generate export template file names instead of having a fixed set 2022-03-22 10:16:03 -05:00
Rémi Verschelde
a30d17fe23
Merge pull request #59029 from bruvzg/help_slanted 2022-03-22 16:06:53 +01:00
kobewi
3eb7fc4bfd Add optional 'default' argument to get_meta() 2022-03-22 15:50:47 +01:00
bruvzg
803e1ae920
[Help] Add simulated slanted font support to the editor help. 2022-03-22 16:16:04 +02:00
Rémi Verschelde
9433c1d70c
Merge pull request #59394 from aaronfranke/linux-export-x86_32 2022-03-22 13:31:28 +01:00
Rémi Verschelde
99139e17e4
Merge pull request #59170 from akien-mga/import-wav-configure-loop-mode 2022-03-22 13:26:31 +01:00
Rémi Verschelde
4c55a6529a
Merge pull request #59354 from Chaosus/astar3d 2022-03-22 13:15:21 +01:00
Rémi Verschelde
7538ad81ac
Merge pull request #59410 from bruvzg/mac_menu_features 2022-03-22 12:58:29 +01:00
Rémi Verschelde
44267327a9
Merge pull request #59276 from bruvzg/mo_trans 2022-03-22 12:48:14 +01:00
Rémi Verschelde
2a116f601b
Merge pull request #59275 from bruvzg/ft_brotli 2022-03-22 12:47:00 +01:00
bruvzg
595995a5a7
[macOS] Add missing global menu features. 2022-03-22 12:38:14 +02:00
Rémi Verschelde
50f3154d55
Merge pull request #59347 from BastiaanOlij/extract_decal_storage 2022-03-22 11:19:12 +01:00
Rémi Verschelde
a4b075596f Update AUTHORS and DONORS list
New contributor added to AUTHORS:
@rburing

Thanks to all contributors and donors for making Godot possible!
2022-03-22 10:28:24 +01:00
Rémi Verschelde
f7174aed1d
Merge pull request #59402 from fire-forge/progressbar-group
Remove "Percent" group in ProgressBar
2022-03-22 07:26:25 +01:00
Rémi Verschelde
7d1c722176
Merge pull request #59388 from zacryol/init_update_description
update `_init()` description regarding required parameters
2022-03-22 07:19:58 +01:00
Yuri Roubinsky
c14043b166 Prevent NARROWING_CONVERSION warning for int(float) function in GDScript 2022-03-22 09:17:00 +03:00
Yuri Rubinsky
6cba2143de
Merge pull request #59056 from Chaosus/gds_fix_extends_crash 2022-03-22 08:27:03 +03:00
Yuri Rubinsky
7befa7234d
Merge pull request #58971 from Chaosus/gds_multiline_annotation 2022-03-22 08:25:37 +03:00
Michael Alexsander
94b8f38de2 Add visual marker when dragging and dropping tabs 2022-03-21 22:16:29 -03:00
Hugo Locurcio
313c672dc8
Improve the animation track editor drawing
- Draw a background on alternate lines to ease readability of
  animations with many tracks.
- Draw a background on the currently hovered line.
- Use the editor focus stylebox instead of a custom rectangle
  for the focused track.
2022-03-21 23:52:48 +01:00
FireForge
e41a890498 Remove unnecessary "Percent" group in ProgressBar 2022-03-21 17:21:56 -05:00
FireForge
ed79931be9 Fix "Stretch Margin" group in TextureProgressBar 2022-03-21 17:18:45 -05:00
Rémi Verschelde
188fa0c846
Merge pull request #59194 from Chaosus/gds_export_flags_limit_error
Add an error emitting when the `@export_flags` arg count is exceeded
2022-03-21 21:21:49 +01:00
Rémi Verschelde
5e249d047f
Merge pull request #59141 from Chaosus/gds_fix_default_arg_check
Fix default value count checking for inherited function
2022-03-21 21:21:25 +01:00
Aaron Franke
ac3ecec58e
Change extension for Linux 32-bit x86 exports to x86_32 2022-03-21 14:56:27 -05:00
Rémi Verschelde
422a45a69e
Merge pull request #59371 from aaronfranke/export-platform-ext
Move extension logic to EditorExportPlatformLinuxBSD
2022-03-21 20:34:58 +01:00
Aaron Franke
f301451fa3
Move extension logic to EditorExportPlatformLinuxBSD 2022-03-21 12:50:31 -05:00
Rémi Verschelde
5a28b1ae51
Merge pull request #59369 from aaronfranke/fixup-embedded-pck 2022-03-21 17:41:23 +01:00
zacryol
21fc3cbe81 update _init() description
Specify details regarding required parameters.
2022-03-21 09:13:32 -06:00
Rémi Verschelde
16e96e52d3
Merge pull request #59352 from winterpixelgames/notify-local-transform-constant 2022-03-21 12:26:26 +01:00
Rémi Verschelde
59b22194e1
Merge pull request #59383 from timothyqiu/blend-tree-default 2022-03-21 12:03:10 +01:00
Rémi Verschelde
600ff3a221
Merge pull request #48310 from Blackiris/fix-create-skeleton-physical-bones-4.0 2022-03-21 11:25:41 +01:00
Haoyu Qiu
6bf01e0567 Mention default output node name for AnimationNodeBlendTree 2022-03-21 18:02:40 +08:00
Haoyu Qiu
d91c35a325 Refactor editor extract.py 2022-03-21 15:56:00 +08:00
Rémi Verschelde
49176bc0fc
Merge pull request #59373 from bruvzg/fix_editor_font_change
[Editor] Fix reloading editor theme on font / font size setting change.
2022-03-21 08:34:09 +01:00
Rémi Verschelde
d77d85d23e
Merge pull request #59367 from Calinou/script-editor-decrease-line-spacing
Decrease the default line spacing in the script editor
2022-03-21 08:16:51 +01:00
Rémi Verschelde
fbd94dbe88
Merge pull request #59366 from Calinou/editor-pseudolocalization-move-setting
Move the pseudolocalization editor setting to a debug section
2022-03-21 08:13:42 +01:00
Rémi Verschelde
e694f209ae
Merge pull request #59351 from taisph/feature/fix-getaddrinfo-failed
Fix getaddrinfo failed with undefined proxy config
2022-03-21 08:11:14 +01:00
bruvzg
f80148e3d1
[Editor] Fix reloading editor theme on font / font size setting change. 2022-03-21 08:20:09 +02:00
Aaron Franke
e5e697564d
Move fixup_embedded_pck to EditorExportPlatform classes 2022-03-20 21:04:22 -05:00
Bastiaan Olij
0fe06e9467 Extract Decal and Decal atlas from Storage class 2022-03-21 12:22:43 +11:00
Hugo Locurcio
6d4514c95e
Decrease the default line spacing in the script editor
This brings the level of line spacing closer to what it was like
in Godot 3.x, which improves usability on small displays.

This also decreases the default line spacing for fixed-width texts
in the About dialog (license text).
2022-03-21 02:00:58 +01:00
Hugo Locurcio
3137487935
Move the pseudolocalization editor setting to a debug section
This moves the setting in question to the bottom of the Editor Settings,
which makes it less likely to be accidentally enabled.
2022-03-21 01:53:30 +01:00
Max Hilbrunner
aa8ff21b2a
Merge pull request #59142 from Calinou/doc-multiplayerpeerextension
Document the MultiplayerPeerExtension class
2022-03-21 00:54:10 +01:00
Rémi Verschelde
a8e3b5ef25
Merge pull request #59357 from KoBeWi/your_toolbar_is_so_long_it_pushes_the_inspector
Reduce the size of Controls editor toolbar
2022-03-20 18:54:35 +01:00
Jason Knight
640099cce5 Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED 2022-03-20 11:34:01 -06:00
Tais P. Hansen
394f04a2b4
Fix getaddrinfo failed with undefined proxy config
HTTPClientTCP expects proxy host to be empty or port to be -1 to ignore
the proxy. When getting the proxy config from the settings file, the
values will default to U"null" and 0, respectively, making HTTPClientTCP
to attempt to use the values as a proxy, which causes getaddrinfo to
fail looking up a "null" hostname.

Setting the default config values seems like a good approach to prevent
this issue.

Fixes #59037
2022-03-20 17:17:11 +01:00
kobewi
3bd7f82162 Reduce the size of Controls editor toolbar 2022-03-20 17:04:23 +01:00
Rémi Verschelde
21466daf4b
Merge pull request #59350 from timothyqiu/extract-more
More editor `extract.py` improvements and fixes
2022-03-20 16:55:44 +01:00