summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2020-01-26Check if can export before exporting; show error message if can't export.Mark Wynn Garcia
2020-01-23Merge pull request #35438 from MadEqua/virtual-keyboard-line-editRémi Verschelde
Android virtual keyboard respecting LineEdit max length.
2020-01-23Merge pull request #35454 from Calinou/os-execute-default-blockingRémi Verschelde
Make `OS.execute()` blocking by default if not specified
2020-01-23Merge pull request #35444 from RandomShaper/fix_link_bsdRémi Verschelde
Fix error with linkers other than GNU ld
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-23Make `OS.execute()` blocking by default if not specifiedHugo Locurcio
This makes `OS.execute()` calls quicker to set up when calling programs in a blocking fashion.
2020-01-22Fix error with linkers other than GNU ldPedro J. Estébanez
2020-01-22Remove buggy check if key was already released for accumulated inputEric Rybicki
Fixes #27104
2020-01-20Revert "Fix audio capture naming in Javascript"Rémi Verschelde
This reverts commit 69f7263cd8990b39e4c1cc678b2d0f57686b07b7. Follow-up to #35359.
2020-01-20Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde
Reverts the following commits: - c81ec6f26d40b70283958a4ef3e216fb32cbaf14: "Exposes capture methods to AudioServer, variable renames for consistency, added documentation." - 47c558b98abf842910c780294314326662410cdf: "Expose audio callbacks as signals." - dabaa11b3c451e9b8f2cca7e563bd9ec51edb169: "Fix to make sure the capture buffers are deallocated at shutdown. Silences warnings." Some documentation improvements were kept for pre-existing methods. See rationale for reverting these changes in #30468.
2020-01-19doc: Sync classref with current sourceRémi Verschelde
2020-01-19Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry
- `EditorNavigationMeshGenerator` was being registered as part of the Core API, even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to set Editor as the current ClassDB API type before creating an instance. - The `VisualScriptEngineSingleton.constant` property has a property hint string that's different between tools and non-tools builds. This commit makes the hint string to no longer be set in `_bind_methods`, and to instead set it in `_validate_property`. This way it's ignored when calculating the API hash. - `JavaClassWrapper` is now registered in ClassDB on all platforms, using a dummy implementation on platforms other than Android. This fixes API portability between Android and other platforms. - Updated `--class-db-json` command to ignore non-virtual methods that start with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
2020-01-18Merge pull request #35265 from zxcvdev/fix_crash_iphone_ios13Rémi Verschelde
Fix iOS Crash on Application Exit
2020-01-18Merge pull request #35256 from Faless/js/callback_target_fixRémi Verschelde
HTML5 callbacks rework.
2020-01-18Fix crash when closing app on iphonezxcvdev
2020-01-17HTML5 callbacks rework.Fabio Alessandrelli
Fixes compatibility with emscripten 1.39.5+ . Most input callbacks now require a target and no longer support NULL defaults. This commit changes all required null targets to the expected default in the binding phase. Since for canvas-related callbacks there is no default, the "#canvas" selector is used instead. Additionally, since canvasX and canvasY event properties are no longer supported, event positions are computed from "clientX" and "clientY" and the "#canvas" bounding client rect.
2020-01-17Merge pull request #35235 from akien-mga/android-launcher-icons-propertiesRémi Verschelde
Android: Improve name of icon export properties
2020-01-17HTML5: Address removal of 'timestamp' in Emscripten 1.39.5Rémi Verschelde
It was removed as noted in the changelog: https://github.com/emscripten-core/emscripten/blob/1.39.5/ChangeLog.md#v1395-12202019 > Removed `timestamp` field from mouse, wheel, devicemotion and > deviceorientation events. The presence of a `timestamp` on these > events was slightly arbitrary, and populating this field caused > a small profileable overhead that all users might not care about. > It is easy to get a timestamp of an event by calling > `emscripten_get_now()` or `emscripten_performance_now()` inside > the event handler function of any event. Fixes #34648.
2020-01-17Android: Improve name of icon export propertiesRémi Verschelde
This seems more readable and still includes the required dimensions.
2020-01-16Merge pull request #35209 from RandomShaper/fix_pck_embed_linuxRémi Verschelde
Fix error exporting to X11 with embedded PCK
2020-01-16Fix error exporting to X11 with embedded PCKPedro J. Estébanez
Fixes #32513.
2020-01-16MinGW: Avoid GCC -Wcast-function-type warnings on GetProcAddressRémi Verschelde
Using the same method as GNUlib and various other projects. https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00109.html The warning is valid, but there's no way around it since the issue comes from the Windows SDK. It's also harmless in this case. Part of #29801.
2020-01-15Fix Vsync Via Compositor causing halved refresh rate when vsync is forced by ↵hoontee
the graphics driver Add check to prevent compositor sync if the graphics driver is forcing vsync. Fixes #35038. (Addendum: this PR does not negatively impact users unaffected by #35038.)
2020-01-14Merge pull request #35126 from Faless/fix/ip_unix_warningsFabio Alessandrelli
Remove unused ip_unix member from OSX/server.
2020-01-14Merge pull request #35124 from Faless/js/http_server_fixRémi Verschelde
Properly close files served by debug HTTP server.
2020-01-14Remove unused ip_unix member from OSX/server.Fabio Alessandrelli
2020-01-14Add support for Android adaptive icons.Bruno Lourenço
2020-01-14Properly close files served by debug HTTP server.Fabio Alessandrelli
2020-01-14Add mime type to responses from debug HTTP server.Fabio Alessandrelli
Get rid of warnings in firefox mentioning performance loss when no mime type is given for wasm files.
2020-01-14Fixes IME input backspace on macOSHaoyu Qiu
2020-01-13Image: Include S3TC compression via Squish in non-tools buildRémi Verschelde
We already build Squish in templates build for S3TC decompression, so we can as well expose the compression feature. Fixes #25640.
2020-01-13fixes android double tap regressionAlexander Holland
2020-01-10Merge pull request #34977 from m4gr3d/export_hand_tracking_optionRémi Verschelde
Add support for generating a Oculus Mobile VR apk with hand tracking support
2020-01-10[macOS/Mono] Filter release/debug and rename Mono data folder on export.bruvzg
2020-01-10Add support for generating a Oculus Mobile VR apk with hand tracking support.fhuya
2020-01-10[macOS] Load PCK from the .app bundle resources, instead of changing working ↵bruvzg
directory.
2020-01-10Merge pull request #33630 from AlexHolly/android-doubleTapRémi Verschelde
Fixes Android FileDialog
2020-01-10Fixes Android FileDialogAlexander Holland
- Go up was not working, simplify was used one time too much - Added GestureHandler - Added doubleTap to recognize open dir - Fixed scroll where sometimes the scroll jumped between start and end when pointer was outside or on the edge of the scroll area
2020-01-10Fix warning in Linux crash handler on 32-bitRémi Verschelde
2020-01-10macOS DMG export: create folder structure for the files extracted from ↵bruvzg
export template ZIP.
2020-01-09Fix Android exporter manifest creation.Bruno Lourenço
2020-01-07Export: Improve usability of command line interfaceRémi Verschelde
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
2020-01-06PCK: Set VERSION_PATCH in header, factor out header magicJoost Heitbrink
Unify pack file version and magic to avoid hardcoded literals. `version.py` now always includes `patch` even for the first release in a new stable branch (e.g. 3.2). The public name stays without the patch number, but `Engine.get_version_info()` already included `patch == 0`, and we can remove some extra handling of undefined `VERSION_PATCH` this way. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-06Merge pull request #33967 from Calinou/add-os-is-window-focusedRémi Verschelde
Add an `OS.is_window_focused()` getter
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-30Replace the android.defaultConfig.applicationId in build.gradle with the ↵fhuya
package/unique_name.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-22i18n: Sync translations with Weblate + update templateRémi Verschelde
Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
2019-12-17Fix crash on Android with no manifest permissions.Fabio Alessandrelli
API allows for null array of permissions. It is now normalized with an empty array.
2019-12-14Merge pull request #33910 from Faless/net/android_mlockRémi Verschelde
Acquire MulticastLock on Android when using broadcast/multicast