Commit graph

933 commits

Author SHA1 Message Date
bruvzg
c121f8d561 Fix Numpad Enter key on macOS 2017-07-26 16:46:44 +03:00
Jia Wang
5a5b6dcde0 Workaround to allow pasting unicode characters from X selection.
Fixes #2491.
Fixes #9787.
2017-07-25 07:27:27 +08:00
Marcelo Fernandez
077b455b93 Updated OS X audio driver with improvements from 3.0 2017-07-23 13:40:38 -03:00
Marcelo Fernandez
da7b181a39 Fix Right-Click (Ctrl-Click) on OS X 2017-07-22 16:35:07 -03:00
BastiaanOlij
88236c7418 Fix typo in plist export
(cherry picked from commit e735963182)
2017-07-14 22:04:09 +02:00
George Marques
55a3e078fa
WinRT: Fix problem with Cert Kit validation 2017-07-12 01:33:42 -03:00
George Marques
92ac3869d3
WinRT: Fix exporting problems
- Replace spaces with %20, since appx don't like it.
- Use .zip extension for custom package templates.
2017-06-26 14:51:21 -03:00
Poommetee Ketson
4a0dc529ce BuildSystem: generated files have .gen.ext 2017-06-25 20:31:56 +07:00
George Marques
0a9d482482
WinRT: Add Gamepad vibration support 2017-06-24 13:31:36 -03:00
George Marques
fbb4107ec7
WinRT: Fix Gamepad input
Fix #9216
2017-06-24 12:22:58 -03:00
ageazrael
fc27e46af4 Used in the macOS HiDPI options window is too small
(cherry picked from commit 109ad227d3)
2017-06-17 16:03:13 -07:00
Andreas Haas
c0747b22c3 X11: Turn warning about not finding cursor theme into verbose output.
Failing to get the cursor theme should not cause any issues since we're then using the default one anyway.
So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error..
(pretty much like `iCCP: known incorrect sRGB profile` :P)

(cherry picked from commit d6333066fc)
2017-06-17 11:55:05 +02:00
Rémi Verschelde
c4a0679776 Merge pull request #8948 from RandomShaper/improve-mobile-builds-2.1
Improve/harmonize mobile builds (2.1)
2017-06-17 11:51:17 +02:00
George Marques
7174d706aa
Fix MouseWheel position on Windows 2017-06-15 13:18:58 -03:00
George Marques
b2f8a365f2
Fix cherry-picking issues caused by code updates 2017-06-07 12:59:42 -03:00
George Marques
477c770181
Change winrt build to be less dependent on ANGLE
Now it does not try to build if the solution is not found. This way it's
possible to provide a minimal package with includes and libs and make it
build correctly.

Also remove messages from detect.py since it is ran for every platform
target.
2017-06-07 12:50:38 -03:00
George Marques
21c4bff64c
Add Windows Universal export to editor
- Use OPENSSL_ENABLED definition to the whole source to detect it
  anywhere.
- Add WinRT/UWP template files with manifest and default images.
2017-06-07 11:36:00 -03:00
George Marques
e01fdd8a86
Remove embedded ANGLE headers
There's now a dependency on external ANGLE code, those are not needed
anymore.
2017-06-07 11:36:00 -03:00
George Marques
48a06f730f
Implement missing WinRT functions
- Fix buildsystem for WinRT/UWP platform.
- Add audio driver and joystick mapping for WinRT.
- Enable thread class for WinRT.
- Refactor MSVC compiler architecture detection to methods.py, so it can
  be used by Windows and WinRT.
2017-06-07 11:36:00 -03:00
Pedro J. Estébanez
499ef55cbc Improve/harmonize mobile builds 2017-05-27 23:26:47 +02:00
Rémi Verschelde
1b99d75d7e Merge pull request #8934 from volzhs/get-locale
Make OS.get_locale() returns same value
2017-05-27 11:27:14 +02:00
Rémi Verschelde
441196a52c Merge pull request #8940 from RandomShaper/ccflags-iphone-2.1
Allow custom CCFLAGS for iPhone builds (2.1)
2017-05-27 00:48:59 +02:00
sanikoyes
b8ae40de72 Fixed audio can not resume if it is interrupted cause by an incoming phone call
(cherry picked from commit 7d374b5974)
2017-05-27 00:42:59 +02:00
Rémi Verschelde
d432ad1e17 Improve documentation of thirdparty code snippets
(cherry picked from commit c8aea60324)
2017-05-26 23:53:14 +02:00
Pedro J. Estébanez
f6c50a6289 Allow custom CCFLAGS for iPhone builds
and disable exceptions by default
2017-05-26 22:35:09 +02:00
volzhs
a495feae3e Make OS.get_locale() returns same value 2017-05-27 03:42:28 +09:00
Ramesh Ravone
22c174bb71 Android: avoiding duplicates in build.gradle
(cherry picked from commit f8309f86c2)
2017-05-26 18:08:59 +02:00
Ramesh Ravone
9028a75452 Android: Support to change minSdkVersion (#8313)
(cherry picked from commit 93b417fe17)
2017-05-26 18:08:26 +02:00
Rémi Verschelde
99f65fcb4f Merge pull request #8922 from volzhs/fix-android-build
Fix android build regression by 69c4c4a
2017-05-26 16:00:50 +02:00
volzhs
c6ebb6a40c Fix android build regression by 69c4c4a 2017-05-26 20:42:36 +09:00
Rémi Verschelde
29c7118f32 Merge pull request #8913 from RandomShaper/ios-alert-2.1
Implement OS.alert() for iOS (2.1)
2017-05-26 07:56:24 +02:00
Pedro J. Estébanez
b870ff6940 Implement OS.alert() for iOS 2017-05-25 17:30:36 +02:00
volzhs
d4ef6216d3 Fix android payment logical error
getting sku detail runs only if mod != 0 which means querying 20*n will not get sku details.
referenced from https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/java/com/example/android/trivialdrivesample/util/IabHelper.java#L1029-L1062
2017-05-19 12:11:59 +09:00
Pedro J. Estébanez
deda04faff Upgrade Android build tools to the latest 2017-05-16 00:54:54 +02:00
Rémi Verschelde
aa046a85dc Merge pull request #8740 from pixelpicosean/scrollingWithFactor
Implemented scrolling factor for precision trackpads for 2.1
2017-05-15 07:57:05 +02:00
Sean Bohan
ee670f3724 Implemented scrolling factor for smooth trackpad scrolling
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.

Ported from 304a1f5b5a (#7864).
Fixes #492 and #3913.
2017-05-15 06:44:00 +08:00
Fabio Alessandrelli
aa167fa04b Rename debug/debug_port to network/debug_port.
Expose it in editor settings.
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli
e9a7eeaf9c Fix UDP wait() not returning after first received packet
(cherry picked from commit 5c6715a291)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli
bd26eacc59 Allow non blocking UDP put_packet in C++.
- Add blocking mode option to PacketPeerUDP.
- put_packet returns ERR_UNAVAILABLE when operation would block.
- ENet module uses non-blocking UDP.

(cherry picked from commit 5f681d0b0f)
2017-05-12 20:01:53 +02:00
Rémi Verschelde
05d83a62c6 Merge pull request #8695 from BastiaanOlij/mfi_support_2.1
iPhone MFI gamepad support
2017-05-12 18:16:41 +02:00
Rémi Verschelde
353ed88a54 Merge pull request #8724 from volzhs/android-jni
Fix compile error when use "android_add_jni_dir"
2017-05-12 08:24:32 +02:00
Rémi Verschelde
229c277585 Merge pull request #8722 from volzhs/fix-android
Fix possible memory leak for Android and update gradle
2017-05-12 08:24:09 +02:00
volzhs
69c4c4a20c Fix compile error when use "android_add_jni_dir" 2017-05-12 15:07:41 +09:00
volzhs
c7d3aac505 Update to latest gradle 2017-05-12 14:38:23 +09:00
volzhs
a6c74136b5 Fix possible memory leak for Android
/godot_dev/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java:575: Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing  to .getApplicationContext()  [WifiManagerLeak]
            mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Explanation for issues of type "WifiManagerLeak":
   On versions prior to Android N (24), initializing the WifiManager via
   Context#getSystemService can cause a memory leak if the context is not the
   application context. Change context.getSystemService(...) to
   context.getApplicationContext().getSystemService(...).

1 errors, 0 warnings
2017-05-12 14:38:15 +09:00
BastiaanOlij
de9efc2fdf iPhone MFI gamepad support 2017-05-09 08:57:17 +10:00
Rémi Verschelde
e3cf067845 X11: Abort build if using OpenSSL 1.1.0+
Workaround until #8624 is fixed.

(cherry picked from commit 2976801012)
2017-05-06 19:01:33 +02:00
volzhs
7919ce782b Fix error or download again if use obb for Android 2017-04-26 03:43:38 +09:00
Rémi Verschelde
ef351971d8 Drop EXEC PATHP?? super verbose info message
It seems to give nightmares to Windows users.

(cherry picked from commit dd55950b62)
2017-04-20 01:55:54 +02:00
Rémi Verschelde
a27876d5ac Style: Apply clang-format (3.9.1) to Obj-C++ files 2017-04-09 14:03:52 +02:00