summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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-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 ```
2019-09-24Fix copyright headers and style issuesRémi Verschelde
2019-09-24Merge pull request #32194 from AlexRixhardson/fix-7945Rémi Verschelde
Fixes crash described in issue 7945 (Duplicated [self drawView] in iphone gl_view)
2019-09-23Merge pull request #32250 from lawnjelly/android-keyboard2Rémi Verschelde
Fix Android keyboard crash with left cursor
2019-09-23Fix Android keyboard crash with left cursorlawnjelly
Fixes #32168. Previously we were returning all key up and key down messages as unhandled to the OS. This was resulting in crashes on certain keypresses (left cursor), for undetermined reason. This PR defaults all key up and keydown messages to be returned as handled by Godot, except those explicitly coded as exceptions (currently volume keys only).
2019-09-23Merge pull request #32055 from qarmin/some_code_fixesRémi Verschelde
Changed some code found by Clang Tidy and Coverity
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-09-22Fix starting intent problemCagdas
2019-09-20Merge pull request #32064 from m4gr3d/propagate_gl_surface_eventsRémi Verschelde
Notify for app pause and resume events on Android
2019-09-20Merge pull request #32087 from karroffel/x11-pidRémi Verschelde
[X11] set PID as window attribute
2019-09-20Merge pull request #32210 from Calinou/editor-log-distinguish-messagesRémi Verschelde
Distinguish editor-originating messages in the editor log
2019-09-20Merge pull request #32150 from luzpaz/typosRémi Verschelde
Fix misc. source comment typos
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-09-19Add new events and accompanying logic to notify when the app is paused and ↵fhuya
resumed on Android devices.
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-18Fix crash on iOS devices during rotateAlexRixhardson
2019-09-11[X11] set PID as window attributethomas.herzog
This allows other programs to find out the PID of a Godot instance just by the X11 window ID.
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-08-29Android: Improve dialogs about custom build templateRémi Verschelde
The language didn't make it clear that it's installing a *source* template to the project folder, for later use when compiling custom APKs. Fixes #28736.
2019-08-29SCons: Generate android_source.zip during buildRémi Verschelde
This is now needed after #27781, as this android_source.zip template is used for custom Android builds from the editor.
2019-08-28Fix modifier keys causing key-code mismatch on Linux/X11.bruvzg
2019-08-27Merge pull request #31709 from akien-mga/android-fix-thirdpartyRémi Verschelde
Android: Fix another regression with Secure.ANDROID_ID, and fix formatting and documentation of thirdparty code