Commit Graph

17 Commits

Author SHA1 Message Date
Josh Matthews 2393333957 Major version release for core-text. 2019-11-05 12:55:10 +01:00
Anthony Ramine 24d9ccc2c3 Properly make core_text::font::Font be Send and Sync
The Apple documentation says:

> All individual functions in Core Text are thread-safe. Font objects (CTFont,
> CTFontDescriptor, and associated objects) can be used simultaneously by
> multiple operations, work queues, or threads. However, the layout objects
> (CTTypesetter, CTFramesetter, CTRun, CTLine, CTFrame, and associated objects)
> should be used in a single operation, work queue, or thread.

https://developer.apple.com/documentation/coretext
2019-11-05 12:17:49 +01:00
Ivan Zub 4486e9e208 Bump versions of dependant packages 2019-10-26 20:27:40 +02:00
Birunthan Mohanathas 5200688b1b Bump core-text to 13.3.0
The only API change since the last bump is #321.
2019-07-17 15:28:10 +03:00
Josh Matthews 1a76949f13 Increase minor version for core-text to 13.2.0. 2019-03-11 16:41:52 -04:00
Josh Matthews 7ec88453f5 Update version of core-foundation for core-text. 2018-10-09 14:01:17 -04:00
Jeff Muizelaar 0b377a959b Bump the versions of a bunch crates. 2018-09-28 13:19:37 -04:00
Patrick Walton f89d2345de Make CTFontCollection::get_descriptors() return an Option.
It returns null if there are no matching fonts.
2018-07-27 15:09:47 -07: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
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
Josh Matthews e614c2df26 Only allow CFNumber font variations. 2018-05-02 16:56:27 -04:00
Lee Salzman 4dd878b3d3 bump core-text version 2018-02-06 07:45:40 -08: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