Commit Graph

12 Commits

Author SHA1 Message Date
Jeff Muizelaar 97ec75c14d Redo the interface of CFDictionary and CFMutableDictionary
This is a pretty big change to take advantge of the type parameters.
It simplifies things and makes them more safe.
2018-02-07 10:58:33 -05:00
Birunthan Mohanathas c4344498ae Allow creating font descriptor with PostScript name 2018-02-06 17:49:05 -08:00
Lee Salzman 4dd878b3d3 bump core-text version 2018-02-06 07:45:40 -08:00
Lee Salzman 25ce729f76 allow creating a CTFont from a CGFont with variations 2018-02-06 07:42:06 -08:00
bors-servo 0cfc7f6b0a Auto merge of #191 - waywardmonkeys:fix-some-core-text-clippy-warnings, r=jdm
Fix some core text clippy warnings

<!-- 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/191)
<!-- Reviewable:end -->
2018-02-04 09:53:55 -05:00
Bruce Mitchener 2aae249d43 core-text: Fix some clippy warnings. 2018-02-04 21:38:13 +07:00
Bruce Mitchener ee2a3633df core-text: Remove unused imports.
This warning was introduced due to the changes made in
21f20e2f93.
2018-02-04 21:30:25 +07:00
bors-servo 16ddf909ac Auto merge of #188 - jrmuizel:font-path, r=jdm
Return a PathBuf instead of a String

This is just better.

<!-- 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/188)
<!-- Reviewable:end -->
2018-02-03 00:51:40 -05:00
Jeff Muizelaar 21f20e2f93 Return a PathBuf instead of a String
This is just better.
2018-02-02 21:23:11 -05: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 52bc040a9a Import core-text. 2018-02-01 15:52:56 -05:00