aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* X11 - Ignore scroll events that happen outside of Glutin windowsRobert Knight2015-06-282-4/+15
| | | | | | | | | | | Scroll deltas are calculated in X11 by comparing the current and previous absolute values for the scroll axis when a scroll motion event is received. If the user scrolls whilst the cursor is outside of the window then an incorrect delta is reported when the cursor re-enters the window. Fix this by resetting the last-seen axis values whenever the cursor re-enters the window.
* Remove XInput2 code for handling keyboard eventsRobert Knight2015-06-282-58/+35
| | | | | | | * For the moment we're still using plain core X11 events for handling keyboard activity, so remove the XInput2 code for that * Small refactoring of X11 input handling and documentation fixes
* Use XInput2 for event handlingRobert Knight2015-06-285-86/+416
| | | | | This provides smooth scrolling for touchpad devices and will enable support for touch events etc. in future.
* Ignore errors generated by SwapBuffers on windowsPierre Krieger2015-06-271-2/+5
|
* Fix fullscreen mode on X11Pierre Krieger2015-06-261-15/+31
|
* Merge pull request #500 from tomaka/no-errortomaka2015-06-264-22/+64
|\ | | | | Add support for the EGL_KHR_create_context_no_error extension
| * Add support for the EGL_KHR_create_context_no_error extensionPierre Krieger2015-06-254-22/+64
| |
* | Fix the discovery of the WGL_EXT_swap_control extensionPierre Krieger2015-06-251-3/+1
|/
* Merge pull request #497 from tomaka/robustnesstomaka2015-06-238-34/+210
|\ | | | | Add with_robustness and handle robustness on all implementations
| * Add with_robustness and handle robustness on all implementationsPierre Krieger2015-06-228-34/+210
| |
* | Merge pull request #495 from tomaka/fix-multisamplingtomaka2015-06-231-2/+9
|\ \ | | | | | | Makes sure that the pixel format has the same multisampling settings as the requirements
| * | Makes sure that the pf has the same multisampling settings as the requirementsPierre Krieger2015-06-211-2/+9
| |/
* / Update wayland dependency to 0.2.Victor Berger2015-06-232-17/+21
|/
* Merge pull request #488 from tomaka/rem-is-closedtomaka2015-06-179-73/+4
|\ | | | | Remove the is_closed function
| * Remove the is_closed functionPierre Krieger2015-06-169-73/+4
| |
* | Merge pull request #486 from tomaka/context-errortomaka2015-06-1720-62/+123
|\ \ | | | | | | Handle errors from MakeCurrent and SwapBuffers
| * | Handle errors from MakeCurrent and SwapBuffersPierre Krieger2015-06-1620-62/+123
| | |
* | | glx: Unbind the context if it's the current oneecoal952015-06-171-2/+4
| | |
* | | Add transparency support for cocoa. Closes #472Felix Kaaman2015-06-161-1/+16
| |/ |/|
* | Make legacy functions crash on osx core contextsFelix Kaaman2015-06-162-0/+8
|/
* Merge pull request #484 from pinumbernumber/mastertomaka2015-06-161-1/+25
|\ | | | | Implement transparency for X11
| * Implement transparency for X11pinumbernumber2015-06-141-1/+25
| |
* | Correct MouseWheel doc comment.Robert Knight2015-06-151-4/+1
| | | | | | | | | | Remove incomplete sentence and obsolete comment about the meaning of the parameter.
* | Report scroll deltas in lines for non-touch devices on OS XRobert Knight2015-06-141-2/+6
| | | | | | | | | | | | Scroll deltas on OS X may be reported either as pixel deltas to scroll by if supported by the device or line/row deltas otherwise.
* | Correct typo in MouseScrollDelta docsRobert Knight2015-06-131-1/+1
| |
* | Express scroll deltas as either line or pixel deltasRobert Knight2015-06-134-7/+32
|/ | | | | | | | | | | | Depending on the platform and device, scroll deltas may either be represented as pixel deltas specifying the amount in pixels to scroll or they may be expressed in 'lines' or 'chunks' for low resolution devices (eg. a traditional mouse wheel). Pixel deltas are currently available on OS X. X11 currently supports only integer line deltas, though pixel deltas are available via XInput2. Windows supports fractional line deltas.
* Fix leaking color map and destruction of IMPierre Krieger2015-06-051-1/+6
|
* Switch to the official crates.Jack Moffitt2015-06-031-1/+1
| | | | cocoa, core-foundation, and core-graphics are now on crates.io.
* Merge pull request #475 from fkaa/cocoa-glcaptomaka2015-05-261-9/+17
|\ | | | | Add OS version detection on cocoa for selecting latest gl version. Fixes #470
| * Add OS version detection on cocoa for selecting latest gl version. Fixes #470Felix Kaaman2015-05-241-9/+17
| |
* | Fix set_cursor_state on X11Eduard Bopp2015-05-251-4/+9
|/ | | | | When the state is not changed, no code must be executed. Such no-ops previously hit the unimplemented cursor hiding.
* Switch to dwmapiPierre Krieger2015-05-242-9/+5
|
* Add API for transparency and decorations and add support for win32Pierre Krieger2015-05-244-2/+42
|
* Merge pull request #469 from fkaa/cocoa-vsynctomaka2015-05-231-4/+2
|\ | | | | Fix vsync not being disabled by default in cocoa
| * Fix vsync not being disabled by default in cocoaFelix Kaaman2015-05-231-4/+2
| |
* | Several WGL cleanupsPierre Krieger2015-05-222-140/+170
| |
* | Fix the compilation on 32bits linuxPierre Krieger2015-05-211-1/+1
| |
* | Allow creating EGL contexts on win32 with the AMD DLLsPierre Krieger2015-05-216-27/+123
| |
* | Detach wgl and win32Pierre Krieger2015-05-216-425/+529
|/
* fixup! Fix handling of numpad keys w.r.t. numlock (derived from fix ↵Avi Weinstock2015-05-181-1/+1
| | | | mentioned at http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html).
* Fix handling of numpad keys w.r.t. numlock (derived from fix mentioned at ↵Avi Weinstock2015-05-181-2/+8
| | | | | | | http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html). Conflicts: src/api/x11/window.rs
* Rework the X implementation to use only one X connectionPierre Krieger2015-05-175-914/+937
|
* Fix GLX creating only 3.0 contextsPierre Krieger2015-05-161-69/+94
|
* Merge pull request #452 from vberger/waylandtomaka2015-05-153-6/+267
|\ | | | | Implement Keyboard support for the wayland backend
| * Implement most of the keysyms for wayland.Victor Berger2015-05-151-2/+165
| |
| * UTF8 keyboard events for wayland.Victor Berger2015-05-151-3/+13
| |
| * Basic raw keyboard handling.Victor Berger2015-05-143-6/+94
| |
* | Do the linux backend choice only once at startup.Victor Berger2015-05-131-24/+31
|/
* Update to new Platform structure.Victor Berger2015-05-131-1/+3
|
* Move WaylandContext in its own file.Victor Berger2015-05-132-120/+129
|