Age | Commit message (Collapse) | Author |
|
Added plurals and context support to Translation
|
|
|
|
This method starting being used in 079ca220e14669ef7c31c399985cd2c733af15bd,
which now triggers this warning from GCC 10:
```
./core/error_macros.h:151:25: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
```
|
|
|
|
fixes and updated class Reference.
|
|
|
|
dialog when deleting settings.
|
|
New contributors added to AUTHORS:
@hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg
Thanks to all contributors and donors for making Godot possible!
---
Also changes to relevant code that parses the DONORS.md to match
the new tiers.
|
|
|
|
Remap script path when registering class.
|
|
Fix Vector3i and Vector2i AXIS_* constants
|
|
- New layout: advanced options hidden by default, error labels added.
- Disallow adding invalid new settings, or overwriting built-in settings.
|
|
|
|
Was causing `class_name`-defined scripts to not being loaded in exported
games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
|
|
|
|
|
|
|
|
A new `env.Run` method is added which allows to control the verbosity
of builders output automatically depending on whether the "verbose"
option is set. It also allows to optionally run any SCons commands in a
subprocess using the existing `run_in_subprocess` method, unifying
the interface. `Action` objects wrap all builder functions to include a
short build message associated with any action.
Notably, this removes quite verbose output generated by `make_doc_header`
and `make_editor_icons_action` builders.
|
|
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
|
|
Remove multilevel calls
|
|
|
|
Use same call to VariantCaster in release build as used in VariantCasterAndValidate::call method
|
|
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.
|
|
Docs: Ignore OS specific values (constants, project settings, properties)
|
|
|
|
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.
|
|
Implements exit codes into the engine so tests can return their statuses.
Ideally we don't do this, and we use FIXUP logic to 'begin' and 'end' the engine execution for tests specifically.
Since realistically we're initialising the engine here we don't want to do that, since String should not require an engine startup to test a single header.
This lowers the complexity of running the unit tests and even for
physics should be possible to implement such a fix.
|
|
GDScript 2.0 (again)
|
|
object is never closed.
|
|
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.
|
|
Add methods in ClassDB to get property/method/constant/enum info
|
|
Fix spelling of a var, a struct, and some message output
|
|
|
|
|
|
|
|
UDPServer uses single socket, abstract clients.
|
|
UDPServer now uses a single socket which is shared with the
PacketPeerUDP it creates and has a new `poll` function to read incoming
packets on that socket and delivers them to the appropriate peer.
PacketPeerUDP created this way never reads from the socket, but are
allowed to write on it using sendto.
This is needed because Windows (unlike Linux/BSD) does not support
packet routing when multiple sockets are bound on the same address/port.
|
|
Trying to get `f->get_path()` after deleting `f` was not super clever :)
Fixes #40324.
|
|
Syntax highlighter refactor
|
|
|
|
|
|
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
|
|
|
|
|
|
Enable file logging by default on desktops to help with troubleshooting
|
|
|
|
|