Age | Commit message (Collapse) | Author |
|
Improve `OS::get_locale()` and documentation.
|
|
|
|
Check emcc version requirements when building GDNative.
Add more build options (sanitizers, initial memory).
|
|
|
|
Cleanup unused engine code
|
|
|
|
|
|
Remove unused FileAccessBuffered
|
|
|
|
|
|
Initialize class/struct variables with default values in platform/ and editor/
|
|
Fix implementation of move_to_trash() on Linux
|
|
Fixes #42840 OS move_to_trash() on Linux is not compliant with the Freedesktop specification
|
|
[HTML5] Optional GDNative Support
|
|
|
|
|
|
This is suboptimal as it requires adding an extra compile flag, but
rewriting how feature tags work is beyond the scope of this work.
|
|
Available types:
- Regular
- GDNative (support dynamic linking and thus GDNative WASM files)
- Threads (uses WebAssembly Threads)
|
|
This "breaks" our loading bar logic (libraries are not counted).
Fixing it is non trivial and probably deserves investigating a different
strategy.
|
|
Working with emscripten >= 2.0.10
|
|
|
|
|
|
|
|
|
|
Reorganize rendering server.
|
|
Add 'use_static_cpp' option for MinGW builds
|
|
-Made RenderingServerScene abstract, allowing reimplementation
-RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
|
|
|
|
Fixes #43519.
|
|
Fixes #42232.
And fixes memory leak with use of DirAccess, and harmonize the use of
the sanitized pkg name.
|
|
|
|
Fixes #44030.
|
|
This was caused by the devicePixelRatio being applied twice, once by the
HTML code, once by the OS code.
More specifically, OS.get_window_size() would return the canvas element
size, while OS.set_window_size() would set the element size to the
specified value times the devicePixelRatio.
Calling OS.set_window_size(OS.get_window_size()) would reapply the
devicePixelRatio every time.
This commit changes the behaviour so that OS.set_window_size() do not
apply the devicePixelRatio to the canvas element size, by it divides the
CSS size instead.
|
|
Flags where deprecated and partly in removed in emscripten 2.0.9.
|
|
[Complex Text Layouts] Implement TextServer interface.
|
|
Allows pasting from x11 clipboard to receive data incrementally, which
is required when handling data size > 256KB.
|
|
use Text Server interface.
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
|
|
HarfBuzz, Graphite).
|
|
Implement SAVE_TARGETS mechanism for Linux clipboard
|
|
It's now only needed for MSVC.
|
|
[iOS] Native video fixes
|
|
Update gradle build files to automatically perform signing and zipalign tasks for custom builds
|
|
Should I write a poem about this whole new world? ;)
|
|
Applies to javascript files inside the platform library folder, the
exposed Engine code, and any javascript files in modules.
Files ending with ".externs.js" will be ignored, you can create a
".eslintignore" file to specify extra files to be ignored.
|
|
tasks for custom builds.
|
|
Initial work to make liniting easier.
This includes:
- Rename http_request.js to library_godot_http_request.js.
- Rename externs.js to engine.externs.js.
- New library_godot_runtime.js (GodotRuntime) wraps around emscripten
functions.
- Refactor of XMLHttpRequest handler in engine/preloader.js.
- Few fixes to bugs spotted by early stage linting.
|
|
|
|
SCons: Remove unnecessary $LINK overrides
|
|
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself
is a function that will use $CXX as linker for C++:
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76
So we don't need to manually specify the same value as $CXX for $LINK.
|
|
For some reason the `-target` option on the `LINKFLAGS` was causing a weird
issue where osxcross' clang wrapper would attempt using the system `/bin/ld`
instead of the osxcross version (which is Apple's `ld64`).
The error message would be:
```
/bin/ld: unrecognized option '-dynamic'
```
Also removed from `CCFLAGS` for consistency, it seems to work fine with only
`-mmacosx-version-min`.
|