Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed MouseMoved((i32, i32)) to MouseMoved(i32, i32), breaking change | Richard Lettich | 2016-03-27 | 1 | -2/+2 |
| | |||||
* | Update objc to 0.2. | Steven Sheldon | 2016-03-20 | 1 | -9/+10 |
| | |||||
* | 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. | ||||
* | | Add phases to wheel events. | Patrick Walton | 2016-03-03 | 1 | -4/+9 |
|/ | | | | Needed for apps to support overscroll on the Mac. | ||||
* | 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 | 1 | -4/+7 |
| | |||||
* | Unlocks platform-specific attributes | Pierre Krieger | 2016-02-10 | 1 | -3/+7 |
| | |||||
* | allow non ascii character in ReceivedCharacter | Paul Rouget | 2016-02-08 | 1 | -3/+1 |
| | |||||
* | osx: scroll delta should take hidpi factor into account | Paul Rouget | 2016-02-02 | 1 | -2/+5 |
| | |||||
* | Merge pull request #703 from FredrikNoren/master | tomaka | 2016-01-18 | 1 | -83/+12 |
|\ | | | | | Fix cocoa headless. Fixes #635 | ||||
| * | Construct cocoa headless context based on args | Fredrik Noren | 2016-01-18 | 1 | -83/+12 |
| | | |||||
* | | Adding os::macos. | Johan Sköld | 2016-01-17 | 1 | -1/+1 |
|/ | | | | Also implements platform_window() for 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 #677 from tomaka/pf | tomaka | 2015-12-20 | 1 | -4/+16 |
|\ | | | | | No longer manually enumerate pixel formats | ||||
| * | Fix compilation on cocoa | Pierre Krieger | 2015-12-19 | 1 | -3/+3 |
| | | |||||
| * | Update cocoa implementation with changes to pf_reqs | Pierre Krieger | 2015-12-19 | 1 | -4/+16 |
| | | |||||
* | | Fix fullscreen on OS X | Miranda Kastemaa | 2015-12-11 | 1 | -19/+17 |
|/ | |||||
* | Not implemented asserts to prevent silent fails | Aceeri | 2015-11-09 | 1 | -0/+4 |
| | |||||
* | Remove public exports of gl_common and libc | Pierre Krieger | 2015-11-09 | 1 | -1/+1 |
| | |||||
* | Lock objc version, add casts to appease libc pointer type conflict. Closes #654 | mitchmindtree | 2015-11-08 | 1 | -2/+2 |
| | |||||
* | Remove the window feature entirely | Pierre Krieger | 2015-10-03 | 1 | -4/+0 |
| | |||||
* | Warning fixes for OS X. | Josh Matthews | 2015-09-28 | 1 | -4/+3 |
| | |||||
* | Rename MonitorID -> MonitorId | Pierre Krieger | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #606 from paulrouget/NSFullSizeContentViewWindowMask | tomaka | 2015-09-23 | 1 | -8/+24 |
|\ | | | | | Use NSFullSizeContentViewWindowMask for decoration-less windows | ||||
| * | Use NSFullSizeContentViewWindowMask for decoration-less windows | Paul Rouget | 2015-09-23 | 1 | -8/+24 |
| | | |||||
* | | Add #[inline] attributes | Pierre Krieger | 2015-09-23 | 1 | -0/+18 |
|/ | |||||
* | Remove BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -8/+9 |
| | |||||
* | Switch OS/X to new design | Pierre Krieger | 2015-09-21 | 1 | -15/+20 |
| | |||||
* | Extract PixelFormatRequirements from BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -5/+5 |
| | |||||
* | Extract WindowAttributes from the BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -6/+6 |
| | |||||
* | Extract GlAttributes from BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -4/+4 |
| | |||||
* | add resizable mask to decoration-less windows | Paul Rouget | 2015-09-17 | 1 | -1/+2 |
| | |||||
* | Add focus and defocus events on cocoa. Fixes #595 | Felix Kaaman | 2015-09-10 | 1 | -1/+25 |
| | |||||
* | Do not call nextEventMatchingMask twice | Paul Rouget | 2015-08-20 | 1 | -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. | ||||
* | Fix OpenGL profile selection | Paul Rouget | 2015-08-11 | 1 | -6/+14 |
| | |||||
* | Add CreationError::NoAvailablePixelFormat | Pierre Krieger | 2015-07-20 | 1 | -1/+1 |
| | |||||
* | Add CreationError::OpenGlVersionNotSupported | Pierre Krieger | 2015-07-20 | 1 | -2/+2 |
| | |||||
* | Add CreationError::RobustnessNotSupported | Pierre Krieger | 2015-07-20 | 1 | -1/+1 |
| | |||||
* | Add with_robustness and handle robustness on all implementations | Pierre Krieger | 2015-06-22 | 1 | -0/+8 |
| | |||||
* | Merge pull request #488 from tomaka/rem-is-closed | tomaka | 2015-06-17 | 1 | -8/+0 |
|\ | | | | | Remove the is_closed function | ||||
| * | Remove the is_closed function | Pierre Krieger | 2015-06-16 | 1 | -8/+0 |
| | | |||||
* | | Merge pull request #486 from tomaka/context-error | tomaka | 2015-06-17 | 1 | -2/+5 |
|\ \ | | | | | | | Handle errors from MakeCurrent and SwapBuffers | ||||
| * | | Handle errors from MakeCurrent and SwapBuffers | Pierre Krieger | 2015-06-16 | 1 | -2/+5 |
| | | | |||||
* | | | Add transparency support for cocoa. Closes #472 | Felix Kaaman | 2015-06-16 | 1 | -1/+16 |
| |/ |/| | |||||
* | | Make legacy functions crash on osx core contexts | Felix Kaaman | 2015-06-16 | 1 | -0/+6 |
|/ | |||||
* | Report scroll deltas in lines for non-touch devices on OS X | Robert Knight | 2015-06-14 | 1 | -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. | ||||
* | Express scroll deltas as either line or pixel deltas | Robert Knight | 2015-06-13 | 1 | -1/+5 |
| | | | | | | | | | | | | 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. |