Age | Commit message (Collapse) | Author |
|
This changes the types of a big number of variables.
General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
settled on keeping it unsigned, which is also closer to what one would expect
with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
pages, blocks, etc.
In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
core binds.
Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
big files on 32-bit Windows builds made with that toolchain. We might add a
workaround.
Fixes #44363.
Fixes godotengine/godot-proposals#400.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Add `get_base_editor` to `ScriptEditorBase`
|
|
GDScript: Add support for builtin static method calls
|
|
|
|
|
|
basis_universal: Update to upstream commit from Apr 16, 2021
|
|
Fixes #48645.
|
|
(cherry picked from commit 20717990fd2a7ad300fd9c6fab0394f25e3b7294)
|
|
Fixes #48482.
(cherry picked from commit e53422c8f96770c9a9b7497955c84f4b742fdd73)
|
|
|
|
BinomialLLC/basis_universal@ba1c3e40f1d434ebaf9a167b44e9b11d2bf0f765.
|
|
Rename color constants (alternative)
|
|
Highlight control flow keywords with a different color
|
|
Implement LSP didDeleteFiles & make parser aware of sub-nodes
|
|
Fix GDScript Tokenizer being very strict about the number of underscores
|
|
Improve the editor theme
|
|
|
|
This makes them easier to distinguish from other keywords.
|
|
Add env.Depends to modules_enabled.gen.h generator
|
|
Sometimes scons doesn't detects that a new module is being added. This commit fix it.
|
|
Port changes to the "raycast" module build files from 3.x
|
|
|
|
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>
|
|
|
|
Fix constants at function scope are not defined as constants for completion
|
|
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for
context in case of git blame/bisect:
* Fix UV2 unwrapping on import, also cleaned up the unwrap cache code.
* Fix saving of RGBA images in EXR format.
* Fixes to the GPU lightmapper:
- Added padding between atlas elements, avoids bleeding.
- Remove old SDF generation code.
- Fix baked attenuation for Omni/Spot lights.
- Fix baking of material properties onto UV2 (wireframe was
wrongly used before).
- Disable statically baked lights for objects that have a
lightmap texture to avoid applying the same light twice.
- Fix lightmap pairing in RendererSceneCull.
- Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`.
- Port autoexposure fix for OIDN from 3.x.
- Save debug textures as EXR when using floating point format.
|
|
Rename GDScript test script filenames to use `snake_case`
|
|
[Net] Implement String::parse_url for parsing URLs.
|
|
Fix some tangent Color typos in GLTF
|
|
|
|
|
|
Add WebSocketMultiplayerPeer _incoming_packets check bound
|
|
|
|
|
|
And typo fix from https://github.com/godotengine/godot-docs/pull/4882.
|
|
Follow-up to #38736 (these uses were likely added after this PR was merged).
|
|
[Net] Implement NetworkedMultiplayerENet.get_local_port
|
|
Allows retrieving the local port to which the peer is bound.
|
|
|
|
In attribute expressions (`a.b`) it's possible that the base has an
incorrect syntax and thus become a nullptr expression in the tree. This
commit add the check for this case to fail gracefully instead of
crashing.
|
|
|
|
- Lambdas are always callables (no specific signature match).
- Captures from the current context are evaluated.
|
|
Lambda syntax is the same as a the function syntax (using the same
`func` keyword) except that the name is optional and it can be embedded
anywhere an expression is expected. E.g.:
func _ready():
var my_lambda = func(x):
print(x)
my_lambda.call("hello")
|
|
|
|
|
|
Core: Drop custom `copymem`/`zeromem` defines
|
|
Update CSGMesh3D's documentation to explain how vertex normals are used
|
|
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.
|
|
|
|
|