bors-servo
dd3b248259
Auto merge of #119 - jrmuizel:cfurl-fs, r=jdm
...
Add CFURLGetFileSystemRepresentation
<!-- 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/119 )
<!-- Reviewable:end -->
2017-10-20 07:49:22 -05:00
bors-servo
f3a0624bf5
Auto merge of #120 - jrmuizel:path-buf2, r=SimonSapin
...
Support converting non-utf8 paths to CFURLs
<!-- 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/120 )
<!-- Reviewable:end -->
2017-10-20 02:34:58 -05: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
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
bors-servo
dc4599d817
Auto merge of #114 - pornel:master, r=emilio
...
Don't break the build on other OSes
Unfortunately `#[cfg(target_os = "macos")] extern crate` is not enough for cross-platform compatibility, because the build is executed unconditionally.
<!-- 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/114 )
<!-- Reviewable:end -->
2017-08-09 08:22:56 -05:00
Kornel
3542722369
Bump version
2017-08-09 13:10:40 +01:00
Kornel
b92e86c77f
Prevent build error on Linux
2017-08-09 13:07:55 +01:00
bors-servo
1a4fac5df0
Auto merge of #113 - pornel:master, r=jdm
...
Bump version number
Closes #112
<!-- 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/113 )
<!-- Reviewable:end -->
2017-08-08 18:04:25 -05:00
Kornel
5a83faa547
Bump version number
2017-08-08 23:54:15 +01:00
bors-servo
0301bd08b0
Auto merge of #111 - pornel:urlfrompath, r=jdm
...
URL from path
and small fixes
<!-- 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/111 )
<!-- Reviewable:end -->
2017-08-08 10:21:25 -05:00
Kornel
dfd168f5a0
CFURL from Path
2017-08-08 15:53:55 +01:00
Kornel
fe6edb78b9
Fix return types
2017-08-08 15:06:15 +01:00
bors-servo
2990a43ea9
Auto merge of #110 - pornel:108, r=jdm
...
Optional 10.8 support
Closes #109
<!-- 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/110 )
<!-- Reviewable:end -->
2017-08-08 08:43:24 -05:00
Kornel
ba3e78cd3e
Add 10.8-only constant
2017-08-08 14:31:38 +01:00
Kornel
d32bc9ea23
10.7/10.8 compatibility features
2017-08-08 14:31:38 +01:00
bors-servo
7b76f3dff9
Auto merge of #108 - pornel:master, r=jdm
...
Added some CFURL functions and constants
I've checked all are available on 10.7.
<!-- 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/108 )
<!-- Reviewable:end -->
2017-08-08 07:36:43 -05:00
Kornel
d0e0b1a34d
Add CFURL functions
2017-08-08 13:12:25 +01:00
Kornel
7fc7348821
Non-deprecated constants for 10.7+
2017-08-08 13:12:01 +01:00
Kornel
a9cee95b3c
CFURLSetResourcePropertyForKey
2017-08-08 12:58:39 +01:00
bors-servo
589527458e
Auto merge of #107 - rthomas:106-warnings, r=jdm
...
Remove zero-sized struct warning. #106 .
This change will fix the remaining warnings in servo/core-text-rs#62 when it is released and the core-text crate is updated.
<!-- 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/107 )
<!-- Reviewable:end -->
2017-07-27 15:53:18 -05:00
Ryan Thomas
a37ecf56bb
Wrap the test in unsafe to prevent E0133.
...
E0133 has gone from warning to error on nightly now, this fix allows the
tests to pass on nightly.
2017-07-27 21:52:27 +01:00
Ryan Thomas
4c8373363f
Bump version number to 0.4.2.
2017-07-27 20:23:55 +01:00
Ryan Thomas
b67ccaff4c
Remove zero-sized struct warning. #106 .
2017-07-27 20:08:41 +01:00
bors-servo
4c380a67b4
Auto merge of #103 - nikhilm:frameworks-path, r=jdm
...
Add CFBundle::private_frameworks_url() exposing CFBundleCopyPrivateFr…
…ameworksURL().
If this is merged, would it be possible to cut a release after?
<!-- 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/103 )
<!-- Reviewable:end -->
2017-06-16 11:17:18 -07:00
Nikhil Marathe
650d7a0245
Bump version to 0.4.1
2017-06-16 11:01:07 -07:00
Nikhil Marathe
d58b72d211
Add CFBundle::private_frameworks_url() exposing CFBundleCopyPrivateFrameworksURL().
2017-06-16 09:19:05 -07:00
bors-servo
5a90926ad4
Auto merge of #102 - servo:jdm-patch-1, r=KiChjang
...
Prepare to publish newest changes
<!-- 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/102 )
<!-- Reviewable:end -->
2017-06-01 17:44:17 -07:00
Josh Matthews
c94e5fe6f6
Update core-foundation version.
2017-06-01 09:37:16 -04:00
Josh Matthews
e7ccafa9f1
Update version for core-foundation-sys.
2017-06-01 09:34:46 -04:00
bors-servo
18fadda7b7
Auto merge of #101 - mgoszcz2:master, r=jdm
...
Additions to CFURL and CFBundle
I propose a few additions to CFBundle and CFURL APIs. Not sure how general they are, but they would be nice to have out of the box.
The `CFURL::absolute_file_url` test is a bit big, but it demonstrates the need for `CFURL::absolute()`.
I think `CFBundle::main_bundle()` should return an `Option` since `CFBundleGetMainBundle` can return NULL but that is a breaking change and I decided not to include it.
<!-- 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/101 )
<!-- Reviewable:end -->
2017-05-22 20:37:52 -05:00
Maciej Goszczycki
f279342c63
Remove duplicate string in test
2017-05-23 01:21:28 +01:00
Maciej Goszczycki
2a69844e0d
Change exectuable to executable
2017-05-23 01:19:42 +01:00
Maciej Goszczycki
27cbbbaeea
Export CFBundleCreate, add CFBundle::new(), exectuable_url()
2017-05-22 22:56:06 +01:00
Maciej Goszczycki
4fd7e39dec
Export CFURLCopyAbsoluteURL, add get_file_system_path(), absolute()
...
Also export CFURLCreateWithFileSystemPathRelativeToBase for testing
2017-05-22 22:53:54 +01:00
bors-servo
4af890beff
Auto merge of #99 - jcjones:master, r=pcwalton
...
Add CFSetApplyFunction and CFSetGetCount
I'm needing these CFSet functions for some USB HID interactions with IOKit, so here's the external references.
They are defined in CoreFoundation:
- [CFSetApplyFunction](https://developer.apple.com/reference/corefoundation/1520450-cfsetapplyfunction?language=objc ) and
- [CFSetGetCount](https://developer.apple.com/reference/corefoundation/1520419-cfsetgetcount?language=objc )
<!-- 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/99 )
<!-- Reviewable:end -->
2017-04-02 13:57:10 -05:00
J.C. Jones
182aef27d6
Add CFSetApplyFunction and CFSetGetCount
2017-03-31 14:08:48 -07:00
bors-servo
c1660ff114
Auto merge of #98 - nox:rm-links, r=jdm
...
Do not use 'links' in Cargo.toml (fixes #97 )
<!-- 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/98 )
<!-- Reviewable:end -->
2017-02-02 03:50:00 -08:00
Anthony Ramine
1c6bdc80b3
Do not use 'links' in Cargo.toml ( fixes #97 )
2017-02-01 16:31:05 +01:00
bors-servo
fab0294e81
Auto merge of #95 - jrmuizel:cfurl, r=jdm
...
Bump the version to 0.3.0
<!-- 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/95 )
<!-- Reviewable:end -->
2017-01-26 00:34:34 -08:00
Jeff Muizelaar
cd1f99039f
Bump the version to 0.3.0
2017-01-25 13:34:11 -05:00
bors-servo
18f8f04716
Auto merge of #94 - jrmuizel:cfurl, r=jdm
...
Expose CFURL accessor functions
<!-- 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/94 )
<!-- Reviewable:end -->
2017-01-25 07:12:14 -08:00
Jeff Muizelaar
303ab74e1c
Expose CFURL accessor functions
2017-01-24 21:48:00 -05:00
bors-servo
cd0941f53e
Auto merge of #92 - cjhowe:master, r=jdm
...
Bump minor version for feature release
Several features were just merged from pull requests, so I think we should do a minor release. Thanks!
<!-- 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/92 )
<!-- Reviewable:end -->
2017-01-09 10:53:09 -08:00
Christian Howe
e1af8fb235
Bump version for feature release
2017-01-09 10:20:58 -05:00
bors-servo
44e872a427
Auto merge of #89 - cjhowe:feature-dictionary-keys-values, r=jdm
...
Add CFDictionary function to get keys and values
Tests included. No formatting issues this time!
<!-- 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/89 )
<!-- Reviewable:end -->
2017-01-08 19:28:11 -08:00