Commit Graph

138 Commits

Author SHA1 Message Date
Jack Moffitt 5caab8bea4 Merge pull request #41 from DavidPartouche/compilation-error
Fixed two errors: unknown format trait and create missing
2014-10-20 11:48:17 -06:00
David Partouche 9dab4de2db Fixed a two errors: unknown format trait and create missing 2014-10-20 19:13:40 +02:00
Jack Moffitt f46ac11cef Merge pull request #39 from tomaka/master
Update for rustc
2014-10-14 13:09:56 -06:00
Tomaka17 1d5759a0cc Update for rustc 2014-10-14 14:27:39 +02:00
Jack Moffitt 8fba98ea2b Merge pull request #38 from DavidPartouche/for_glutin
Addded some CFBundle functions to be used by glutin
2014-10-04 09:11:46 -06:00
David Partouche d6018a1130 Addded some CFBundle functions to be used by glutin 2014-10-04 13:35:04 +02:00
Simon Sapin 166a601ff3 Merge pull request #37 from servo/rustup
Rust upgrade
2014-09-18 17:52:06 +01:00
Keegan McAllister 0c7fbde00d Rust upgrade 2014-09-16 11:38:01 -07:00
glennw 9aeaee0bce Merge pull request #36 from metajack/cargoify
Cargoify rust-core-foundation.
2014-08-26 13:24:48 +10:00
Jack Moffitt 8d367ac068 Cargoify rust-core-foundation.
Note that it is buildable on non-macos platforms because Cargo does not
yet have conditional dependencies and several non-macos Servo things
depend on it when on macos.
2014-08-25 17:16:01 -06:00
Lars Bergstrom 265586fe94 Merge pull request #35 from servo/rustup-20140716
Update Rust.
2014-08-01 06:47:31 -05:00
Jack Moffitt 82c602067a Update Rust. 2014-07-31 10:28:40 -06:00
Patrick Walton 4186de0b55 Merge pull request #34 from metajack/rustup-20140624
Upgrade to latest Rust.
2014-06-27 11:42:30 -07:00
Jack Moffitt 7ddceb0c98 Upgrade to latest Rust.
We can no longer transmute from type params, so we must expand the
default methods that do this into all the places that implement the
trait. Yuck.
2014-06-27 12:28:15 -06:00
Simon Sapin fce83add2d Merge pull request #33 from mozilla-servo/rustup-20140528
Upgrade Rust.
2014-06-04 15:41:26 -07:00
Jack Moffitt fe9455de17 Upgrade Rust. 2014-05-31 23:32:09 -06:00
Jack Moffitt dec0a20516 Merge pull request #32 from mozilla-servo/rustup_20140510
Rust upgrade
2014-05-14 14:07:20 -06:00
Lars Bergstrom 05383390ec Rust upgrade 2014-05-13 20:48:39 -05:00
Jack Moffitt a8b907a384 Merge pull request #31 from larsbergstrom/rustup_20140410
Changes for Rust Upgrade
2014-04-12 09:14:07 -06:00
Lars Bergstrom ea3dda06fc Upgrade to rust 2014-04-11 17:33:18 -05:00
Jack Moffitt 566a1dee24 Merge pull request #30 from larsbergstrom/rustup
Generate both dylib and rlib for rustup
2014-04-04 09:12:42 -06:00
Lars Bergstrom 67628775b3 Generate both dylib and rlib for rustup 2014-04-04 09:52:47 -05:00
Jack Moffitt ea69bffe08 Merge pull request #29 from larsbergstrom/rustup_20140321
Rust upgrade
2014-04-04 08:18:55 -06:00
Lars Bergstrom b59c77c3e7 Rust upgrade 2014-04-04 09:16:32 -05:00
Josh Matthews a6db2397eb Merge pull request #28 from larsbergstrom/clean_rlib
Clean rlib files
2014-03-19 14:51:53 -04:00
Lars Bergstrom bfd82f969b Clean rlib files 2014-03-19 13:48:52 -05:00
Jack Moffitt 18577a8825 Merge pull request #27 from larsbergstrom/rust_20140224
Rust upgrade
2014-03-18 09:45:07 -06:00
Lars Bergstrom a28323ddab Rust upgrade 2014-03-04 08:47:44 -08:00
Josh Matthews e855f9e03d Merge pull request #26 from metajack/rustup-20141219
Upgrade to latest Rust.
2014-01-09 10:43:53 -08:00
Jack Moffitt 6c8c2a75b8 Upgrade to latest Rust. 2014-01-03 10:02:20 -07:00
Jack Moffitt 0a9090b60d More fixes for tests. 2013-12-26 23:41:36 -07:00
Jack Moffitt 16fda8b2ab Fix tests for bindings changes. 2013-12-26 23:07:23 -07:00
yichoi 8445f0e447 Merge pull request #25 from metajack/unrustpkg
Build with make instead of rustpkg.
2013-12-26 19:00:34 -08:00
Jack Moffitt 5edda19f20 Build with make instead of rustpkg. 2013-12-26 19:45:17 -07:00
Jack Moffitt b41b972fbd Merge pull request #23 from mozilla-servo/revamp
Revamp and modernize the Core Foundation APIs.
2013-11-14 17:15:27 -08:00
Patrick Walton dc1184ebe2 Revamp and modernize the Core Foundation APIs.
This change redoes the way Core Foundation works to make the API
smaller, safer, and easier to use. In particular:

* Deriving custom types is now based on `struct`s, not on making a
  type alias of `CFWrapper`.

* The attempts at type safety for `CFArray` and `CFDictionary` were
  removed as not pulling their weight (IMHO).

* Methods that are really unsafe (in particular `wrap_owned` and
  `wrap_shared`) are now marked `unsafe`.

* `wrap_owned` has been renamed to `wrap_under_create_rule` and
  `wrap_shared` has been renamed to `wrap_under_get_rule`, to match
  Apple's documentation.

* `borrow_ref` and friends have been simplified into
  `as_concrete_TypeRef()` and `as_TypeRef()`.

* Dictionaries, arrays, and sets now assume that their elements are
  Core Foundation objects. The old code tried not to assume that,
  but ended up assuming that anyway in a couple of places.

* `CFString`s can be converted from Rust types with the `FromStr`
  trait. `CFNumber`s can be converted to and from Rust types with
  `ToPrimitive` and `FromPrimitive`, eliminating the duplication of
  functionality inside this module.
2013-11-15 09:46:49 +09:00
Jack Moffitt a137ef8440 Merge pull request #24 from kmcallister/rustpkg
Rustpkg
2013-11-07 17:07:57 -08:00
Keegan McAllister 329e5165e8 Remove old build system 2013-11-06 17:49:18 -08:00
Jack Moffitt 8aab601a46 Convert to rustpkg format. 2013-11-04 14:45:49 -08:00
Jack Moffitt b5ddb54271 Merge pull request #21 from SimonSapin/master
Fix "&KeyRefType does not implement Default"
2013-10-31 08:22:37 -07:00
Simon Sapin d01395388e Fix "&KeyRefType does not implement Default" 2013-10-31 14:33:08 +00:00
Jack Moffitt 3317ae82cf Merge pull request #20 from kmcallister/rust-upgrade
Rust upgrade
2013-10-30 14:58:55 -07:00
Keegan McAllister 576c920990 fmt! -> format! 2013-10-28 20:08:55 -07:00
Patrick Walton b0565c60dc Update for language changes 2013-10-03 15:20:48 -07:00
Jack Moffitt c8a4f4fda2 Upgrade Rust. 2013-09-27 15:34:19 -06:00
Brian Anderson e5dfaffd54 Merge pull request #19 from brson/master
Fix bool casts
2013-09-06 17:00:18 -07:00
Brian Anderson 7d71796ef2 Fix bool casts 2013-09-06 17:39:05 -07:00
Jack Moffitt fca80285d3 Merge pull request #18 from SimonSapin/rust-upgrade
Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700)
2013-09-03 13:12:34 -07:00
Simon Sapin e0efe40213 Add a FIXME comment for the dummy parameter work around. See #17 2013-09-03 19:32:32 +01:00
Simon Sapin 95f2f30981 Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700) 2013-09-02 17:13:27 +01:00