Commit graph

727 commits

Author SHA1 Message Date
Bo Bakker
1a33192187 Fix OS X window closing bug 2015-04-04 01:00:10 +02:00
Pierre Krieger
b99309bee2 Remove deprecated functions 2015-04-03 18:41:11 +02:00
tomaka
424cc5ea49 Merge pull request #347 from tomaka/win32-pixel-format-details
Fix missing parameter for pixel formats infos on win32
2015-04-03 13:54:20 +02:00
Steven Sheldon
a65a4fd15a Removed unstable clone_from method so OSX can compile. 2015-04-03 02:30:29 -07:00
Pierre Krieger
0f7bd9071e Remove all features for 1.0 beta 2015-04-03 09:42:45 +02:00
tomaka
1c74614c4a Merge pull request #349 from binsoftware/update-rust-cocoa
updating use statements from recent rust-cocoa module changes
2015-04-03 08:15:13 +02:00
Ryan Stewart
348de5cbe4 updating use statements from recent rust-cocoa module changes 2015-04-02 15:19:51 -07:00
Pierre Krieger
d33c138164 Rustup 2015-04-02 22:41:35 +02:00
Pierre Krieger
4d81cc2df1 Fix missing parameter for pixel formats infos on win32 2015-04-02 13:53:15 +02:00
tomaka
aa97fac6ff Merge pull request #344 from tomaka/gles-win32
Add support for GLES on Win32
2015-04-02 13:22:59 +02:00
Pierre Krieger
eabfa9e624 Add support for GLES on Win32 2015-04-02 11:17:14 +02:00
Pierre Krieger
8cf875434c Fix the default value for OpenGL flag again 2015-04-02 10:13:01 +02:00
tomaka
e51b694d59 Merge pull request #340 from tomaka/winimpl-platform
Rename "winimpl" module to "platform"
2015-04-02 09:52:21 +02:00
Pierre Krieger
eb430ff207 Fix default OpenGL debug flag being the opposite of what it should be 2015-04-02 09:06:33 +02:00
Pierre Krieger
414335e0fc Rename "winimpl" to "platform" 2015-04-02 08:27:32 +02:00
tomaka
a0ac31b70f Merge pull request #338 from XMPPwocky/master
Fix WM_SETCURSOR
2015-04-01 19:41:26 +02:00
Nathaniel Theis
e51dd82478 cursor state on w32 2015-04-01 10:12:53 -07:00
mitchmindtree
ee2a5e4a2f Fixed error where rustc couldn't infer the type 2015-04-01 21:23:30 +11:00
Pierre Krieger
2089e9c476 Add draft for raw input 2015-03-30 13:12:37 +02:00
Pierre Krieger
9bef21048e Fix wrong grabbing rect 2015-03-30 12:56:08 +02:00
Pierre Krieger
bae1e42b8b More work on win32 implementation 2015-03-30 11:42:19 +02:00
Pierre Krieger
bb418efcc7 Partially implement cursor state on win32 2015-03-30 11:32:18 +02:00
Pierre Krieger
556e1b4caf Update for winapi 2015-03-30 05:58:13 +02:00
tomaka
9ce644618b Merge pull request #329 from tomaka/choose-pixel-format
choose_pixel_format now returns a Result
2015-03-28 20:40:46 +01:00
Pierre Krieger
697d42a64f choose_pixel_format now returns a Result 2015-03-28 20:17:30 +01:00
Steven Sheldon
0ef63cd9d3 Audit msg_send return types. 2015-03-28 08:55:50 -07:00
Pierre Krieger
b27306f972 Fix compilation on win32 2015-03-28 11:07:41 +01:00
Pierre Krieger
aaa1c76841 Fix compilation on x11 2015-03-28 10:30:46 +01:00
Pierre Krieger
3d692870e2 Change grab_cursor and ungrab_cursor to set_cursor_state 2015-03-26 17:15:18 +01:00
tomaka
d6ebaaaf5c Merge pull request #227 from aepsil0n/grab-cursor
Implement grabbing of the mouse pointer for X11
2015-03-26 16:48:40 +01:00
Corey Farwell
82367772bb Fix typo in Window::get_position docs 2015-03-25 23:44:21 -04:00
Brendan Zabarauskas
eeb314d3aa Merge pull request #321 from SSheldon/objc_lib
Use objc crate for Objective-C runtime functionality
2015-03-26 09:58:26 +11:00
Pierre Krieger
cedc85c550 Rustup 2015-03-25 20:27:18 +01:00
Steven Sheldon
4b1cfe8801 Updated to use objc lib. 2015-03-25 10:08:42 -04:00
Eduard Bopp
18f9bc44c9 Implement grabbing of the mouse pointer for X11
Contains new methods in the Window API that closely mirror the Xlib API. The
methods are left unimplemented for other platforms for now.
2015-03-25 13:10:55 +01:00
tomaka
8c78cabcf2 Merge pull request #324 from binsoftware/win32-monitor
Win32 monitor handling
2015-03-25 06:17:35 +01:00
Cam Jackson
589c4d188a Fix compilation by replacing "range" with ".." syntax 2015-03-25 15:54:57 +11:00
Ryan Stewart
1c9c5c018a enumerate monitors in addition to adapters; this allows the MonitorID implementation to return a more useful monitor name, and the correct native monitor ID 2015-03-24 13:29:17 -07:00
Ryan Stewart
1c20ff87f1 honor top-left coordinates when requesting fullscreen to make sure window appears on the correct monitor 2015-03-24 13:25:24 -07:00
Brendan Zabarauskas
8a463f6643 Merge pull request #316 from binsoftware/cocoa-fixes
Cocoa fixes: memory leaks, monitor handling, is_current()
2015-03-24 18:33:53 +11:00
Sven Nilsen
9a5dd996cd Upgrade to latest Rust 2015-03-23 13:03:07 +01:00
tomaka
a6485045f1 Merge pull request #318 from glennw/thread-wake-mac
Fix waking up mac event loop from thread.
2015-03-23 10:35:31 +01:00
Nicholas Bishop
3413a2d973 Fix compilation by replacing "range" with ".." syntax 2015-03-22 18:54:18 -04:00
Pierre Krieger
63f69d6f2f Rustup 2015-03-21 13:43:14 +01:00
Glenn Watson
918833b19f Fix waking up mac event loop from thread. 2015-03-20 08:06:46 +10:00
York Xiang
0be7b072f0 Update for latest Rust 2015-03-19 18:06:50 +08:00
Ryan Stewart
cf630ec041 add and use IdRef::non_nil() instead of doing deref'd comparisons against nil 2015-03-18 14:49:16 -07:00
Ryan Stewart
1b2fd6e6d0 fix headless build by ensuring NativeMonitorId enum is available internally even without the window feature; add Eq/PartialEq to NativeMonitorId 2015-03-18 14:16:35 -07:00
Ryan Stewart
779f3ce888 fix X11 build issue due to missing import 2015-03-16 15:43:33 -07:00
Ryan Stewart
9cecb7ee55 implement Window is_current() for cocoa backend 2015-03-16 14:13:21 -07:00