Commit Graph

12433 Commits

Author SHA1 Message Date
Erick Tryzelaar afeaf7d88c libcore: fix a typo 2012-08-30 21:11:27 -07:00
Erick Tryzelaar c0f357924d libcore: vec::u8::hash is pure. 2012-08-30 20:40:52 -07:00
Erick Tryzelaar 628b946186 libcore: rewrite str::reserve in pure rust. 2012-08-30 20:40:52 -07:00
Erick Tryzelaar 9074d9b581 libcore: rewrite io::MemBuffer.write to use memcpy (#2004) 2012-08-30 20:40:52 -07:00
Erick Tryzelaar 7bb65848a1 libcore: Rewrite str::unsafe::push_byte in pure rust. 2012-08-30 20:40:52 -07:00
Erick Tryzelaar 94c3975a9a libcore: str::push_char should use str::unsafe::set_len. 2012-08-30 20:40:52 -07:00
Erick Tryzelaar 0e1a4a4da2 libcore: rewrite vec::unsafe::from_buf in pure rust 2012-08-30 20:40:52 -07:00
Graydon Hoare 536cb90a21 Migrate core::send_map to random, keyed hashes w/ hash::Hash trait. 2012-08-30 19:05:54 -07:00
Graydon Hoare 3462bb6a46 Fix some more test breakage. 2012-08-30 19:05:54 -07:00
Patrick Walton f74014b0e7 test: Fix compile-fail tests 2012-08-30 17:13:35 -07:00
Patrick Walton 4846affedb rustc: "extern mod { ... }" should be written "extern { ... }" instead 2012-08-30 17:10:07 -07:00
Graydon Hoare c3ac0f8fd9 Fix auto_serialize test. 2012-08-30 16:27:31 -07:00
Graydon Hoare 11871b8baa Fix json test. 2012-08-30 16:27:31 -07:00
Graydon Hoare 54a8d69c4f Change str : Eq to use memcmp. 2012-08-30 16:27:31 -07:00
Patrick Walton 7fec8419f3 test: Add a test for unused constants in foreign modules 2012-08-30 16:10:50 -07:00
Patrick Walton 1f056eda8e rustc: Make the compiler no longer ICE on unused foreign constants 2012-08-30 16:08:58 -07:00
Brian Anderson 65b05a6ce8 Bump version to 0.4 2012-08-30 14:05:59 -07:00
Graydon Hoare bb8a510113 Add an impl path::WindowsPath : Eq. 2012-08-30 13:22:31 -07:00
Graydon Hoare 2d31c2afc4 Fix another Eq missing case. 2012-08-30 13:10:36 -07:00
Graydon Hoare a9619306a5 Start moving core::hash to support a Hash trait. Add to_bytes::IterBytes trait. 2012-08-30 12:38:28 -07:00
Patrick Walton ab53819a2c libstd: Fix another std test 2012-08-30 12:25:48 -07:00
Patrick Walton 5c721bd810 libstd: More test fixes 2012-08-30 12:15:53 -07:00
Patrick Walton 470a301467 libcore: Fix test issues harder 2012-08-30 11:02:13 -07:00
Patrick Walton 27576af73e libcore: Fix test issues 2012-08-30 10:42:48 -07:00
Patrick Walton 9518fc79ea cargo: Fix some lack of knowledge of basic algebraic identities 2012-08-30 10:39:28 -07:00
Patrick Walton 45e46f5fc0 libcore: Add missing unit.rs 2012-08-30 10:14:54 -07:00
Patrick Walton a1c11cab2d rustc: Make `<=`, `>=`, and `>` use traits as well 2012-08-29 19:23:15 -07:00
Patrick Walton 70d3633c0b libstd: Fix some build breakage 2012-08-29 18:29:21 -07:00
Patrick Walton 59bdd8bde6 libcore: Fix build breakage 2012-08-29 18:27:26 -07:00
Patrick Walton 96534365c2 rustc: Make `<` and `=` into traits 2012-08-29 18:25:22 -07:00
Brian Anderson 94720fcea7 std: More camel casing 2012-08-29 17:44:29 -07:00
Brian Anderson d8b34b2af8 Fix breakage 2012-08-29 16:56:04 -07:00
Brian Anderson c0c8d3aa8f core: Demode int/uint mods 2012-08-29 16:23:36 -07:00
Brian Anderson ee2ce036cc Camel case more std types 2012-08-29 16:09:50 -07:00
Brian Anderson aab4d6b8d7 std: Camel case some constructors 2012-08-29 15:34:38 -07:00
Graydon Hoare 6c5c835a1d Make check-notidy not run tidy, as implied. Close #3105. 2012-08-29 14:49:13 -07:00
Brian Anderson 8aca44ee0c core: Don't normalize paths by default. Add a normalize method 2012-08-29 14:28:37 -07:00
Brian Anderson fd12188c07 core: Export sys::Closure 2012-08-29 14:05:27 -07:00
Brian Anderson 6e20ffeb8d Add sys::Closure type 2012-08-29 14:04:22 -07:00
Tim Chevalier ec9c68c1df Merge pull request #3301 from jld/vec-truncate
Add vec::truncate, for efficiently shortening a vector.
2012-08-29 13:53:23 -07:00
Jed Davis 3e4b55807d Add vec::truncate, for efficiently shortening a vector. 2012-08-29 13:46:49 -07:00
Graydon Hoare 5eef15df12 Rename resolve3 -> resolve. 2012-08-29 13:26:52 -07:00
Graydon Hoare 6d22a805d7 Replace core::path with contents of core::path2. Back to one path module. 2012-08-29 13:26:51 -07:00
Tim Chevalier cb8ecd7984 Allow extern mods to be anonymous
extern mod {
  f();
}

is now allowed, and puts f in the enclosing scope. (Requires a
link_name attribute to be really useful...)
2012-08-29 12:22:05 -07:00
Graydon Hoare cdcf5a7580 Merge pull request #3299 from jld/mz-forceinline
Fix MZ_FORCEINLINE define to work with GCC 4.7.1.
2012-08-29 10:31:17 -07:00
Niko Matsakis 75201cdc04 vtable.rs: adjust formatting, correct build error 2012-08-29 06:07:17 -07:00
Niko Matsakis e9ac7489b5 Refactor representation of borrowing so that it is tracked by fn_ctxt and not infer 2012-08-29 05:27:43 -07:00
Jed Davis b043349833 Fix MZ_FORCEINLINE define to work with GCC 4.7.1.
Using just __always_inline__ without inline results in several instances
of "error: always_inline function might not be inlinable".
2012-08-29 01:18:00 -07:00
Erick Tryzelaar e398a72c42 libcore: fix a typo exporting Err. 2012-08-28 20:16:21 -07:00
Tim Chevalier 06675caa42 Comment the default case in typeck::check::vtable::lookup_vtable copiously
Try to save the next person who looks at this code the heartbreak that I
went through.
2012-08-28 19:51:11 -07:00