summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-04-29Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-28[Android] fix generateDevTemplatethebestnom
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48228 from akien-mga/android-build-tools-30.0.3Rémi Verschelde
Android: Upgrade buildTools from 30.0.1 to 30.0.3
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27Merge pull request #48159 from Faless/js/4.x_pwa_exportRémi Verschelde
[HTML5] Export as Progressive Web App
2021-04-27[HTML5] Export as Progressive Web App.Fabio Alessandrelli
Adds possibility to export as a progressive web app. Allows customizing base icons, display mode, orientation and offline page.
2021-04-27Merge pull request #48210 from akien-mga/linux-static_cpp-32-bitRémi Verschelde
Linux: Remove use_static_cpp override on x86_32
2021-04-27[HTML5] HTTP server uses optional SSL.Fabio Alessandrelli
Generates a key/cert snakeoil pair or use a custom SSL cert/key. This is of course false security, and potentially detrimental for it. But, so long, those are the requirements browser vendors agreed on to use things like the Gamepad API, and more advanced topics like wasm threads. You don't need this if you run on localhost (at least!), but you do need this (or a much safer nginx proxy) to try those things on your local network (e.g. when debugging a phone, networking, etc).
2021-04-27[HTML5] Optional icon generation, use export name for it.Fabio Alessandrelli
We used to only generate the favicon if it was specified in the user project settings, now it's optional, will export it to `NAME.icon.png`, (falling back to the default project icon if none is set in project settings), and the `<link>` tag is added using the `$HEAD_INCLUDE` instead of being hardcoded in the template.
2021-04-27[HTML5] Debug HttpServer now runs in `web` cache subdir.Fabio Alessandrelli
Serving all files in that folder and using a known list of mime types. Makes it easy to add more exported files, while still playing safe.
2021-04-26Remove deprecated xr features properties. These properties are now provided ↵Fredia Huya-Kouadio
directly by the plugin.
2021-04-26Android: Upgrade buildTools from 30.0.1 to 30.0.3Rémi Verschelde
It seems 30.0.1 had issues with compatibility with JDK 8 and 11, which appear to be solved in 30.0.3 as per godotengine/godot-docs#4796.
2021-04-26Linux: Remove use_static_cpp override on x86_32Rémi Verschelde
After further testing it seems to work fine now when building binaries with GCC 5 on Ubuntu 16.04 (previously we were using GCC 9 on Ubuntu 14.04). Follow-up to #45629.
2021-04-23Android: Fix get_buffer false positive on empty dest bufferRémi Verschelde
Follow-up to #46810, this was missed in #47079 when fixing the issue for other platforms. Fixes #48135.
2021-04-20Merge pull request #48053 from bruvzg/icu_no_exceptRémi Verschelde
Re-add "no-exceptions" for export templates builds with ICU.
2021-04-20Merge pull request #47552 from szymonm-google/validation_layers_androidRémi Verschelde
Validation layers on Android
2021-04-20[JS, Android] Re-add "no-exceptions" for export templates builds with ICU.bruvzg
2021-04-20Merge pull request #47879 from ↵Rémi Verschelde
SilverCreekEntertainment/add-uwp-export-project-notifier Fix EditorExportPlugin _export_begin and _export_end functions not being called when exporting UWP
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-14Fix EditorExportPlugin _export_begin and _export_end functions not being ↵Gromph
called when exporting UWP in uwp's version of export.cpp create a ExportNotifier object so that EditorExportPlugin _export_begin and _export_end functions will be called as documentated.
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-12Validation layers on AndroidSzymon Majewski
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