Commit graph

1214 commits

Author SHA1 Message Date
George Marques f55fff3528
UWP: Fix problem with Cert Kit validation 2017-07-12 01:24:07 -03:00
geequlim 7358766ff6 IME window follow the input cursor.
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
2017-07-11 18:36:20 +08:00
Marcelo Fernandez 8bd002edc1 Fixed issues with borderless windows on Windows 2017-07-09 21:48:22 -03:00
Poommetee Ketson 2fd204c35e Refactor 'treshold' to 'threshold' 2017-07-08 22:24:56 +07:00
BastiaanOlij ae544b227e Only execute chmod exporting iOS when on Mac OS X 2017-07-08 21:32:02 +10:00
Rémi Verschelde 79992a4a72 Merge pull request #9515 from marcelofg55/master
Implemented borderless window functions on Linux.
2017-07-08 11:02:29 +02:00
Rémi Verschelde 0023e8d33a Merge pull request #9512 from BastiaanOlij/osx_export_fix_typo
Fix typo in plist export for OSX export
2017-07-08 11:01:19 +02:00
Marcelo Fernandez c3563b266f Implemented borderless window functions on Linux. 2017-07-05 12:19:24 -03:00
BastiaanOlij e735963182 Fix typo in plist export 2017-07-06 00:14:05 +10:00
BastiaanOlij ef447c2d84 iPhone exporter 2017-07-06 00:01:21 +10:00
Rémi Verschelde 5a48b428fd Merge pull request #9476 from marcelofg55/master
Implemented borderless fullscreen code on OSX.
2017-07-05 10:51:55 +02:00
Rémi Verschelde a2586a2119 Merge pull request #9396 from sowfelicity/x11-ime-echo
Workaround for IME and echo events on Linux (fixes #29 #7106 #9381):
2017-07-03 23:48:57 +02:00
Rémi Verschelde 5c1995ef49 Merge pull request #9468 from BastiaanOlij/osx_export_dmg
On OSX export to DMG and optionally code sign the app bundle
2017-07-03 23:25:43 +02:00
Marcelo Fernandez a9c5895c16 Implemented borderless fullscreen code on OSX. 2017-07-02 23:40:44 -03:00
BastiaanOlij 7ddf3d6cc4 On OSX export to DMG and optionally code sign the app bundle 2017-07-02 21:23:33 +10:00
Rémi Verschelde e91a267a7c Buildsystem: Improve detect.py readability and fix issues
Tried to organize the configure(env) calls in sections, using the same order
for all platforms whenever possible.

Apart from cosmetic changes, the following issues were fixed:
- Android: cleanup linkage, remove GLESv1_CM and GLESv2
- iPhone: Remove obsolete "ios_gles22_override" option
- OSX:
  * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option
    (closes #9449)
  * Make "fat" bits argument explicit
- Server: sync with X11
- Windows: clean up old DirectX 9 stuff
- X11:
  * Do not require system OpenSSL for building (closes #9443)
  * Fix typo'ed use_leak_sanitizer option
  * Fix .llvm suffix overriding custom extra_suffix
2017-07-01 08:20:51 +02:00
Jia Wang 098a888ec0 Workaround for IME and echo events on Linux:
Request detectable auto-repeat (Require XKB extension) to support
    echo events and IME at the same time. Fixes #29, #7106 and #9381.
2017-06-29 19:26:06 +08:00
Rémi Verschelde 82298e989a Merge pull request #9416 from marcelofg55/master
Implemented borderless window code for OSX.
2017-06-28 07:51:52 +02:00
Marcelo Fernandez fd7976ddd7 Implemented borderless window code for OSX. 2017-06-27 16:57:28 -03:00
L. Krause a2fd89bbe2 Hide HTML5 native-run icon without runnable preset 2017-06-27 21:06:43 +02:00
L. Krause 92367968e7 Use custom native-run icons for Android and HTML5 2017-06-27 21:06:26 +02:00
Juan Linietsky e79e135841 Revert "Workaround for IME on Linux." 2017-06-25 20:09:16 -03:00
Rémi Verschelde 87fd71244b Merge pull request #9334 from Noshyaar/pr-genh
BuildSystem: generated files have .gen.extension
2017-06-25 11:08:36 +02:00
Poommetee Ketson e3998528e0 BuildSystem: generated files have .gen.extension 2017-06-25 07:55:01 +07:00
Jia Wang 41029eb1f0 Workaround for IME on Linux(fixes #29 #7106):
Workaround for supporting input method frameworks like SCIM,
    IBus, Fcitx, etc.

    The locale is set when the application starts.

    Workaround for input when the input context within the specified
    input method is not available.
2017-06-25 08:17:56 +08:00
Juan Linietsky 683f50bef4 Merge pull request #9312 from BastiaanOlij/osx_export
Osx export
2017-06-23 23:22:51 -03:00
BastiaanOlij 5b44f092f9 Reimplement export module for OSX 2017-06-23 00:01:55 +10:00
Hugo Locurcio 9444e8056a Make the Windows icon file smaller
This results in slightly more compact Godot Windows binaries.
2017-06-20 14:38:50 +02:00
L. Krause 6f17d41bcf Update HTML5 platform for new InputEvents 2017-06-19 15:43:46 +02:00
Rémi Verschelde 0a339f14a8 Merge pull request #9198 from vnen/fix-wheel-pos
Fix MouseWheel position on Windows
2017-06-15 18:45:22 +02:00
George Marques dd2b7ef747
Fix MouseWheel position on Windows 2017-06-15 13:34:57 -03:00
Rémi Verschelde 5077d2d28d Merge pull request #9140 from ageazrael/bug-fix
Fixed middle mouse button can't bounce in macOS
2017-06-15 16:22:07 +02:00
Rémi Verschelde dc6642bc13 Merge pull request #9102 from Faless/debugger_listen_show_error
Editor now shows error when debug port is in use
2017-06-15 00:08:44 +02:00
ageazrael 109ad227d3 Used in the macOS HiDPI options window is too small 2017-06-13 09:54:55 +08:00
ageazrael b3accab62d Fixed middle mouse button can't bounce in macOS 2017-06-13 09:27:49 +08:00
George Marques 43bcb73b22
UWP: InputEvent: Renamed "pos" property to "position"
To comply with the changes from #9031.
2017-06-12 11:49:28 -03:00
Fabio Alessandrelli b76275ab12 Fix network/debug/remote_port editor setting not working properly 2017-06-10 23:34:35 +02:00
Juan Linietsky bcc435094d Restired multithread support in OSX and Windows, should stop the crashes. 2017-06-10 10:15:33 -03:00
Juan Linietsky 612ab8fcdb -Restored multithread capability to VisualServer
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Rémi Verschelde 71c7dcab65 Merge pull request #8949 from RandomShaper/improve-mobile-builds
Improve/harmonize mobile builds
2017-06-08 07:41:06 +02:00
Rémi Verschelde e2d70166fe Merge pull request #9082 from themindoverall/pr-fix-android-build
Fix InputEvent-related Android build issues
2017-06-07 07:58:50 +02:00
Chris Serino bdffd2ecd0 Fix input event related android build issues 2017-06-06 22:30:04 -05:00
toger5 328d0e2b4e osx release right button event fixed
RIGHT_MOUSE_BUTTON was not removed from the button mask (instead it was added...)
fixes #9079
2017-06-06 19:40:06 -07:00
alexholly a3c90b0293 renamed all Rect2.pos to Rect2.position 2017-06-04 02:09:17 +02:00
Andreas Haas 9bc5348961
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Andreas Haas d6333066fc
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)
2017-05-29 20:41:18 +02:00
Timo Schwarzer 1e29d92dfa Use new icons everywhere
Closes #8879
2017-05-28 20:18:30 +02:00
Pedro J. Estébanez 854b3cc158 Improve/harmonize mobile builds 2017-05-27 23:26:59 +02:00
Rémi Verschelde 96be464952 Merge pull request #8935 from volzhs/get-locale-master
Make OS.get_locale() returns same value
2017-05-27 11:27:39 +02:00
Pedro J. Estébanez 2a52e2b2f5 Allow custom CCFLAGS for iPhone builds
plus disable exceptions by default
2017-05-27 00:31:00 +02:00
volzhs 0627445863 Make OS.get_locale() returns same value 2017-05-27 03:50:22 +09:00
Rémi Verschelde 8d92065164 Merge pull request #8916 from sanikoyes/Pr-fix_audio_stoped_iOS
Fix audio can't resume in iOS platform
2017-05-26 16:01:30 +02:00
Rémi Verschelde 755c07af19 Merge pull request #8923 from volzhs/fix-android-build-master
Fix android build regression by be7ced4
2017-05-26 16:00:53 +02:00
volzhs 781ca6773c Fix android build regression by be7ced4 2017-05-26 20:44:45 +09:00
sanikoyes 7d374b5974 Fixed audio can not resume if it is interrupted cause by an incoming phone call 2017-05-26 15:29:00 +08:00
Rémi Verschelde d197cd4705 Merge pull request #8912 from RandomShaper/ios-alert
Implement OS.alert() for iOS
2017-05-26 07:56:22 +02:00
Pedro J. Estébanez 50f152575d Implement OS.alert() for iOS 2017-05-25 17:33:40 +02:00
Rémi Verschelde aadeaae0b9 Merge pull request #8878 from BastiaanOlij/ios_make_arm64_default
Make arm64 the default option and set minimum to iOS 9
2017-05-25 08:38:07 +02:00
George Marques 40613221a4
Fix UWP compilation issues
Also fix VS2017 compilation problems.
2017-05-23 14:06:24 -03:00
BastiaanOlij 80fc513663 Make arm64 the default option and set minimum to iOS 9 2017-05-23 23:58:38 +10:00
Rémi Verschelde 016ee0edb5 Merge pull request #8877 from BastiaanOlij/fix_ios_godot3
More fixes for iOS Godot 3.0
2017-05-23 15:26:13 +02:00
BastiaanOlij 3768a3b2c5 More fixes for iOS Godot 3.0
- nicely exit if initialisation fails
- fix a few issues around new event handling
- use 16bit single channel framebuffer as 32bit is not supported on iOS
2017-05-23 22:38:36 +10:00
BastiaanOlij 8b01f9d28f Fix a few issues compiling windows and using VS2015 and earlier 2017-05-23 21:54:19 +10:00
toger5 72876ef10b added modifier key to scroll event 2017-05-22 03:46:54 -07:00
toger5 b90df858c1 fixed osx input event 2017-05-22 01:17:57 -07:00
Juan Linietsky 5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde 161bc31c53 Merge pull request #8841 from BastiaanOlij/osx_cleanup_old_classes
Removing unused files and old GLFW comments on OSX
2017-05-20 09:51:12 +02:00
Rémi Verschelde e80d2b8dfb Merge pull request #8824 from volzhs/android-payment-master
Fix android payment logical error
2017-05-20 09:49:18 +02:00
BastiaanOlij 87b4776cbf Removing rasterizer from iphone 2017-05-20 10:17:47 +10:00
BastiaanOlij 63db9a4bee Doing a little bit of cleanup 2017-05-20 09:30:31 +10:00
volzhs 209f61b6d4 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:20:51 +09:00
Rémi Verschelde 683befbf84 Merge pull request #8756 from BastiaanOlij/mfi_support_3.0
MFI gamepad support for iPhone
2017-05-18 12:54:43 +02:00
Rémi Verschelde 519df0d34d Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
BastiaanOlij 1f4f784e7d MFI gamepad support for iPhone 2017-05-17 22:38:49 +10:00
Juan Linietsky 98a3296702 Removal of Image from Variant, converted to a Resource. 2017-05-17 07:37:45 -03:00
Pedro J. Estébanez 78f44831f6 Upgrade Android build tools to the latest 2017-05-16 00:57:50 +02:00
Rémi Verschelde ed6baffc72 Merge pull request #8725 from volzhs/android-jni-master
Fix compile error when use "android_add_jni_dir"
2017-05-12 08:24:40 +02:00
Rémi Verschelde 413e68fced Merge pull request #8723 from volzhs/fix-android-master
Fix possible memory leak for Android and update gradle
2017-05-12 08:24:22 +02:00
volzhs be7ced4826 Fix compile error when use "android_add_jni_dir" 2017-05-12 15:10:59 +09:00
volzhs 8be9b98b8e Update to latest gradle 2017-05-12 14:44:47 +09:00
volzhs 9d33f51066 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:44:37 +09:00
Rémi Verschelde 32afcbc482 Put brave old bb10 platform to a well-deserved rest
Add some 🔥 to appease @reduz. Fixes #8692.
2017-05-08 22:22:20 +02:00
toger5 304a1f5b5a Implemented scrolling factor for smooth trackpad scrolling
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Rémi Verschelde c8aea60324 Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
Rémi Verschelde 2976801012 X11: Abort build if using OpenSSL 1.1.0+
Workaround until #8624 is fixed.
2017-05-06 19:01:10 +02:00
Rémi Verschelde a853b0a2f7 Merge pull request #8656 from Faless/fix_udp_wait
Fix UDP::wait() deadlock
2017-05-05 23:05:52 +02:00
Rémi Verschelde 120ce92e32 Merge pull request #8625 from eska014/html5-cursorshape
HTML5: Cursor style control
2017-05-05 22:52:48 +02:00
Fabio Alessandrelli 5c6715a291 Fix UDP wait() not returning after first received packet 2017-05-05 17:41:11 +02:00
L. Krause 0811335fd5 Implement cursor style control in HTML5 platform 2017-05-02 13:31:27 +02:00
Rémi Verschelde 9bdc498f90 Merge pull request #8574 from eska014/html5-noglut
Remove GLUT usage in HTML5 platform
2017-05-02 11:30:01 +02:00
Rémi Verschelde 64c31a3a9f Merge pull request #8576 from eska014/html5-mousemodes
HTML5: Implement mouse lock/capture and hiding
2017-05-02 07:34:52 +02:00
L. Krause 101c542b77 Implement mouse capture and hiding in HTML5 export
MOUSE_MODE_CONFINED cannot be implemented.
2017-05-02 04:01:34 +02:00
Rémi Verschelde 4dd291cecb Merge pull request #8586 from vnen/uwp-3
Fix compilation for UWP
2017-05-01 22:48:01 +02:00
George Marques f7bd21a022
Fix compilation for UWP 2017-04-29 20:15:59 -03:00
Rémi Verschelde de7eba887e Merge pull request #8572 from akien-mga/thirdparty
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
2017-04-29 22:57:49 +02:00
L. Krause abe09919bf Fix HTML5 key events
Regression from 86f5ac3
2017-04-29 04:42:50 +02:00
L. Krause 847bd33fdf Remove GLUT usage in HTML5 platform 2017-04-28 21:54:44 +02:00
Rémi Verschelde 2398eb6ed4 Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
Rémi Verschelde 4759be3c4b Merge pull request #8547 from eska014/html5-pointer-input
HTML5: Add (multi-)touch events, fix inverted scrolling
2017-04-26 19:28:17 +02:00
L. Krause 86f5ac3d74 Implement HTML5 touch events 2017-04-26 16:30:22 +02:00