Graydon Hoare
ebe99637fd
std: add stats.
2013-02-13 11:46:25 -08:00
Graydon Hoare
73280b0472
core: add abs to num.
2013-02-13 11:46:25 -08:00
Graydon Hoare
389125aeb8
core: add min and max to cmp, re-export various places.
2013-02-13 11:46:25 -08:00
John Clements
9df11ae83f
retabbing
2013-02-13 10:49:36 -08:00
bors
d06e6e758a
auto merge of #4892 : pcwalton/rust/xc-newtype-structs, r=pcwalton
...
r? @brson
2013-02-13 10:22:42 -08:00
Tim Chevalier
e92e3e4578
Add forgotten authors Jesse Jones, Mark Vian, and Trinick
2013-02-13 09:59:57 -08:00
Tim Chevalier
c42a36776f
Add Brendan Zabarauskas to AUTHORS
2013-02-13 09:53:10 -08:00
Ben Striegel
e6c82c0375
RIMOV core::vec
...
Also remove as many uses as possible of vec::cast_to_mut and
cast_from_mut
2013-02-13 12:48:24 -05:00
Ben Striegel
4de76aeb14
RIMOV core::hash
2013-02-13 12:47:44 -05:00
Ben Striegel
808ccd3349
RIMOV core::io
2013-02-13 12:47:44 -05:00
Ben Striegel
3a3f7b8e55
RIMOV core::rand
2013-02-13 12:47:44 -05:00
Ben Striegel
2d2ed075e3
RIMOV core::run
2013-02-13 12:47:43 -05:00
Ben Striegel
e58c812f77
Partially de-vec-mut librustc
2013-02-13 12:47:43 -05:00
Patrick Walton
e07623d70b
librustc: Make monomorphic newtype structs work cross-crate
2013-02-13 09:47:20 -08:00
bors
6016214101
auto merge of #4900 : luqmana/rust/core_os_errors, r=graydon
...
Rewrote the last pull request (#4859 ) to not require on llvm for core.
Also fixes #2269 .
2013-02-12 21:27:22 -08:00
bors
27b3e01377
auto merge of #4914 : nikomatsakis/rust/issue-4856, r=nikomatsakis
...
and then adjust code to match. rs=unsound (will review post-landing)
rs=unsound
2013-02-12 20:40:19 -08:00
Niko Matsakis
ab2534974c
Adjust borrow checker algorithm to address #4856 unsoundness,
...
and then adjust code to match. rs=unsound (will review post-landing)
2013-02-12 20:10:50 -08:00
Kang Seonghoon
6d98ca94cc
libsyntax: don't parse ////, /***/ as doc comments
2013-02-13 11:39:13 +09:00
bors
1a394e57f7
auto merge of #4896 : pcwalton/rust/move-speedup, r=pcwalton
...
r? @nikomatsakis
When you made the change to fix kinds in recursion, you stopped looking in the master cache. This patch fixes it.
2013-02-12 17:32:29 -08:00
John Clements
46d2be1bd4
added rather elaborate test framework
2013-02-12 17:18:29 -08:00
bors
6727c6fb56
auto merge of #4881 : bjz/rust/incoming, r=catamorphism
2013-02-12 16:22:58 -08:00
Patrick Walton
a165f88272
librustc: Speed up moves a lot. r=nmatsakis
2013-02-12 16:16:23 -08:00
bors
91c59f5c9a
auto merge of #4880 : erickt/rust/hashmap-cleanup, r=catamorphism
2013-02-12 15:24:42 -08:00
bors
bc2d147847
auto merge of #4858 : z0w0/rust/rm_weak_task_count, r=graydon
2013-02-12 14:36:33 -08:00
bors
21a0d52a85
auto merge of #4876 : brson/rust/debuginfo, r=brson
...
Update of #4862
2013-02-12 13:30:07 -08:00
bors
210fa2d017
auto merge of #4874 : thestinger/rust/option, r=catamorphism
2013-02-12 10:35:12 -08:00
bors
1c487b18f3
auto merge of #4867 : z0w0/rust/pruneprelude, r=catamorphism
2013-02-12 09:37:41 -08:00
Graydon Hoare
1d82d8dd5d
Revert "librustc: Make monomorphic newtype structs work cross-crate"
...
This reverts commit a8f039a085
.
2013-02-12 09:02:17 -08:00
Luqman Aden
2180fe2552
rt: remove last_os_error from rustrt.def.in
2013-02-12 00:22:58 -05:00
Luqman Aden
44b80ed0d6
Long lines.
2013-02-11 23:49:49 -05:00
Luqman Aden
70185fdcc2
rt: remove last_os_error and adjust tests.
2013-02-11 23:49:49 -05:00
Luqman Aden
625fac3c7e
core: Rewrite last_os_error in Rust for windows as well.
2013-02-11 23:49:49 -05:00
Luqman Aden
9877d98b8f
core: Rewrite last_os_error in Rust for unix and provide access to errno (unix) and GetLastError (windows).
2013-02-11 23:49:49 -05:00
Patrick Walton
a8f039a085
librustc: Make monomorphic newtype structs work cross-crate
2013-02-11 20:09:11 -08:00
Brian Anderson
9701517703
std: Fix uv_tcp_t size on i686-apple-darwin
2013-02-11 19:24:35 -08:00
Zack Corr
0db527e2f8
core: Fix dec/inc_kernel_live_count mixup
2013-02-12 12:27:19 +10:00
Brian Anderson
b126c742e5
Merge remote-tracking branch 'thestinger/treemap'
2013-02-11 16:13:50 -08:00
Brian Anderson
822813dd23
Add Mikko Perttunen to AUTHORS
2013-02-11 15:02:16 -08:00
Brian Anderson
8ed1c15845
Fix license block
2013-02-11 15:01:24 -08:00
Brian Anderson
744e5adbe3
Merge remote-tracking branch 'cyndis/expansion-span'
2013-02-11 15:01:23 -08:00
Brian Anderson
faef933e75
Merge pull request #4873 from jld/rust-mode-wants-cl-when
...
rust-mode.el uses the 'cl macros, so it should actually require them
2013-02-11 13:06:57 -08:00
Mikko Perttunen
ca030b4fc8
Update copyright years
2013-02-11 21:02:36 +02:00
Mikko Perttunen
d48bc263b5
Add test for using line! in a macro
2013-02-11 20:26:40 +02:00
Mikko Perttunen
f2a8a71266
Use topmost span for macro expansion location. Fixes behaviour of file!, line! and col!
2013-02-11 20:23:40 +02:00
Daniel Micay
f9c7ba009b
treemap: cut down on swap_unwrap in remove
...
Performance before:
std::treemap::TreeMap
sequential_ints 0.083971 s
random_ints 0.095861 s
delete_ints 0.083931 s
sequential_strings 0.278272 s
random_strings 0.240286 s
delete_strings 0.173581 s
Performance after:
std::treemap::TreeMap
sequential_ints 0.083297 s
random_ints 0.097644 s
delete_ints 0.052602 s
sequential_strings 0.287326 s
random_strings 0.242372 s
delete_strings 0.142269 s
2013-02-10 22:03:26 -05:00
Daniel Micay
b0f58f6e68
avoid explicit reborrow in heir_swap
2013-02-10 21:11:33 -05:00
Zack Corr
33ae05871c
core: Fix files that needed GenericChan/Port from prelude
2013-02-11 12:11:23 +10:00
Daniel Micay
195a969bb3
treemap: avoid swap_unwrap in insert
...
Performance before:
std::treemap::TreeMap
sequential_ints 0.151877 s
random_ints 0.160926 s
delete_ints 0.08694 s
sequential_strings 0.316458 s
random_strings 0.290778 s
delete_strings 0.169892 s
Performance after:
std::treemap::TreeMap
sequential_ints 0.083971 s
random_ints 0.095861 s
delete_ints 0.083931 s
sequential_strings 0.278272 s
random_strings 0.240286 s
delete_strings 0.173581 s
2013-02-10 20:49:44 -05:00
Daniel Micay
f9c15de1fd
treemap: use an &mut parameter for skew and split
...
results in a small performance improvement and reduces the compiled
code size
2013-02-10 20:47:22 -05:00
Brendan Zabarauskas
48b2141b83
Add NumCast trait for generic numeric type casts
2013-02-11 12:33:05 +11:00