Commit Graph

559 Commits

Author SHA1 Message Date
Haoyu Qiu
13e207c793 i18n: Make VisualScript node caption & text translatable 2022-01-11 21:16:33 +08:00
Rémi Verschelde
bf4d11a72c Merge pull request #53464 from LATRio/53456
[3.x] Add type validations when setting basic type
2022-01-08 11:03:44 +01:00
LATRio
2118079c8c Add type validations when setting basic type 2022-01-08 11:30:55 +09:00
Rémi Verschelde
850b6c352b Merge pull request #56512 from mhilbrunner/fix-docs-links 2022-01-05 12:59:04 +01:00
Max Hilbrunner
19e301ea59 Fix docs links in 3.x after docs reorg 2022-01-05 11:54:52 +01:00
Rémi Verschelde
8e95af1328 Merge pull request #55728 from KoBeWi/is_built_in()_should've_been_backported 2021-12-08 14:24:53 +01:00
kobewi
5ab52d78c5 Fix custom built-in script names 2021-12-08 14:04:10 +01:00
Rémi Verschelde
feaef5d65f Merge pull request #55611 from KoBeWi/yet_another_nice_backport
[3.x] Improve save handling for built-in scripts
2021-12-04 08:56:03 +01:00
kobewi
cdad3d2f57 Improve save handling for built-in scripts 2021-12-04 01:28:52 +01:00
Marcel Admiraal
2596277850 Remove unimplemented methods 2021-11-18 12:47:36 +00:00
Rémi Verschelde
2178a7fb3e Replace Godot docs URL with $DOCS_URL in XML class reference 2021-11-15 17:22:47 +01:00
Rémi Verschelde
663122285b Bump version to 3.5-beta 2021-11-05 16:10:17 +01:00
Rémi Verschelde
f87cf36f5d 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 14:50:32 +02:00
Rémi Verschelde
7f9b36f4e7 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 13:23:38 +02:00
Rémi Verschelde
f07c33e5e3 Merge pull request #53763 from Ev1lbl0w/bugfix-visual_script_crash 2021-10-13 14:53:02 +02:00
Ev1lbl0w
36cbaa9748 Fix VisualScript crash with null object 2021-10-13 12:19:29 +01:00
Rémi Verschelde
417207ffd6 Merge pull request #53511 from akien-mga/3.x-i18n-classref 2021-10-07 14:03:56 +02:00
Rémi Verschelde
850a3c788e Use translated docs in PropertySelector
And do the dedent and stripping for both translated and
non-translated strings for consistency, and so that we
don't need to do it at the call site.

(cherry picked from commit 2ae3f92cd6)
2021-10-07 12:48:23 +02:00
David Cambré
5e23250c8c Update VisualScriptCustomNode.xml
(cherry picked from commit c697a773a5)
2021-09-21 17:14:59 +02:00
David Cambré
e95b90bd32 Fix VisualScriptPropertySet value hint 2021-08-29 15:42:04 +02:00
K. S. Ernest (iFire) Lee
232b455836 Merge pull request #51922 from Gallilus/Revert-sequence-port-VisualScriptPropertySet-basic-type
Revert sequence port VisualScriptPropertySet basic type
2021-08-20 08:05:14 -07:00
David Cambré
13aa471415 Revert sequence port VisualScriptPropertySet basic type
Revert a part of #50709.
Adding a sequence port to basic type set breaks backwards compatibility
2021-08-20 15:43:47 +02:00
Rémi Verschelde
5ac71e9092 Merge pull request #51574 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.4) - 15th batch
2021-08-12 20:30:30 +02:00
Rémi Verschelde
3b70def536 doc: Point URLs to 3.4 version of the online docs 2021-08-12 17:08:10 +02:00
Rémi Verschelde
d2c43497c7 Resource: Remove unused _use_builtin_script() virtual method
And another piece of dead code found while searching for "use_builtin".

(cherry picked from commit a1ab6f186b)
2021-08-12 16:45:48 +02:00
Rémi Verschelde
402d27c3ed Merge pull request #51166 from RandomShaper/fix_can_reset_3.x 2021-08-09 09:19:25 +02:00
Rémi Verschelde
8fd0cd8c11 Merge pull request #51208 from Chaosus/vs_cleanup_warnings_3.x
[3.x] Prevents some warnings from appearing in visual scripts
2021-08-03 11:08:00 +02:00
Rémi Verschelde
a100d5d5f9 Merge pull request #51207 from akien-mga/3.x-cherrypicks 2021-08-03 11:03:53 +02:00
Yuri Roubinsky
535960fcab [3.x] Prevents some warnings from appearing in visual scripts 2021-08-03 11:27:45 +03:00
Rémi Verschelde
02ee17f9a2 doc: Use self-closing tags for return and argument
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.

(cherry picked from commit 6846557be1)
2021-08-03 10:20:19 +02:00
Haoyu Qiu
f8471f68b0 Validates VisualScript.add_node input node
(cherry picked from commit 61295c2a31)
2021-08-03 09:33:25 +02:00
Pedro J. Estébanez
36c2185455 Add Script::inherits_script()
Partial cherry-pick of 3dcee28bb2.

Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2021-08-02 15:18:30 +02:00
Haoyu Qiu
cb237c1b49 Make action names translatable 2021-07-31 22:19:47 +08:00
Rémi Verschelde
624bbb76b9 Merge pull request #50882 from akien-mga/3.x-cherrypicks 2021-07-26 14:31:17 +02:00
Gallilus
4a16b926cf Change "Add Preload Node" action to "Add Node(s)"
The action might also drop Custom Nodes

(cherry picked from commit 0bb9c1b0d9)
2021-07-26 13:36:07 +02:00
Rémi Verschelde
cf65b385c8 Merge pull request #50709 from DavidCambre/Improve-and-stramline-VisualScriptFuncNodes-Call-Set-Get
[3.x] Improve and streamline VisualScriptFuncNodes Call Set Get
2021-07-23 13:00:24 +02:00
David Cambré
4e792ac804 Improve and streamline VisualScriptFuncNodes Call Set Get
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get
Uniform design.
Drag in set-get from tree is now working.
port 'pass' not backported to 3.x to keep script backwards compatibility
2021-07-22 21:13:37 +02:00
Rémi Verschelde
f7098e8e5a Merge pull request #50696 from DavidCambre/Allow-dropping-custom-node-scripts-in-VisualScript-editor
[3.x] Allow dropping custom node scripts in VisualScript editor
2021-07-22 12:42:06 +02:00
Rémi Verschelde
767ffaefc3 Expose visual script custom node type hints 2021-07-21 19:33:10 +02:00
David Cambré
8a33608e4b Allow dropping custom node scripts in VisualScript editor 2021-07-21 15:01:07 +02:00
Rémi Verschelde
9c4071830c Merge pull request #50475 from akien-mga/3.x-cherrypicks 2021-07-15 12:19:47 +02:00
Tomasz Chabora
b1410bc498 Document remaining Visual Script classes
(cherry picked from commit 7f3186137e)
2021-07-15 10:46:04 +02:00
Rémi Verschelde
6ad439226a Merge pull request #49999 from kleonc/visual_script_editor-fix-position-when-zooming
[3.x] VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-29 16:31:27 +02:00
kleonc
dd943be1dd VisualScriptEditor Fix in graph position calculation (do not skip zoom) 2021-06-29 15:32:16 +02:00
Rémi Verschelde
01af7cc3fd Merge pull request #49997 from akien-mga/3.x-cherrypicks 2021-06-29 14:56:18 +02:00
Umang Kalra
86fc486a8e Fixes missing descriptions in search window of visualscript
(cherry picked from commit 2873b2e8d1)
2021-06-29 13:11:47 +02:00
Rémi Verschelde
ce22b8440e Style: Cleanup uses of double spaces between words
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.

(cherry picked from commit 8fad8b7035)
2021-06-07 12:06:59 +02:00
David Cambré
782f64743f The built in function math/seed was missing the sequenceport.
(cherry picked from commit fe3c1bffbf)
2021-06-01 12:52:18 +02:00
Rémi Verschelde
5fe0d1b0cb Merge pull request #47751 from Calinou/highlight-control-flow-keywords-3.x
Highlight control flow keywords with a different color (3.x)
2021-05-25 09:20:46 +02:00
Hugo Locurcio
ba26c63dd0 Highlight control flow keywords with a different color
This makes them easier to distinguish from other keywords.
2021-05-25 00:31:39 +02:00