Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Rémi Verschelde
80b82e4e66
i18n: Misc fixes translation strings
...
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
Rémi Verschelde
88dba8e625
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Haoyu Qiu
067e738cb8
Fix various typos
2022-05-19 19:07:45 +08:00
Yuri Rubinsky
32b9818965
Add node list param to GraphEdit::delete_nodes_request signal
2022-05-18 12:36:00 +03:00
Rémi Verschelde
64eb2ebf40
Merge pull request #54629 from Gallilus/Fixes-copy-paste-issue-in-the-visual-script-editor-3.x
...
Fixes copy-paste issue in the visual script editor
2022-04-15 21:19:09 +02:00
Nicholas Huelin
861c5fe567
Fix Visual Script's jump to function relative to zoom
...
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.
(cherry picked from commit e8a326a08f
)
2022-04-13 11:43:49 +02:00
Rémi Verschelde
d65ec1f211
Merge pull request #60049 from timothyqiu/vs-filter-scroll
2022-04-12 21:03:28 +02:00
Umang Kalra
931bc4592a
Fixes variable node not showing updated name in visualscript editor
2022-04-11 17:38:05 +05:30
Haoyu Qiu
7c80d03669
Scroll to selected item when filtering VisualScript nodes
2022-04-09 10:14:09 +08:00
Hugo Locurcio
b087538119
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Haoyu Qiu
743f2d232a
Use RTR()
for VisualScriptNode captions and texts
...
(cherry picked from commit 77f80aa4ee
)
2022-03-12 15:10:28 +01:00
Haoyu Qiu
9135074cc2
Fix VisualScript crash when using Set Index node
...
(cherry picked from commit 1262d331c0
)
2022-02-17 09:54:36 +01:00
Rémi Verschelde
7a16bb2ee4
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
(cherry picked from commit 1bdb82c64e
)
2022-02-11 09:50:59 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Haoyu Qiu
e1557dc4c8
i18n: Make VisualScript node caption & text translatable
2022-01-11 21:16:33 +08:00
LATRio
47f0cf7460
Add type validations when setting basic type
2022-01-08 11:30:55 +09:00
Max Hilbrunner
717801c9cb
Fix docs links in 3.x after docs reorg
2022-01-05 11:54:52 +01:00
kobewi
6eb1c92cea
Fix custom built-in script names
2021-12-08 14:04:10 +01:00
kobewi
f899b76747
Improve save handling for built-in scripts
2021-12-04 01:28:52 +01:00
Marcel Admiraal
4d3690eba5
Remove unimplemented methods
2021-11-18 12:47:36 +00:00
David Cambré
fb7c23f30b
Fixes the 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-16 16:49:15 +01:00
Rémi Verschelde
3ac2999f22
Replace Godot docs URL with $DOCS_URL
in XML class reference
2021-11-15 17:22:47 +01:00
Rémi Verschelde
14c366ddd7
Bump version to 3.5-beta
2021-11-05 16:10:17 +01:00
Rémi Verschelde
1b65550ec7
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
42d385b312
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
Ev1lbl0w
e57f8fd083
Fix VisualScript crash with null object
2021-10-13 12:19:29 +01:00
Rémi Verschelde
81da3b8ba4
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 a16031beb6
)
2021-10-07 12:48:23 +02:00
David Cambré
d6f131904b
Update VisualScriptCustomNode.xml
...
(cherry picked from commit 080125660a
)
2021-09-21 17:14:59 +02:00
David Cambré
0c9947cb2f
Fix VisualScriptPropertySet value hint
2021-08-29 15:42:04 +02:00
David Cambré
be7718c96c
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
f0b37b1519
doc: Point URLs to 3.4 version of the online docs
2021-08-12 17:08:10 +02:00
Rémi Verschelde
ba8551451f
Resource: Remove unused _use_builtin_script()
virtual method
...
And another piece of dead code found while searching for "use_builtin".
(cherry picked from commit 6e9439198c
)
2021-08-12 16:45:48 +02:00
Rémi Verschelde
a418d09617
Merge pull request #51166 from RandomShaper/fix_can_reset_3.x
2021-08-09 09:19:25 +02:00
Rémi Verschelde
d38180b20f
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
Yuri Roubinsky
96f957f93b
[3.x] Prevents some warnings from appearing in visual scripts
2021-08-03 11:27:45 +03:00
Rémi Verschelde
f5836b40d4
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 7adf4cc9b5
)
2021-08-03 10:20:19 +02:00
Haoyu Qiu
812076baf6
Validates VisualScript.add_node input node
...
(cherry picked from commit 0ca38ffe76
)
2021-08-03 09:33:25 +02:00
Pedro J. Estébanez
7426b3fa91
Add Script::inherits_script()
...
Partial cherry-pick of 5d4dc2d45c
.
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2021-08-02 15:18:30 +02:00
Haoyu Qiu
a3b221e99f
Make action names translatable
2021-07-31 22:19:47 +08:00
Gallilus
9342457bcd
Change "Add Preload Node" action to "Add Node(s)"
...
The action might also drop Custom Nodes
(cherry picked from commit 70a6ff0a71
)
2021-07-26 13:36:07 +02:00
Rémi Verschelde
48d80b31b1
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é
af1ea1800d
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
5ca46ee1fd
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
9178e24d30
Expose visual script custom node type hints
2021-07-21 19:33:10 +02:00
David Cambré
968dd73141
Allow dropping custom node scripts in VisualScript editor
2021-07-21 15:01:07 +02:00
Tomasz Chabora
6021ab5b01
Document remaining Visual Script classes
...
(cherry picked from commit 1054956461
)
2021-07-15 10:46:04 +02:00
Rémi Verschelde
e3d48d7e2c
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
3336453dff
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-29 15:32:16 +02:00
Umang Kalra
71da90f5bb
Fixes missing descriptions in search window of visualscript
...
(cherry picked from commit 5e8d31ef0e
)
2021-06-29 13:11:47 +02:00