Patrick Walton
5783a1bb75
Add a binding to CTFontCreatePathForGlyph()
2017-10-19 20:42:59 -07:00
Patrick Walton
b30db59c0e
Use the foreign-types crate like core-graphics-rs does
2017-10-19 20:42:37 -07:00
Patrick Walton
0ff1403c56
Bump version to 0.11.0
2017-10-19 20:31:26 -07:00
Patrick Walton
abe37e92e9
Add CGPath bindings
2017-10-19 20:31:10 -07:00
Patrick Walton
63811809fd
Add bindings to CGFontGetGlyphBBoxes() and CGFontGetGlyphAdvances()
2017-10-19 20:31:01 -07:00
Patrick Walton
5e8f34b936
Flesh out geometry a bit more
2017-10-19 20:30:29 -07:00
Jeff Muizelaar
6ca30dd9a8
Add support for CFUUID
2017-10-19 22:29:25 -04:00
Jeff Muizelaar
a6dc32cf50
Support converting non-utf8 paths to CFURLs
2017-10-19 18:17:26 -04:00
Jeff Muizelaar
04fd67e25b
Add CFURLGetFileSystemRepresentation
2017-10-19 17:36:54 -04:00
bors-servo
1d36994574
Auto merge of #175 - ratake:master, r=jdm
...
Fix build on iOS platform
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/175 )
<!-- Reviewable:end -->
2017-10-19 07:50:54 -05:00
bors-servo
1dec303abf
Auto merge of #99 - ratake:master, r=jdm
...
Add support for iOS targets
Only include `CGEvent` and `CGDisplay` on macOS, and link against `CoreGraphics` specifically, not the macOS umbrella framework.
<!-- 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-graphics-rs/99 )
<!-- Reviewable:end -->
2017-10-17 07:28:23 -05:00
ratake
1509438a80
Only expose AppKit and NSGeometry on macOS
2017-10-16 23:46:49 -07:00
ratake
82331e7736
Add support for iOS targets
...
Only include CGEvent and CGDisplay on macOS
2017-10-16 22:50:52 -07:00
ratake
cf04b6c8c9
Fix build on aarch64-apple-ios
2017-10-16 21:35:51 -07:00
bors-servo
790dda99ca
Auto merge of #174 - lovebug356:patch-1, r=jdm
...
example: add space between quit and process name
Add a space between "Quit" and the process name in the menu
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/174 )
<!-- Reviewable:end -->
2017-10-14 07:37:16 -05:00
Thijs Vermeir
f121437465
example: add space between quit and process name
...
Add a space between "Quit" and the process name in the menu
2017-10-14 12:17:41 +02:00
bors-servo
8512431e82
Auto merge of #173 - Eijebong:bitflags, r=jdm
...
Update bitflags to 1.0 and bump version
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/173 )
<!-- Reviewable:end -->
2017-10-13 12:50:00 -05:00
bors-servo
b9245f7e9b
Auto merge of #118 - ratake:master, r=jdm
...
Filling in more of the API surface
<!-- 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/118 )
<!-- Reviewable:end -->
2017-10-13 00:38:01 -05:00
ratake
0dd90e84ae
Complete the CFAllocator reference
2017-10-12 21:48:29 -07:00
ratake
a622566dc4
Correct the definition for CFStringCreateWithBytes
2017-10-12 21:48:29 -07:00
ratake
7b0544fef6
Add support for f32 to CFNumber
2017-10-12 21:48:29 -07:00
ratake
dcc0a07776
Complete the types for CFArrayCallBacks and CFDictionaryCallBacks
2017-10-12 21:48:29 -07:00
Bastien Orivel
cb8e0ad344
Update bitflags to 1.0 and bump version
2017-10-12 17:56:42 +02:00
bors-servo
56adc70c01
Auto merge of #98 - Eijebong:bitflags, r=jdm
...
Update bitflags to 1.0 and bump version
<!-- 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-graphics-rs/98 )
<!-- Reviewable:end -->
2017-10-12 07:25:30 -05:00
Bastien Orivel
8f3f6b34aa
Update bitflags to 1.0 and bump version
2017-10-12 11:12:59 +02:00
bors-servo
9c29d9615b
Auto merge of #97 - msanders:ms/cgdisplaymode, r=jdm
...
Add support for CGDisplayMode & safe CGDisplay wrapper
<!-- 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-graphics-rs/97 )
<!-- Reviewable:end -->
2017-10-09 10:09:39 -05:00
Michael Sanders
12a8f0c0a6
Add support for CGDisplayMode & safe CGDisplay wrapper
2017-10-09 06:59:20 -07:00
bors-servo
abf5f7c858
Auto merge of #96 - msanders:ms/event-value-field, r=jdm
...
Add support for CGEvent value fields
<!-- 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-graphics-rs/96 )
<!-- Reviewable:end -->
2017-10-08 07:34:50 -05:00
bors-servo
a1f4d07bfa
Auto merge of #95 - msanders:ms/add-key-codes, r=jdm
...
Add universal key code constants
<!-- 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-graphics-rs/95 )
<!-- Reviewable:end -->
2017-10-08 07:31:42 -05:00
Michael Sanders
2eaf8b5b03
Add support for CGEvent value fields
2017-10-07 17:09:35 -07:00
Michael Sanders
35312c56db
Add universal key code constants
2017-10-08 03:58:17 +05:30
bors-servo
cb4acbf532
Auto merge of #172 - brennie:brennie/requestUserAttention, r=jdm
...
Support requesting user attention
This patch adds the `NSRequestUserAttentionType` enum and the
`NSApplication.requestUserAttention_` so applications can request
attention from the user.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/172 )
<!-- Reviewable:end -->
2017-10-05 07:10:16 -05:00
bors-servo
930e98f3d9
Auto merge of #94 - pornel:cs, r=jdm
...
Add named color spaces
<!-- 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-graphics-rs/94 )
<!-- Reviewable:end -->
2017-10-04 19:52:34 -05:00
Barret Rennie
c4c75065c7
Support requesting user attention
...
This patch adds the `NSRequestUserAttentionType` enum and the
`NSApplication.requestUserAttention_` so applications can request
attention from the user.
2017-10-04 17:52:47 -06:00
Kornel
3091be3a44
Named color spaces
2017-10-04 11:18:08 +01:00
bors-servo
bfdd5ab170
Auto merge of #92 - pornel:foreign-types, r=jdm
...
Use foreign types crate
As suggested in #81 , changed TCFType boilerplate to foreign-types.
<!-- 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-graphics-rs/92 )
<!-- Reviewable:end -->
2017-10-02 08:58:51 -05:00
bors-servo
dde7fed573
Auto merge of #59 - glennw:bump, r=mbrubeck
...
Bump deps
r? @emilio or anyone
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/io-surface-rs/59 )
<!-- Reviewable:end -->
2017-09-21 17:29:11 -05:00
Glenn Watson
259a920484
Bump deps
2017-09-21 15:14:05 -07:00
bors-servo
a4b0b68fa6
Auto merge of #171 - glennw:bump, r=nox
...
Bump core-graphics dependency and version
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/171 )
<!-- Reviewable:end -->
2017-09-20 15:35:15 -05:00
bors-servo
cfefff813b
Auto merge of #93 - amccreight:patch-1, r=KiChjang
...
Fix typo in event.rs
<!-- 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-graphics-rs/93 )
<!-- Reviewable:end -->
2017-09-19 16:33:28 -05:00
Glenn Watson
bc599eb017
Bump core-graphics dependency and version
2017-09-19 14:33:25 -07:00
Andrew McCreight
df2bd7ea4f
Fix typo in event.rs
2017-09-19 14:18:00 -07:00
Kornel
a7e05d2e38
Missed change
2017-09-16 02:32:47 +01:00
bors-servo
5b221bba0b
Auto merge of #169 - foollbar:master, r=KiChjang
...
Remove unused imports
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/169 )
<!-- Reviewable:end -->
2017-09-15 13:05:15 -05:00
foollbar
28b46b20ad
Remove unused imports
2017-09-16 02:41:50 +09:00
Kornel
40ee246bec
Use foreign-types for CGEventSource
2017-09-15 00:47:06 +01:00
Kornel
c86445c76f
Use foreign-types for CGContext
2017-09-15 00:47:06 +01:00
Kornel
8c0664a542
Hide foreign-types internals from docs
2017-09-15 00:47:06 +01:00
Kornel
81a2c1dc9d
Use foreign-types for CGEvent
2017-09-15 00:47:06 +01:00
Kornel
1993281ca6
Use foreign-types for CGFont
2017-09-15 00:47:06 +01:00