summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-04-16Fix macOS build with all sanitizers enabled.bruvzg
2021-04-15Merge pull request #40924 from qarmin/more_undefined_flagsRémi Verschelde
2021-04-15Fix issue causing export to fail with "Could not unzip temporary unaligned ↵Fredia Huya-Kouadio
APK" error and improve command output logging.
2021-04-15Add more sanitizer flags to shows more bugsRafał Mikrut
2021-04-14Allow to build dev template with symbolsthebestnom
2021-04-13[iOS] Fix for plugin modified time checkSergey Minakov
2021-04-13Merge pull request #47844 from m4gr3d/update_activity_result_callbackRémi Verschelde
Add support for forwarding callbacks from Godot's parent activity
2021-04-12Add support for forwarding callbacks from Godot's parent activity.Fredia Huya-Kouadio
2021-04-12Fix custom boot splash image scaling.Fredia Huya-Kouadio
2021-04-09Fix issue causing the response callback to be invoked with the invalid ↵Fredia Huya-Kouadio
`requestCode` and deprecate support for forwarding callbacks from Godot's parent activity.
2021-04-06[HTML5] Implement WebGL fallback.Fabio Alessandrelli
According to project settings and when WebGL2 is not available. This does nothing in current master, as we have no rendering yet!
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-04-03[HTML5] Disable body_size in fetch.Fabio Alessandrelli
We were using `Content-Length` from the server when `Content-Encoding` was not set (i.e. response was not compressed). Sadly, in CORS requests accessing headers is restricted, and while `Content-Length` is enabled by default, `Content-Encoding` is not. This results in the impossibility of knowing if the content was compressed, unless the server explicitly enabled the encoding header via `Access-Control-Expose-Headers`. To keep maximum compatibility we must disable `body_size` completely.
2021-03-30Fix window resizing after minimization on Windowsfloppyhammer
2021-03-29[HTML5] Fix WM notifications not being called.Fabio Alessandrelli
Regression from the library refactoring, binding and not calling is pretty useless 'o_o.
2021-03-29[HTML5] Fix Mono builds (old emcc?)Fabio Alessandrelli
Promise chaining the emscripten module `then` function breaks it badly, causing an infinite loop. I'm unsure about the source of the issue, but most likely at this point is due to the old emscripten version (I remember very old html5 builds having issue with promise chaining too). With this commit, we no longer use the module as a promise, and instantiate it using `Promise` objects directly for compatibility.
2021-03-29Merge pull request #47435 from madmiraal/rename-texture-get_dataRémi Verschelde
Rename Texture.get_data() to get_image()
2021-03-29[macOS] Enable code signing by default, use ad-hoc signature if no identity ↵bruvzg
specified.
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-23Rename some more global enums (Key, Joy, MIDI)Aaron Franke
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-20Merge pull request #47191 from Faless/js/4.x_force_mimeRémi Verschelde
[HTML5] Fix loading when mime-type is missing.
2021-03-20Merge pull request #46966 from qarmin/faster_releaseRémi Verschelde
Allow to not optimize release build
2021-03-20[HTML5] Fix editor version numbering.Fabio Alessandrelli
Should not write patch version when it's `0`.
2021-03-20[HTML5] Fix loading when mime-type is missing.Fabio Alessandrelli
`WebAssembly.instantiateStreaming` requires the mime-type to be `application/wasm`, but some servers (including most debug servers) do not provide the content-type header. This commit forces it via JavaScript, by creating a `Response` object with the `wasm` content, and explicitly defined `content-type` header.
2021-03-20Merge pull request #46818 from BastiaanOlij/fix_android_vulkanRémi Verschelde
Working on fixes for Android and Vulkan
2021-03-18Add "Replace existing signature" to the macOS export (enabled by default).bruvzg
2021-03-18Fixes on android:Bastiaan Olij
- creating Vulkan context instead of OpenGL - checking for validity of ENV in wrapper classes - fix for access to JavaVM from threads
2021-03-17Fix onMainRequestPermissionsResult callback for Android plugins.Fredia Huya-Kouadio
2021-03-17Merge pull request #47080 from mbrlabs/ios-sensor-conversionRémi Verschelde
Converted sensor acceleration units to m/s² on iOS and UWP
2021-03-17Converted sensor acceleration units to m/s^2 on iOS and UWPMarcus Brummer
This is beacuse on Android these values are already in m/s^2 while on iOS and UWP they are in g. This just makes the behaviour consistent on all platforms.
2021-03-16Enable `doNotStrip` when doing development/debugging within Android StudioFredia Huya-Kouadio
2021-03-16Leverage java annotations to simplify the logic used to register the Godot ↵Fredia Huya-Kouadio
plugin methods.
2021-03-14Allow to not optimize release buildRafał Mikrut
2021-03-14Merge pull request #46810 from W4RH4WK/file-access-get-buffer-parameter-checksRémi Verschelde
Add parameter checks to FileAccess get_buffer functions
2021-03-13Merge pull request #46941 from goostengine/asan-msvcRémi Verschelde
Add `use_asan` option for MSVC to enable AddressSanitizer
2021-03-13Merge pull request #46900 from Ev1lbl0w/bugfix-malloc_callsRémi Verschelde
Replace malloc's with Godot's memalloc macro
2021-03-13Merge pull request #46929 from Anshul7sp1/typosAndGrammarRémi Verschelde
Fixes small typos and grammar correction
2021-03-13Replace malloc's with Godot's memalloc macroEv1lbl0w
2021-03-12Add `use_asan` option for MSVC to enable AddressSanitizerAndrii Doroshenko (Xrayez)
Exposes AddressSanitizer support in MSVC compiler. Can be installed via individual components in the Visual Studio 2019 Installer. Disabled by default. Compile the engine with `scons use_asan=yes`.
2021-03-12Non functional to non-functionalMrBrain295
2021-03-12Fixes small typos and grammar correctionAnshul7sp1
2021-03-12[HTML5] Drag and drop zip in project manager.Fabio Alessandrelli
With a very nice hack, a new hidden configuration option that delays dropped files removal at exit. This still leaks while the project manager is running, but will clear memory as soon as it exits or load something. (reminder, dropped files are reguarly removed after the signal is emitted specifically to avoid leaks, but I prefer hacking the HTML5 config then the project manager).
2021-03-11[HTML5] Opt-in virtual keyboard support.Fabio Alessandrelli
Added as an export option "Experimental Virtual Keyboard". There is no zoom, so text/line edit must be in the top part of the screen, or it will get hidden by the virtual keyboard. UTF8/Latin-1 only (I think regular UTF-8 should work out of the box in 4.0 but I can't test it). It uses an hidden textarea or input, based on the multiline variable, and only gets activated if the device has a touchscreen. This could cause problems on devices with both touchscreen and a real keyboard (although input should still work in general with some minor focus issues). I'm thinking of a system to detect the first physical keystroke and disable it in case, but it might do more harm then good, so it must be well thought.
2021-03-10[HTML5] Properly set canvas size during setup.Fabio Alessandrelli
It used to be updated before the first iteration, causing the window/viewport size values to be incorrect during the initialization phase (e.g. during the first `_ready` notification).
2021-03-09Add parameter checkes to FileAccess get_buffer functionsAlex Hirsch
fix #46540
2021-03-08[HTML5] Respect allow_hidpi option during setupFabio Alessandrelli
The option was forced to `true` before, unlike on other platforms.
2021-03-08Merge pull request #46796 from Faless/js/4.x_pwa_simpleRémi Verschelde
[HTML5] Add PWA support to the editor page.
2021-03-08[HTML5] Add PWA support to the editor page.Fabio Alessandrelli
This allows to install it as an app, and provide offline support (after the first run). Practically, this boils down to adding a JSON file as a manifest, an offline page to be displayed when the cached files are not avaialble, and a JS file to cache resources and return them. The reason for the "first run requirements" is that some browsers, will emit an "install" by just visiting the page (to see if the JS code is compatibile), and we do not want to force casual visitors to just download the 10 MiB+ compressed editor WebAssembly file without pressing the start button. Special thanks to Hugo Locurcio (Calinou) for the initial work.