Commit Graph

73 Commits

Author SHA1 Message Date
Brian Anderson ea8d2bd026 Update for language changes 2013-06-25 19:45:15 -07:00
Patrick Walton 40b2a4eaf8 Merge pull request #12 from metajack/for-protocol
Update for new for protocol.
2013-05-15 18:10:50 -07:00
Jack Moffitt 34970b962a Update for new for protocol. 2013-05-15 19:09:12 -06:00
Brian Anderson 5647befc43 Merge pull request #9 from metajack/unused-mut
Fix C FFI to use *mut pointers correctly and update code.
2013-05-09 18:51:22 -07:00
Jack Moffitt 5f4bdb2b08 Fix C FFI to use *mut pointers correctly and update code.
This was found because of unused mut warnings.
2013-05-09 11:13:20 -06:00
Jack Moffitt fa78ba0e72 Merge pull request #7 from pcwalton/language-changes
Update for language changes
2013-05-02 19:09:52 -07:00
Patrick Walton 92396f600e Fix tests 2013-05-02 18:32:33 -07:00
Patrick Walton 79afdda83a Update for language changes 2013-05-02 16:36:09 -07:00
Brian Anderson 4d0a8c1ca4 Merge pull request #6 from luqmana/update
Update for language changes.
2013-04-20 14:46:13 -07:00
Luqman Aden 556c56eac1 Update for language changes. 2013-04-20 05:32:31 -07:00
Brian Anderson a8ebe76090 Add license headers 2013-04-04 19:01:35 -07:00
Josh Matthews 2a69e1c0ee Merge pull request #5 from metajack/remove-imports
Remove unused imports.
2013-04-04 07:59:35 -07:00
Jack Moffitt b997a59893 Remove unused imports. 2013-04-03 23:46:57 -06:00
Brian Anderson 296fc9a771 Add license 2013-04-03 18:18:52 -07:00
Josh Matthews bf38e896e9 Merge pull request #4 from metajack/cfdata-public-impl
Make CFData implementation public.
2013-04-02 08:01:24 -07:00
Jack Moffitt a561cf664e Make CFData implementation public. 2013-04-02 08:38:28 -06:00
Patrick Walton 27a3a8532b Merge pull request #2 from metajack/option-unwrap
Update code to use unwrap method.
2013-03-28 14:01:31 -07:00
Patrick Walton fad2bdda12 Merge pull request #3 from metajack/rust-0.6-more
Rust 0.6 more
2013-03-28 10:21:31 -07:00
Jack Moffitt d1903d4150 More 0.6 changes. 2013-03-28 09:24:28 -06:00
Jack Moffitt b568fdf814 Correct visibility of implementation. 2013-03-28 09:24:16 -06:00
Jack Moffitt 30a5e72b43 Update code to use unwrap method. 2013-03-27 10:07:42 -06:00
Patrick Walton fcf0f0b515 Merge pull request #1 from metajack/rust-0.6-syntax
Changes for new Rust 0.6 syntax
2013-03-26 15:46:28 -07:00
Jack Moffitt e9c5ee5c26 Change fail_unless! to assert!. 2013-03-26 16:44:16 -06:00
Jack Moffitt 2df7eb9ca6 Move attributes outside of test function. 2013-03-26 16:17:54 -06:00
Jack Moffitt c8dd3d2096 Specify types on cast::transmute calls. 2013-03-26 16:17:54 -06:00
Jack Moffitt 648088bad4 Upgraded to Rust 0.6 syntax.
- removed pub from `pub impl A for B`
- replaced `const` with `static`
- implemented `Drop` and `Index` traits
- removed `pure` and `static` function keywords
- removed `DVec`
- added `self` parameters to methods
2013-03-26 16:17:39 -06:00
Patrick Walton 363b2f0e6b Update for language changes 2013-02-28 18:14:06 -08:00
Patrick Walton 1152347b9f Update for language changes 2013-02-19 17:50:56 -08:00
Patrick Walton 488df0c7cd Update tests for language changes 2013-02-14 12:58:15 -08:00
Patrick Walton 01d8691bdf Update for language changes 2013-02-07 18:00:03 -08:00
Brian Anderson 990b275101 Rust upgrade 2013-01-30 14:33:26 -08:00
Brian Anderson ea2221e1ff Fix build 2013-01-15 11:26:58 -08:00
Brian Anderson c9f172bd01 Update for language churn 2012-12-04 17:01:21 -08:00
Brian J. Burg eec9e9f417 Remove duplicate type_id() implementation for CFNumber 2012-11-16 15:17:47 -08:00
Brian J. Burg 04c0856f7d Implement AbstractCFType::type_id(). Switch to use CFTypeRef::downcast(). 2012-11-16 14:29:57 -08:00
Brian J. Burg 6bac6b0601 Fix CFArray test. 2012-11-16 12:07:31 -08:00
Brian J. Burg 070bc3e50d Remove erroneous assertion about retain count; add note. 2012-11-16 11:57:45 -08:00
Brian J. Burg 8af8ef0d6d Rewrite the Core Foundation wrapper system. 2012-11-16 11:03:26 -08:00
Patrick Walton 93ac0efc6b Retain elements when iterating over an array 2012-11-15 20:45:18 -08:00
Brian J. Burg 7e60aba04a Fix double release caused by base::as_CFType. 2012-11-15 09:20:10 -08:00
Brian J. Burg 1f0bc6db0d Add bindings for most CFSet methods, and static new() for the wrapper. 2012-11-14 13:37:55 -08:00
Brian J. Burg 7fcbf5112e Add binding for CFStringCreateWithBytes. 2012-11-12 19:22:20 -08:00
Brian J. Burg 3e5e34f4f4 Add support for getting floats out of CFNumber; add conversions from CFType to some other wrapper type; add AbstractCFType::type_id() 2012-11-09 15:01:34 -08:00
Brian J. Burg 925aad58aa Add CFURLGetTypeID() binding. 2012-11-08 15:21:53 -08:00
Brian J. Burg 22ff767266 Implement ToStr for CFString; fix off-by-one error in CFString::new_static; make clean now removes test binary. 2012-11-07 19:47:22 -08:00
Brian J. Burg a7eade7fc2 Add bindings for CFGetTypeID, CFHash, CFStringGetTypeID 2012-11-07 17:39:29 -08:00
Brian J. Burg f679a48102 Add all the CFString constants and enums. 2012-11-07 17:32:48 -08:00
Brian J. Burg 7f6dad8dd4 Add ALL the CFString function headers\!11 2012-11-07 16:11:42 -08:00
Brian J. Burg d316f05c00 Add wrapped and ref versions of CFArray.each/eachi(), and fix test. 2012-11-05 11:50:34 -08:00
Brian J. Burg 50d703c00f Add wrapped and ref versions of CFDictionary::each(), and fix indenting. 2012-11-05 11:50:10 -08:00