903 Commits

Author SHA1 Message Date
Nathan Franke
d60470a957 align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
jmb462
1c4e5a5bc7 Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
Umang Kalra
791e48f793 Fixes variable/singal nodes not renaming in visualscript editor 2021-11-24 23:56:43 +05:30
Rémi Verschelde
8cee138698 Merge pull request #50139 from LightningAA/rename-remove-to-remove-at
Rename `remove()` to `remove_at()` when removing by index
2021-11-24 07:59:56 +01:00
Lightning_A
cb47e7f319 Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
Yuri Roubinsky
df1fcaf100 Added reset_size method to Control and Window classes 2021-11-22 16:55:21 +03:00
Yuri Roubinsky
e56b37a0a8 Fix randfn in visual scripts 2021-11-17 18:52:44 +03:00
Yuri Roubinsky
1dca7ea720 Expose randfn to global scope 2021-11-17 14:29:19 +03:00
Rémi Verschelde
9b13c77b25 Replace Godot docs URL with $DOCS_URL in XML class reference 2021-11-15 13:02:21 +01:00
Rémi Verschelde
e6e1160b76 Merge pull request #51684 from aaronfranke/enum-class 2021-11-12 23:39:17 +01:00
Aaron Franke
9526feece0 Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
Rémi Verschelde
16c662221c Merge pull request #54903 from aaronfranke/modules-no-editor
Make OpenSimplex and VisualScript modules not depend on editor files
2021-11-12 21:17:31 +01:00
Aaron Franke
2da99a9f01 Make OpenSimplex and VisualScript modules not depend on the editor 2021-11-12 12:03:54 -06:00
Rémi Verschelde
0706a17ac8 Merge pull request #53819 from TokageItLab/re-implement-ping-pong
Reimplement ping-pong animation and reverse playback
2021-11-09 22:11:04 +01:00
Rémi Verschelde
7398a03a64 Merge pull request #54653 from KoBeWi/built_in_scripts_deserved_that
Improve save handling for built-in scripts
2021-11-09 21:46:58 +01:00
kobewi
aa23b76249 Improve save handling for built-in scripts 2021-11-07 23:51:12 +01:00
David Cambré
ba8abc832a VisualScript-sync-and-improve-variable-and-property 2021-11-06 13:03:38 +01:00
kobewi
a206d93d8f Add is_built_in() method to Resource 2021-11-04 12:45:58 +01:00
Rémi Verschelde
f55b3592c1 Merge pull request #54571 from Calinou/rename-noeditor-property-hint 2021-11-04 00:18:44 +01:00
Hugo Locurcio
5507c243c3 Rename PROPERTY_USAGE_NOEDITOR to PROPERTY_USAGE_NO_EDITOR
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
David Cambré
05f85a9e89 Fixes copy-paste issue in the visual script editor
Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work.
Applies paste offset to the last mouse clicked position.
2021-11-03 20:40:52 +01:00
Silc 'Tokage' Renew
1da316233b reimplement ping-pong 2021-11-03 13:39:33 +09:00
Rémi Verschelde
a8b1696509 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 15:43:36 +02:00
Rémi Verschelde
4db876a82c 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 15:19:35 +02:00
Marcel Admiraal
aaccecb0d8 Remove unimplemented methods 2021-10-21 18:44:25 +01:00
Gilles Roudière
efd8ba99d7 Implement toast notifications in the editor 2021-10-14 13:30:54 +02:00
Juan Linietsky
556ee2a8ab Merge pull request #53687 from godotengine/revert-48332-implement-ping-pong
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:28:34 -03:00
Juan Linietsky
0837a9115d Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation" 2021-10-11 19:27:50 -03:00
Rémi Verschelde
2abbede480 Merge pull request #48332 from TokageItLab/implement-ping-pong 2021-10-11 22:55:01 +02:00
Paulb23
8f8831841e Move add_syntax_highlighter bind to ScriptEditorBase 2021-10-11 18:13:31 +01:00
Tokage
b19f39d0a2 implement ping-pong loop in animation
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09:00
Rémi Verschelde
f38cbcd002 doc: Update links to latest documentation after content reorganization 2021-10-06 13:48:48 +02:00
kobewi
d7d542c5b9 Fix some leftover references to idle_frame 2021-10-04 20:57:31 +02:00
Rémi Verschelde
4ca06d1620 Merge pull request #51409 from LightningAA/use-map-iterators
Use range iterators for `Map` in most cases
2021-09-30 23:52:46 +02:00
Lightning_A
8cf95dee4d Use range iterators for Map 2021-09-30 15:09:12 -06:00
Rémi Verschelde
87125310ec Merge pull request #52877 from Calinou/add-print-verbose
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21 17:00:58 +02:00
Hugo Locurcio
e126128b49 Add print_verbose() built-in function to print in verbose mode only
This can be used as a shorthand for:

    if OS.is_stdout_verbose():
        print("...")

Unlike `print_debug()`, this works in release builds too and can
be toggled off in debug builds.
2021-09-21 15:59:49 +02:00
Aaron Franke
d20cff9207 Don't generate empty doc sections and reduce code duplication 2021-09-20 20:59:33 -05:00
Rémi Verschelde
95e9f88063 Merge pull request #52810 from Chaosus/vs_fix_gotoline
Fix incorrect call of `_center_on_node` in VisualScript editor
2021-09-18 12:40:34 +02:00
Yuri Roubinsky
468abdae1f Fix incorrect call of _center_on_node in VisualScript editor 2021-09-18 10:58:28 +03:00
Rémi Verschelde
5837c1d689 Merge pull request #52655 from Chaosus/toggle_scripts_panel 2021-09-17 13:54:54 +02:00
Max Hilbrunner
1fbfa0190e Merge pull request #52656 from akien-mga/rename-vseditor-singleton
Rename VisualScriptEditor singleton to VisualScriptCustomNodes
2021-09-15 22:51:45 +02:00
Yuri Roubinsky
7369c2e458 Added status bar and toggle scripts panel button to EditorHelp/VScripts 2021-09-15 11:35:03 +03:00
Rémi Verschelde
6ef24efb11 Merge pull request #52222 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint 2021-09-14 12:49:11 +02:00
Rémi Verschelde
fc3f6a6b8d Rename VisualScriptEditor singleton to VisualScriptCustomNodes
Follow-up to #51916, fixes inconsistency between singleton name and class
as documented in https://github.com/godotengine/godot/issues/52162#issuecomment-918979753.
2021-09-14 11:31:01 +02:00
David Cambré
c697a773a5 Update VisualScriptCustomNode.xml 2021-09-13 21:28:08 +02:00
Fabio Alessandrelli
df4cc73fa5 [Net] Move multiplayer to core subdir, split RPCManager.
Move multiplayer classes to "core/multiplayer" subdir.

Move the RPCConfig and enums (TransferMode, RPCMode) to a separate
file (multiplayer.h), and bind them to the global namespace.

Move the RPC handling code to its own class (RPCManager).

Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07 11:14:30 +02:00
Fabio Alessandrelli
3eea8c9355 Merge pull request #51639 from Ev1lbl0w/gsoc21-dap
Implement more advanced features for DAP
2021-09-01 16:17:32 +02:00
Ev1lbl0w
ba5c0440b0 Implemented advanced features of DAP
Respect client "supportsVariableType" capability

Implement "breakpointLocations" request

Implement "restart" request

Implement "evaluate" request

Fix error messages not being shown, and improved wrong path message

Removed thread option and behavior

Implemented detailed inspection of complex variables

Fix "const"ness of functions

Added a configurable timeout for requests

Implement Godot custom data request/event

Implement syncing of breakpoints

Added support for debugging native platforms
2021-08-31 15:17:58 +01:00
kobewi
faa6be529c Remove cartesian2polar and polar2cartesian 2021-08-31 01:41:41 +02:00