Age | Commit message (Collapse) | Author |
|
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
|
|
Make unsaved scripts in the script editor more user-friendly
|
|
Remove multilevel calls
|
|
Ensure Bullet HeightMapShape3D data width and depth are at least 2.
|
|
Enable support for C++ modules tests
|
|
Modules-specific tests can be written under respective module folders.
Each module should have "tests" folder created with the tests implemented
as `doctest` headers, so they can be collected by the buildsystem and
included directly in `tests/test_main.cpp` to be compiled.
|
|
Unsaved scripts were previously displayed with blank tabs, which are
mostly a result of deleted or improperly moved scripts.
This patch makes sure that those kind of scripts are displayed as
"[unsaved]" now, and ensures that scripts are removed from the list
while deleting scripts from the filesystem dock preventing the unsaved
tabs to appear in the first place (a user is already prompted with
"no undo" warning while deleting any file).
A user is always prompted to save those "[unsaved]" scripts if they
attempt to close them without saving in any case except as described
above.
|
|
Optimized ScriptEditor initialization when many scripts are loaded
|
|
Using 'available' checks to fix deprecation compilation errors
Additional checks for simulator
|
|
The input to smoothstep is not actually a weight, and the decscription
of smoothstep was pretty hard to understand and easy to misinterpret.
Clarified what it means to be approximately equal.
nearest_po2 does not do what the descriptions says it does. For one,
it returns the same power if the input is a power of 2. Second, it
returns 0 if the input is negative or 0, while the smallest possible
integral power of 2 actually is 1 (2^0 = 1). Due to the implementation
and how it is used in a lot of places, it does not seem wise to change
such a core function however, and I decided it is better to alter the
description of the built-in.
Added a few examples/clarifications/edge-cases.
|
|
In general they are more confusing to users because they expect
inheritance to fully override parent methods. This behavior can be
enabled by script writers using a simple super() call.
|
|
|
|
|
|
GDScript 2.0 (again)
|
|
|
|
When VSDEBUG is a no-op (default), those branches did the same (nothing).
|
|
|
|
|
|
|
|
Fix spelling & grammar in comments, docs, and messages
|
|
|
|
Also a few minor API changes like adding AABB.abs()
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
|
|
|
|
|
|
Reenable checking those when validating code.
|
|
|
|
Also store Variant operator to avoid needing to do it repeatedly in
later compiling stages.
|
|
|
|
|
|
Also improve error for unknown characters.
|
|
Sometimes to fix something you have to break it first.
This get GDScript mostly working with the new tokenizer and parser but
a lot of things isn't working yet. It compiles and it's usable, and that
should be enough for now.
Don't worry: other huge commits will come after this.
|
|
to zero.
|
|
This change avoids the editor to freeze for several seconds when a
project with lots of scripts is loaded in the editor.
It focuses on a few heavy operations previously executed on all
previously loaded scripts:
- Initialize script resource (script validation/parsing) only
on focus
- ScriptTextEditor: code editor and edit menu are added to the
scene only on focus
- Add to recent scripts only when opening new scripts
(load/save scene metadata)
|
|
Resize various dialogs
|
|
touilleMan/correct-Reference-is_reference-api.json
Correct is_reference attribute in api.json for Reference class
|
|
touilleMan/missing-has_default_value-signals-api_json
Add missing has_default_value field for signals in api.json
|
|
|
|
|
|
UDPServer uses single socket, abstract clients.
|
|
resource depency dialogs).
|
|
|
|
My initial attempt changed this in the gdscript code, which resulted in
a duplicate warning name in the builtin editor. We should just append
the warning name in the LSP instead.
This uses parens to match what is shown in the builtin editor.
|
|
This reverts commit de3ad3b30ecb8de1aa112df7d61630102f077b5b.
|
|
Add C# XML documentation to core C# math types
|
|
Syntax highlighter refactor
|
|
Use GitHub Actions for file formatting and style checks
|
|
|
|
use clear_overlaps() instead of clearing overlappingObjects directly
|
|
[macOS, Mono] Fix "Wdeprecated-declarations" build error.
|