581 Commits

Author SHA1 Message Date
Rémi Verschelde
4e068a8348 Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.

(cherry picked from commit b51abfce34)
2022-08-24 11:30:28 +02:00
Rémi Verschelde
6e5a2a9936 Merge pull request #63431 from akien-mga/3.x-fix_header_guards
[3.x] Code quality: Fix header guards consistency
2022-07-25 16:18:29 +02:00
Rémi Verschelde
b3e49358c0 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
a25e0c4be8 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
b85f058412 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Rémi Verschelde
a2b3eac010 Merge pull request #61183 from timothyqiu/interpolate-if 2022-05-19 13:30:17 +02:00
Haoyu Qiu
e1ad669773 Fix various typos 2022-05-19 19:07:45 +08:00
Yuri Rubinsky
03f09fa75d Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Rémi Verschelde
0e95c24778 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
b71f5e0cbd 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 d2a3675ec8)
2022-04-13 11:43:49 +02:00
Rémi Verschelde
bd10a340a6 Merge pull request #60049 from timothyqiu/vs-filter-scroll 2022-04-12 21:03:28 +02:00
Umang Kalra
5997700fa5 Fixes variable node not showing updated name in visualscript editor 2022-04-11 17:38:05 +05:30
Haoyu Qiu
a0c55a9c47 Scroll to selected item when filtering VisualScript nodes 2022-04-09 10:14:09 +08:00
Rémi Verschelde
8b6ba9dcc2 Merge pull request #59213 from Calinou/doc-add-xml-schema-3.x
Add an XML schema for documentation (3.x)
2022-03-16 23:31:50 +01:00
Hugo Locurcio
ab7886cfd4 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
Rémi Verschelde
948b93a406 Merge pull request #59067 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.5) - 15th batch
2022-03-12 22:01:23 +01:00
Haoyu Qiu
7558e47f1a Use RTR() for VisualScriptNode captions and texts
(cherry picked from commit 34614b544a)
2022-03-12 15:10:28 +01:00
Haoyu Qiu
5b6d2d353c Fix VisualScript crash when using Set Index node
(cherry picked from commit 022c73fcb6)
2022-02-17 09:54:36 +01:00
Rémi Verschelde
179bc7f33a Merge pull request #57947 from akien-mga/3.x-cherrypicks 2022-02-11 13:45:03 +01:00
Rémi Verschelde
92524c5ce8 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 2d58a2091e)
2022-02-11 09:50:59 +01:00
Rémi Verschelde
7669335a71 Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
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
David Cambré
c1ff202e32 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
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