903 Commits

Author SHA1 Message Date
K. S. Ernest (iFire) Lee
43b0128a96 Merge pull request #76 from kitsdream/Next
Fix the display of the tree diagram and optimize performance
2023-10-28 14:23:46 -07:00
kitsdream
706194e054 Fix the display of the tree diagram and optimize performance
Fix the display of the tree diagram and optimize performance.
2023-10-29 03:38:02 +08:00
K. S. Ernest (iFire) Lee
104ef4f27a Merge pull request #74 from V-Sekai/reset-path
Update Windows workflow to use the official Godot repository
2023-10-10 23:05:35 -04:00
K. S. Ernest (iFire) Lee
8c87cf15e0 Update Windows workflow to use the latest Godot repository and branch 2023-10-10 14:32:11 -07:00
Kory Postma
d85a4322ef Fixes for latest abstract changes on godot master 2023-10-09 21:18:32 -07:00
K. S. Ernest (iFire) Lee
e481f88001 Update Windows workflow to use the official Godot repository 2023-10-09 21:16:27 -07:00
K. S. Ernest (iFire) Lee
0d50c6277f Merge pull request #69 from kitsdream/Next
Fix the display of the tree diagram and optimize performance
2023-09-27 08:42:28 -07:00
kitsdream
ded87a25ff Fix the display of the tree diagram and optimize performance
Fix the display of the tree diagram and optimize performance.
2023-09-25 00:17:59 +08:00
kitsdream
2ba3e82826 Merge branch 'V-Sekai:main' into main 2023-09-10 19:41:11 +08:00
K. S. Ernest (iFire) Lee
484ac8f9cc Make compile. 2023-09-09 07:27:44 -07:00
kitsdream
8b2e5f5993 Optimize the code and fix the problem of the search box being stuck.
Optimize the code and fix the problem of the search box being stuck.

Revert "Optimize the code and fix the problem of the search box being stuck."

This reverts commit 210561eebdd0638e3e67f00a2d0ec72596ee4e52.

Revert "Revert "Optimize the code and fix the problem of the search box being stuck.""

This reverts commit 0f714b5fd3503cdc7d06f692ce267b712510b4a0.

Revert "Revert "Revert "Optimize the code and fix the problem of the search box being stuck."""

This reverts commit ef9e0ff596b6773c86e9d245e73d71386c4ab350.
2023-09-07 13:54:26 +08:00
K. S. Ernest (iFire) Lee
60b2baccf8 Merge pull request #65 from kitsdream/next
Restore and fix the issues what make the search box too slow.
2023-09-01 10:52:17 -07:00
kitsdream
a604b8ab06 Optimize the code and fix the problem of the search box being stuck.
Optimize the code and fix the problem of the search box being stuck.
2023-09-01 10:11:25 -07:00
K. S. Ernest (iFire) Lee
d616fa948f Merge pull request #55 from V-Sekai/next
Update visual script to master
2023-08-22 07:24:11 -07:00
K. S. Ernest (iFire) Lee
9a4df15d3e Codebase Enhancements and Performance Improvements
We've made several updates to improve our codebase and application performance.

- Clang format was applied for better readability and consistency, aiding other developers in understanding and contributing to the code.
- We resolved issues that were causing visual script compilation failure. The visual script now compiles successfully, ensuring application functionality.
- Broken sections within the codebase were fixed, improving overall stability.
- Built-in functions from the visual script were removed to simplify the code and enhance readability.
- Generic search performance was improved to provide faster results, enhancing user experience.
- Missing flow nodes were added to the Visual Script, ensuring all necessary components are present for correct functioning.

In an effort to streamline the codebase:

- `VisualScriptComment` class and related code were removed, reducing complexity and improving maintainability.
- Error messages were optimized for quicker feedback when errors occur.
- Licenses were updated to reflect recent changes, ensuring legal compliance and project transparency.
- The `get_global_name()` override in `visual_script.h` was fixed, and `TYPE_BUILTIN_FUNC` in `visual_script_expression.h` was removed, improving code functionality.
- Search logic was refactored to avoid double searching, enhancing performance.
- Documentation was updated to reflect recent changes, providing accurate information to users and developers.
- Property selection logic in `VisualScriptPropertySelector` was refactored for easier understanding and modification.
- Code was refactored to avoid variable shadowing, improving readability and reducing potential errors.
- `.clang-format` and `.clang-tidy` configuration files were added to ensure consistent code styling.

To make the code more robust and easier to understand:

- Variable names were corrected for clarity, and error handling in `visual_script_expression.cpp` was improved.
- Function and variable names were refactored for better readability and maintainability.
- Member editing logic in `VisualScriptEditor` was simplified.
- Name variables were updated to be unique, avoiding potential conflicts and errors.
- The `VisualScriptSubCall` class was refactored for simplicity and ease of understanding.

For macOS workflow:

- It was updated to use the latest version and correct path for installing Vulkan SDK, enabling the application to leverage the latest features and improvements from the Vulkan SDK.
- Mac Vulkan SDK was installed to support Vulkan-based functionalities.

Lastly, we made necessary changes to pass CI/CD tests, ensuring the code quality and stability of the application.
2023-08-19 09:42:23 -07:00
K. S. Ernest (iFire) Lee
40bdeebc80 Merge pull request #53 from fire/restore-cicd
Restore cicd builds.
2023-06-18 16:17:46 -07:00
Rémi Verschelde
049601953b Merge pull request #52 from fire/restore-builds
Restore Godot engine builds.
2023-01-09 15:14:16 +01:00
K. S. Ernest (iFire) Lee
ed84d33890 Restore Godot engine builds. 2022-12-03 10:44:08 -08:00
K. S. Ernest (iFire) Lee
3bd6651dc1 Restore cicd builds. 2022-12-03 10:39:03 -08:00
K. S. Ernest (iFire) Lee
6779ece5b9 Merge pull request #31 from fire/reports
Add bug report and proposal templates.
2022-12-03 10:07:12 -08:00
K. S. Ernest (iFire) Lee
4261791a1f Merge pull request #34 from nathanfranke/fix
Add .gitignore, fix build on `master`
2022-09-09 17:42:15 -07:00
Nathan Franke
625bd191e8 add .gitignore, fix build on master 2022-09-08 03:07:52 -05:00
K. S. Ernest (iFire) Lee
2c7c695925 Add bug report templates. 2022-09-06 23:29:34 -07:00
Rémi Verschelde
77eeb0f2ff Add README and LICENSE 2022-08-24 11:55:34 +02:00
kobewi
d0327d2631 Replace Array return types with TypedArray 2022-08-22 22:42:36 +02:00
Rémi Verschelde
a5a06f4cab Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDO 2022-08-22 22:37:33 +02:00
kobewi
85d3e5541a Add per-scene UndoRedo 2022-08-22 18:05:10 +02:00
Yuri Sizov
43bbd78992 Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
Rémi Verschelde
194146599c Merge pull request #64553 from RedMser/fix-property-validation-refactor 2022-08-22 16:54:47 +02:00
Umang Kalra
337426420d Changed the title of change node type dialog 2022-08-20 22:53:07 +05:30
RedMser
6374658ca0 Remove unintentional PROPERTY_USAGE_INTERNAL
The flag only matters for property definition,
but was also used in _validate_property a lot.
2022-08-18 16:25:00 +02:00
Yuri Sizov
68169f5a6a Make property_*_revert methods multilevel and expose them for scripting 2022-08-18 00:03:53 +03:00
Yuri Sizov
992db0e0d3 Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
Rémi Verschelde
f0208a6592 Merge pull request #63712 from object71/fix-export-issues 2022-08-06 14:27:17 +02:00
Hristo Stamenov
2af9adca87 Removed faulty function update after get_property_list.
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-03 21:45:16 +03:00
Yuri Sizov
c6aaa971cc Remove CustomPropertyEditor completely 2022-08-01 22:57:05 +03:00
Yuri Sizov
64a43160ef Extract EditorResourceConversionPlugin into its own source files and clean up editor includes 2022-07-31 21:14:15 +03:00
Juan Linietsky
52f9fce008 Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
Fabio Alessandrelli
6c71fc9089 [Net] Modularize multiplayer, expose MultiplayerAPI to extensions.
- RPC configurations are now dictionaries.
- Script.get_rpc_methods renamed to Script.get_rpc_config.
- Node.rpc[_id] and Callable.rpc now return an Error.
- Refactor MultiplayerAPI to allow extension.
- New MultiplayerAPI.rpc method with Array argument (for scripts).
- Move the default MultiplayerAPI implementation to a module.
2022-07-26 09:31:12 +02:00
Rémi Verschelde
47504329bb 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 11:17:40 +02:00
reduz
41973c79b3 Implement Vector4, Vector4i, Projection
Implement built-in classes Vector4, Vector4i and Projection.

* Two versions of Vector4 (float and integer).
* A Projection class, which is a 4x4 matrix specialized in projection types.

These types have been requested for a long time, but given they were very corner case they were not added before.
Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity.

**Q**: Why Projection and not Matrix4?
**A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23 14:00:01 +02:00
bruvzg
d562c00c0f Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
FireForge
47a6888901 Rename Control PRESET_WIDE to PRESET_FULL_RECT 2022-07-18 20:08:11 -05:00
FireForge
c535af7ee7 Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog 2022-07-09 10:47:08 -05:00
Yuri Sizov
eb601743d2 Add support for documenting built-in annotations 2022-07-04 20:21:39 +03:00
K. S. Ernest (iFire) Lee
e548d607e0 Add a const call mode to Object, Variant and Script.
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).

This mode ensures only const functions can be called, making it safe to use from the editor.

Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
reduz
54a9731241 Remake resource thread safety and API
* Ensures thread safety when resources are destroyed.
* Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe.
* Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem.

Supersedes #57533
2022-06-22 13:46:46 +02:00
Hugo Locurcio
668ed180f5 Improve stack overflow error message in GDScript and VisualScript
Stack overflow errors are generally the result of infinite recursion
within a script.
2022-06-15 16:20:01 +02:00
Rémi Verschelde
d59b7b6fec Merge pull request #61804 from akien-mga/i18n-fixes 2022-06-08 13:17:58 +02:00
Rémi Verschelde
4518422945 i18n: Misc fixes translation strings
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:57:54 +02:00