Commit Graph

256 Commits

Author SHA1 Message Date
Christian Howe 37e11bd27e Remove unnecessary casts in propertylist 2017-01-04 19:46:13 -05:00
Christian Howe 506b1fd402 Use *const c_void in propertylist functions for consistency 2017-01-04 15:29:49 -05:00
Christian Howe 2560337ed8 Add CFPropertyList serialization 2017-01-01 19:38:22 -05:00
bors-servo eb50e52d46 Auto merge of #87 - roblabla:feature-cfmessageport, r=jdm
Implement CFMessagePort

Implements almost all CFMessagePort* 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/87)
<!-- Reviewable:end -->
2016-12-21 13:56:11 -08:00
roblabla 7d834f89e0 Implement CFMessagePort 2016-12-21 16:51:22 +01:00
bors-servo c1052bdf99 Auto merge of #86 - trlim:mutdict, r=jdm
Add more bindings to sys

This PR adds,
- `CFMutableDictionaryRef`
- `CFDictionaryApplyFunction`
- `CFStringCreateWithCString`
- `CFStringGetCString`

<!-- 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/86)
<!-- Reviewable:end -->
2016-11-07 07:49:46 -06:00
Tae-il Lim 10c768ab52 Add more bindings to sys::string 2016-11-07 20:10:26 +09:00
Tae-il Lim 716ad81ef0 Add more bindings to sys::dictionary 2016-11-07 20:09:08 +09:00
Patrick Walton 2806eb863a 0.2.2 2016-05-16 11:22:37 -07:00
bors-servo ae55a5ee4e Auto merge of #81 - pcwalton:bundle-dictionary-additions, r=larsbergstrom
Add bindings for `CFBundleGetMainBundle()`, `CFBundleGetInfoDictionary()`, and `CFDictionarySetValue()`.

r? @larsbergstrom

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/81)
<!-- Reviewable:end -->
2016-05-16 10:15:20 -07:00
Patrick Walton 3e5f2a5efe Add bindings for CFDictionarySetValue(). 2016-05-16 10:12:36 -07:00
Patrick Walton 82f7421c13 Add bindings for CFBundleGetMainBundle() and
`CFBundleGetInfoDictionary()`.
2016-05-16 10:12:36 -07:00
bors-servo 29324d16d8 Auto merge of #80 - OpenAnsible:master, r=pcwalton
Let CFIndex&CFRelease be public

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/80)
<!-- Reviewable:end -->
2016-05-11 20:30:50 -07:00
Luo 42c5220f8a let CFIndex&CFRelease be public 2016-05-12 06:35:56 +08:00
bors-servo 3e2d6e14e8 Auto merge of #79 - servo:update-dep, r=emilio
main-crate 0.2.1 requires v0.2.1 of sys-crate.

After https://github.com/servo/core-foundation-rs/pull/77.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/79)
<!-- Reviewable:end -->
2016-04-21 04:04:40 +05:30
Corey Farwell 8319c089df main-crate 0.2.1 requires v0.2.1 of sys-crate.
After https://github.com/servo/core-foundation-rs/pull/77.
2016-04-20 18:16:58 -04:00
bors-servo c3c9978b34 Auto merge of #78 - servo:bump, r=mbrubeck
Bump version: 0.2.0 -> 0.2.1.

https://github.com/servo/core-foundation-rs/pull/77

https://github.com/servo/core-foundation-rs/pull/75

https://github.com/servo/core-foundation-rs/pull/73

https://github.com/servo/core-foundation-rs/pull/74

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/78)
<!-- Reviewable:end -->
2016-04-21 03:34:38 +05:30
Corey Farwell 17214c0c16 Bump version: 0.2.0 -> 0.2.1.
https://github.com/servo/core-foundation-rs/pull/77
2016-04-20 17:59:21 -04:00
bors-servo 2e40852005 Auto merge of #77 - sfackler:error, r=pcwalton
Add CFError support

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/77)
<!-- Reviewable:end -->
2016-04-21 03:11:09 +05:30
Steven Fackler 74be6d333b Add CFError 2016-04-17 22:39:46 -07:00
Steven Fackler 1b3d4982f6 Fix private type in public API warnings 2016-04-17 22:39:46 -07:00
Steven Fackler 470f20d404 Add sys bindings for CFError 2016-04-17 22:39:46 -07:00
bors-servo 27d77e2ae5 Auto merge of #75 - TimNN:warning-cleanup, r=metajack
Silence warning with minor cleanup

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/75)
<!-- Reviewable:end -->
2015-12-18 03:18:34 +05:30
bors-servo edfb681fbc Auto merge of #74 - TimNN:macro-full-path, r=metajack
Use full path to mem::transmute in macro

Also removes now unused `std::mem` uses.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/74)
<!-- Reviewable:end -->
2015-12-18 03:04:13 +05:30
Tim Neumann c58cf56863 Silence warning with minor cleanup 2015-12-17 22:06:18 +01:00
Tim Neumann d2e91953ee Use full path to mem::transmute in macro 2015-12-17 21:57:29 +01:00
bors-servo 94b6ed5e6f Auto merge of #73 - sfackler:master, r=Manishearth
Remove a straggling link attribute

This is handled by Cargo now

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/73)
<!-- Reviewable:end -->
2015-12-15 17:45:42 +05:30
Steven Fackler 77344dbcfc Remove a straggling link attribute
This is handled by Cargo now
2015-12-14 23:54:09 -08:00
bors-servo a4a6388582 Auto merge of #71 - mbrubeck:libc0.2, r=metajack
Upgrade to libc 0.2

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/71)
<!-- Reviewable:end -->
2015-11-05 21:45:26 +05:30
bors-servo 366deeea23 Auto merge of #72 - metajack:homu-travis, r=metajack
Notify homu on travis builds

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/72)
<!-- Reviewable:end -->
2015-11-05 12:49:47 +05:30
Jack Moffitt 6879085e7d Notify homu on travis builds 2015-11-03 18:21:36 -07:00
Matt Brubeck 0be9256d7b Upgrade to libc 0.2 2015-11-03 15:36:07 -08:00
Lars Bergstrom c837f89c60 Merge pull request #70 from larsbergstrom/version_dep
Switch core-foundation-sys over to a Cargo dep version to publish
2015-10-18 11:31:25 -05:00
Lars Bergstrom d04de008ef Switch core-foundation-sys over to a Cargo dep version so that we can publish 2015-10-17 19:03:48 -05:00
Lars Bergstrom 6ee9bed186 Merge pull request #68 from sfackler/master
Split a -sys crate out
2015-10-15 16:20:54 -05:00
Steven Fackler db4499d7b4 Fix new ctype lint in 1.3 2015-09-19 19:16:18 -07:00
Steven Fackler d9a3185edd Reexport date for back compat 2015-09-05 21:46:26 -07:00
Steven Fackler 83a0c758bc Add OSStatus to base 2015-09-05 21:45:53 -07:00
Steven Fackler 1928256b86 Suppress improper_ctypes warnings from zero sized pointer targets 2015-09-05 21:45:53 -07:00
Steven Fackler 74d4ac7869 Fix travis build 2015-09-05 21:45:53 -07:00
Steven Fackler e67072221f Fix tests 2015-09-05 21:45:52 -07:00
Steven Fackler a3ce1d3ac3 Ensure back-compat 2015-09-05 21:45:52 -07:00
Steven Fackler 00dc99e36b Add licenses to sys crate 2015-09-05 21:42:50 -07:00
Steven Fackler a16dedd6d9 Move url to sys crate 2015-09-05 21:42:20 -07:00
Steven Fackler 59632fcae6 Move set to sys crate 2015-09-05 21:41:24 -07:00
Steven Fackler ed048f1c62 Move runloop to sys directory 2015-09-05 21:40:55 -07:00
Steven Fackler e53893b809 Move dictionary and number to sys crate 2015-09-05 21:40:04 -07:00
Steven Fackler 9c6d29219c Port date to sys crate 2015-09-05 21:38:42 -07:00
Steven Fackler 80593ffc5d Port data to sys crate 2015-09-05 21:38:42 -07:00
Steven Fackler 4e6b1006e1 Port bundle and string to sys crate 2015-09-05 21:37:33 -07:00