aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glx: Always set CONFIG_CAVEAT to DONT_CAREBoris-Chengbiao Zhou2016-04-131-15/+2
|
* Fix pixel format support detection in glx. #748Pierre Chevalier2016-04-131-1/+5
| | | | | * by accepting GLX_EXT_framebuffer_sRGB as a sRGB capable framebuffer * the new behaviour matches the wgl codel
* Merge pull request #755 from BonsaiDen/glx_multisampling_conformancetomaka2016-04-061-9/+16
|\ | | | | glx: Support non-conformant multisampling fbconfigs.
| * glx: Support non-conformant multisampling fbconfigs.Ivo Wetzel2016-03-301-9/+16
| |
* | Merge branch 'master' of github.com:tomaka/glutin into ↵Ivo Wetzel2016-03-305-7/+7
|\ \ | | | | | | | | | x11_window_size_constraints
| * | Changed MouseMoved((i32, i32)) to MouseMoved(i32, i32), breaking changeRichard Lettich2016-03-275-7/+7
| |/
* | Correctly apply initial size constraints for x11 windows.Ivo Wetzel2016-03-251-2/+18
| |
* | Merge branch 'master' into x11_window_size_constraintsIvo Wetzel2016-03-255-63/+103
|\|
| * Merge pull request #744 from adamncasey/patch-1tomaka2016-03-241-34/+28
| |\ | | | | | | Enable more Windows keys
| | * Enable more Windows keysAdam Casey2016-03-191-34/+28
| | | | | | | | | | | | | | | | | | This should enable most required keys on Windows. Mappings taken from: https://msdn.microsoft.com/en-gb/library/windows/desktop/dd375731%28v=vs.85%29.aspx and applied with some guesswork to the Glutin names.
| * | Merge pull request #746 from Thinkofname/hide-cursor-state-x11tomaka2016-03-241-14/+41
| |\ \ | | | | | | | | Implement CursorState::Hide for x11
| | * | Implement CursorState::Hide for x11Thinkofname2016-03-211-14/+41
| | | |
| * | | Remove a debug print added in 1de66e4efThinkofname2016-03-211-1/+0
| |/ /
| * / Update objc to 0.2.Steven Sheldon2016-03-201-9/+10
| |/
| * Uncomment more keys on win32UK9922016-03-181-6/+6
| |
| * Add support for navigation keysManish Goregaokar2016-03-173-4/+9
| |
| * Merge pull request #733 from fkaa/cocoa-memleakPaul Rouget2016-03-171-1/+13
| |\ | | | | | | Fix memory leak while creating NSEvent and swapping buffers (Fixes #514)
| | * Fix memory leak while creating NSEvent and swapping buffers (Fixes #514)Felix Kaaman2016-03-021-1/+13
| | |
| * | Make Mac borderless windows resizable and draggable.Patrick Walton2016-03-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Despite the fact that the style mask contains `NSTitledWindowMask`, the title doesn't show up for two reasons: (a) we draw over it; (b) we make it invisible with a call to `-[NSWindow setTitleVisibility:]`. Addresses servo/servo#9856 and servo/servo#9878. Partially addresses servo/servo#9812.
* | | Implement `min/max_dimensions` for x11 windows.Ivo Wetzel2016-03-061-6/+28
|/ / | | | | | | | | | | | | | | | | | | Size hints are only being set for non-fullscreen windows, if `max_dimensions` are set they'll override the normal `dimensions` since X11 will not automatically resize the window after setting the size hints. `PSize` hint is currently set along with the `min/max` hints for good measure.
* / Add phases to wheel events.Patrick Walton2016-03-035-10/+19
|/ | | | Needed for apps to support overscroll on the Mac.
* Fix this_platform_is_not_supported on OpenBSD.Kirill Zdornyy2016-03-0112-14/+14
| | | | I followed the steps of @mneumann.
* cocoa: Post Awakened events at the end of the queue to avoid floods.Patrick Walton2016-02-291-1/+1
| | | | Closes servo/webrender#179.
* TouchpadPressure eventPaul Rouget2016-02-262-4/+14
|
* Unlocks platform-specific attributesPierre Krieger2016-02-1013-17/+92
|
* Update the emscripten port of glutinPierre Krieger2016-02-096-14/+47
|
* allow non ascii character in ReceivedCharacterPaul Rouget2016-02-081-3/+1
|
* Merge pull request #709 from gdamjan/support-utf8-window-titletomaka2016-02-031-7/+20
|\ | | | | support utf8 window titles via _NET_WM_NAME standard
| * call set_title() in new()Damjan Georgievski2016-01-171-4/+2
| | | | | | | | …instead of low-level X11 calls that don't work with utf8
| * support utf8 window titles via _NET_WM_NAME standardDamjan Georgievski2016-01-171-3/+18
| | | | | | | | | | | | | | based on this freerdp patch https://github.com/FreeRDP/FreeRDP/commit/9767f7f042a58aae876e0ad3b2e7bde356c8fda9 thanks to emiliocobos on irc
* | osx: scroll delta should take hidpi factor into accountPaul Rouget2016-02-021-2/+5
| |
* | Use double buffering by default on GLXMatt Brubeck2016-01-281-4/+3
| |
* | Replace `i8` with `libc::c_char`Mátyás Mustoha2016-01-261-2/+2
| |
* | Allow it to work under Xvfb.Michael Howell2016-01-191-30/+27
| | | | | | | | Part of servo/servo#8641
* | Merge pull request #703 from FredrikNoren/mastertomaka2016-01-183-129/+106
|\ \ | |/ |/| Fix cocoa headless. Fixes #635
| * Construct cocoa headless context based on argsFredrik Noren2016-01-183-98/+105
| |
| * Fix cocoa headlessFredrik Noren2016-01-081-39/+9
| |
* | Adding os::macos.Johan Sköld2016-01-173-1/+22
| | | | | | | | Also implements platform_window() for cocoa.
* | x11: Poll the window until it is really visibleEmilio Cobos Álvarez2016-01-161-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #697 It seems that `XSync` doesn't really makes the window viewable. This feels hacky, other option to do it could be using `XIfEvent` or similar to listen to `MapNotify` events, but we'll have a loop still. In practice, this lasts between two and thre iterations on my machine, which is something not noticeable.
* | Prefer double buffer on wgl if unspecifiedDavid Hewson2016-01-141-5/+5
|/ | | | According to https://msdn.microsoft.com/en-us/library/windows/desktop/dd318284(v=vs.85).aspx if double buffer is unavailable then a single buffer will be returned
* Merge pull request #700 from ecoal95/querydevice-leaktomaka2016-01-071-2/+6
|\ | | | | x11: Prevent leak on XIQueryDevice
| * x11: Prevent leak on XIQueryDeviceEmilio Cobos Álvarez2016-01-061-2/+6
| | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice.
* | Fix wrong screen ID used on GLXPierre Krieger2016-01-052-7/+8
|/
* Fix EGL for wayland.Victor Berger2016-01-032-7/+7
|
* Add better X error handlingPierre Krieger2015-12-305-7/+94
|
* Merge pull request #687 from Aceeri/mastertomaka2015-12-301-0/+18
|\ | | | | Support for side buttons on mouse
| * Support for side buttons on mouseAceeri2015-12-291-0/+18
| |
* | Add a useless call to `glXQueryVersion()` before doing anything in the GLX ↵Patrick Walton2015-12-291-0/+12
|/ | | | port to work around a bug in the VirtualBox OpenGL driver.
* Merge pull request #684 from AnthIste/0.4.4-cocoa-apitomaka2015-12-291-4/+13
|\ | | | | Implement set_cursor_position on OSX with Cocoa
| * Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPositionRuben Bakker2015-12-291-4/+6
| |