Commit Graph

18 Commits

Author SHA1 Message Date
Patrick Walton 95f3257573 Add constants for new AppKit versions through El Capitan.
I need this to fix `winit`, because Mojave has some new behavior around
layer-backed views and version sniffing is the easiest way to detect when I
need to handle it.

This also bumps the version to 0.18.3.
2018-10-25 11:51:04 -07:00
Patrick Walton 33ed5ec8e6 Bump some versions 2018-10-16 15:46:01 -07:00
Patrick Walton 5b4f4ebf42 Add bindings to -[CALayer addSublayer:] and -[CALayer setContentsOpaque:]. 2018-10-16 15:34:40 -07:00
Jeff Muizelaar 0b377a959b Bump the versions of a bunch crates. 2018-09-28 13:19:37 -04:00
Patrick Walton e0951ae07b Add initial bindings to Core Animation.
Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.
2018-09-27 11:50:14 -07:00
Adrien Navratil 1a156546b1 Added basic NSToolbar 2018-08-30 20:11:53 +02:00
Patrick Walton 243472042a Add several new functions to Core Graphics and Core Text for font-kit's use.
This bumps the major version of `core-text` since the previous version of
`get_glyphs_for_characters` was unsoundly marked safe before and is now marked
unsafe.
2018-07-25 08:50:35 -07:00
Josh Matthews 5ad8278088 Do major version bumps for core-graphics update. 2018-07-20 16:38:24 -04:00
Josh Matthews a5935351b5 Hide a 10.13+ API behind a cargo feature. 2018-07-20 11:15:53 -04:00
Joshua Groves 82978bf6fe Use class macro 2018-07-16 19:52:42 -06:00
Jeff Muizelaar 645779912b Consistently use std::os::raw::c_void instead of libc::c_void
The major versions of cocoa and core-graphics are bumped as I believe
they are the only crates that meaningfully expose c_void.

Fixes #212
2018-05-06 19:00:37 -04:00
Jeff Muizelaar bb9ce9e8e1 Update all of the major versions for the new releases
Basically everything needed to be bumped because of changes to
core-foundation-sys
2018-05-02 17:46:00 -04:00
Edwin Cheng 80b970b476 Add NSFullScreenModeApplicationPresentationOptions key and its options 2018-05-03 00:37:58 +08:00
Vadim Borodin b6f8e0b117 Adding NSApplicationPresentationOptions bindings 2018-04-15 18:22:51 -07:00
Jeff Muizelaar b321255fc2 Add convertRectToBacking to NSView 2018-02-07 13:53:08 -05:00
Bruce Mitchener e3b661f7c9 cocoa: Fix clippy let-and-return warning. 2018-02-04 21:43:54 +07:00
Josh Matthews f54a90e64b Use local paths for local dependencies. 2018-02-01 16:18:35 -05:00
Josh Matthews c99c05c03f Import cocoa. 2018-02-01 15:55:23 -05:00