Rémi Verschelde
b97401f304
Update copyright statements to 2020
...
And apply clang-format 10 to the codebase.
2020-08-13 22:58:13 +02:00
Rémi Verschelde
1d2aa22438
Windows: Appease capricious MSVC versions with moody headers
...
Fixes #37799 .
Fixes #37986 .
(cherry picked from commit 4d3a18d9ff
)
2020-05-28 14:09:23 +02:00
Xavier Sellier
400e273eee
Fallback to the dummy audio driver if no other driver works
...
Fix this issue https://github.com/godotengine/godot/issues/1684
2019-12-19 10:16:01 -05:00
Juan Linietsky
9e8dc70240
HiDPI support on Windows.. yes this is all it took.
2019-06-06 11:58:56 -04:00
Rémi Verschelde
7562ce053a
Update copyright statements to 2019
2019-06-04 11:41:49 +02:00
Guilherme Felipe
72d4fd8f0d
Fix Input::set_custom_mouse_cursor showing cursor when it's invisible
2018-09-17 12:24:44 -03:00
Rémi Verschelde
bb13fa896e
Style: Format code with clang-format 6.0.1
2018-07-18 17:56:12 +02:00
Guilherme Felipe
dda8937ef3
Fix memory leak in set_custom_mouse_cursor
2018-05-26 15:55:57 -03:00
Guilherme Felipe
2f823eb6a7
Prevent crash for invalid reference
2018-05-08 15:13:32 +00:00
Rémi Verschelde
7cb027d071
Merge pull request #18362 from guilhermefelipecgs/support_for_atlas_tex_on_cursor
...
Add support for atlas texture on set_custom_mouse_cursor
2018-05-01 10:01:25 +02:00
Guilherme Felipe
d65e95e5d6
Add support for atlas texture on set_custom_mouse_cursor
2018-04-24 18:19:10 -03:00
Guilherme Felipe
6217457b14
[2.1] Fix custom cursor when it's hidden
...
Port of #18075
2018-04-22 12:05:33 -03:00
Guilherme Felipe
0988796f3c
Remove size restriction for mouse cursor
2018-04-05 15:35:20 -03:00
Rémi Verschelde
6a180a6983
Merge pull request #15565 from RandomShaper/adpod-topmost-2.1
...
Add new window setting: always-on-top (2.1)
2018-02-14 16:43:20 +01:00
Rémi Verschelde
4e46b0b668
Merge pull request #13930 from marcelofg55/center_window_2.1
...
Added OS::center_window to center the window precisely on desktop platforms
2018-02-14 00:15:07 +01:00
Xavier Sellier
fe11a2d23d
Bugfix: This should fix the issue with the mouse global position
2018-01-31 23:27:48 -05:00
binbitten
edc1761c6e
Fix horizontal scroll for windows platform
2018-01-20 22:10:03 +01:00
Juan Linietsky
809c0ba3fa
Added middle button doubleclick, fixes #15567
...
(cherry picked from commit 0f00384c93
)
2018-01-16 00:04:06 +01:00
Pedro J. Estébanez
554ffdcde7
Add new window setting: always on top
...
Implemented for Windows and Linux.
2018-01-05 21:28:56 +01:00
Rémi Verschelde
3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
...
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Rémi Verschelde
2712014744
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
Xavier Sellier
377fdc1e33
Hardware cursor implementation for Godot Engine 2.1
...
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Rémi Verschelde
6a4e7198c5
Style: apply clang-format (5.0.0) to current source
2017-12-11 15:31:49 +01:00
Rémi Verschelde
acb7107720
Style: apply clang-format (3.9.1) to current source
2017-12-11 15:18:06 +01:00
MrCdK
1cda47a7bc
Fix windows compilation when using MinGW
...
(cherry picked from commit 651677f033
)
2017-12-07 07:30:22 +01:00
Pedro J. Estébanez
838fd94a70
Remove dead code from Windows build script
2017-12-07 00:00:24 +01:00
Pedro J. Estébanez
a6cedd736b
Add build param for targeted Windows version
2017-12-07 00:00:24 +01:00
Pedro J. Estébanez
cb23cc1ca4
Improve/fix multitouch on Windows
...
- Fix logic error.
- Track touches to enable defensive handling and releasing on focus out.
- Change comment-out by preprocessor `#if`.
2017-12-07 00:00:24 +01:00
marcelofg55
129e0f34d0
Added OS::center_window to center the window precisely on desktop platforms
2017-12-03 17:13:26 -03:00
Rhody Lugo
714e02c0f6
disable caching for targets using helper functions
2017-11-28 16:14:24 -04:00
Rhody Lugo
388249c386
use the same cache for all branches for appveyor
2017-11-28 03:23:51 -04:00
sersoong
320ee1851f
Porting 3.0 filessytem_dock's context menu to 2.1
2017-11-19 11:21:36 +08:00
Matthias Hoelzl
fb236045de
Make build scripts Scons 3.0/Python3 compatible
...
- Cherry picked #10662 and fixed merge conflicts.
- Manualy merged the change from #11904 .
- Did not merge #12236 since I'm not sure whether the issue
affects Godot 2.1 and I don't have VS2013 to test.
- Did not merge #11843 since it doesn't seem relevant (the
code is only needed for creating DONORS.md, etc.).
- Did not merge #10727 and #11752 since they seem to be
already included in #11742 .
- The Windows and Linux builds have been tested with Scons 3.0
using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-10-24 06:41:32 +02:00
Indah Sylvia
06dd291865
Fixed wrong Virtual-KeyCode(0x12) pair on Windows platform ( #12073 )
2017-10-14 15:49:21 +07:00
Marcelo Fernandez
253db95cba
OS::execute can now read from stderr too when executing with a pipe.
2017-09-21 17:44:53 -03:00
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
Marcelo Fernandez
68dd103f1b
Added new WASAPI driver for Windows
2017-09-03 17:22:05 -03: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
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
Marcelo Fernandez
e0a243385b
Fixed issues with borderless windows on Windows
2017-08-20 12:22:14 -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
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
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
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
Poommetee Ketson
4a0dc529ce
BuildSystem: generated files have .gen.ext
2017-06-25 20:31:56 +07: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
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