Commit graph

76 commits

Author SHA1 Message Date
Marcelo Fernandez
60cf34b968 Added a crash handler to dump the backtrace on Windows, Linux and OS X 2017-09-19 19:56:24 -03:00
Rémi Verschelde
9d598833d2 Use HTTPS URL for Godot's website in the headers 2017-08-27 14:11:45 +02:00
Marcelo Fernandez
e3394fc437 Fix y axis for set_window_position on OS X 2017-08-21 15:36:55 -03:00
Vasiliy Makarov
d37d9aea8e fix build for osx 2017-08-19 10:47:15 +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
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
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
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
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
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
da7b181a39 Fix Right-Click (Ctrl-Click) on OS X 2017-07-22 16:35:07 -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
volzhs
a495feae3e Make OS.get_locale() returns same value 2017-05-27 03:42:28 +09: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
Rémi Verschelde
a27876d5ac Style: Apply clang-format (3.9.1) to Obj-C++ files 2017-04-09 14:03:52 +02:00
Rémi Verschelde
4b561e3e04 Merge pull request #8311 from BastiaanOlij/format_mm_2.1
Spaces to tabs and layout adjustments on .mm files
2017-04-08 16:49:51 +02:00
BastiaanOlij
33ea9fc4a7 Spaces to tabs and layout adjustments on .mm files 2017-04-08 09:47:13 +10:00
Rémi Verschelde
e9b045d9e5 Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
Brett-Mitchell
616850b3c0 Fix for issue #7766
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX().  mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
(cherry picked from commit 6921e11805)
2017-03-18 20:09:45 +01:00
Rémi Verschelde
d8223ffa75 Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Andreas Haas
e88a540b91 osx: Support gamepad input.
Fixes #3881

Vibration support is not optimal yet as it doesn't try to emulate the "weak" and "strong" motor strength,
but just takes the parameter with the highest value for the vibration gain.

(cherry picked from commit 8c886b9d7a)
2016-10-18 18:34:16 +02:00
marcelofg55
0c76ba32cc Crashfix for OSX on Sierra beta
(cherry picked from commit bf320fd4ea)
2016-08-09 18:47:13 +02:00
marcelofg55
fd6f62fd9a Fix set_window_size not setting the correct size on OSX
(cherry picked from commit 38de4d24ef)
2016-08-03 17:52:10 +02:00
GungnirInd
2c1a74fb3a Implement OS.request_attention() for OSX (#5662)
Keeps bouncing icon until user focuses window
2016-07-21 17:30:20 +02:00
Keyaku
072da51f20 Added alert() functionality for OS X 2016-06-22 16:58:31 +01:00
marcelofg55
76ab7d3886 Right click->Quit on the godot icon will now close the application on OSX.
Fixed get_window_position that missed a return on OSX.
2016-06-04 12:35:00 -03:00
marcelofg55
4e0f2389c3 Merge remote-tracking branch 'upstream/master' 2016-06-02 18:56:28 -03:00
Juan Linietsky
344a39dafd Implemented file drop support in OSX 2016-05-31 01:27:48 -03:00
marcelofg55
bb223869e0 Key modifiers (Ctrl, Alt, Meta and Shift) may be used as Input keys now on OSX 2016-05-31 00:02:14 -03:00
Juan Linietsky
9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
marcelofg55
b697de92ef OS.get_screen_size now returns the correct value on OSX 2016-05-11 11:44:10 -03:00
Ariel Manzur
de3ed61fc5 I think this is ok, "resizable" property might change 2016-04-29 10:54:25 -03:00
Rémi Verschelde
0a5472e697 Remove trailing spaces 2016-04-02 20:26:12 +02:00
hondres
02eddbf7da osx: fix inverted horizontal scrolling 2016-03-07 11:24:27 +01:00
Rémi Verschelde
130f8fa193 Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626.
2016-02-17 23:01:27 +01:00
hondres
df4faf8f33 support horizontal mouse wheel, use in text editor 2016-02-04 17:16:22 +01:00
George Marques
f4a39692b9 Change default window size for desktop
Fix #3149
2016-01-24 17:52:33 -02:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky
586e482a98 -Fix parsing of comments in VariantParser, fixes #3175 2015-12-31 10:25:21 -03:00
santiagopf
c8077de714 utf stuff on osx 2015-12-13 22:21:49 -03:00
Juan Linietsky
890b462ffb added rotation and scale support to gui controls 2015-12-12 13:54:26 -03:00
Juan Linietsky
cc7880fba5 -added windowed mode with -w, fixes #3020
-changed default windowed resolution to 1280x720
2015-12-12 12:06:53 -03:00
Didier Vandekerckhove
d48a1bd22d Added specific get_locale to OSX platform
The default unix get_locale didn’t work. OS X requires a specific one.
2015-10-16 19:42:26 +02:00