903 Commits

Author SHA1 Message Date
Martin
a901bb7002 Fix logic operators mislabeled #49412 2021-06-23 12:04:55 +02:00
Rémi Verschelde
b697563c13 Merge pull request #49693 from LightningAA/instance-is-not-a-verb
Rename `instance()`->`instantiate()` when it's a verb
2021-06-20 09:39:29 +02:00
Lightning_A
6db897c183 Rename instance()->instantiate() when it's a verb 2021-06-19 20:49:18 -06:00
Eric M
122875c4e7 Added support for scripts reporting multiple errors to ScriptTextEditor
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-19 22:20:30 +10:00
Michael Alexsander Silva Dias
84271acf1d Better format arguments in variant parser 2021-06-18 00:06:40 -03:00
Rémi Verschelde
eba32e2874 Merge pull request #49043 from theoway/missing_description_vs_search_window_fixed
Fixes missing descriptions in Visual Script search window when adding nodes
2021-06-17 23:04:07 +02:00
Umang Kalra
2873b2e8d1 Fixes missing descriptions in search window of visualscript 2021-06-15 20:30:54 +05:30
Bastiaan Olij
f605d9d160 Adding some more missing renames for Transform3D and Quaternion 2021-06-15 16:01:50 +02:00
George Marques
c470e84518 Fix default value binding in VisualScriptFunctionState 2021-06-14 12:26:05 -03:00
kobewi
58b7bf0076 Consistently prefix bound virtual methods with _ 2021-06-12 00:55:52 +02:00
Pedro J. Estébanez
6c237004df Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
Jonathan Gollnick
e6d4346f80 Let var2str display StringName with correct sigil 2021-06-10 16:30:28 -05:00
Rémi Verschelde
6ab1c9d023 Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replace
Move FindReplaceBar out of CodeTextEditor
2021-06-09 21:07:27 +02:00
Rémi Verschelde
2c0f903bf5 Merge pull request #49462 from TokageItLab/update-property-selector-icon-list
update property selector's icon list
2021-06-09 17:54:59 +02:00
Silc 'Tokage' Renew
9ae1a2e7d2 update property selector's icon list and rename Quat.svg to Quaternion.svg 2021-06-09 23:50:29 +09:00
kobewi
74dbc4bb6b Move FindReplaceBar out of CodeTextEditor 2021-06-08 23:23:07 +02:00
Rémi Verschelde
945159a79c Merge pull request #49433 from NoFr1ends/fix-49410
Rename missing shortcut names in visual script editor
2021-06-08 23:14:32 +02:00
Jonas Bernemann
a0109d39d8 Rename missing shortcut names in visual script editor
With the change of the shortcuts for common actions like delete, copy
and paste the delete menu items in the visual script editor for members
where missing because of a missing shortcut.
2021-06-08 20:03:19 +02:00
Rémi Verschelde
0ac385b189 Merge pull request #49221 from Faless/mp/4.x_rpc_refactor
[Net] Refactor RPCs, remove RSETs
2021-06-07 17:00:08 +02:00
Rémi Verschelde
8fad8b7035 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.
2021-06-07 11:03:08 +02:00
Yuri Roubinsky
cbf4a3d6eb Merge pull request #49365 from Chaosus/fix_visual_scripts_header_color 2021-06-06 21:34:37 +03:00
Yuri Roubinsky
ee7769b6ee Fixed color for node headers in visual scripts 2021-06-06 21:20:05 +03:00
Marcel Admiraal
65f1988621 Rename Quat to Quaternion 2021-06-04 18:14:32 +01:00
Aaron Franke
f90a890006 Rename Variant TRANSFORM to TRANSFORM3D
Also _transform to _transform3d
2021-06-03 07:30:01 -04:00
Fabio Alessandrelli
34be5981b9 [Net] Refactor RPCs, remove RSETs
In this PR:
- Removed rset
- rpc_config can now optionally configure transfer mode
  (reliable/unreliable/ordered) and channel (channels are not actually
  implemented yet.)
- Refactor how the RPC id is computed to minimize the logic in Node and
  scripts that now only needs a single `get_rpc_methods` function.
2021-06-01 17:24:21 +02:00
David Cambré
fe3c1bffbf The built in function math/seed was missing the sequenceport. 2021-05-22 14:01:35 +02:00
trollodel
4064bcd604 Improve TreeItem API and allow to move nodes 2021-05-17 22:06:46 +02:00
Rémi Verschelde
82497812ba Merge pull request #48168 from LightningAA/control-to-ctrl-4.0 2021-05-17 17:38:02 +02:00
sent44
7a7062322e Add get_base_editor to ScriptEditorBase 2021-05-15 18:47:00 +07:00
Lightning_A
0906e4af54 Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods 2021-05-07 14:00:50 -06:00
Rémi Verschelde
c0ad735db8 Merge pull request #33577 from Calinou/highlight-control-flow-keywords
Highlight control flow keywords with a different color
2021-05-07 00:52:50 +02:00
Rémi Verschelde
8030307934 Merge pull request #45607 from Calinou/improve-editor-theme
Improve the editor theme
2021-05-06 16:45:07 +02:00
Hugo Locurcio
5dc2c36069 Highlight control flow keywords with a different color
This makes them easier to distinguish from other keywords.
2021-05-05 22:38:12 +02:00
Rémi Verschelde
395de681a8 Re-bind posmod, use int64_t instead of int
Fixes #48420, fixes #48421.
The binding was missed when moving GDScript built-in to Global Scope it seems.

Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2021-05-04 13:25:08 +02:00
Aaron Franke
6acc81c30e Rename doubleclick to double_click 2021-05-04 04:38:08 -04:00
Rémi Verschelde
d1a4a787cb Merge pull request #48292 from akien-mga/stay-modern
Replace remaining uses of `NULL` with `nullptr`
2021-04-29 12:11:27 +02:00
Rémi Verschelde
ada016cb1e Replace remaining uses of NULL with nullptr
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-29 11:53:27 +02:00
Hugo Locurcio
758fa0d8c2 Improve the editor theme
The editor theme now makes use of rounded corners and less borders
to follow modern visual trends.

The default theme's colors were also tweaked to make the blue hue
more subtle (similar to the Arc theme, which was removed as a
consequence). The Alien theme was replaced by a Breeze Dark theme,
which should blend in well with the KDE theme.
2021-04-27 22:38:26 +02:00
Rémi Verschelde
e9b5ec763b Core: Drop custom copymem/zeromem defines
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb.

There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27 16:26:27 +02:00
Marcel Admiraal
a3434fa094 Rename LineEdit caret_* properties getters and setters to match property 2021-04-17 12:41:23 +01:00
Rémi Verschelde
8aac0b1096 Merge pull request #47642 from akien-mga/clang-tidy-fixes 2021-04-05 14:34:31 +02:00
Rémi Verschelde
0abfd7b89c Style: Apply clang-tidy's readability-braces-around-statements 2021-04-05 14:09:59 +02:00
Rémi Verschelde
ce107dd3b6 Style: Apply clang-tidy's modernize-use-nullptr 2021-04-05 14:05:07 +02:00
Rémi Verschelde
572c0e4f6b Merge pull request #47592 from jmb462/fix-VisualScriptFunctionState-connect-to-null-signal-crash
Fix VisualScriptFunctionState connect to null object crash (Fix #47572)
2021-04-05 12:15:58 +02:00
Rafał Mikrut
b1359d13ff Fix crashes in *_input functions 2021-04-05 08:52:21 +02:00
jmb462
0180a45dcf Fix VisualScriptFunctionState connect to null object crash 2021-04-03 12:13:26 +02:00
Aaron Franke
c2c0fd3546 Rename ButtonList enum and members to MouseButton 2021-03-23 07:13:23 -04:00
Anshul7sp1
a579127541 Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
Rémi Verschelde
81bf140390 Merge pull request #43663 from EricEzaM/PR/INP4-dehardcode_scene_shortcuts
Remove hardcoded shortcuts from /scene and instead use the input action system to allow them to be customised.
2021-02-18 19:37:28 +01:00
Eric M
9dcd0214ec Removed hardcoded shortcuts from /scene and converted to input actions
This removes hardcoded actions from things like LineEdit and TextEdit.

Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18 16:22:51 +01:00