summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2020-12-18Merge pull request #44457 from akien-mga/scons-thirdparty-lib-dependsRémi Verschelde
SCons: Add explicit dependencies on thirdparty code in cloned env
2020-12-18Add missing override keywords in os_windows.hMarcel Admiraal
2020-12-18SCons: Add explicit dependencies on thirdparty code in cloned envRémi Verschelde
Since we clone the environments to build thirdparty code, we don't get an explicit dependency on the build objects produced by that environment. So when we update thirdparty code, Godot code using it is not necessarily rebuilt (I think it is for changed headers, but not for changed .c/.cpp files), which can lead to an invalid compilation output (linking old Godot .o files with a newer, potentially ABI breaking version of thirdparty code). This was only seen as really problematic with bullet updates (leading to crashes when rebuilding Godot after a bullet update without cleaning .o files), but it's safer to fix it everywhere, even if it's a LOT of hacky boilerplate.
2020-12-17Merge pull request #44467 from madmiraal/add-override-keywordsRémi Verschelde
Add missing override keywords to core/os.h derived classes
2020-12-17Add override keywords to core/os.h derived classes.Marcel Admiraal
2020-12-17Remove OS::can_draw() remnantsMarcel Admiraal
2020-12-17Merge pull request #44433 from akien-mga/scons-fix-platform-optsRémi Verschelde
SCons: Add only selected platform's opts to env
2020-12-16Merge pull request #44410 from KoBeWi/project--tools--thisPRRémi Verschelde
Make tool menu plugins use Callables for callback
2020-12-16Make tool menu plugins use Callables for callbackkobewi
2020-12-16SCons: Add only selected platform's opts to envRémi Verschelde
Otherwise we can get situations where platform-specific opts with the same name can override each other depending on the order at which platforms are parsed, as was the case with `use_static_cpp` in Linux/Windows. Fixes #44304. This also has the added benefit that the `scons --help` output will now only include the options which are relevant for the selected (or detected) platform.
2020-12-16Fix named anonymous struct warningMarcel Admiraal
2020-12-12Merge pull request #44315 from madmiraal/fix-handles-baseexceptionRémi Verschelde
Don't handle BaseException in build scripts
2020-12-12Don't handle BaseException in build scriptsMarcel Admiraal
2020-12-10HTML5: Code style cleanup for export codeRémi Verschelde
2020-12-10Merge pull request #40708 from bruvzg/improve_os_localeRémi Verschelde
Improve `OS::get_locale()` and documentation.
2020-12-09[HTML5] Fix errors when Mic is not allowed.Fabio Alessandrelli
2020-12-09[HTML5] Improve platform buildsystem.Fabio Alessandrelli
Check emcc version requirements when building GDNative. Add more build options (sanitizers, initial memory).
2020-12-09[HTML5] Add logo and favicon to editor html.Fabio Alessandrelli
2020-12-09Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde
Cleanup unused engine code
2020-12-09Cleanup unused engine codeTomasz Chabora
2020-12-09Remove unused FileAccessJAndroid.Fabio Alessandrelli
2020-12-09Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde
Remove unused FileAccessBuffered
2020-12-08Android: fix mouse capture relative wrongthebestnom
2020-12-08Android: Allow Mouse Capture thebestnom
2020-12-08Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde
Initialize class/struct variables with default values in platform/ and editor/
2020-12-07Merge pull request #44021 from dakennedyd/personalRémi Verschelde
Fix implementation of move_to_trash() on Linux
2020-12-07Fixes move_to_trash() on LinuxDavid Kennedy
Fixes #42840 OS move_to_trash() on Linux is not compliant with the Freedesktop specification
2020-12-07Merge pull request #44076 from Faless/js/4.x_gdnativeRémi Verschelde
[HTML5] Optional GDNative Support
2020-12-06Remove now unused FileAccessBuffered.Fabio Alessandrelli
2020-12-06[HTML5] Use regular unix FileAccess implementation.Fabio Alessandrelli
2020-12-05[HTML5] Make GDNative support feature-based.Fabio Alessandrelli
This is suboptimal as it requires adding an extra compile flag, but rewriting how feature tags work is beyond the scope of this work.
2020-12-05[HTML5] Allow selecting the export type.Fabio Alessandrelli
Available types: - Regular - GDNative (support dynamic linking and thus GDNative WASM files) - Threads (uses WebAssembly Threads)
2020-12-05[HTML5] EditorRunNative works with GDNative.Fabio Alessandrelli
This "breaks" our loading bar logic (libraries are not counted). Fixing it is non trivial and probably deserves investigating a different strategy.
2020-12-05[HTML5] GDNative support via SIDE_MODULE.Fabio Alessandrelli
Working with emscripten >= 2.0.10
2020-12-04[HTML5] Add function signatures to JS libraries.Fabio Alessandrelli
2020-12-04RenderingServer reorganizationreduz
2020-12-04OSX: Fix tmp .app folder name after #44060Rémi Verschelde
2020-12-04Added driving joystick type to windows joystick handlingBastiaan Olij
2020-12-04Merge pull request #44074 from reduz/reorganize-3dRémi Verschelde
Reorganize rendering server.
2020-12-03Merge pull request #44018 from lyubomirv/mingw_use_static_cpp_optionRémi Verschelde
Add 'use_static_cpp' option for MinGW builds
2020-12-03Reorganize rendering server.reduz
-Made RenderingServerScene abstract, allowing reimplementation -RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
2020-12-03Add 'use_static_cpp' option for MinGW and MSVC buildsLyubomir Vasilev
2020-12-03fix android wrong multi-touch pointeridalan-w-255
Fixes #43519.
2020-12-03OSX: Remove tmp .app folder instead of moving to trashRémi Verschelde
Fixes #42232. And fixes memory leak with use of DirAccess, and harmonize the use of the sanitized pkg name.
2020-12-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-12-02X11: Include limits.h for LONG_MAXRémi Verschelde
Fixes #44030.
2020-11-30[HTML5] Fix broken layout on load in HiDPI screensFabio Alessandrelli
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.
2020-11-30[HTML5] Remove file flags from writeFile in setup.Fabio Alessandrelli
Flags where deprecated and partly in removed in emscripten 2.0.9.
2020-11-28Merge pull request #41100 from bruvzg/ctl_text_server_interfaceRémi Verschelde
[Complex Text Layouts] Implement TextServer interface.
2020-11-27Implement INCR mechanism for Linux clipboardPouleyKetchoupp
Allows pasting from x11 clipboard to receive data incrementally, which is required when handling data size > 256KB.