Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some more support for X11 keys (partially fixes #251) | Manish Goregaokar | 2015-02-05 | 1 | -49/+49 |
| | |||||
* | On some X11 driver implementations, calling XCloseDisplay from a different ↵ | Glenn Watson | 2015-01-30 | 1 | -17/+25 |
| | | | | | | | thread causes memory corruption, resulting in a crash. Change window proxy to be a weak reference so that the XCloseDisplay is always called from the main window. | ||||
* | Merge pull request #220 from tomaka/x11-vsync | tomaka | 2015-01-25 | 1 | -2/+45 |
|\ | | | | | Implement vsync for x11 and add vsync example | ||||
| * | Implement vsync for x11 and add vsync example | Pierre Krieger | 2015-01-23 | 1 | -2/+45 |
| | | |||||
* | | Merge pull request #221 from tomaka/fix-rc | tomaka | 2015-01-25 | 1 | -0/+5 |
|\ \ | | | | | | | Fix race condition with XOpenIM | ||||
| * | | Fix race condition with XOpenIM | Pierre Krieger | 2015-01-23 | 1 | -0/+5 |
| |/ | |||||
* / | fix for latest rustc | Andrew Kelley | 2015-01-23 | 1 | -2/+1 |
|/ | |||||
* | Fix log prefix | Glenn Watson | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | Some GPU/driver combinations have glxCreateContextAttribsARB present, but it ↵ | Glenn Watson | 2015-01-22 | 1 | -2/+14 |
| | | | | fails with an X error. In this case, catch the X error and fall back to the old method of creating a context. | ||||
* | `c_char` isn't always `i8` | Akos Kiss | 2015-01-20 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -16/+16 |
| | |||||
* | Merge pull request #192 from bjwbell/mouse-cursors | tomaka | 2015-01-13 | 1 | -1/+48 |
|\ | | | | | Add mouse cursor support | ||||
| * | Refine X11 cursor selections | Bryan Bell | 2015-01-12 | 1 | -19/+22 |
| | | | | | | | | | | | | | | For MouseCursor::Cell, NotAllowed, NoDrop, Grab, Grabbing, ... set the appropriate X11 cursor. Also alphabetize the cursors listed in the MouseCursor enum. | ||||
| * | Add mouse cursor support | Bryan Bell | 2015-01-12 | 1 | -1/+45 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Change uint/int to usize/isize | Bryan Bell | 2015-01-12 | 2 | -18/+18 |
|/ | | | | | From https://github.com/rust-lang/rfcs/pull/544 the types uint/int were renamed to usize/isize. | ||||
* | Update to latest Rust nightly | Austin Bonander | 2015-01-08 | 1 | -23/+27 |
| | |||||
* | Update for Rustc | Pierre Krieger | 2015-01-05 | 1 | -2/+2 |
| | |||||
* | Update for Rustc | Pierre Krieger | 2015-01-03 | 1 | -2/+4 |
| | |||||
* | Change the way that events are represented. | Ty Overby | 2015-01-01 | 2 | -17/+19 |
| | | | | | | | | | | 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. | ||||
* | Unify WindowBuilder and HeadlessRendererBuilder for easier implementations | Pierre Krieger | 2014-12-31 | 1 | -3/+3 |
| | |||||
* | Update for changes in Send/Sync traits | Pierre Krieger | 2014-12-30 | 1 | -0/+3 |
| | |||||
* | Add resize example, fix warnings, make callback an option so it can be removed. | Glenn Watson | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | Add callback function to allow resize messages to be sent on mac. | Glenn Watson | 2014-12-19 | 1 | -0/+3 |
| | |||||
* | Merge pull request #161 from glennw/thread-proxy | tomaka | 2014-12-18 | 1 | -51/+92 |
|\ | | | | | Introduce a WindowProxy for accessing a subset of functionality | ||||
| * | Fix event name | Glenn Watson | 2014-12-18 | 1 | -2/+2 |
| | | |||||
| * | Introduce a WindowProxy for accessing a subset of functionality | Glenn Watson | 2014-12-17 | 1 | -51/+92 |
| | | | | | | | | | | | | | | from other threads. This currently provides a way for other threads to wakeup a blocked event loop on X11. Other platforms have stub functions that need to be implemented. This is similar to the functionality of glfwPostEmptyEvent. | ||||
* | | Update for rustc for x11 | Pierre Krieger | 2014-12-17 | 1 | -8/+8 |
|/ | |||||
* | Add get_api() function | Pierre Krieger | 2014-12-07 | 1 | -0/+5 |
| | |||||
* | Merge pull request #154 from tomaka/fix-warning-x11 | tomaka | 2014-12-02 | 1 | -2/+2 |
|\ | | | | | Fix deprecation warning on X11 | ||||
| * | Fix deprecation warning on X11 | Pierre Krieger | 2014-12-02 | 1 | -2/+2 |
| | | |||||
* | | Fix multisampling not working on X11 | Pierre Krieger | 2014-12-02 | 1 | -1/+2 |
|/ | |||||
* | Implement multisampling for x11 | Pierre Krieger | 2014-11-27 | 1 | -2/+9 |
| | |||||
* | Update for rustc | Pierre Krieger | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Implement lists sharing | Pierre Krieger | 2014-11-24 | 1 | -2/+8 |
| | |||||
* | Update for rustc | Pierre Krieger | 2014-11-19 | 2 | -1000/+1004 |
| | |||||
* | Add support for with_visibility(), show(), hide() on X11. | Glenn Watson | 2014-11-18 | 1 | -1/+16 |
| | |||||
* | Add ctrl, shift, alt events for X11. | Glenn Watson | 2014-11-17 | 1 | -6/+6 |
| | |||||
* | Remove call to glViewport in X11 implementation | Pierre Krieger | 2014-11-09 | 1 | -13/+0 |
| | |||||
* | Add support for the OpenGL debug flag | Tomaka17 | 2014-11-09 | 1 | -0/+5 |
| | |||||
* | Remove key modifiers in KeyboardInput | Tomaka17 | 2014-11-06 | 1 | -31/+2 |
| | |||||
* | Use a proper error type for window creation | Tomaka17 | 2014-11-05 | 1 | -10/+11 |
| | |||||
* | Add visibility-related functions to window | Tomaka17 | 2014-11-01 | 1 | -0/+6 |
| | |||||
* | fail! -> panic! | Tomaka17 | 2014-10-30 | 2 | -3/+3 |
| | |||||
* | Merge pull request #86 from glennw/x11-resize | tomaka | 2014-10-28 | 1 | -4/+13 |
|\ | | | | | Fix resize event on X11. Without this change, resizing window larger tha... | ||||
| * | Fix resize event on X11. Without this change, resizing window larger than ↵ | Glenn Watson | 2014-10-28 | 1 | -4/+13 |
| | | | | | | | | initial size doesn't work. | ||||
* | | Fix a few more string memory issues. | Glenn Watson | 2014-10-28 | 1 | -4/+6 |
|/ | |||||
* | Merge pull request #74 from glennw/x11-key-events | tomaka | 2014-10-27 | 1 | -6/+6 |
|\ | | | | | Add backspace event and map some more keys on x11. | ||||
| * | Add backspace event and map some more keys on x11. | Glenn Watson | 2014-10-27 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #76 from glennw/fix-x11-window-res | tomaka | 2014-10-27 | 1 | -1/+1 |
|\ \ | | | | | | | Only reject modes based on resolution when using fullscreen. This fixes ... |