aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa
Commit message (Collapse)AuthorAgeFilesLines
* Update objc to 0.2.Steven Sheldon2016-03-201-9/+10
|
* 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.
* | Add phases to wheel events.Patrick Walton2016-03-031-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 Walton2016-02-291-1/+1
| | | | Closes servo/webrender#179.
* TouchpadPressure eventPaul Rouget2016-02-261-4/+7
|
* Unlocks platform-specific attributesPierre Krieger2016-02-102-4/+13
|
* allow non ascii character in ReceivedCharacterPaul Rouget2016-02-081-3/+1
|
* osx: scroll delta should take hidpi factor into accountPaul Rouget2016-02-021-2/+5
|
* 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-171-1/+1
|/ | | | Also implements platform_window() for cocoa.
* Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPositionRuben Bakker2015-12-291-4/+6
|
* Implement set_cursor_position with CGWarpMouseCursorPositionRuben Bakker2015-12-281-4/+11
|
* Merge pull request #677 from tomaka/pftomaka2015-12-201-4/+16
|\ | | | | No longer manually enumerate pixel formats
| * Fix compilation on cocoaPierre Krieger2015-12-191-3/+3
| |
| * Update cocoa implementation with changes to pf_reqsPierre Krieger2015-12-191-4/+16
| |
* | Fix fullscreen on OS XMiranda Kastemaa2015-12-111-19/+17
|/
* Merge pull request #659 from Aceeri/minmaxwindowtomaka2015-12-051-0/+4
|\ | | | | Minimum/maximum dimensions for windows in win32 API
| * Not implemented asserts to prevent silent failsAceeri2015-11-091-0/+4
| |
* | Update some librariesSimon Sapin2015-12-011-2/+2
|/
* Remove public exports of gl_common and libcPierre Krieger2015-11-092-3/+3
|
* Lock objc version, add casts to appease libc pointer type conflict. Closes #654mitchmindtree2015-11-081-2/+2
|
* Remove the window feature entirelyPierre Krieger2015-10-031-4/+0
|
* Warning fixes for OS X.Josh Matthews2015-09-282-6/+5
|
* Rename MonitorID -> MonitorIdPierre Krieger2015-09-242-10/+10
|
* 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-233-0/+26
|/
* Remove BuilderAttribsPierre Krieger2015-09-212-11/+14
|
* Switch OS/X to new designPierre Krieger2015-09-211-15/+20
|
* Extract PixelFormatRequirements from BuilderAttribsPierre Krieger2015-09-211-5/+5
|
* Extract WindowAttributes from the BuilderAttribsPierre Krieger2015-09-212-7/+7
|
* Extract GlAttributes from BuilderAttribsPierre Krieger2015-09-211-4/+4
|
* 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
|
* 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.
* Fix OpenGL profile selectionPaul Rouget2015-08-111-6/+14
|
* Add CreationError::NoAvailablePixelFormatPierre Krieger2015-07-201-1/+1
|
* Add CreationError::OpenGlVersionNotSupportedPierre Krieger2015-07-201-2/+2
|
* Add CreationError::RobustnessNotSupportedPierre Krieger2015-07-201-1/+1
|
* Correct window creation on X11Pierre Krieger2015-07-191-0/+1
|
* Add with_robustness and handle robustness on all implementationsPierre Krieger2015-06-221-0/+8
|
* Merge pull request #488 from tomaka/rem-is-closedtomaka2015-06-171-8/+0
|\ | | | | Remove the is_closed function
| * Remove the is_closed functionPierre Krieger2015-06-161-8/+0
| |
* | Merge pull request #486 from tomaka/context-errortomaka2015-06-172-4/+11
|\ \ | | | | | | Handle errors from MakeCurrent and SwapBuffers
| * | Handle errors from MakeCurrent and SwapBuffersPierre Krieger2015-06-162-4/+11
| | |
* | | Add transparency support for cocoa. Closes #472Felix Kaaman2015-06-161-1/+16
| |/ |/|