Commit Graph
51458 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub 2e85105959 Merge pull request #59555 from Sauermann/fix-mouseover-drag 2022-03-28 20:21:28 +02:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 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
Markus Sauermann 759d04e28e basisu_uastc_enc.cpp was included twice in encoder_sources 2022-03-28 19:34: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 VerscheldeandGitHub 74b07dd194 Merge pull request #59426 from timothyqiu/name-style-master 2022-03-28 14:19:47 +02:00
Rémi VerscheldeandGitHub abbb0dc082 Merge pull request #59548 from akien-mga/obj-remove-unused-categories 2022-03-28 14:17:24 +02:00
Rémi VerscheldeandGitHub 41d075de58 Merge pull request #59456 from Calinou/color-expose-to-linear-srgb 2022-03-28 13:36:19 +02:00
Rémi VerscheldeandGitHub 143d13717b Merge pull request #59553 from reduz/script-extension-support 2022-03-28 13:35:21 +02:00
Juan LinietskyandGitHub 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 LinietskyandGitHub 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 VerscheldeandGitHub 6b2481fcfe Merge pull request #59565 from SirQuartz/master 2022-03-28 12:28:43 +02:00
Rémi VerscheldeandGitHub 8e7d2826d8 Merge pull request #59453 from DanielKriz/master 2022-03-28 12:20:15 +02:00
Hugo LocurcioandRémi Verschelde 1c343cd54d Expose Color's to_linear() and to_srgb() to scripting 2022-03-28 12:17:55 +02:00
Markus Sauermann ffe42171a5 Fix using Viewport::warp_mouse within Viewports 2022-03-28 11:59:40 +02:00
Rémi VerscheldeandGitHub 01f34495bf Merge pull request #59621 from bruvzg/icu_external 2022-03-28 11:58:12 +02:00
Nicholas HuelinandRémi Verschelde 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 VerscheldeandGitHub 795304e34f Merge pull request #59612 from YeldhamDev/style_and_grace 2022-03-28 11:36:27 +02:00
Aleksey Smirnov 1a13de0f8d Replace copies with constant refs 2022-03-28 12:34:05 +03:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 7e5cd4bb48 Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates 2022-03-28 09:54:59 +02:00
Markus Sauermann ba208df6e6 Send a focus-out notification when opening a Window Manager Popup 2022-03-28 09:40:36 +02:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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
Hugo Locurcio fbec10179a Improve documentation for Camera3D.project_ray_{normal,origin}
This mentions that internally, the inverse camera projection is used
to perform projections.
2022-03-27 20:31:18 +02: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
Karmavil aef97305db Add descriptions to operators 2022-03-27 12:13:56 -03:00
Fabio Alessandrelli 331f1662df [Net] Drop is_connected_to_host for TCP and UDP.
The UDP method is now called `is_socket_connected` to limit confusion
with the actual host connection status which doesn't make sense in UDP.

The TCP method is completly dropped, use get_status instead.

The only one left is the WebSocketPeer one, which should be fine as is
for now.
2022-03-27 16:36:44 +02:00
Fabio Alessandrelli 0e52867668 [Net] Make StreamPeerTCP::_poll_connection explicit.
No longer hacked into `get_status` and renamed to `poll`.

The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
2022-03-27 16:36:44 +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 VerscheldeandGitHub a5eed70fa2 Merge pull request #59561 from akien-mga/js-export-explain-why-no-templates 2022-03-27 12:26:08 +02:00
Rémi VerscheldeandGitHub 9139146b6c Merge pull request #59575 from univeous/fix-joystick-focus 2022-03-27 12:20:34 +02:00