Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
- Use the `.log` file extension (recognized on Windows out of the box)
to better hint that generated files are logs. Some editors provide
dedicated syntax highlighting for those files.
- Use an underscore to separate the basename from the date and
the date from the time in log filenames. This makes the filename
easier to read.
- Keep only 5 log files by default to decrease disk usage in case
messages are spammed.
|
|
|
|
Fix Directory Open Check
|
|
Without the need to iterate the whole list.
|
|
|
|
So places that need to look into it can use the list instead of parsing
ProjectSettings details (like checking "*" in path for testing if it's
singleton).
|
|
Fix 'modernize-use-bool-literals' clang-tidy warnings in error macros
|
|
|
|
Remove String::find_last (same as rfind)
|
|
|
|
|
|
Fix overflow and underflow checks for string conversion to int
|
|
Removed errors when List::erase() can't find the value
|
|
Current error checks for to_int and to_int64 do not issue overflow error
messages for INT64_MAX + 1, INT64_MAX + 2, and other numbers close to the
integer limits. Likewise, error checks for hex_to_int, hex_to_int64 and
bin_to_int64 issue false positive error messages for INT64_MIN or INT32_MIN.
This commit fixes these error checks.
|
|
Call CRASH_COND_MSG if key not found in HashMap get(key) functions.
|
|
Make all String integer conversion methods be 64-bit
|
|
|
|
This change makes the behavior consistent when the value
is not found between erasing from an empty list
(no error, just returning false) and erasing from a non-empty list
(previously displaying triggering an error and returning false).
Error message previously triggered:
ERROR: erase: Condition ' !p_I ' is true. returned: false
At: ./core/list.h:157.
|
|
Will allow specific platforms to override it and avoid blocking on the
main/GUI thread.
|
|
Add a separate application focus/in notification
|
|
Expose loading TGA images in Image.
|
|
notification.
|
|
Monitor
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`
The value can be viewed in the `Monitor` tab of Debugger.
Text before `/` is used to categorize the custom monitor.
`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`
User can click on the graph of monitors to read the value at that point.
Graph includes intermediate base lines.
|
|
Fix calculation for negative times to ensure Sundays are wrapped around to '0'
instead of '7', making it consistent with the output for positive times.
|
|
Move GI to a deferred pass
|
|
|
|
Fix upscaling image with bilinear interpolation option specified
|