Age | Commit message (Collapse) | Author |
|
|
|
Those keywords were deprecated for 3.1 in #22087.
Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
|
|
Remove deprecated decimals builtin
|
|
32 bits.
|
|
Optmized data sent during RPC and RSet calls.
|
|
Replaced by 'step_decimals' in 3.2 via #21425.
|
|
- Now is sent the method ID rather the full function name.
- The passed IDs (Node and Method) are compressed so to use less possible space.
- The variant (INT and BOOL) is now encoded and compressed so to use much less data.
- Optimized RPCMode retrieval for GDScript functions.
- Added checksum to assert the methods are the same across peers.
This work has been kindly sponsored by IMVU.
|
|
|
|
|
|
|
|
|
|
Besides being incorrect, it also caused a hard editor crash for purely
static classes or classes with more static functions than methods.
|
|
doc: Drop unused 'category' property from header
|
|
Fix signals Variant arguments incorrectly listed as Nil.
Fixes #12520.
|
|
We already removed it from the online docs with #35132.
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
|
|
Busywork but it's good for our completion rate :)
|
|
Disabled re-assigning 'self'
|
|
|
|
|
|
lookup was always done on top level script instead of advancing to subclass each time.
this commit changes the lookup to always be at last found subclass
|
|
Fixes as issue where a subclass calls a base class method that tries to access a constant from the script.
The original code went through every ower class, and for each owner, went through its inheritance tree.
This seems like the wrong order, the modified code goes to each base class, and for each base class goes through the owner tree.
This is more in line with what the parser does, as the current impelemtation allows an access that the parser does not support.
This change should not negatively affect existing code due to the way the parser works
|
|
Fix errors raised when showing parse errors in the editor
|
|
Fixes #26691
|
|
Validate instances of objects before trying to check their type in GDScript
|
|
Fix function arguments hint format in GDScript editor
|
|
#34161: Keep a weak reference to orphan subclasses to reuse on class reload
|
|
Fixes #27582
|
|
|
|
for consistency with the format of the documentation:
"type func_name(arg1: type, arg2: type)"
|
|
|
|
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone)
* Set default for GDscript Language Server to listen only to localhost
Fixes potential security issue with GDScript language server being exposed to the
broad net by default.
Since it is the server which primary usage is to provide utility to the local
editor there is no need to expose it.
|
|
Using codespell 1.16.0.
See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
|
|
|
|
Needed because otherwise the certain type operations (such as type
casting) used as a function argument might become unresolved on release,
causing a compilation failure.
Fix #28680
|
|
Type match on assignment only if operators have type
|
|
This ensures that a value without type won't be wrongly assigned to a
typed variable when the types mismatch.
|
|
|
|
helper
|
|
Restart LSP server when configurations change without restart the editor
|
|
Avoids the user breaking things by creating a "script" variable with
something else, effectively overwriting the "script" slot on Object.
|
|
LSP: Fix bracket completion for functions with one argument
|
|
GDScript: Validate object instance on `is` operation
|
|
|
|
|
|
Fix #26556
|
|
Avoids crashes on debug mode. Instead it now breaks the execution and
show the error in-editor. Will still crash on release.
Also add a similar check to Marshalls to ensure the debugger doesn't
crash when trying to serialize the invalid instance.
|
|
Pass the calculated index from the stack and use the same to get and set
the value. This avoids a function with side effects being evaluated
twice when using indexing in an assignment with operation statement
(e.g. a[function()] += 1).
|
|
GDScript: Allow copy constructor for built-in types
|
|
Those are implicitly defined in Variant.
|
|
This makes the error message clearer as it might be used to call
functions with side effects.
|