aboutsummaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Remove android compatibility under API 16volzhs2018-05-093-12/+7
| | | |
* | | | Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam2018-05-089-19/+288
|\ \ \ \ | | | | | | | | | | Experimental support for windows with per-pixel transparency.
| * | | | Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg2018-04-079-19/+288
| | | | | | | | | | | | | | | | | | | | Windows).
* | | | | Android: Increase targetSdkVersion to 27Rémi Verschelde2018-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Matches the change for 2.1 in #18626, and the new requirements from Google for new apps starting with August 2018 (targetSdkVersion 26 or higher): https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
* | | | | Merge pull request #18665 from mhilbrunner/build-sdkRémi Verschelde2018-05-081-2/+8
|\ \ \ \ \ | | | | | | | | | | | | Windows detect.py: Detect missing WindowsSdkDir
| * | | | | Windows detect.py: Detect missing WindowsSdkDirMax Hilbrunner2018-05-071-2/+8
| | | | | |
* | | | | | Merge pull request #16573 from StateOff/more_console_debuggingMax Hilbrunner2018-05-082-0/+20
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Local debugging fix & extensions
| * | | | | Local debugger fixes and extensionsBlazej Floch2018-05-072-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds q/quit option to console debugging - Adds options (variable_prefix) - Breaks into debugger with Ctrl-C in local debug mode (Unix/Windows) - Added option to list all breakpoints - Fixes add/remove breakpoint bug (invalid path parsing) - Minor cleanup
* | | | | | Merge pull request #18627 from RameshRavone/patch-2Max Hilbrunner2018-05-081-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix: JAR files signed with the MD5 algorithm as unsigned (godot 3)
| * | | | | Fix: JAR files signed with the MD5 algorithm as unsignedRameshRavone2018-05-071-2/+2
| | |_|_|/ | |/| | |
* | | | | Resume audio on iOS after phone call or alarmRuslan Mustakov2018-05-072-21/+59
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | When a phone call or an alarm triggers on iOS, the application receives an "audio interruption" and it's up to the application to resume playback when the interruption ends. I added handling for audio interruptions same as if the game is focused out and then back in.
* | | | Merge pull request #18541 from profan/fix/win-sleepMax Hilbrunner2018-05-051-0/+6
|\ \ \ \ | |/ / / |/| | | Windows: ensure minimum possible timer resolution for sleep
| * | | windows: ensure minimum possible timer resolution for sleepRobin Hübner2018-05-011-0/+6
| | | |
* | | | Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde2018-05-0211-201/+83
|\ \ \ \ | | | | | | | | | | Implement universal translation of touch to mouse (3.1)
| * | | | Implement universal translation of touch to mousePedro J. Estébanez2018-04-3011-201/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
* | | | | Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-011-0/+8
|\ \ \ \ \ | |_|/ / / |/| | | | Fix Coverity reports of uninitialized scalar variable
| * | | | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* | | | | Fix _export_begin not being called when exporting to androidIgnacio Etcheverry2018-04-261-0/+2
| | | | |
* | | | | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-7/+7
| | | | |
* | | | | Provide error details when in-app purchase failsRuslan Mustakov2018-04-193-13/+14
|/ / / /
* / / / Fix Android input source checksRuslan Mustakov2018-04-161-2/+2
|/ / / | | | | | | | | | | | | | | | Input source types are not pure bit flags, they are combinations of flags, so != 0 check was incorrect and resulted in crashes later, when trying to obtain the device.
* | | iPhone X support and iOS-related fixesRuslan Mustakov2018-04-116-77/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting from April 2018 Apple no longer accepts apps that do not support iPhone X. For games this mainly means respecting the safe area, unobstructed by notch and virtual home button. UI controls must be placed within the safe area so that users can interact with them. This commit: - Adds OS::get_window_safe_area method that returns unobscured area of the window, where interactive controls should be rendered. - Reorganizes how launch screens are exported - the previous way was incorrect and modern iPhones did not pick up the correct screens and because of that used a non-native resolution to render the game. - Adds launch screen options for iPhone X. - Makes launch screens optional in the export template. If not specified, a white screen will be used. - Adds App Store icon (1024x1024) export option as it now has to be bundled with the app instead of being provided in iTunes Connect. - Fixes crash when launching games in iOS Simulator. It happened because controllerWasConnected callback came before the engine was initialized. Now in such case the controllers will be queued up and registered after initialization is done. - Fixes issue with the virtual keyboard where for some reason autocorrection panel would intersect with the keyboard itself and not allow you to use the top row of the keyboard. This is fixed by disabling autocorrection altogether. Closes #17358. Fixes #17428. Fixes #17331.
* | | Fix custom cursor when it's hiddenGuilherme Felipe2018-04-093-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | [Linux] Ensures that the custom cursor will be used when changing to MOUSE_MODE_VISIBLE. Fix #3086 [Windows] Fix cursor flickering when MOUSE_MODE_HIDDEN. [Mac] Fix possible cursor flicker when MOUSE_MODE_HIDDEN.
* | | Merge pull request #17742 from marcelofg55/audio_device_listJuan Linietsky2018-04-071-2/+2
|\ \ \ | |/ / |/| | Added new audio device functions to set/get the audio device
| * | Added new audio device functions to set/get the audio deviceMarcelo Fernandez2018-03-261-2/+2
| | |
* | | Remove size restriction for mouse cursorGuilherme Felipe2018-04-053-15/+12
| | |
* | | Merge pull request #17827 from bruvzg/macos_shortcut_key_remapping_fixRémi Verschelde2018-04-051-3/+106
|\ \ \ | | | | | | | | [macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.
| * | | [macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.bruvzg2018-03-281-3/+106
| | | |
* | | | Merge pull request #17777 from bruvzg/macos_exit_codeRémi Verschelde2018-04-041-1/+1
|\ \ \ \ | | | | | | | | | | [macOS] Return exit code specified by `OS.exit_code` parameter.
| * | | | [macOS] Return exit code specified by `OS.exit_code` parameter.bruvzg2018-03-261-1/+1
| | |/ / | |/| |
* | | | Merge pull request #17792 from eska014/enginejs-preloadpathsRémi Verschelde2018-04-043-16/+33
|\ \ \ \ | | | | | | | | | | Handle directories in engine.js preloadFile()
| * | | | Fix engine.js startGame() when loading from directoryLeon Krause2018-03-271-3/+14
| | | | |
| * | | | Allow custom path when using engine.js preloadFile() with URLLeon Krause2018-03-271-3/+3
| | | | |
| * | | | Fix engine.js preloadFile() with directoriesLeon Krause2018-03-271-3/+13
| | | | |
| * | | | Expose Emscripten libs to engine.js discreetlyLeon Krause2018-03-273-10/+6
| | | | |
* | | | | Merge pull request #17801 from endragor/android-input-checksRémi Verschelde2018-04-041-4/+23
|\ \ \ \ \ | | | | | | | | | | | | Add safety checks when handling Android input
| * | | | | Add safety checks when handling Android inputRuslan Mustakov2018-03-271-4/+23
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | It is possible that input comes before the engine is fully initialized. This fixes the crashes that ocurred when that happens.
* | | | | Merge pull request #17880 from litdeviant/masterRémi Verschelde2018-04-031-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix UpdatePowerInfo method implementation in PowerIphone class
| * | | | | Fix UpdatePowerInfo method implementation in PowerIphone classIgors Vaitkus2018-03-311-1/+1
| | | | | |
* | | | | | Merge pull request #17836 from eska014/detect-emconfigRémi Verschelde2018-04-031-5/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | Detect and configure JavaScript build per Emscripten configuration file
| * | | | | | Detect and configure JavaScript build per Emscripten configuration fileLeon Krause2018-03-291-5/+15
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #17844 from Faless/uwp_fixRémi Verschelde2018-04-021-0/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Fix UWP build after #17194
| * | | | | Fix UWP build after #17194Fabio Alessandrelli2018-03-291-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `uwp/detect.py` was not setting the `env.msvc` variable to true causing scons to pass wrong arguments to `msvc` (using `clang/gcc` options) which in turn break the build due to `-Werror=return-type` not being recognized by ms compiler.
* | | | | Fix bug in HTML5 HTTPClient.Fabio Alessandrelli2018-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The URL parameter already has a slash, adding an extra one results in an invalid resource path
* | | | | Fix IPhone and OSX cross compilationFabio Alessandrelli2018-03-282-1/+7
|/ / / /
* | / / Merge pull request #17760 from eska014/html5-refactorRémi Verschelde2018-03-267-209/+99
|\| | | | |/ / |/| | Refactor HTML5 platform build script
| * | Refactor JavaScript platform build scriptLeon Krause2018-03-267-209/+99
| | |
* | | Revert "Implement OS_OSX::execute"bruvzg2018-03-232-50/+0
| | | | | | | | | | | | This reverts commit e42576548f2c0ae2c6cb24ce2b0437ffb8978d65.
* | | Fix dragging window from non-retina to retina display.bruvzg2018-03-221-0/+1
| | |
* | | Fix several in-class initialization clang warningMarcelo Fernandez2018-03-222-1/+2
| | |