Commit graph

42394 commits

Author SHA1 Message Date
Rémi Verschelde
2e85105959
Merge pull request #59555 from Sauermann/fix-mouseover-drag 2022-03-28 20:21:28 +02:00
Rémi Verschelde
4799009a0f
Merge pull request #59631 from akien-mga/websocket-no-tools-disable-editor-code
Modules: Don't build editor-specific classes in templates
2022-03-28 19:56:20 +02:00
Rémi Verschelde
25af3ad5be
Merge pull request #59635 from akien-mga/script-templates-editor-only
Refactor GDScript/C# script templates logic to be editor-only
2022-03-28 19:36:03 +02:00
Rémi Verschelde
5fe6984639 Modules: Don't build editor-specific classes in templates
They're moved to an `editor` subfolder so that we can easily handle them
separately.
2022-03-28 16:48:15 +02:00
Rémi Verschelde
c9b75431f3 Refactor GDScript/C# script templates logic to be editor-only
Not a full refactor as it still goes through ScriptLanguage so it's hacky,
but at least it can now compile without this.
2022-03-28 16:21:00 +02:00
Rémi Verschelde
3393b3c8d1 CI: Limit Windows cache size again, otherwise we run out of space
And force a full rebuild as the cache is now broken.
2022-03-28 16:09:15 +02:00
Rémi Verschelde
74b07dd194
Merge pull request #59426 from timothyqiu/name-style-master 2022-03-28 14:19:47 +02:00
Rémi Verschelde
abbb0dc082
Merge pull request #59548 from akien-mga/obj-remove-unused-categories 2022-03-28 14:17:24 +02:00
Rémi Verschelde
41d075de58
Merge pull request #59456 from Calinou/color-expose-to-linear-srgb 2022-03-28 13:36:19 +02:00
Rémi Verschelde
143d13717b
Merge pull request #59553 from reduz/script-extension-support 2022-03-28 13:35:21 +02:00
Juan Linietsky
31f26f5c58
Merge pull request #59629 from godotengine/revert-58931-proposals/4189-better-code-completion
Revert "Sort autocomplete/code completion options in a better way"
2022-03-28 13:31:50 +02:00
Juan Linietsky
ed14ff5a08
Revert "Sort autocomplete/code completion options in a better way" 2022-03-28 13:31:32 +02:00
Haoyu Qiu
ccde2bf66f Add property name style toggle to Inspector 2022-03-28 18:52:09 +08:00
Rémi Verschelde
6b2481fcfe
Merge pull request #59565 from SirQuartz/master 2022-03-28 12:28:43 +02:00
Rémi Verschelde
8e7d2826d8
Merge pull request #59453 from DanielKriz/master 2022-03-28 12:20:15 +02:00
Hugo Locurcio
1c343cd54d Expose Color's to_linear() and to_srgb() to scripting 2022-03-28 12:17:55 +02:00
Rémi Verschelde
01f34495bf
Merge pull request #59621 from bruvzg/icu_external 2022-03-28 11:58:12 +02:00
Nicholas Huelin
01ca9d3eec Hide "Normal Map" import option when using lossless compression on Texture
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.

Resolves: #59435
2022-03-28 11:36:52 +02:00
Rémi Verschelde
795304e34f
Merge pull request #59612 from YeldhamDev/style_and_grace 2022-03-28 11:36:27 +02:00
Rémi Verschelde
b3c35abf92
Merge pull request #59614 from timothyqiu/debug-colors-master 2022-03-28 10:18:40 +02:00
bruvzg
40b0634b34
Fix TextServer build with builtin_icu=no. 2022-03-28 11:06:49 +03:00
Rémi Verschelde
7e5cd4bb48
Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates 2022-03-28 09:54:59 +02:00
Rémi Verschelde
097b81f147
Merge pull request #59611 from mashumafi/const-ref-callable
Const Ref Callable for custom sort/search
2022-03-28 09:13:19 +02:00
Rémi Verschelde
7fe5bece45
Merge pull request #58931 from EricEzaM/proposals/4189-better-code-completion
Sort autocomplete/code completion options in a better way
2022-03-28 08:56:27 +02:00
Rémi Verschelde
c422dc5feb
Merge pull request #59064 from Chaosus/gds_fix_narrowing_conv_warning
Prevent NARROWING_CONVERSION warning for `int(float)` function in GDScript
2022-03-28 08:55:52 +02:00
Rémi Verschelde
6a74d81e02
Merge pull request #59600 from Bromeon/feature/extension_to_string
GDExtension: change to_string signature to accept `GDNativeStringPtr` instead of returning `const char*`
2022-03-28 08:53:40 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Michael Alexsander
42df9ed059 Make script templates follow the GDScript style guide 2022-03-28 01:32:12 -03:00
Haoyu Qiu
af3a5ea7ea Update SceneTree debug colors when settings changed 2022-03-28 10:49:18 +08:00
mashumafi
9c2bfeb2fb Const Ref Callable for custom sort/search 2022-03-27 22:10:36 -04:00
Rémi Verschelde
a0071029f2
Merge pull request #59603 from YeldhamDev/meta_regression_fix
Fix "Script Create" dialog errors with metadata
2022-03-28 00:41:04 +02:00
Rémi Verschelde
6fde0abaa0
Merge pull request #59584 from Faless/net/4.x_http_request_timeout_double
[Net] Change HTTPRequest timeout type to double.
2022-03-28 00:27:15 +02:00
Rémi Verschelde
bff6dc4fb9
Merge pull request #59599 from YeldhamDev/node_picking_lawyer
Fix errors when locking nodes
2022-03-28 00:19:01 +02:00
Michael Alexsander
bb5198a5ac Fix "Script Create" dialog errors with metadata 2022-03-27 18:41:41 -03:00
Jan Haller
f88bdac403 GDExtension: change to_string signature to accept GDNativeStringPtr instead of returning const char* 2022-03-27 21:31:00 +02:00
Michael Alexsander
c331a3a614 Fix errors when locking nodes 2022-03-27 16:10:57 -03:00
Fabio Alessandrelli
4a95408dd4 [Net] Change HTTPRequest timeout type to double.
For consistency with the Timer class and general time representation
inside the engine.
2022-03-27 18:15:56 +02:00
reduz
360dea5348 Add GDExtension support to Script
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core

This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
d8a3d4b9da Send Mouse Enter/Exit Notifications independently of mouse focus 2022-03-27 14:20:03 +02:00
Markus Sauermann
0494e024d8 Rename warp mouse functions to warp_mouse 2022-03-27 14:12:01 +02:00
Rémi Verschelde
a5eed70fa2
Merge pull request #59561 from akien-mga/js-export-explain-why-no-templates 2022-03-27 12:26:08 +02:00
Rémi Verschelde
9139146b6c
Merge pull request #59575 from univeous/fix-joystick-focus 2022-03-27 12:20:34 +02:00
Rémi Verschelde
f2fd325210
Merge pull request #59442 from Vitika9/52287 2022-03-27 12:17:31 +02:00
Univeous
383dc11965 Fix UI navigation with joysticks 2022-03-27 17:41:29 +08:00
Rémi Verschelde
f7a714683f
Merge pull request #59571 from KoBeWi/force_push_val
Force final value at the end of Tween
2022-03-27 10:40:24 +02:00
Rémi Verschelde
27deab49f6
Merge pull request #59546 from timothyqiu/ssl-restart
Mark "Editor SSL Certificates" setting as require restart
2022-03-27 10:38:09 +02:00
Rémi Verschelde
c0f707d2ec
Merge pull request #59535 from floppyhammer/fix-project-manager-window-size
Fix project manager window size not applying display scale correctly
2022-03-27 10:36:49 +02:00
Vitika9
eb81ac8fc5 Made reload current project ask for confirmation with unsaved changes 2022-03-27 13:11:19 +05:30
floppyhammer
536d7581ba Fix project manager window size not applying display scale correctly 2022-03-27 11:06:44 +08:00
Haoyu Qiu
a33ec7d8a7 Mark Editor SSL Certificates setting as require restart 2022-03-27 09:47:00 +08:00