summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Fix some URLs to use HTTPS when availableRémi Verschelde2020-01-292-3/+5
|
* Merge pull request #35632 from ↵Rémi Verschelde2020-01-271-18/+3
|\ | | | | | | | | godotengine/revert-32854-fix-wireless-adb-debugging Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"
| * Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"Rémi Verschelde2020-01-271-18/+3
| |
* | Address crash caused by missing dependency.fhuya2020-01-273-4/+4
| |
* | Address crash caused by missing dependency.fhuya2020-01-273-2/+6
|/
* Check if can export before exporting; show error message if can't export.Mark Wynn Garcia2020-01-261-6/+8
|
* Merge pull request #35438 from MadEqua/virtual-keyboard-line-editRémi Verschelde2020-01-2310-14/+27
|\ | | | | Android virtual keyboard respecting LineEdit max length.
| * Android virtual keyboard respecting LineEdit max length.Bruno Lourenço2020-01-2310-14/+27
| |
* | Merge pull request #35454 from Calinou/os-execute-default-blockingRémi Verschelde2020-01-233-3/+3
|\ \ | | | | | | Make `OS.execute()` blocking by default if not specified
| * | Make `OS.execute()` blocking by default if not specifiedHugo Locurcio2020-01-233-3/+3
| | | | | | | | | | | | | | | This makes `OS.execute()` calls quicker to set up when calling programs in a blocking fashion.
* | | Merge pull request #35444 from RandomShaper/fix_link_bsdRémi Verschelde2020-01-231-4/+8
|\ \ \ | |/ / |/| | Fix error with linkers other than GNU ld
| * | Fix error with linkers other than GNU ldPedro J. Estébanez2020-01-221-4/+8
| |/
* / Remove buggy check if key was already released for accumulated inputEric Rybicki2020-01-221-5/+0
|/ | | | Fixes #27104
* Revert "Fix audio capture naming in Javascript"Rémi Verschelde2020-01-201-2/+4
| | | | | | This reverts commit 69f7263cd8990b39e4c1cc678b2d0f57686b07b7. Follow-up to #35359.
* Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde2020-01-201-3/+3
| | | | | | | | | | | | | | | | | 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.
* doc: Sync classref with current sourceRémi Verschelde2020-01-191-0/+30
|
* Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry2020-01-195-9/+108
| | | | | | | | | | | | | | | | | | - `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).
* Merge pull request #35265 from zxcvdev/fix_crash_iphone_ios13Rémi Verschelde2020-01-181-3/+21
|\ | | | | Fix iOS Crash on Application Exit
| * Fix crash when closing app on iphonezxcvdev2020-01-181-3/+21
| |
* | Merge pull request #35256 from Faless/js/callback_target_fixRémi Verschelde2020-01-181-31/+37
|\ \ | |/ |/| HTML5 callbacks rework.
| * HTML5 callbacks rework.Fabio Alessandrelli2020-01-171-31/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #35235 from akien-mga/android-launcher-icons-propertiesRémi Verschelde2020-01-171-3/+3
|\ \ | |/ |/| Android: Improve name of icon export properties
| * Android: Improve name of icon export propertiesRémi Verschelde2020-01-171-3/+3
| | | | | | | | This seems more readable and still includes the required dimensions.
* | HTML5: Address removal of 'timestamp' in Emscripten 1.39.5Rémi Verschelde2020-01-172-2/+3
|/ | | | | | | | | | | | | | | 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.
* Merge pull request #35209 from RandomShaper/fix_pck_embed_linuxRémi Verschelde2020-01-163-5/+21
|\ | | | | Fix error exporting to X11 with embedded PCK
| * Fix error exporting to X11 with embedded PCKPedro J. Estébanez2020-01-163-5/+21
| | | | | | | | Fixes #32513.
* | MinGW: Avoid GCC -Wcast-function-type warnings on GetProcAddressRémi Verschelde2020-01-163-0/+15
| | | | | | | | | | | | | | | | | | | | 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.
* | Fix Vsync Via Compositor causing halved refresh rate when vsync is forced by ↵hoontee2020-01-152-1/+4
| | | | | | | | | | | | | | | | | | 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.)
* | Merge pull request #35126 from Faless/fix/ip_unix_warningsFabio Alessandrelli2020-01-142-3/+0
|\ \ | | | | | | Remove unused ip_unix member from OSX/server.
| * | Remove unused ip_unix member from OSX/server.Fabio Alessandrelli2020-01-142-3/+0
| | |
* | | Merge pull request #35124 from Faless/js/http_server_fixRémi Verschelde2020-01-141-2/+16
|\ \ \ | | | | | | | | Properly close files served by debug HTTP server.
| * | | Properly close files served by debug HTTP server.Fabio Alessandrelli2020-01-141-2/+9
| | | |
| * | | Add mime type to responses from debug HTTP server.Fabio Alessandrelli2020-01-141-0/+7
| |/ / | | | | | | | | | | | | Get rid of warnings in firefox mentioning performance loss when no mime type is given for wasm files.
* / / Add support for Android adaptive icons.Bruno Lourenço2020-01-1423-55/+102
|/ /
* | Fixes IME input backspace on macOSHaoyu Qiu2020-01-141-1/+5
| |
* | Image: Include S3TC compression via Squish in non-tools buildRémi Verschelde2020-01-133-3/+3
| | | | | | | | | | | | | | We already build Squish in templates build for S3TC decompression, so we can as well expose the compression feature. Fixes #25640.
* | fixes android double tap regressionAlexander Holland2020-01-134-4/+4
| |
* | Merge pull request #34977 from m4gr3d/export_hand_tracking_optionRémi Verschelde2020-01-101-115/+155
|\ \ | | | | | | Add support for generating a Oculus Mobile VR apk with hand tracking support
| * | Add support for generating a Oculus Mobile VR apk with hand tracking support.fhuya2020-01-101-115/+155
| | |
* | | [macOS/Mono] Filter release/debug and rename Mono data folder on export.bruvzg2020-01-101-0/+18
| | |
* | | [macOS] Load PCK from the .app bundle resources, instead of changing working ↵bruvzg2020-01-103-29/+14
|/ / | | | | | | directory.
* | Merge pull request #33630 from AlexHolly/android-doubleTapRémi Verschelde2020-01-108-1/+160
|\ \ | | | | | | Fixes Android FileDialog
| * | Fixes Android FileDialogAlexander Holland2020-01-108-1/+160
| | | | | | | | | | | | | | | | | | - 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
* | | Fix warning in Linux crash handler on 32-bitRémi Verschelde2020-01-101-1/+1
|/ /
* | macOS DMG export: create folder structure for the files extracted from ↵bruvzg2020-01-101-13/+18
| | | | | | | | export template ZIP.
* | Fix Android exporter manifest creation.Bruno Lourenço2020-01-091-6/+6
| |
* | Export: Improve usability of command line interfaceRémi Verschelde2020-01-075-96/+92
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* PCK: Set VERSION_PATCH in header, factor out header magicJoost Heitbrink2020-01-061-4/+0
| | | | | | | | | | | | 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>
* Merge pull request #33967 from Calinou/add-os-is-window-focusedRémi Verschelde2020-01-066-5/+35
|\ | | | | Add an `OS.is_window_focused()` getter
| * Add an `OS.is_window_focused()` getterHugo Locurcio2019-11-286-5/+35
| | | | | | | | | | | | | | | | This makes it possible to know whether the window is focused at a given time, without having to track the focus state manually using `NOTIFICATION_WM_FOCUS_IN` and `NOTIFICATION_WM_FOCUS_OUT`. This partially addresses #33928.