Commit Graph

1259 Commits

Author SHA1 Message Date
Rémi Verschelde 263452ee91 Merge pull request #9960 from marcelofg55/master
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-30 20:59:04 +02:00
ISylvox 0d8556a7f0 update gradle-android buildtool for master 2017-07-30 11:30:20 +07:00
Marcelo Fernandez abbf821ddf Fix get_screen_* funcs returning old values after resolution changes on OS X 2017-07-28 18:08:57 -03:00
bruvzg d18922a56e Change display scale when moving the window from monitor to monitor 2017-07-28 20:17:19 +03:00
Rémi Verschelde d9b4969c18 Merge pull request #9921 from RandomShaper/fix-android-debug
Fix Android debug/run
2017-07-28 11:15:40 +02:00
Rémi Verschelde a7b35edf7b Merge pull request #9874 from bruvzg/3.0-osx-menu
Add macOS main menu (3.0)
2017-07-28 11:05:05 +02:00
Rémi Verschelde 5caf9d0d08 Merge pull request #9876 from bruvzg/3.0-resize-fix
Improved macOS window resizing behaviour (3.0)
2017-07-28 11:02:28 +02:00
L. Krause 0c693595d6 Implement touch-screen check in HTML5 platform 2017-07-28 05:39:25 +02:00
Pedro J. Estébanez c8d1457898 Fix Android debug/run
- Prefix all __adb__ commands with device specification to avoid errors when multiple devices connected.
- Include Android release in device data collection.
- Force system user:.
    - Ability to enable/disable.
    - Apply only if OS release >= 17 (when multiuser was introduced.
    - Fix argument passing.
- Rename local variable `port` to `dbg_port` to better match its partner `fs_port`.
- Fix typo in error message.
2017-07-27 17:32:39 +02:00
Karroffel 135c2112ad added an optional parameter to OS symbol lookup
When looking up a symbol from a library, previously an error was
shown when the symbol did not exist. That caused confusion when the
lookup was completely optional.
This adds a new parameter to that method so that those errors can
be handled manually if needed.
2017-07-27 11:13:21 +02:00
bruvzg 3220fee6b2 Fix is_window_fullscreen() and set_window_fullscreen() behaviour after window has entered/left full-screen mode via green zoom button.
Fix get/set_current_screen & set_window_maximized.
2017-07-27 10:05:33 +03:00
bruvzg f98a203377 Add macOS main menu 2017-07-27 10:05:29 +03:00
Rémi Verschelde 411f09a512 Merge pull request #9887 from StraToN/power-fix-x11
Fix power management on x11 platform and removes explicit NULL pointer dereference
2017-07-27 08:53:27 +02:00
Rémi Verschelde 6645c7cc18 Merge pull request #9872 from bruvzg/3.0-num-enter-fix
Remove duplicate keycode constant for Numpad Enter key (3.0)
2017-07-27 08:52:52 +02:00
Julian Murgia 71dcb7fcc4 Fixes power management on x11 platform and removes explicit NULL pointer dereference. 2017-07-26 23:29:51 +02:00
bruvzg 66d3022516 Fix Numpad Enter key on Windows 2017-07-26 21:35:54 +03:00
bruvzg 1c1565d0f9 Improved macOS window resizing behaviour. 2017-07-26 16:29:48 +03:00
bruvzg 7de7ca8ae4 Remove duplicate keycode constant for Numpad Enter key. 2017-07-26 14:43:02 +03:00
BastiaanOlij 20502d9180 Added features for image formats 2017-07-26 21:01:48 +10:00
Rémi Verschelde f55211ae0d Merge pull request #9823 from BastiaanOlij/ios_fix_framebuffer_order
Fixed setting our system_fbo framebuffer
2017-07-26 07:51:20 +02:00
Rémi Verschelde 9f768cb519 Make MinGW test less verbose on non-Bash shells
The &> construct seems to be Bash-specific.
Supersedes #9755.
2017-07-25 20:44:44 +02:00
Pedro J. Estébanez f78299c81b Add support for ARMv8 (64-bit) on Android 2017-07-25 12:28:46 +02:00
Rémi Verschelde 7cbe12725e Merge pull request #9825 from RandomShaper/rename-android-define
Remove ANDROID define
2017-07-25 11:35:08 +02:00
Pedro J. Estébanez 6ea233434a Remove ANDROID define
Fixes GDNative build error on Android.

It's also discouraged by Google to rely on it. In case someone needs to check, use ``__ANDROID__`` instead, provided by the very same compiler.
2017-07-25 11:08:52 +02:00
Jia Wang 2f5b7f8777 Workaround to allow pasting unicode characters from X selection.
Fixes #2491.
Fixes #9787.
2017-07-25 08:00:48 +08:00
BastiaanOlij 3bfdc583cb Fixed setting our system_fbo framebuffer 2017-07-25 08:29:48 +10:00
Marcelo Fernandez 2c27501c3f Fix Right-Click (Ctrl-Click) on OS X 2017-07-23 12:45:59 -03:00
Rémi Verschelde 38c471bef6 Merge pull request #9765 from Noshyaar/pr-clang
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Rémi Verschelde 401f1098f6 Merge pull request #9770 from eska014/html5-focus
Implement input focus behavior in HTML5
2017-07-23 13:13:09 +02:00
Rémi Verschelde e5aa8546ec Merge pull request #9713 from marcelofg55/master
Fix for possible crash in OS X audio init.
2017-07-23 13:05:49 +02:00
Juan Linietsky 772485cdb3 Several changes to better run in mobile. 2017-07-22 14:08:17 -03:00
L. Krause ca28c068c0 Implement input focus behavior in HTML5
- Key and mouse events are only consumed if canvas is focused
 - NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are
   emitted
2017-07-22 17:25:15 +02:00
Poommetee Ketson c7c65ca6ba Clang-formatting *.cpp and *.h (some files excluded) 2017-07-22 18:14:08 +07:00
Juan Linietsky 25678b1876 -Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Ruslan Mustakov fbb27a0c43 Fix android export templates build
This commit fixes errors occurring during Android export template
builds.
This required modification in third-party library (libpng) to compile
with NEON. Most likely a similar patch will be applied by them and we
could then replace the modified version.
2017-07-20 01:58:47 +07:00
Marcelo Fernandez bbc207675f Fix for possible crash in OS X audio init. 2017-07-19 11:05:51 -03:00
geequlim 5a2500f580 Fix errors with global config names no more sorrys please 2017-07-19 09:25:50 +08:00
Juan Linietsky bbada82f80 -Reorganized all properties of project settings (Sorry, Again).
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Rémi Verschelde 1c1d43ef21 Merge pull request #9668 from marcelofg55/master
Reinit audio device when the system default device changes on OS X
2017-07-17 22:29:17 +02:00
Rémi Verschelde 80b2a47022 Merge pull request #9669 from eska014/html5-implicit-cache
Fix zipping HTML5 templates when using SCons' implicit cache
2017-07-17 12:04:18 +02:00
Marcelo Fernandez 764f607611 Reinit audio device when the system default device changes on OS X 2017-07-16 23:35:23 -03:00
L. Krause 69e0dee983 Fix zipping HTML5 templates when using implicit cache 2017-07-17 03:53:31 +02:00
Rémi Verschelde 9a502d3c17 Merge pull request #9619 from marcelofg55/master
Fix fullscreen on X11 for non-resizable windows
2017-07-13 20:31:33 +02:00
Marcelo Fernandez 11dbca419c Fix fullscreen on X11 for non-resizable windows 2017-07-13 13:08:38 -03:00
George Marques 53026c069d
Bring back the UWP exporter 2017-07-12 16:31:48 -03:00
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