summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2020Rémi Verschelde2020-01-01198-395/+395
| | | | | | | | | | | 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.
* Replace the android.defaultConfig.applicationId in build.gradle with the ↵fhuya2019-12-303-3/+16
| | | | package/unique_name.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-222-2/+0
| | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* Fix crash on Android with no manifest permissions.Fabio Alessandrelli2019-12-171-3/+5
| | | | | API allows for null array of permissions. It is now normalized with an empty array.
* Merge pull request #33910 from Faless/net/android_mlockRémi Verschelde2019-12-148-0/+325
|\ | | | | Acquire MulticastLock on Android when using broadcast/multicast
| * Add Android NetSocket implementation.Fabio Alessandrelli2019-12-145-0/+220
| | | | | | | | Automatically acquire and release multicast lock when needed.
| * Add GodotNetUtils Java class for Android.Fabio Alessandrelli2019-12-143-0/+105
| | | | | | | | | | | | | | Provides access to a MulticastLock. As specified by the Android API, broadcast/multicast packets may be filtered on some phones unless the application explicitly acquires a "MulticastLock".
* | Merge pull request #34338 from Catchawink/masterRémi Verschelde2019-12-141-0/+9
|\ \ | | | | | | Fixed an issue with capturing audio from microphones in macOS.
| * | Added microphone and camera usage descriptions to macOS builds.Catchawink2019-12-131-0/+9
| | |
* | | Change bundle name rules on iOS to match Apple's requirementsJonas Bernemann2019-12-141-41/+1
|/ / | | | | | | | | | | | | | | | | | | Changed the bundle identifier verification to match the official verficiation. https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier This help developers to migrate existing games to godot without constantly having to change the bundle identifier in the generated XCode project.
* | Merge pull request #34229 from NoFr1ends/fix-home-indicator-iosRémi Verschelde2019-12-132-0/+12
|\ \ | | | | | | Allow to change the home indicator behaviour on iOS
| * | Add project setting to hide home indicator on iOSJonas Bernemann2019-12-132-0/+12
| |/ | | | | | | | | | | | | | | On iOS devices without a physical home button iOS shows a home indicator instead. This is often in the way of the UI or the game. Added a project setting to disable hidden home indicator. The default value is to hide the home indicator
* / SCons: Add 'split_libmodules' option to workaround linker issueRémi Verschelde2019-12-111-3/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | The new 'split_libmodules=yes' option is useful to work around linker command line size limitations when linking a huge number of objects. We're currently over 64k chars when linking libmodules.a on Windows with MinGW, which triggers issues as seen in #30892. Even on Linux, we can also reach linker command line size limitations by adding more custom modules. We force this option to True for MinGW on Windows, which fixes #30892. Additional changes to lib splitting: - Fix linking of the split module libs with interdependent symbols, hacking our way into LINKCOM and SHLINKCOM to set the `--start-group` and `--end-group` flags. - Fix Python 3 compatibility in `methods.split_lib()`. - Drop seemingly obsolete condition for 'msys' on 'posix'. - Drop the unnecessary 'split_drivers' as the drivers lib is no longer too big since we moved all thirdparty builds to modules. Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
* [macOS] Send resize event without actually resizing window on backing change.bruvzg2019-12-081-6/+2
| | | | Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
* iOS: Disable armv7 as target arch by defaultRémi Verschelde2019-12-061-1/+1
| | | | | | | | | | | | | | | We no longer compile for armv7 and x86 in the official export templates, as those architectures are no longer relevant for iOS. If users really want to support armv7 (used on devices from before September 2013, e.g. iPhone 5), they can still build their own templates and toggle the option. We might remove the option altogether in a later release to avoid the confusion for users that might tick the checkbox without having compiled their own templates. Fixes #34135.
* Added support for vertical syncing via the Windows OS compositor (DWM.)TerminalJack2019-12-044-3/+47
|
* Merge pull request #34079 from KoBeWi/rcexportRémi Verschelde2019-12-031-36/+41
|\ | | | | Don't stop export if rcedit path is invalid
| * Don't stop export if rcedit path is invalidTomasz Chabora2019-12-031-36/+41
| |
* | Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcompRémi Verschelde2019-12-031-0/+7
|/ | | | | | | | The option is needed when using the 'fastcomp' backend (default before 1.39.0), and must not be defined when using 'upstream' (new default). So we define it conditionally to support both backends. Follow-up to #30751.
* [iOS] Add export options to control external access to user data.bruvzg2019-12-031-0/+7
|
* iOS modular build and export implementation.bruvzg2019-12-0128-1104/+54
|
* Merge pull request #32854 from cooperra/fix-wireless-adb-debuggingRémi Verschelde2019-11-281-3/+18
|\ | | | | Fix Android deploy with Remote Debug or Network FS over Wi-Fi
| * Add connection information and serial number to device descriptionRobbie Cooper2019-10-151-0/+8
| | | | | | | | The description appears when hovering over the one-click-deploy button (top-right). This information helps the user distinguish between their devices if multiple are connected or if the same device is connected by both usb and tcpip (two entries in the list for the same device).
| * Detect adb connection type and debug over Wi-Fi if neededRobbie Cooper2019-10-151-3/+10
| | | | | | | | | | | | Avoid using adb reverse if deploying with adb tcpip. This still can fail if the user is attempting to debug over usb and has connected their device over BOTH usb and tcpip. I'm not sure how we would detect that problem in advance though.
* | Merge pull request #33883 from bruvzg/mac_localeRémi Verschelde2019-11-251-1/+1
|\ \ | | | | | | [macOS] Fix locale detection.
| * | [macOS] Fix locale detection.bruvzg2019-11-251-1/+1
| | |
* | | Fix inverted value check in UWP export packagerGeorge Marques2019-11-251-1/+1
| | |
* | | Merge pull request #33862 from Faless/net/http_request_chunk_sizeRémi Verschelde2019-11-251-0/+4
|\ \ \ | |/ / |/| | Add download_chunk_size property to HTTPRequest.
| * | Add download_chunk_size property to HTTPRequest.Fabio Alessandrelli2019-11-241-0/+4
| | | | | | | | | | | | | | | | | | This allows setting the `read_chunk_size` of the internal HTTPClient. This is important to reduce the allocation overhead and number of file writes when downloading large files, allowing for better download speed.
* | | Style: Add missing copyright headersRémi Verschelde2019-11-221-0/+30
| | |
* | | Fix typos with codespellRémi Verschelde2019-11-223-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* | [macOS] Remove CVDisplayLink v-sync hack.bruvzg2019-11-212-55/+2
| |
* | pcre2: Use scons option to disable JIT on some platformsRémi Verschelde2019-11-202-0/+2
| | | | | | | | | | | | | | | | Third-party platforms (e.g. console ports) need to be able to disable JIT support in the regex module too, so it can't be hardcoded in the module SCsub. This is cleaner this way anyway. Fixes #19316.
* | HTML5: Explicitly link idbfs.js for IDBFS supportRémi Verschelde2019-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | 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.
* | HTML5: Fix support for Emscripten 1.39.1+Rémi Verschelde2019-11-151-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #33536 from akien-mga/revert-25474-android-gesturesRémi Verschelde2019-11-131-33/+1
|\ \ | | | | | | Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"
| * | Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"Rémi Verschelde2019-11-111-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9cc66495cfb6393102ce5ad4e82f2ccb716b9b33. This caused regressions with the handling of screen drag events. Fixes #33428. Fixes #33459. Fixes #33470.
* | | X11: Fix memory leak in handle_key_eventRémi Verschelde2019-11-121-0/+1
| | | | | | | | | | | | Extracted from #27189.
* | | Merge pull request #33482 from piratesephiroth/masterRémi Verschelde2019-11-111-1/+1
|\ \ \ | |/ / |/| | Set ShellExecuteW's verb to NULL - fixes #33388
| * | Set ShellExecuteW's verb to NULL - fixes #33388piratesephiroth2019-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* | | [UWP] [Export] added additional checks for blank valuespiratesephiroth2019-11-091-0/+10
|/ / | | | | | | | | `Short Name` and `Publisher Display Name` are mandatory. You can't even sign the app package without them in the manifest.
* | Fix graphic tablet input coordinates on Windows.bruvzg2019-11-071-2/+8
| |
* | Fix crash on exit or resume on iOS 13Max2019-11-051-6/+7
| | | | | | | | Fixes #7966.
* | Android : implement InputEventMagnifyGesture and InputEventPanGestureJérémy Zurcher2019-11-021-1/+33
| | | | | | | | sets threshold constants PAN_GESTURE_MIN_DELTA and MAGNIFY_GESTURE_MIN_FACTOR
* | [macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg2019-10-305-4/+268
| | | | | | | | InputEventMouseMotion event.
* | Update natvis file to display Node class correctly in Visual Studio debuggerPouleyKetchoupp2019-10-291-0/+8
| |
* | Fix invalid window border when toggled from fullscreen to windowed modeYuri Roubinsky2019-10-272-5/+13
| |
* | Allow use of relative and speed properties for InputEventScreenDrag on WIndowsJoe Sweeney2019-10-261-2/+3
| |
* | Specify MINGW_HAS_SECURE_API=1Yeongho Kim2019-10-251-1/+1
| |