Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | enumerate monitors in addition to adapters; this allows the MonitorID ↵ | Ryan Stewart | 2015-03-24 | 2 | -34/+70 |
| | | | | implementation to return a more useful monitor name, and the correct native monitor ID | ||||
* | honor top-left coordinates when requesting fullscreen to make sure window ↵ | Ryan Stewart | 2015-03-24 | 1 | -2/+7 |
| | | | | appears on the correct monitor | ||||
* | Merge pull request #316 from binsoftware/cocoa-fixes | Brendan Zabarauskas | 2015-03-24 | 1 | -0/+7 |
|\ | | | | | Cocoa fixes: memory leaks, monitor handling, is_current() | ||||
| * | fix headless build by ensuring NativeMonitorId enum is available internally ↵ | Ryan Stewart | 2015-03-18 | 1 | -3/+3 |
| | | | | | | | | even without the window feature; add Eq/PartialEq to NativeMonitorId | ||||
| * | expose platform-native monitor identifier | Ryan Stewart | 2015-03-16 | 1 | -0/+7 |
| | | |||||
* | | Rustup | Pierre Krieger | 2015-03-21 | 2 | -4/+9 |
|/ | |||||
* | Add set_cursor_position function | Pierre Krieger | 2015-03-10 | 1 | -0/+19 |
| | |||||
* | Add is_current function | Pierre Krieger | 2015-03-04 | 2 | -0/+10 |
| | |||||
* | Minor changes in documentation | Pierre Krieger | 2015-03-01 | 1 | -14/+12 |
| | |||||
* | Add a guard for the calls to MakeCurrent during initialization | Pierre Krieger | 2015-03-01 | 3 | -16/+61 |
| | |||||
* | Add wrappers for safer error recovery during initialization | Pierre Krieger | 2015-03-01 | 2 | -82/+87 |
| | |||||
* | Fix various warnings | Pierre Krieger | 2015-03-01 | 2 | -5/+5 |
| | |||||
* | Mark functions as unsafe instead of having a lot of blocks | Pierre Krieger | 2015-03-01 | 1 | -85/+84 |
| | |||||
* | Fix creating non-hardware-accelerated contexts | Pierre Krieger | 2015-03-01 | 1 | -6/+3 |
| | |||||
* | Use the WGL API to determine extended pixel format, plus fix creation | Pierre Krieger | 2015-03-01 | 1 | -35/+33 |
| | |||||
* | Do not call wglShareLists is ctxt is null | tomaka | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | Fix win32 compilation | tomaka | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | Removed as_slice_with_nul as CString now derefs to a CStr | mitchmindtree | 2015-02-22 | 2 | -2/+2 |
| | |||||
* | RingBuf -> VecDeque for other platforms, as_slice_with_nul -> as_bytes_with_nul | mitchmindtree | 2015-02-22 | 3 | -6/+6 |
| | |||||
* | expose the platform-specific window handle (currently Win only) | Ryan Stewart | 2015-02-20 | 1 | -0/+4 |
| | |||||
* | Merge pull request #282 from tomaka/gl-api | tomaka | 2015-02-19 | 1 | -6/+18 |
|\ | | | | | Improve the OpenGL context request system | ||||
| * | Improve the OpenGL context request system | Pierre Krieger | 2015-02-18 | 1 | -6/+18 |
| | | |||||
* | | Update for rustc | Pierre Krieger | 2015-02-19 | 1 | -9/+9 |
|/ | |||||
* | Don't call MakeCurrent(null, null) when destroying | Pierre Krieger | 2015-02-18 | 1 | -1/+2 |
| | |||||
* | Extract load_opengl32_dll | Pierre Krieger | 2015-02-16 | 1 | -13/+15 |
| | |||||
* | Implement enumerate_arb_pixel_formats | Pierre Krieger | 2015-02-16 | 1 | -2/+48 |
| | |||||
* | Switch to create_context for the real context | Pierre Krieger | 2015-02-16 | 1 | -49/+5 |
| | |||||
* | Implement better handling for pixel formats | Pierre Krieger | 2015-02-16 | 1 | -24/+58 |
| | |||||
* | Extract and add create_context function | Pierre Krieger | 2015-02-16 | 1 | -12/+61 |
| | |||||
* | Start splitting win32::init into multiple functions | Pierre Krieger | 2015-02-16 | 1 | -327/+338 |
| | |||||
* | Merge pull request #277 from tomaka/win32-callback | tomaka | 2015-02-16 | 3 | -233/+200 |
|\ | | | | | Extract callback from win32/init.rs to its own module | ||||
| * | Extract callback from win32/init.rs | Pierre Krieger | 2015-02-16 | 3 | -233/+200 |
| | | |||||
* | | Merge pull request #276 from tomaka/win32-headless | tomaka | 2015-02-16 | 2 | -34/+37 |
|\ \ | | | | | | | Extract win32 HeadlessContext to a "headless" module | ||||
| * | | Extract win32 HeadlessContext to a "headless" module | Pierre Krieger | 2015-02-16 | 2 | -34/+37 |
| |/ | |||||
* / | Style improvement in win32/event.rs | Pierre Krieger | 2015-02-16 | 1 | -178/+178 |
|/ | |||||
* | Fix poll_events() blocking on win32 | tomaka | 2015-02-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #70 from tomaka/fix-iterators | tomaka | 2015-02-10 | 1 | -40/+50 |
|\ | | | | | Use platform-specific iterators instead | ||||
| * | Win32: use platform-specific iterators instead | Tomaka17 | 2015-02-10 | 1 | -40/+50 |
| | | |||||
* | | Implement win32 initialization in a cleaner way | Pierre Krieger | 2015-02-10 | 2 | -29/+22 |
|/ | |||||
* | Rename enum variants of MouseButton | Eduard Bopp | 2015-02-05 | 1 | -12/+12 |
| | | | | | With enums that are namespaced by default, it seems reasonable to be less redundant in the variant naming here. | ||||
* | Upgrade to latest winapi | Peter Atashian | 2015-01-25 | 3 | -48/+55 |
| | | | | Signed-off-by: Peter Atashian <retep998@gmail.com> | ||||
* | Add missing get_api stubs. | Glenn Watson | 2015-01-19 | 1 | -0/+4 |
| | | | | | | | Add hidpi_factor() support for retina displays. Fix Resize and MouseMoved events to handle retina displays. Fix inverted y position for MouseMoved events on mac. Fix initial painting on retina display. | ||||
* | x11, android, win32: [ui]size, [u]int -> [ui]32 | Andrey Lesnikov | 2015-01-13 | 3 | -38/+38 |
| | |||||
* | Fix OS X & Win32 builds | Bryan Bell | 2015-01-12 | 1 | -1/+1 |
| | |||||
* | Add mouse cursor support | Bryan Bell | 2015-01-12 | 1 | -0/+4 |
| | | | | | | | Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors. Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function either does nothing or calls the "unimplemented!" macro. | ||||
* | Update for rust alpha 1.0 | Pierre Krieger | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | Update for Rustc | Pierre Krieger | 2015-01-08 | 2 | -9/+11 |
| | |||||
* | Update for Rustc | Pierre Krieger | 2015-01-05 | 2 | -5/+5 |
| | |||||
* | Update for Rustc | Pierre Krieger | 2015-01-03 | 3 | -9/+12 |
| | |||||
* | Change the way that events are represented. | Ty Overby | 2015-01-01 | 2 | -12/+15 |
| | | | | | | | | | | The bulk of this commit is changing instances of Vec to RingBuf which is optimized for the push_back() / pop_front() strategy that is used internaly in the event system. The glutin custom iterators are now just wrappers around the RingBuf iterator type. This will bring the running time of iterator traversal from O(n^2) to O(n) because shifting-on-delete won't be performed. |