Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Finish converting windows to the new design | Pierre Krieger | 2015-09-21 | 1 | -3/+9 |
| | |||||
* | Switch WGL and part of win32 to the new system | Pierre Krieger | 2015-09-21 | 3 | -64/+66 |
| | |||||
* | Switch EGL to use only pf_reqs and opengl | Pierre Krieger | 2015-09-21 | 5 | -26/+27 |
| | |||||
* | Extract PixelFormatRequirements from BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -5/+5 |
| | |||||
* | Extract WindowAttributes from the BuilderAttribs | Pierre Krieger | 2015-09-21 | 8 | -33/+33 |
| | |||||
* | Extract GlAttributes from BuilderAttribs | Pierre Krieger | 2015-09-21 | 8 | -39/+39 |
| | |||||
* | 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 | 2 | -5/+19 |
| | |||||
* | 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 | 7 | -6/+9 |
| | | | | | | | | 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 | 5 | -21/+98 |
| | |||||
* | Get the list of extensions only once | Pierre Krieger | 2015-08-07 | 1 | -28/+50 |
| | |||||
* | 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 | 1 | -0/+40 |
|\ \ | | | | | | | Implement headless contexts on android | ||||
| * | | Implement headless contexts on android | Pierre Krieger | 2015-07-27 | 1 | -0/+40 |
| |/ | |||||
* / | Load the EGL library in platform/windows | Pierre Krieger | 2015-07-27 | 2 | -23/+12 |
|/ | |||||
* | 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 |
|/ | |||||
* | Attempt to fix issues with sRGB | Pierre Krieger | 2015-07-25 | 1 | -0/+10 |
| | |||||
* | Implement Window.set_inner_size on X11. | Daggerbot | 2015-07-23 | 1 | -3/+3 |
| | |||||
* | Add aarch64-unknown-linux-gnu support | Akos Kiss | 2015-07-23 | 1 | -2/+2 |
| | | | | | | * Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them) | ||||
* | Filter invalid FBConfigs | Pierre Krieger | 2015-07-22 | 1 | -0/+16 |
| | |||||
* | Merge pull request #536 from tomaka/fix-using-freed-memory | tomaka | 2015-07-22 | 1 | -2/+3 |
|\ | | | | | Fix calling XFree before reading from memory | ||||
| * | Fix calling XFree before reading from memory | Pierre Krieger | 2015-07-22 | 1 | -2/+3 |
| | | |||||
* | | Only listen for mouse events from master devices | Robert Knight | 2015-07-22 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | XInput2 has a concept of master and slave devices, where a slave device is the actual physical device, attached to a master device representing the cursor or keyboard focus. See http://who-t.blogspot.co.uk/2009/05/xi2-recipes-part-1.html Mouse events were being received from both the master and slave devices, but we are only interested in events from the master device. Fixes #533 |