Commit graph

1886 commits

Author SHA1 Message Date
Corey Farwell
f8666a05fb Add example demonstrating min/max window dimension constraints. 2016-11-23 09:41:53 -05:00
Corey Farwell
e3fce3d5ec Implement min/max window dimension constraints for MacOS.
Fixes https://github.com/tomaka/winit/issues/80.
2016-11-23 09:31:41 -05:00
tomaka
25b5768cd3 Merge pull request #88 from mitchmindtree/resize_cb_builder
Add a `WindowBuilder::with_window_resize_callback` method.
2016-11-11 18:14:15 +01:00
mitchmindtree
53065bda40 Move resize_callback field from WindowBuilder into WindowAttributes struct 2016-11-12 02:55:21 +11:00
mitchmindtree
eb18b3d8b6 Add a WindowBuilder::with_window_resize_callback method.
This allows for passing the window_resize_callback fn during the window
building stage. More importantly, this allows setting the callback
without the need for mutable access to the Window, making it possible
to set the callback in the downstream glium crate.

This may solve tomaka/glium#1232 for most folk.
2016-11-11 22:08:46 +11:00
Pierre Krieger
2c58e85584 Some documentation improvements 2016-11-06 09:51:20 +01:00
tomaka
97da37ef04 Merge pull request #86 from tomaka/fix-win32
Fix win32
2016-11-05 14:01:02 +01:00
Pierre Krieger
38ad236df0 Publish 0.5.5 2016-11-05 13:44:36 +01:00
Pierre Krieger
712b27086f Fix win32 panicking all the time and make events work 2016-11-05 13:44:23 +01:00
tomaka
f4d0a26495 Merge pull request #85 from tomaka/tomaka-patch-1
Publish 0.5.4
2016-11-05 10:08:27 +01:00
tomaka
2a545a8ef6 Publish 0.5.4 2016-11-05 09:48:58 +01:00
tomaka
2c90eeb80d Merge pull request #84 from vberger/master
linux: remove outdated comment
2016-11-04 07:25:14 +01:00
Victor Berger
f371621dd9 linux: remove outdate comment 2016-11-03 22:48:58 +01:00
tomaka
1caa499f59 Merge pull request #81 from AndyBarron/master
Add MouseEntered/MouseLeft for Windows, X11, Wayland, & Cocoa
2016-11-03 10:45:54 +01:00
Andy Barron
db45e58390 Add MouseEntered/MouseLeft for Windows, X11, Wayland, & Cocoa 2016-11-03 01:31:16 -07:00
tomaka
705f5f50fa Merge pull request #25 from xales/master
Bump version of MacOS deps.
2016-11-02 20:38:39 +01:00
tomaka
8a1f4d6669 Merge pull request #30 from vberger/master
wayland: sync drawn border size on window creation
2016-11-02 20:38:11 +01:00
Victor Berger
ce6d2496d3 wayland: sync drawn border size on window creation 2016-11-02 20:07:49 +01:00
Jacob Greenfield
f9030abdab Bump version of MacOS deps. 2016-11-02 11:23:18 -04:00
tomaka
3373e45e13 Merge pull request #29 from tomaka/rm-emscripten
Remove emscripten implementation
2016-11-01 21:52:45 +01:00
Pierre Krieger
cf7c691bd6 Remove emscripten implementation 2016-11-01 16:16:59 +01:00
tomaka
9e404f2fe6 Merge pull request #28 from tomaka/win32-cleanups
Cleanups in the win32 code
2016-11-01 16:10:14 +01:00
tomaka
d1e1a2d58c Merge pull request #26 from tomaka/move-impls-around
Move some implementations around
2016-11-01 16:10:06 +01:00
tomaka
ef7428c44f Merge pull request #27 from tomaka/readme-update
Update the README
2016-11-01 16:10:00 +01:00
Pierre Krieger
a557d6417c Forgot OpenGL 2016-10-31 17:33:36 +01:00
Pierre Krieger
ef61a46182 Removed pub fields when not needed 2016-10-31 17:30:19 +01:00
Pierre Krieger
158543f336 Remove obsolete comment 2016-10-31 17:29:12 +01:00
Pierre Krieger
aace1c0373 Remove dependency on libc when possible 2016-10-31 17:26:26 +01:00
Pierre Krieger
751b0a7ed7 Move the win32 implementation to platform/windows 2016-10-31 17:23:00 +01:00
Pierre Krieger
2896ed889b Update the README 2016-10-31 17:19:37 +01:00
Pierre Krieger
188ecae101 Move some implementations around 2016-10-31 17:13:11 +01:00
tomaka
a32aaee83e Publish 0.5.3 2016-10-20 11:24:42 +02:00
tomaka
81e2037745 Merge pull request #23 from ozkriff/port_glutin_to_winit
Prepared winit for glutin porting
2016-10-20 11:22:19 +02:00
Andrey Lesnikov
f5daac771e Prepared winit for glutin porting 2016-10-20 11:06:57 +03:00
tomaka
1f170264ed Merge pull request #21 from vberger/master
Wayland backend rewrite
2016-10-17 12:40:00 +02:00
Victor Berger
76f5613496 wayland: properly fetch new events with Window::poll_events() 2016-10-16 23:29:29 +02:00
Victor Berger
0663269482 wayland: Implement wakeup_event_loop() 2016-10-16 22:53:53 +02:00
Victor Berger
db6b4606a1 wayland: Support for wheel scrolling 2016-10-16 22:35:18 +02:00
Victor Berger
44996acf94 wayland: expose internals as side unsable methods 2016-10-10 08:01:58 +02:00
Victor Berger
42d73a1488 wayland: fix event dispatch, avoid double wait 2016-10-09 18:26:46 +02:00
Victor Berger
2d025a4a35 wayland: gracefully handle missing libxkbcommon 2016-10-09 18:26:24 +02:00
Victor Berger
c6f8ed2f81 wayland: handle Focused event 2016-10-09 16:33:29 +02:00
Victor Berger
6483e7f408 wayland: Some Window methods 2016-10-09 16:19:06 +02:00
Victor Berger
a5ba9983c9 wayland: basic mouse & keyboard support 2016-10-09 16:08:10 +02:00
Victor Berger
34c00aa153 wayland: window creation & resizing 2016-10-09 16:08:10 +02:00
Victor Berger
a505eddf29 wayland: bases of backend and output handling 2016-10-09 16:08:10 +02:00
Victor Berger
c991172a28 wayland: remove old code for new backend 2016-10-09 16:08:10 +02:00
tomaka
fdf8a21125 Merge pull request #19 from tomaka/nsview-fix
Fix WindowExt implemented on the wrong Window
2016-10-08 09:40:04 +02:00
Pierre Krieger
fe77a55a67 Fix WindowExt implemented on the wrong Window 2016-10-08 09:18:00 +02:00
tomaka
10a2a52cb1 Merge pull request #18 from tomaka/macos-nsview
Add get_nsview to WindowExt for MacOS
2016-10-07 08:52:27 +02:00