Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly apply initial size constraints for x11 windows. | Ivo Wetzel | 2016-03-25 | 1 | -2/+18 |
| | |||||
* | Merge branch 'master' into x11_window_size_constraints | Ivo Wetzel | 2016-03-25 | 5 | -63/+103 |
|\ | |||||
| * | Merge pull request #744 from adamncasey/patch-1 | tomaka | 2016-03-24 | 1 | -34/+28 |
| |\ | | | | | | | Enable more Windows keys | ||||
| | * | Enable more Windows keys | Adam Casey | 2016-03-19 | 1 | -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-x11 | tomaka | 2016-03-24 | 1 | -14/+41 |
| |\ \ | | | | | | | | | Implement CursorState::Hide for x11 | ||||
| | * | | Implement CursorState::Hide for x11 | Thinkofname | 2016-03-21 | 1 | -14/+41 |
| | | | | |||||
| * | | | Remove a debug print added in 1de66e4ef | Thinkofname | 2016-03-21 | 1 | -1/+0 |
| |/ / | |||||
| * / | Update objc to 0.2. | Steven Sheldon | 2016-03-20 | 1 | -9/+10 |
| |/ | |||||
| * | Uncomment more keys on win32 | UK992 | 2016-03-18 | 1 | -6/+6 |
| | | |||||
| * | Add support for navigation keys | Manish Goregaokar | 2016-03-17 | 3 | -4/+9 |
| | | |||||
| * | Merge pull request #733 from fkaa/cocoa-memleak | Paul Rouget | 2016-03-17 | 1 | -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 Kaaman | 2016-03-02 | 1 | -1/+13 |
| | | | |||||
| * | | Make Mac borderless windows resizable and draggable. | Patrick Walton | 2016-03-14 | 1 | -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 Wetzel | 2016-03-06 | 1 | -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 Walton | 2016-03-03 | 5 | -10/+19 |
|/ | | | | Needed for apps to support overscroll on the Mac. | ||||
* | Fix this_platform_is_not_supported on OpenBSD. | Kirill Zdornyy | 2016-03-01 | 12 | -14/+14 |
| | | | | I followed the steps of @mneumann. | ||||
* | cocoa: Post Awakened events at the end of the queue to avoid floods. | Patrick Walton | 2016-02-29 | 1 | -1/+1 |
| | | | | Closes servo/webrender#179. | ||||
* | TouchpadPressure event | Paul Rouget | 2016-02-26 | 2 | -4/+14 |
| | |||||
* | Unlocks platform-specific attributes | Pierre Krieger | 2016-02-10 | 13 | -17/+92 |
| | |||||
* | Update the emscripten port of glutin | Pierre Krieger | 2016-02-09 | 6 | -14/+47 |
| | |||||
* | allow non ascii character in ReceivedCharacter | Paul Rouget | 2016-02-08 | 1 | -3/+1 |
| | |||||
* | Merge pull request #709 from gdamjan/support-utf8-window-title | tomaka | 2016-02-03 | 1 | -7/+20 |
|\ | | | | | support utf8 window titles via _NET_WM_NAME standard | ||||
| * | call set_title() in new() | Damjan Georgievski | 2016-01-17 | 1 | -4/+2 |
| | | | | | | | | …instead of low-level X11 calls that don't work with utf8 | ||||
| * | support utf8 window titles via _NET_WM_NAME standard | Damjan Georgievski | 2016-01-17 | 1 | -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 account | Paul Rouget | 2016-02-02 | 1 | -2/+5 |
| | | |||||
* | | Use double buffering by default on GLX | Matt Brubeck | 2016-01-28 | 1 | -4/+3 |
| | | |||||
* | | Replace `i8` with `libc::c_char` | Mátyás Mustoha | 2016-01-26 | 1 | -2/+2 |
| | | |||||
* | | Allow it to work under Xvfb. | Michael Howell | 2016-01-19 | 1 | -30/+27 |
| | | | | | | | | Part of servo/servo#8641 | ||||
* | | Merge pull request #703 from FredrikNoren/master | tomaka | 2016-01-18 | 3 | -129/+106 |
|\ \ | |/ |/| | Fix cocoa headless. Fixes #635 | ||||
| * | Construct cocoa headless context based on args | Fredrik Noren | 2016-01-18 | 3 | -98/+105 |
| | | |||||
| * | Fix cocoa headless | Fredrik Noren | 2016-01-08 | 1 | -39/+9 |
| | | |||||
* | | Adding os::macos. | Johan Sköld | 2016-01-17 | 3 | -1/+22 |
| | | | | | | | | Also implements platform_window() for cocoa. | ||||
* | | x11: Poll the window until it is really visible | Emilio Cobos Álvarez | 2016-01-16 | 1 | -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 unspecified | David Hewson | 2016-01-14 | 1 | -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-leak | tomaka | 2016-01-07 | 1 | -2/+6 |
|\ | | | | | x11: Prevent leak on XIQueryDevice | ||||
| * | x11: Prevent leak on XIQueryDevice | Emilio Cobos Álvarez | 2016-01-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice. | ||||
* | | Fix wrong screen ID used on GLX | Pierre Krieger | 2016-01-05 | 2 | -7/+8 |
|/ | |||||
* | Fix EGL for wayland. | Victor Berger | 2016-01-03 | 2 | -7/+7 |
| | |||||
* | Add better X error handling | Pierre Krieger | 2015-12-30 | 5 | -7/+94 |
| | |||||
* | Merge pull request #687 from Aceeri/master | tomaka | 2015-12-30 | 1 | -0/+18 |
|\ | | | | | Support for side buttons on mouse | ||||
| * | Support for side buttons on mouse | Aceeri | 2015-12-29 | 1 | -0/+18 |
| | | |||||
* | | Add a useless call to `glXQueryVersion()` before doing anything in the GLX ↵ | Patrick Walton | 2015-12-29 | 1 | -0/+12 |
|/ | | | | port to work around a bug in the VirtualBox OpenGL driver. | ||||
* | Merge pull request #684 from AnthIste/0.4.4-cocoa-api | tomaka | 2015-12-29 | 1 | -4/+13 |
|\ | | | | | Implement set_cursor_position on OSX with Cocoa | ||||
| * | Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPosition | Ruben Bakker | 2015-12-29 | 1 | -4/+6 |
| | | |||||
| * | Implement set_cursor_position with CGWarpMouseCursorPosition | Ruben Bakker | 2015-12-28 | 1 | -4/+11 |
| | | |||||
* | | Merge pull request #680 from tomaka/xsync | tomaka | 2015-12-29 | 1 | -8/+14 |
|\ \ | | | | | | | Call XSync before XSetInputFocus | ||||
| * | | Only call XSetInputFocus if the window is visible | Pierre Krieger | 2015-12-24 | 1 | -12/+14 |
| | | | |||||
| * | | Call XSync before XSetInputFocus | Pierre Krieger | 2015-12-24 | 1 | -0/+4 |
| | | | |||||
* | | | Removed unnecessary unsafe code block | Rengierof | 2015-12-26 | 1 | -5/+3 |
| | | | |||||
* | | | Fixes cursor behavior with windows | Rengierof | 2015-12-26 | 3 | -20/+38 |
|/ / |