Commit Graph

199 Commits

Author SHA1 Message Date
Patrick Walton c483aab4ae librustc: Implement a lint mode for mutable structures; deny by default. r=tjc 2013-02-26 04:18:11 -08:00
Brian Anderson dab6a85230 core: Extract comm from pipes. #4742 2013-02-21 17:36:54 -08:00
Marvin Löbel 3792eb2a38 Moved core::extfmt to core::private::extfmt
Needs a snapshot to remove stage0 extfmt export in core
2013-02-21 13:32:20 +01:00
Zack Corr b10dc1af06 Move semver to std and finish rustpkg 2013-02-15 18:04:10 -08:00
Zack Corr 226b61ba5f rustpkg: Add package script parsing 2013-02-15 18:04:10 -08:00
Patrick Walton 216e85fadf libcore: Move the numeric operations out of Num. r=brson
Sadly I could not use trait inheritance due to a type parameter substitution
bug.
2013-02-14 08:14:01 -08:00
Brendan Zabarauskas 48b2141b83 Add NumCast trait for generic numeric type casts 2013-02-11 12:33:05 +11:00
Niko Matsakis a32498d846 Make ~fn non-copyable, make &fn copyable, split barefn/closure types,
correct handling of moves for struct-record update.

Part of #3678.  Fixes #2828, #3904, #4719.
2013-02-07 05:53:30 -08:00
Marvin Löbel 40f0b45f8e Moved all numeric modules in core into own directory
Reason: Better grouping of related modules, future-proving for a more extensive math library.
2013-02-03 15:37:23 -08:00
Brian Anderson 542bf20414 core: Remove oldcomm 2013-02-01 21:22:49 -08:00
Nick Desaulniers aee7929469 Replace most invocations of fail keyword with die! macro 2013-01-31 20:12:49 -08:00
Patrick Walton 226cd68f13 librustc: De-implicit-self the visitor. r=graydon 2013-01-29 10:43:12 -08:00
Daniel Micay ec3f6e1932 implement Mutable trait for vec 2013-01-24 23:10:14 -05:00
Daniel Micay d95c9cbe38 replace ConstVector trait with the Container trait 2013-01-24 23:02:44 -05:00
Daniel Micay b7ef28c33a rename send_map to hashmap
This makes the module much more discoverable, and is in line with the
'treemap' naming.
2013-01-23 14:25:01 -05:00
Daniel Micay 13d07ad0a6 add a Set trait and implement it for TreeSet 2013-01-20 14:58:19 -05:00
Patrick Walton f405e41d7a librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. r=nmatsakis 2013-01-17 11:50:20 -08:00
Andrew Paseltiner 0de7aa5506 allow logical negation operator (!) to be overloaded 2013-01-11 14:31:44 -05:00
Erick Tryzelaar dc7183ed0e core: rename MutableVector to OwnedVector 2013-01-09 08:55:37 -08:00
Patrick Walton 2db3abddcd librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc 2013-01-08 22:02:35 -08:00
Patrick Walton 44ab00ee37 Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
This reverts commit a8d37af247.
2013-01-08 19:29:16 -08:00
Patrick Walton a8d37af247 librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc 2013-01-08 19:27:57 -08:00
Brian Anderson 3b71d14442 Inject std when --test. #1127, #3241 2013-01-08 14:58:39 -08:00
Patrick Walton 57c599914a librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon 2012-12-27 10:02:54 -08:00
Graydon Hoare dbd36111fe bump 0.5 => 0.6, redirect some URLs in docs. 2012-12-21 15:35:49 -08:00
Graydon Hoare 8e28f23c60 core: add macro_rules! for "condition! { c: in -> out; }". 2012-12-18 17:22:27 -08:00
Brian Anderson e6d1b02359 Rename core::comm to core::oldcomm 2012-12-14 14:59:32 -08:00
Brian Anderson d809e89c26 Replace some Eq impls with deriving_eq 2012-12-13 16:14:28 -08:00
Brian Anderson ed4fac01b5 Rename Send trait to Owned 2012-12-13 15:52:50 -08:00
Brian Anderson a277081ee4 Rename Owned trait to Durable 2012-12-13 15:52:50 -08:00
Patrick Walton 4c2e4c37ce librustc: Make `use` statements crate-relative by default. r=brson 2012-12-13 13:05:22 -08:00
Graydon Hoare 94be145169 core: rename box to managed. Close #4079. 2012-12-03 17:45:19 -08:00
Graydon Hoare 2a5713ed5c core: rename unit to nil. Close #4080. 2012-12-03 17:28:19 -08:00
Graydon Hoare 00c856c0b1 Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
Brian Anderson b52a4b412e core: Make core.rc more readable. Cleanup 2012-11-30 01:32:53 -08:00
Brian Anderson 65bd40e300 Remove uses of #[merge] 2012-11-28 17:09:26 -08:00
Brian Anderson 9b95d51131 core: Remove old template files 2012-11-28 15:26:55 -08:00
Brian Anderson fc06114ddf Merge remote-tracking branch 'brson/companion' into incoming
Conflicts:
	src/compiletest/compiletest.rs
	src/libcargo/cargo.rs
	src/libcore/core.rs
	src/librustc/rustc.rs
	src/librustdoc/rustdoc.rc
2012-11-28 13:17:33 -08:00
Brian Anderson 8179e268ef Register snapshots 2012-11-28 12:33:00 -08:00
Brian Anderson b21e9d52de core: Add Clone trait 2012-11-27 11:08:19 -08:00
Brian Anderson be6613e048 Remove the crate language 2012-11-26 18:13:54 -08:00
Tim Chevalier af842bf76c Rename core::uniq to core::owned
No review.
Closes #3841
2012-10-25 14:48:28 -07:00
Brian Anderson d29962f0eb Move futures to std 2012-10-23 14:46:49 -07:00
Graydon Hoare fdd7b4d8f4 core: first working sketch of a condition system. 2012-10-17 16:40:34 -07:00
Graydon Hoare 57b4d10ff6 bump version to 0.5. 2012-10-12 16:41:32 -07:00
Graydon Hoare c37c243e95 Remove some residue, core is effectively de-exported now. Close #3583. 2012-10-04 16:08:08 -07:00
Graydon Hoare 6ffce1a1c3 De-export extfmt. Part of #3583. 2012-10-04 13:50:02 -07:00
Patrick Walton 82fd71137a libcore: De-export core.rc and core.rs 2012-10-03 19:40:25 -07:00
Graydon Hoare c31a88c7f4 De-export the submodules of task. Part of #3583. 2012-10-02 16:32:00 -07:00
Patrick Walton 9284179311 libstd: Switch off legacy modes in both core and std. 2012-10-02 12:20:06 -07:00