summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-11-19HTML5: Explicitly link idbfs.js for IDBFS supportRémi Verschelde
Upstream Emscripten changed this in 1.39.1+, so IDBFS is no longer included by default and has to be linked manually. The explicit linking doesn't seem to be problematic on earlier versions (tested `1.38.47-upstream`). Fixes #33724.
2019-11-15HTML5: Fix support for Emscripten 1.39.1+Rémi Verschelde
A change in upstream Emscripten 1.39.1+ made our buildsystem error out where it was previously only issuing a warning: ``` [ 5%] Linking Static Library ==> main/libmain.javascript.opt.bc shared:WARNING: Assuming object file output in the absence of `-c`, based on output filename. Please add with `-c` or `-r` to avoid this warning Ranlib Library ==> main/libmain.javascript.opt.bc /opt/emsdk/upstream/bin/llvm-ranlib: error: unable to load 'main/libmain.javascript.opt.bc': file too small to be an archive ``` As advised on emscripten-core/emscripten#9806, we should be using `emar` here to create the static library and not `emcc`. This was apparently done to workaround Emscripten issues in the past, but evidently this is no longer necessary. The rest of the `env` redefinitions should probably be re-assessed against the current state of Emscripten. Fixes #33374.
2019-11-13Merge pull request #33536 from akien-mga/revert-25474-android-gesturesRémi Verschelde
Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"
2019-11-12X11: Fix memory leak in handle_key_eventRémi Verschelde
Extracted from #27189.
2019-11-11Merge pull request #33482 from piratesephiroth/masterRémi Verschelde
Set ShellExecuteW's verb to NULL - fixes #33388
2019-11-11Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"Rémi Verschelde
This reverts commit 9cc66495cfb6393102ce5ad4e82f2ccb716b9b33. This caused regressions with the handling of screen drag events. Fixes #33428. Fixes #33459. Fixes #33470.
2019-11-09[UWP] [Export] added additional checks for blank valuespiratesephiroth
`Short Name` and `Publisher Display Name` are mandatory. You can't even sign the app package without them in the manifest.
2019-11-09Set ShellExecuteW's verb to NULL - fixes #33388piratesephiroth
from https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutew >the default verb is used, if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry. so "open" is redundant at best
2019-11-07Fix graphic tablet input coordinates on Windows.bruvzg
2019-11-05Fix crash on exit or resume on iOS 13Max
Fixes #7966.
2019-11-02Android : implement InputEventMagnifyGesture and InputEventPanGestureJérémy Zurcher
sets threshold constants PAN_GESTURE_MIN_DELTA and MAGNIFY_GESTURE_MIN_FACTOR
2019-10-30[macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg
InputEventMouseMotion event.
2019-10-29Update natvis file to display Node class correctly in Visual Studio debuggerPouleyKetchoupp
2019-10-27Fix invalid window border when toggled from fullscreen to windowed modeYuri Roubinsky
2019-10-26Allow use of relative and speed properties for InputEventScreenDrag on WIndowsJoe Sweeney
2019-10-25Specify MINGW_HAS_SECURE_API=1Yeongho Kim
2019-10-25Merge pull request #32326 from starryalley/ios_get_model_nameRémi Verschelde
ios: support get_model_name
2019-10-24Merge pull request #33035 from bruvzg/macos_fix_warningsRémi Verschelde
Fix compilation warnings in macOS build, enable `warnings=extra werror=yes`
2019-10-24Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` ↵bruvzg
for macOS CI.
2019-10-24Remove ECMAScript 6 "arrow operator".Fabio Alessandrelli
We don't need it, it's not well supported by compilers, and it was a mistake in the first place.
2019-10-23Implement HTTP server for HTML5 exportFabio Alessandrelli
Since most browsers no longer allow making async requests from a page loaded from `file://`, we now need a proper HTTP server to load the exported HTML5 game. This should also allow us to get the debugger to work over a WebSocket connection.
2019-10-23Improve EditorExportPlatform interface.Fabio Alessandrelli
Convert all get_device* methods to get_option* and normalize their usage as icon, label, tooltip.
2019-10-22Add request permission automatically at androidCagdas
2019-10-22Merge pull request #32977 from bruvzg/mingw_clangRémi Verschelde
Add "llvm/thinlto" options to the MinGW build.
2019-10-22Merge pull request #32858 from m4gr3d/expand_singleton_base_apiRémi Verschelde
Add `View SingletonBase#onMainCreateView(Activity activity)` api
2019-10-22Add "llvm/thinlto" options to MinGW build.bruvzg
2019-10-18Add `View onMainCreateView(Activity activity)` api to the ↵Fredia Huya-Kouadio
`Godot.SingletonBase` class. The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
2019-10-18[macOS] Fix non-ASCII volume name listing, replace deprecated volume listing ↵bruvzg
API. Remove hidden mount points from the volume list.
2019-10-13Merge pull request #32809 from bruvzg/macos_1015_non_hidpi_fixRémi Verschelde
Fix non-HiDPI mode on HiDPI displays on macOS Catalina.
2019-10-13Fix non-HiDPI mode on HiDPI displays on macOS Catalina.bruvzg
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-10-12Fix X11 modifier keys.bruvzg
2019-10-11Cleanup fix for the meta-data parsing crashing bug.fhuya
2019-10-11Android: Work around crash in _fix_manifestRémi Verschelde
Works around #32553, not fixing the underlying cause but preventing the crash.
2019-10-10Remove dependency on the editor directory being in the build's include path.Marcel Admiraal
- Add or remove the necessary subdirectorires to the includes to remove dependency on the editor directory being in the build's include path. - Ensure includes in modified files conform to style guideline. - Remove editor from the build include path.
2019-10-08Merge pull request #32556 from bruvzg/win_codesignRémi Verschelde
Code signing support for Windows exports
2019-10-04Adds Pen support for AndroidAlexander Holland
2019-10-04Add code signing support for Windows exports (using "signtool" on Windows ↵bruvzg
and "osslsigncode" on the other platforms)
2019-10-03Merge pull request #32518 from nekomatata/fix-revert-cursorRémi Verschelde
Properly revert cursor when using set_custom_mouse_cursor with null
2019-10-03Properly revert cursor when using set_custom_mouse_cursor with nullPouleyKetchoupp
Fixes #32486
2019-10-03Merge pull request #32514 from akien-mga/android-one-click-dont-uninstallRémi Verschelde
Android one-click deploy: Don't clear by default
2019-10-03Android: Fix manifest parsing and APK names in export codeRémi Verschelde
A better fix would be to make Godot's export code properly parse the tag over multiple lines (and maybe even use XMLParser instead of doing it ad-hoc?). As for the APK names, we could alternatively pick the first .apk found in the `debug` and `release` folders without expecting a specific name. Fixes #32414.
2019-10-03Android one-click deploy: Don't clear by defaultRémi Verschelde
This makes iteration faster as you don't need to monitor your phone to allow the installation each time. Fixes #32183.
2019-10-02macOS code signing improvements (timestamp and hardened runtime options, ↵bruvzg
entitlements property hint, remove excessive codesign calls, suppress "file not found" error on first export)
2019-10-01Fixed running the export templates with newer emscripten versions.Relintai
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-25ios: support get_model_nameMark Kuo
2019-09-24Merge pull request #32269 from m4gr3d/improve_build_timeRémi Verschelde
Update the Godot gradle build tasks to provide additional flexibility
2019-09-24Updates the Godot gradle tasks to enable manual runs of the `scons` command.fhuya
Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands: ``` cd godot scons -j4 platform=android target=release android_arch=armv7 scons -j4 platform=android target=release android_arch=arm64v8 scons -j4 platform=android target=release android_arch=x86 cd platform/android/java ./gradlew generateGodotTemplates ``` Notes: - The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`). - The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files. To delete the generated artifacts, the following commands can be used: ``` cd platform/android/java ./gradlew cleanGodotTemplates ```