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
Erick Tryzelaar
4fb4a4b66d
core: add LinearMap::find_or_insert{,_with}
...
This allows for inserting a new value into the map only if it doesn't
already exist in the map.
2013-02-10 15:51:25 -08:00
Erick Tryzelaar
849644b5bc
core: rename hashmap test functions
2013-02-10 15:51:25 -08:00
Erick Tryzelaar
fed5df8f2e
libcore: LinearMap doesn't need to pass around the bucket vec
2013-02-10 15:51:25 -08:00
Jeff Olson
4696fb367c
std: fix libuv structs on macos
2013-02-10 14:30:07 -08:00
Brian Anderson
79e9b6d6a1
mk: Run debuginfo tests by default, but only if gdb is available
2013-02-10 14:19:12 -08:00
Brian Anderson
85d7b3c154
mk: Typo
2013-02-10 13:35:20 -08:00
Daniel Micay
99ff74c1bd
make Option's iter method use a lifetime
2013-02-10 16:30:17 -05:00
Jeff Olson
a3516ae834
build: add link flag for freebsd libuv build
2013-02-10 11:51:05 -08:00
Jeff Olson
1cbbb58d87
build: change libuv to point at joyent's repo and make unpatched build libuv work on mingw
2013-02-10 11:51:05 -08:00
Jeff Olson
73507c1961
std: strip sillyness from debug comment in iotask teardown
2013-02-10 11:51:05 -08:00
Jeff Olson
a74296a39f
build: ifdef for mingw/non-mingw builds
2013-02-10 11:51:05 -08:00