Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Extract WindowAttributes from the BuilderAttribs | Pierre Krieger | 2015-09-21 | 12 | -67/+106 | |
| | | | ||||||
* | | | Extract GlAttributes from BuilderAttribs | Pierre Krieger | 2015-09-21 | 11 | -70/+113 | |
| | | | ||||||
* | | | Report the error from x11-rs when failing to open shared libraries | Pierre Krieger | 2015-09-20 | 2 | -8/+31 | |
| | | | ||||||
* | | | Err when a X connection cannot be created instead of panicking | Pierre Krieger | 2015-09-20 | 4 | -12/+48 | |
| | | | ||||||
* | | | add resizable mask to decoration-less windows | Paul Rouget | 2015-09-17 | 1 | -1/+2 | |
| | | | ||||||
* | | | Add focus and defocus events on cocoa. Fixes #595 | Felix Kaaman | 2015-09-10 | 1 | -1/+25 | |
| | | | ||||||
* | | | Merge pull request #590 from tomaka/glx-non-conformant | tomaka | 2015-09-04 | 1 | -3/+4 | |
|\ \ \ | |_|/ |/| | | No longer filter out non-conformant formats | |||||
| * | | No longer filter out non-conformant formats | Pierre Krieger | 2015-08-30 | 1 | -3/+4 | |
| | | | ||||||
* | | | Merge pull request #580 from mbrubeck/scroll-lines | tomaka | 2015-09-01 | 1 | -10/+11 | |
|\ \ \ | |/ / |/| | | Fix smooth-scrolling increment on some X11 devices | |||||
| * | | Read scroll axis info from all devices | Matt Brubeck | 2015-08-27 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | When multiple scrolling devices are attached, XIAllMasterDevices does not include the scroll axes for all hardware devices. | |||||
| * | | Take XIScrollClassInfo::increment into account | Matt Brubeck | 2015-08-24 | 1 | -7/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the "Smooth Scrolling" section of [XI2Proto.txt][1]: > One unit of scrolling in either direction is considered to be equivalent to > one button event, e.g. for a unit size of 1.0, -2.0 on an valuator type > Vertical sends two button press/release events for button 4. Likewise, a > button press event for button 7 generates an event on the Horizontal > valuator with a value of +1.0. The server may accumulate deltas of less than > one unit of scrolling. From [What's new in XI 2.1 - smooth scrolling][2]: > The increment defines what delta the driver considers to be one scroll > event. For an increment of +5, each delta of 5 should be regarded as one > scroll unit down. For an increment of -3, each delta of 3 should be regarded > as one scroll unit up (i.e. inverted). [1]: http://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt [2]: http://who-t.blogspot.com/2011/09/whats-new-in-xi-21-smooth-scrolling.html This fixes scrolling with my Microsoft mouse in X11 on Debian 8.1. | |||||
* | | | Make it work on DragonFly/FreeBSD | Michael Neumann | 2015-08-30 | 10 | -10/+15 | |
| |/ |/| | | | | | Tested on DragonFly BSD. Should work similarily on FreeBSD. | |||||
* | | Correct event type | Mariusz Ceier | 2015-08-28 | 1 | -1/+1 | |
| | | | | | | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent. | |||||
* | | Fix android build | Glenn Watson | 2015-08-28 | 2 | -98/+112 | |
| | | ||||||
* | | Modified Windows key event handling to support modifier keys. | Dylan Ede | 2015-08-26 | 2 | -10/+23 | |
|/ | ||||||
* | Do not crash in case of buggy EGL implementations that are missing ↵ | Pierre Krieger | 2015-08-24 | 1 | -8/+28 | |
| | | | | eglGetPlatformDisplay | |||||
* | wayland: Resized event | Victor Berger | 2015-08-21 | 2 | -1/+15 | |
| | ||||||
* | wayland: fix events Moved -> MouseMoved | Victor Berger | 2015-08-21 | 1 | -1/+1 | |
| | ||||||
* | Cleanup unused import stuff | Peter Atashian | 2015-08-21 | 3 | -17/+10 | |
| | | | | | | Also support i686-pc-windows-msvc Signed-off-by: Peter Atashian <retep998@gmail.com> | |||||
* | Do not call nextEventMatchingMask twice | Paul Rouget | 2015-08-20 | 1 | -106/+108 | |
| | | | | | | | | | | | wait_event used to call nextEventMatchingMask twice. Once with untilDate:distantFuture, and dequeue:NO to wait until the next event but witout consuming it, and again with untilDate:distantPast and dequeue:YES to retrieve the event (via poll_events). For some reason, with osx 10.11, calling nextEventMatchingMask with dequeue:NO never returns if the user scrolls, freezing the app. So we now call nextEventMatchingMask only once, with dequeue:YES. | |||||
* | Handle touch events on X11 | Matt Brubeck | 2015-08-18 | 1 | -2/+20 | |
| | ||||||
* | Enable grave key on X11 | Colin Sherratt | 2015-08-17 | 1 | -1/+1 | |
| | ||||||
* | wayland: properly handle 'decorated' option. | Victor Berger | 2015-08-16 | 1 | -10/+14 | |
| | ||||||
* | Update wayland backend to draw decorations. | Victor Berger | 2015-08-16 | 2 | -28/+164 | |
| | | | | | | | | Integrate with wayland-window crate to draw decorations allowing resize & move of the window. Leaving the wayland backend as disabled until full usability is ensured. | |||||
* | Prefer GLX over EGL | Zetok Zalbavar | 2015-08-14 | 1 | -3/+5 | |
| | | | | | | | | fixes #314 for me. I've "tested" change by running examples (which prior to change simply crashed), but since I did not run those examples successfuly ever before, I don't know whether they worked as intended. | |||||
* | Merge pull request #567 from paulrouget/opengl-profile-selection-fix | tomaka | 2015-08-13 | 1 | -6/+14 | |
|\ | | | | | Fix OpenGL profile selection | |||||
| * | Fix OpenGL profile selection | Paul Rouget | 2015-08-11 | 1 | -6/+14 | |
| | | ||||||
* | | Fix a rare crash in some X11 implementations (details below). | Glenn Watson | 2015-08-11 | 1 | -15/+38 | |
|/ | ||||||
* | Correctly handle eglGetDisplay | Pierre Krieger | 2015-08-07 | 6 | -22/+100 | |
| | ||||||
* | Get the list of extensions only once | Pierre Krieger | 2015-08-07 | 1 | -28/+50 | |
| | ||||||
* | Removed dot in error message | Sven Nilsen | 2015-08-05 | 1 | -1/+1 | |
| | | | | Closes https://github.com/tomaka/glutin/issues/562 | |||||
* | Typo in error message | Braden Evans | 2015-08-04 | 1 | -1/+1 | |
| | ||||||
* | Implement Display, Error for ContextError | Braden Evans | 2015-08-04 | 1 | -1/+22 | |
| | ||||||
* | Merge pull request #553 from tomaka/egl-default | tomaka | 2015-08-02 | 1 | -3/+3 | |
|\ | | | | | Use EGL by default with X11 | |||||
| * | Use EGL by default with X11 | Pierre Krieger | 2015-07-28 | 1 | -3/+3 | |
| | | ||||||
* | | Try libEGL.so.1 before libEGL.so | Pierre Krieger | 2015-07-28 | 1 | -1/+4 | |
| | | ||||||
* | | Merge pull request #551 from tomaka/android-headless | tomaka | 2015-07-28 | 2 | -33/+40 | |
|\ \ | | | | | | | Implement headless contexts on android | |||||
| * | | Implement headless contexts on android | Pierre Krieger | 2015-07-27 | 2 | -33/+40 | |
| |/ | ||||||
* | | Headless contexts now create an EGL pbuffer on win32 | Pierre Krieger | 2015-07-27 | 1 | -8/+46 | |
| | | ||||||
* | | Load the EGL library in platform/windows | Pierre Krieger | 2015-07-27 | 3 | -26/+78 | |
|/ | ||||||
* | Merge pull request #548 from tomaka/egl-pbuffer | tomaka | 2015-07-27 | 1 | -1/+30 | |
|\ | | | | | Add support for creating a pbuffer with EGL | |||||
| * | Add support for creating a pbuffer with EGL | Pierre Krieger | 2015-07-27 | 1 | -1/+30 | |
| | | ||||||
* | | Indicate the exact error when eglMakeCurrent or eglSwapBuffers fail | Pierre Krieger | 2015-07-26 | 1 | -8/+6 | |
|/ | ||||||
* | Merge pull request #547 from tomaka/better-choice | tomaka | 2015-07-25 | 1 | -19/+64 | |
|\ | | | | | Better choice for the pixel format | |||||
| * | Better choice for the pixel format | Pierre Krieger | 2015-07-25 | 1 | -19/+64 | |
| | | ||||||
* | | Attempt to fix issues with sRGB | Pierre Krieger | 2015-07-25 | 1 | -0/+10 | |
|/ | ||||||
* | Keep existing function for backward compatibility | Sven Nilsen | 2015-07-25 | 1 | -0/+14 | |
| | ||||||
* | Split `get_inner_size` | Sven Nilsen | 2015-07-25 | 1 | -1/+16 | |
| | | | | | | | | | Closes https://github.com/tomaka/glutin/issues/542 * Splits `get_inner_size` into `get_inner_size_points` and `get_inner_size_pixels` This is a breaking change. | |||||
* | Fixed docs for `get_inner_size` | Sven Nilsen | 2015-07-25 | 1 | -3/+2 | |
| | | | | Closes https://github.com/tomaka/glutin/issues/388 | |||||
* | Implement Window.set_inner_size on X11. | Daggerbot | 2015-07-23 | 1 | -3/+3 | |
| |