summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [HTML5] Fix errors when Mic is not allowed.Fabio Alessandrelli2020-12-093-12/+20
|
* [HTML5] Improve platform buildsystem.Fabio Alessandrelli2020-12-091-7/+48
| | | | | Check emcc version requirements when building GDNative. Add more build options (sanitizers, initial memory).
* [HTML5] Add logo and favicon to editor html.Fabio Alessandrelli2020-12-091-0/+6
|
* Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde2020-12-092-10/+0
|\ | | | | Cleanup unused engine code
| * Cleanup unused engine codeTomasz Chabora2020-12-092-10/+0
| |
* | Remove unused FileAccessJAndroid.Fabio Alessandrelli2020-12-096-294/+3
| |
* | Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde2020-12-093-7/+1
|\ \ | | | | | | Remove unused FileAccessBuffered
| * | Remove now unused FileAccessBuffered.Fabio Alessandrelli2020-12-063-6/+1
| | |
| * | [HTML5] Use regular unix FileAccess implementation.Fabio Alessandrelli2020-12-061-1/+0
| | |
* | | Android: fix mouse capture relative wrongthebestnom2020-12-081-1/+0
| | |
* | | Android: Allow Mouse Capture thebestnom2020-12-0812-13/+209
| |/ |/|
* | Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde2020-12-0827-144/+107
|\ \ | | | | | | Initialize class/struct variables with default values in platform/ and editor/
| * | Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-0227-144/+107
| | |
* | | Merge pull request #44021 from dakennedyd/personalRémi Verschelde2020-12-071-32/+114
|\ \ \ | | | | | | | | Fix implementation of move_to_trash() on Linux
| * | | Fixes move_to_trash() on LinuxDavid Kennedy2020-12-071-32/+114
| |/ / | | | | | | | | | Fixes #42840 OS move_to_trash() on Linux is not compliant with the Freedesktop specification
* | | Merge pull request #44076 from Faless/js/4.x_gdnativeRémi Verschelde2020-12-0718-55/+277
|\ \ \ | |_|/ |/| | [HTML5] Optional GDNative Support
| * | [HTML5] Make GDNative support feature-based.Fabio Alessandrelli2020-12-053-2/+21
| | | | | | | | | | | | | | | This is suboptimal as it requires adding an extra compile flag, but rewriting how feature tags work is beyond the scope of this work.
| * | [HTML5] Allow selecting the export type.Fabio Alessandrelli2020-12-051-8/+32
| | | | | | | | | | | | | | | | | | | | | Available types: - Regular - GDNative (support dynamic linking and thus GDNative WASM files) - Threads (uses WebAssembly Threads)
| * | [HTML5] EditorRunNative works with GDNative.Fabio Alessandrelli2020-12-055-16/+62
| | | | | | | | | | | | | | | | | | This "breaks" our loading bar logic (libraries are not counted). Fixing it is non trivial and probably deserves investigating a different strategy.
| * | [HTML5] GDNative support via SIDE_MODULE.Fabio Alessandrelli2020-12-057-28/+104
| | | | | | | | | | | | Working with emscripten >= 2.0.10
| * | [HTML5] Add function signatures to JS libraries.Fabio Alessandrelli2020-12-048-2/+59
| | |
* | | RenderingServer reorganizationreduz2020-12-0414-18/+18
| | |
* | | OSX: Fix tmp .app folder name after #44060Rémi Verschelde2020-12-041-1/+1
| | |
* | | Added driving joystick type to windows joystick handlingBastiaan Olij2020-12-041-1/+1
| | |
* | | Merge pull request #44074 from reduz/reorganize-3dRémi Verschelde2020-12-045-7/+7
|\ \ \ | | | | | | | | Reorganize rendering server.
| * | | Reorganize rendering server.reduz2020-12-035-7/+7
| |/ / | | | | | | | | | | | | -Made RenderingServerScene abstract, allowing reimplementation -RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
* | | Merge pull request #44018 from lyubomirv/mingw_use_static_cpp_optionRémi Verschelde2020-12-031-5/+12
|\ \ \ | |/ / |/| | Add 'use_static_cpp' option for MinGW builds
| * | Add 'use_static_cpp' option for MinGW and MSVC buildsLyubomir Vasilev2020-12-031-5/+12
| | |
* | | fix android wrong multi-touch pointeridalan-w-2552020-12-031-4/+2
| | | | | | | | | | | | Fixes #43519.
* | | OSX: Remove tmp .app folder instead of moving to trashRémi Verschelde2020-12-031-16/+19
| | | | | | | | | | | | | | | | | | | | | Fixes #42232. And fixes memory leak with use of DirAccess, and harmonize the use of the sanitized pkg name.
* | | X11: Include limits.h for LONG_MAXRémi Verschelde2020-12-021-0/+1
| |/ |/| | | | | Fixes #44030.
* | [HTML5] Fix broken layout on load in HiDPI screensFabio Alessandrelli2020-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [HTML5] Remove file flags from writeFile in setup.Fabio Alessandrelli2020-11-301-1/+1
| | | | | | | | Flags where deprecated and partly in removed in emscripten 2.0.9.
* | Merge pull request #41100 from bruvzg/ctl_text_server_interfaceRémi Verschelde2020-11-287-15/+138
|\ \ | | | | | | [Complex Text Layouts] Implement TextServer interface.
| * | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-263-11/+88
| | | | | | | | | | | | | | | | | | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
| * | [Complex Text Layouts] Add third-party TextServer dependencies (ICU, ↵bruvzg2020-11-264-4/+50
| |/ | | | | | | HarfBuzz, Graphite).
* / Implement INCR mechanism for Linux clipboardPouleyKetchoupp2020-11-272-25/+105
|/ | | | | Allows pasting from x11 clipboard to receive data incrementally, which is required when handling data size > 256KB.
* Merge pull request #42652 from nekomatata/x11-clipboard-save-targetsRémi Verschelde2020-11-262-50/+177
|\ | | | | Implement SAVE_TARGETS mechanism for Linux clipboard
| * Implement SAVE_TARGETS mechanism for Linux clipboardPouleyKetchoupp2020-10-092-50/+177
| | | | | | | | | | | | | | | | | | | | | | | | Allows sending the clipboard content to the clipboard manager on exit to keep the content when using a clipboard manager that doesn't automatically makes a backup when copying. MULTIPLE selection mechanism also had to be implemented, because in this case, the clipboard manager might request multiple selection targets at once. Known use case: Ubuntu with XFCE4
* | SCons: Do not define TYPED_METHOD_BIND on Linux/clangRémi Verschelde2020-11-252-2/+0
| | | | | | | | It's now only needed for MSVC.
* | Merge pull request #42648 from naithar/fix/native_video_viewRémi Verschelde2020-11-242-1/+10
|\ \ | | | | | | [iOS] Native video fixes
| * | iOS: fix native videoSergey Minakov2020-10-082-1/+10
| | | | | | | | | | | | | | | Fixed view not being displayed. Fixed view orientation change.
* | | Merge pull request #43803 from m4gr3d/update_signing_and_zipalign_logic_masterRémi Verschelde2020-11-244-100/+94
|\ \ \ | | | | | | | | Update gradle build files to automatically perform signing and zipalign tasks for custom builds
| * | | Update gradle build files to automatically perform signing and zipalign ↵Fredia Huya-Kouadio2020-11-224-100/+94
| | | | | | | | | | | | | | | | tasks for custom builds.
* | | | [HTML5] Run eslint --fix.Fabio Alessandrelli2020-11-2311-384/+392
| | | | | | | | | | | | | | | | Should I write a poem about this whole new world? ;)
* | | | [HTML5] Enforce JavaScript style with eslint.Fabio Alessandrelli2020-11-235-0/+1704
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | [HTML5] Libraries refactor for linting.Fabio Alessandrelli2020-11-2114-312/+413
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Export: Reorder options for consistency across platformsRémi Verschelde2020-11-204-38/+45
| | |
* | | Merge pull request #43692 from akien-mga/scons-leave-link-aloneRémi Verschelde2020-11-195-14/+3
|\ \ \ | | | | | | | | SCons: Remove unnecessary $LINK overrides
| * | | SCons: Remove unnecessary $LINK overridesRémi Verschelde2020-11-195-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.