Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ / | |||||
* | | api/wayland: activate the backend | Victor Berger | 2015-12-22 | 1 | -1/+1 |
| | | |||||
* | | api/wayland: fix cursor errors | Victor Berger | 2015-12-22 | 2 | -5/+11 |
| | | |||||
* | | api/wayland: output and fullscreen handling. | Victor Berger | 2015-12-22 | 3 | -22/+190 |
| | | |||||
* | | api/wayland: add keyboard support. | Victor Berger | 2015-12-22 | 4 | -2/+255 |
| | | |||||
* | | api/wayland: pointer events support. | Victor Berger | 2015-12-22 | 3 | -9/+119 |
| | | |||||
* | | api/wayland: core windows and events structure. | Victor Berger | 2015-12-22 | 4 | -24/+234 |
| | | |||||
* | | api/wayland: core context | Victor Berger | 2015-12-22 | 2 | -1/+44 |
| | | |||||
* | | api/wayland: move window and monitor to mods. | Victor Berger | 2015-12-22 | 3 | -218/+213 |
| | | |||||
* | | api/wayland: Reset to empty API. | Victor Berger | 2015-12-22 | 4 | -691/+29 |
|/ | | | | In order to build the whole new structure. | ||||
* | Merge pull request #677 from tomaka/pf | tomaka | 2015-12-20 | 6 | -392/+678 |
|\ | | | | | No longer manually enumerate pixel formats | ||||
| * | Fix compilation on linux | Pierre Krieger | 2015-12-19 | 1 | -52/+59 |
| | | |||||
| * | Fix compilation on cocoa | Pierre Krieger | 2015-12-19 | 1 | -3/+3 |
| | | |||||
| * | Remove now unneeded function | Pierre Krieger | 2015-12-19 | 1 | -104/+0 |
| | | |||||
| * | Update EGL implementation | Pierre Krieger | 2015-12-19 | 1 | -83/+139 |
| | | |||||
| * | Update cocoa implementation with changes to pf_reqs | Pierre Krieger | 2015-12-19 | 1 | -4/+16 |
| | | |||||
| * | Update GLX to use glXChooseFBConfig | Pierre Krieger | 2015-12-19 | 1 | -56/+120 |
| | | |||||
| * | Switch WGL to ChoosePixelFormat | Pierre Krieger | 2015-12-19 | 2 | -105/+304 |
| | | |||||
| * | Change PixelFormatRequirements | Pierre Krieger | 2015-12-19 | 2 | -16/+68 |
| | | |||||
* | | Merge pull request #673 from ahihi/master | tomaka | 2015-12-20 | 1 | -19/+17 |
|\ \ | |/ |/| | Fix fullscreen on OS X | ||||
| * | Fix fullscreen on OS X | Miranda Kastemaa | 2015-12-11 | 1 | -19/+17 |
| | | |||||
* | | x11: Improve xlib error reporting | Emilio Cobos Álvarez | 2015-12-15 | 2 | -13/+22 |
|/ | |||||
* | Merge pull request #659 from Aceeri/minmaxwindow | tomaka | 2015-12-05 | 9 | -15/+112 |
|\ | | | | | Minimum/maximum dimensions for windows in win32 API | ||||
| * | Fixed wrong variable binding for WindowAttributes on asserts | Aceeri | 2015-11-09 | 2 | -4/+4 |
| | | |||||
| * | Not implemented asserts to prevent silent fails | Aceeri | 2015-11-09 | 4 | -0/+16 |
| | | |||||
| * | Removed comments, fixed Some/None matches, removed unnecessary lock checks | Aceeri | 2015-11-09 | 2 | -15/+10 |
| | | |||||
| * | Corrections to sharing data | Aceeri | 2015-11-09 | 3 | -19/+20 |
| | | |||||
| * | Minimum/maximum dimensions for windows in win32 api | Aceeri | 2015-11-09 | 5 | -13/+98 |
| | | |||||
* | | Fix the windows build | Pierre Krieger | 2015-12-01 | 1 | -3/+3 |
| | | |||||
* | | Try to fix Windows build | Simon Sapin | 2015-12-01 | 1 | -39/+39 |
| | | |||||
* | | Update some libraries | Simon Sapin | 2015-12-01 | 3 | -28/+28 |
| | | |||||
* | | Fix compilation for 32 bit targets | Olaf Buddenhagen | 2015-11-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced in 47df0e9eaa7f1231a07f86fc44426936c7a2589a Casting fullscreen_atom (which is the result from XInternAtom, i.e. c_ulong) as i64 is obviously wrong -- the whole point of types such as c_ulong is that long in C does *not* always have the same bit size... Cast it as c_long instead. While this is the most straightforward fix, I'm not sure it's the best one: perhaps the x11 crate should offer a set_ulong() method along with set_long(), which could be used here instead of the cast? |