summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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-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-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.
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-26[Complex Text Layouts] Add third-party TextServer dependencies (ICU, ↵bruvzg
HarfBuzz, Graphite).
2020-11-26Merge pull request #42652 from nekomatata/x11-clipboard-save-targetsRémi Verschelde
Implement SAVE_TARGETS mechanism for Linux clipboard
2020-11-25SCons: Do not define TYPED_METHOD_BIND on Linux/clangRémi Verschelde
It's now only needed for MSVC.
2020-11-24Merge pull request #42648 from naithar/fix/native_video_viewRémi Verschelde
[iOS] Native video fixes
2020-11-24Merge pull request #43803 from m4gr3d/update_signing_and_zipalign_logic_masterRémi Verschelde
Update gradle build files to automatically perform signing and zipalign tasks for custom builds
2020-11-23[HTML5] Run eslint --fix.Fabio Alessandrelli
Should I write a poem about this whole new world? ;)
2020-11-23[HTML5] Enforce JavaScript style with eslint.Fabio Alessandrelli
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.
2020-11-22Update gradle build files to automatically perform signing and zipalign ↵Fredia Huya-Kouadio
tasks for custom builds.
2020-11-21[HTML5] Libraries refactor for linting.Fabio Alessandrelli
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.
2020-11-20Export: Reorder options for consistency across platformsRémi Verschelde
2020-11-19Merge pull request #43692 from akien-mga/scons-leave-link-aloneRémi Verschelde
SCons: Remove unnecessary $LINK overrides
2020-11-19SCons: Remove unnecessary $LINK overridesRémi Verschelde
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.
2020-11-19OSX: Fix linking with osxcross for arm64Rémi Verschelde
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`.
2020-11-18Fix zipalign command name on Windows machines.Fredia Huya-Kouadio
2020-11-17Add missing javascript semi-colons.Marcel Admiraal
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #43595 from mbrlabs/windows-execute-fixRémi Verschelde
Fixed exit code retrieval of spawned processes on Windows
2020-11-16Merge pull request #43248 from HEAVYPOLY/masterRémi Verschelde
Change android orientations from sensor to user
2020-11-16Fixed exit code retrieval of spawned processes on WindowsMarcus Brummer
Use GetExitCodeProcess() on Windows to retrieve the exit code of a process in OS:excute()
2020-11-16Merge pull request #43556 from naithar/feature/pluggable_app_delegatesRémi Verschelde
[4.0] [iOS] Pluggable application delegate
2020-11-16Merge pull request #43461 from ccl2of4/fix-linux-joypad-dpad-zeroingRémi Verschelde
Fix for linux joypad D-pad zeroing
2020-11-16Merge pull request #43545 from bruvzg/xchangeprop_atoms_checkRémi Verschelde
Add XChangeProperty atoms validity checks.
2020-11-15Add XChangeProperty Atoms validity checks.bruvzg
2020-11-15iOS: fix keyboard displaySergey Minakov
2020-11-15iOS: Implement pluggable application delegate.Sergey Minakov
2020-11-14Update the logic to query for the 'scons' command executable path.Fredia Huya-Kouadio
2020-11-14Merge pull request #43526 from m4gr3d/address_new_custom_build_logic_issuesRémi Verschelde
Address new custom build logic issues