aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix WindowProxy not being Send and Sync on win32Pierre Krieger2015-09-241-0/+3
| |
* | Merge pull request #613 from mvdnes/windows_set_sizetomaka2015-09-241-2/+11
|\ \ | |/ |/| Fix Window.set_inner_size() on win32
| * Fix Window.set_inner_size() on Win32Mathijs van de Nes2015-09-231-2/+11
| | | | | | | | | | | | | | Previously, the function would actually set the outer size of the window instead of the inner size. We fix this by first letting windows calculate the outer size based upon the specified inner size.
* | Merge pull request #606 from paulrouget/NSFullSizeContentViewWindowMasktomaka2015-09-231-8/+24
|\ \ | | | | | | Use NSFullSizeContentViewWindowMask for decoration-less windows
| * | Use NSFullSizeContentViewWindowMask for decoration-less windowsPaul Rouget2015-09-231-8/+24
| |/
* | Add #[inline] attributesPierre Krieger2015-09-2317-3/+270
| |
* | Merge pull request #611 from vvuk/win32tomaka2015-09-232-4/+21
|\ \ | |/ |/| fix up win32 support
| * win32: remove unimplemented!() from platform_display()Vladimir Vukicevic2015-09-221-1/+4
| |
| * win32: implement wakeup_event_loopVladimir Vukicevic2015-09-222-3/+17
| |
* | Merge pull request #610 from mbrubeck/android-touchtomaka2015-09-221-10/+13
|\ \ | |/ |/| Support multi-touch events on Android
| * Support multi-touch events on AndroidMatt Brubeck2015-09-221-10/+13
| | | | | | | | Depends on tomaka/android-rs-glue#64.
* | make glutin compile on all iOS targetsTim Neumann2015-09-211-13/+24
| |
* | Merge pull request #587 from neivv/win32-alttomaka2015-09-211-5/+17
|\ \ | | | | | | Handle events for Alt-<Key> and F10 presses in windows
| * | Handle events for Alt-<Key> and F10 presses in windowsMarkus Heikkinen2015-08-291-5/+17
| | |
* | | Remove BuilderAttribsPierre Krieger2015-09-217-26/+49
| | |
* | | Switch OS/X to new designPierre Krieger2015-09-211-15/+20
| | |
* | | Switch X11 and wayland to the new designPierre Krieger2015-09-212-24/+33
| | |
* | | Convert GLX to the new designPierre Krieger2015-09-212-37/+34
| | |
* | | Finish converting windows to the new designPierre Krieger2015-09-211-3/+9
| | |
* | | Switch WGL and part of win32 to the new systemPierre Krieger2015-09-213-64/+66
| | |
* | | Switch EGL to use only pf_reqs and openglPierre Krieger2015-09-215-26/+27
| | |
* | | Extract PixelFormatRequirements from BuilderAttribsPierre Krieger2015-09-211-5/+5
| | |
* | | Extract WindowAttributes from the BuilderAttribsPierre Krieger2015-09-218-33/+33
| | |
* | | Extract GlAttributes from BuilderAttribsPierre Krieger2015-09-218-39/+39
| | |
* | | Report the error from x11-rs when failing to open shared librariesPierre Krieger2015-09-202-8/+31
| | |
* | | Err when a X connection cannot be created instead of panickingPierre Krieger2015-09-202-5/+19
| | |
* | | add resizable mask to decoration-less windowsPaul Rouget2015-09-171-1/+2
| | |
* | | Add focus and defocus events on cocoa. Fixes #595Felix Kaaman2015-09-101-1/+25
| | |
* | | Merge pull request #590 from tomaka/glx-non-conformanttomaka2015-09-041-3/+4
|\ \ \ | |_|/ |/| | No longer filter out non-conformant formats
| * | No longer filter out non-conformant formatsPierre Krieger2015-08-301-3/+4
| | |
* | | Merge pull request #580 from mbrubeck/scroll-linestomaka2015-09-011-10/+11
|\ \ \ | |/ / |/| | Fix smooth-scrolling increment on some X11 devices
| * | Read scroll axis info from all devicesMatt Brubeck2015-08-271-3/+2
| | | | | | | | | | | | | | | When multiple scrolling devices are attached, XIAllMasterDevices does not include the scroll axes for all hardware devices.
| * | Take XIScrollClassInfo::increment into accountMatt Brubeck2015-08-241-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/FreeBSDMichael Neumann2015-08-307-6/+9
| |/ |/| | | | | Tested on DragonFly BSD. Should work similarily on FreeBSD.
* | Correct event typeMariusz Ceier2015-08-281-1/+1
| | | | | | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent.
* | Fix android buildGlenn Watson2015-08-282-98/+112
| |
* | Modified Windows key event handling to support modifier keys.Dylan Ede2015-08-262-10/+23
|/
* Do not crash in case of buggy EGL implementations that are missing ↵Pierre Krieger2015-08-241-8/+28
| | | | eglGetPlatformDisplay
* wayland: Resized eventVictor Berger2015-08-212-1/+15
|
* wayland: fix events Moved -> MouseMovedVictor Berger2015-08-211-1/+1
|
* Cleanup unused import stuffPeter Atashian2015-08-213-17/+10
| | | | | | Also support i686-pc-windows-msvc Signed-off-by: Peter Atashian <retep998@gmail.com>
* Do not call nextEventMatchingMask twicePaul Rouget2015-08-201-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 X11Matt Brubeck2015-08-181-2/+20
|
* Enable grave key on X11Colin Sherratt2015-08-171-1/+1
|
* wayland: properly handle 'decorated' option.Victor Berger2015-08-161-10/+14
|
* Update wayland backend to draw decorations.Victor Berger2015-08-162-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 EGLZetok Zalbavar2015-08-141-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-fixtomaka2015-08-131-6/+14
|\ | | | | Fix OpenGL profile selection
| * Fix OpenGL profile selectionPaul Rouget2015-08-111-6/+14
| |
* | Fix a rare crash in some X11 implementations (details below).Glenn Watson2015-08-111-15/+38
|/