Commit Graph

13 Commits

Author SHA1 Message Date
Josh Matthews a5935351b5 Hide a 10.13+ API behind a cargo feature. 2018-07-20 11:15:53 -04:00
Daniel Abramov ff9ff84066 Add the posibility to create a provider from slice 2018-05-28 13:46:08 +02:00
Daniel Abramov 1eec1419a9 Add rendering intent constants 2018-05-28 13:46:08 +02:00
Daniel Abramov c9740e7ddc Add a constructor for CGImage 2018-05-28 13:46:08 +02: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
bors-servo b5923bb1e0 Auto merge of #202 - servo:typed-variations, r=jrmuizel
Only allow CFNumber font variations.

Until #201 this seems like a worthwhile improvement.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/202)
<!-- Reviewable:end -->
2018-05-02 17:05:44 -04:00
Josh Matthews e614c2df26 Only allow CFNumber font variations. 2018-05-02 16:56:27 -04:00
Michael Sanders ca74318a75 Add CGEventCreateScrollWheelEvent binding 2018-05-02 13:46:08 -07:00
Edwin Cheng 5974b4c5dc Added CGGetDisplaysWithRect 2018-04-19 09:50:01 +08:00
Jeff Muizelaar 5616935b56 Give CFDictionary type parameters for keys and values
There's more to be done to clean up the interface now that we have
type parameters but this is a good place to start.
2018-02-02 16:56:37 -05:00
Josh Matthews f54a90e64b Use local paths for local dependencies. 2018-02-01 16:18:35 -05:00
Josh Matthews af0010c21a Import core-graphics. 2018-02-01 15:46:34 -05:00