Pedro J. Estébanez
d6d1c55505
Fix pre-Lollipop (21) Android debug
...
Namely, automatically pick debug over Wi-Fi for devices with an older release and debug over USB otherwise.
A message is printed both in editor output window and console (uppercase here) to let the user know about what mechanism is being used and why.
Fixes #10458 .
2017-08-30 20:35:42 +02:00
Pedro J. Estébanez
8d49cdcfeb
Fix parsing of Android API level
...
And renaming the `Device.release` field to `api_level` for correctness.
2017-08-30 20:12:35 +02:00
Rémi Verschelde
891f6c9b63
Merge pull request #10530 from RandomShaper/remove-old-android-setting-2.1
...
Sanitize Android debug (2.1)
2017-08-29 00:10:31 +02:00
Rémi Verschelde
9d598833d2
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:11:45 +02:00
Wilson E. Alvarez
48b85347c6
Free memory when Main::setup returns an error
...
(cherry picked from commit bd257153dc
)
2017-08-27 13:02:15 +02:00
Fabio Alessandrelli
cc9d701658
Allow building fat binaries with osxcross
...
(cherry picked from commit d7f08ead4e
)
2017-08-27 13:00:24 +02:00
Rémi Verschelde
5bcfe43a14
Workaround missing WM_TOUCH on mingw-w64 < 4.0
...
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
(cherry picked from commit 2ed87f33cf
)
2017-08-27 12:36:55 +02:00
Rémi Verschelde
a6805f37d3
Buildsystem: Prevent building X11/server with GCC 6+
...
This is due to a Godot bug which is now fixed in the master branch, but would require
too much work for a short-lived branch such as 2.1. Building release binaries with GCC 6+
will trigger segfaults due to UB when dereferencing pointers with Object::cast_to.
In theory this check should also be made for Windows cross-compilation with MinGW,
but I am more concerned about Linux distros shipping broken binaries than adventurous
cross-compilers hitting a wall.
2017-08-27 11:11:35 +02:00
George Marques
40a778a709
WinRT: Remove unneeded include
...
Fix #10642
2017-08-25 19:52:20 -03:00
Pedro J. Estébanez
e42d62ae73
Fix Android remote debug not hitting breakpoints
...
A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
2017-08-22 17:25:28 +02:00
Pedro J. Estébanez
723e8482c0
Make Android debug over USB the only option
...
'Remote debug over ADB' is removed as that will be always the case.
Closes #10458 .
2017-08-22 17:10:59 +02:00
Marcelo Fernandez
e3394fc437
Fix y axis for set_window_position on OS X
2017-08-21 15:36:55 -03:00
Marcelo Fernandez
e0a243385b
Fixed issues with borderless windows on Windows
2017-08-20 12:22:14 -03:00
Vasiliy Makarov
d37d9aea8e
fix build for osx
2017-08-19 10:47:15 +03:00
Marcelo Fernandez
647c4ae5bf
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 12:10:21 -03:00
Marcelo Fernandez
830d7c1af1
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-16 13:13:31 -03:00
Marcelo Fernandez
fe37afa8df
Implemented borderless window functions on OS X
2017-08-14 09:53:05 -03:00
bruvzg
8edc3991fd
Duplicate error messages to macOS logging system
...
(cherry picked from commit 68bf243461
)
2017-08-13 20:29:46 +02:00
bruvzg
5b76a456da
Fix warp_mouse_pos on macOS
2017-08-05 00:00:05 +03:00
Rémi Verschelde
e87b6d4c63
Merge pull request #9978 from ISylvox/update-gradle-android-for-2.1
...
[2.1] Update Gradle-Android buildtool
2017-08-04 09:45:21 +02:00
Rémi Verschelde
bba0be7967
Merge pull request #9885 from bruvzg/2.1-win-num-enter-fix
...
Fix Numpad Enter key on Windows (2.1)
2017-07-31 22:59:32 +02:00
Rémi Verschelde
c2fd0e65f7
Merge pull request #9986 from marcelofg55/2.1
...
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-31 14:03:15 +02:00
Rémi Verschelde
3a8550675f
X11: Do not force require system OpenSSL to build
2017-07-31 00:14:04 +02:00
Rémi Verschelde
c1f54e1a45
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the 2.1 branch.
2017-07-30 23:00:25 +02:00
Marcelo Fernandez
6eedfe4ecb
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-30 16:58:00 -03:00
bruvzg
ad034962f1
Change display scale when moving the window from monitor to monitor
...
(cherry picked from commit d18922a56e
)
2017-07-30 21:42:17 +02:00
Rémi Verschelde
437cac9f55
Make MinGW test less verbose on non-Bash shells
...
The &> construct seems to be Bash-specific.
Supersedes #9755 .
(cherry picked from commit 9f768cb519
)
2017-07-30 21:36:36 +02:00
Pedro J. Estébanez
7459c43750
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.
(cherry picked from commit 6ea233434a
)
2017-07-30 21:34:59 +02:00
Marcelo Fernandez
4af2afe5b4
Fix fullscreen on X11 for non-resizable windows
...
(cherry picked from commit 11dbca419c
)
2017-07-30 21:09:31 +02:00
ISylvox
f7e4190b19
update gradle-android buildtool for 2.1
2017-07-30 12:08:36 +07:00
Marcelo Fernandez
a6129f0a21
Fix mutex initialisation in OS X Audio Driver
2017-07-28 16:17:46 -03:00
George Marques
ea545859bd
Merge pull request #9902 from brenttaylor/msvc-build-tools-fix
...
Support MSVC (2015) build tools
2017-07-28 10:40:54 -03:00
Rémi Verschelde
0838a1c420
Merge pull request #9922 from RandomShaper/fix-android-debug-2.1
...
Fix Android debug/run (2.1)
2017-07-28 11:15:45 +02:00
Rémi Verschelde
93e06fa1a8
Merge pull request #9812 from bruvzg/2.1
...
Add macOS main menu (2.1)
2017-07-28 11:05:22 +02:00
Rémi Verschelde
45566c61e3
Merge pull request #9836 from bruvzg/2.1-resize-fix
...
Improved macOS window resizing behaviour (2.1)
2017-07-28 11:02:21 +02:00
Pedro J. Estébanez
aea12b56bc
Fix Android debug/run
...
Same as _master_'s 0ae3336a329b1fd14b66bb26707c2461b66e5aa8; namely:
- 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.
But adds:
- Get the debug port from the editor settings, where it lives now.
Fixes #8581 .
2017-07-27 18:11:23 +02:00
Brent Taylor
90f853f710
Support MSVC (2015) build tools
2017-07-26 21:45:11 -07:00
bruvzg
673211a692
Fix Numpad Enter key on Windows
2017-07-26 21:39:02 +03:00
bruvzg
c121f8d561
Fix Numpad Enter key on macOS
2017-07-26 16:46:44 +03:00
bruvzg
5c7ba482d0
Improved macOS window resizing behaviour.
...
Add redraw call to resize callback.
2017-07-25 12:11:39 +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
bruvzg
9ea472e810
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-24 22:23:25 +03:00
bruvzg
0cd14e5bac
Add macOS main menu
2017-07-24 14:32:07 +03: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