bors
37a610a7d9
auto merge of #4831 : bjz/rust/incoming, r=pcwalton
...
This is useful for comparing more complex types that include floats.
2013-02-07 08:32:09 -08:00
Brendan Zabarauskas
7651100ec1
Fix broken tests
2013-02-08 02:41:23 +11:00
bors
3764cfbf57
auto merge of #4810 : nikomatsakis/rust/owned-fn-noncopyable, r=nikomatsakis
...
Part of #3678 . Fixes #2828 , #3904 .
r? @brson
2013-02-07 06:05:10 -08: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
bors
82d7396333
auto merge of #4823 : pcwalton/rust/enum-variant-discriminants, r=graydon
...
r? @graydon
2013-02-07 04:02:51 -08:00
Brendan Zabarauskas
17a14fe0e9
Merge branch 'incoming' of https://github.com/mozilla/rust into incoming
2013-02-07 22:55:23 +11:00
Brendan Zabarauskas
e4c7d8ec87
Add type parameter for epsilon value
2013-02-07 22:54:52 +11:00
bors
fa69739320
auto merge of #4822 : graydon/rust/doc-version-stamp, r=brson
...
This just improves the version stamp, which was not being regenerated in cached workspaces even when the version changed. Also adds it to the pdf.
2013-02-07 02:47:14 -08:00
bors
b3e182568f
auto merge of #4817 : kud1ing/rust/patch-1, r=brson
...
Encountered this while trying to port rustsqlite to rust 0.6
2013-02-07 01:30:57 -08:00
bors
d9a61f2a19
auto merge of #4816 : lifthrasiir/rust/float-literal, r=graydon
...
See #4804 for details.
2013-02-07 00:14:14 -08:00
bors
951ad11d68
auto merge of #4815 : thestinger/rust/treemap, r=pcwalton
...
5283a8b reworks the TreeMap lazy iterator to use `&mut` again, which closes #4763 . It gets the performance of the set methods back in the same ballpark that it was pre-INHTWAMA which is nice. These can be turned back into methods eventually.
e5b6334 removes the transitional smallintmap attributes which closes #4737 .
2013-02-06 22:57:08 -08:00
Patrick Walton
8280c81513
Merge pull request #4811 from catamorphism/issue-4523-testcase
...
auto: testsuite: Add test for #4523
2013-02-06 22:49:26 -08:00
bors
2df473dc69
auto merge of #4801 : z0w0/rust/randomtrait, r=graydon
...
Also adds Rng::gen() for generically generating any type that implements the Rand trait. There's no way to generate things with a length (for e.g. strings or vectors), because I can't think of an elegant way to do that. Maybe have a RandLen trait that inherits Rand?
This can be used for a quickcheck mechanism I'm working on.
2013-02-06 21:04:37 -08:00
bors
f13ea4121e
auto merge of #4795 : catamorphism/rust/less-copy, r=catamorphism
2013-02-06 17:06:15 -08:00
Patrick Walton
cf6c3d96fb
librustc: Attempt to put out burning tree by fixing translation of unary negation in boolean constants. rs=burningtree
2013-02-06 15:38:23 -08:00
Brendan Zabarauskas
b081f59495
Convert fuzzy_epsilon constant to upper case and make public
2013-02-07 10:25:41 +11:00
Patrick Walton
6d13c90256
librustc: Stop loading enum variant discriminants from memory
2013-02-06 15:08:33 -08:00
Graydon Hoare
79dc10dba9
doc: improvements to version-stamp makefile logic.
2013-02-06 14:59:03 -08:00
Daniel Micay
dab2f2fac0
remove old snapshot workaround from smallintmap
2013-02-06 17:37:56 -05:00
Daniel Micay
bdfb930f34
treemap: make map_next and set_next public
2013-02-06 17:37:56 -05:00
Daniel Micay
1694168783
update treemap FIXME
2013-02-06 17:37:56 -05:00
Daniel Micay
37e998696f
get rid of implicit vec copies in treemap iterator
...
Each call to next() was doing a copy rather than a move. There's
currently no way for this to be a method that uses &mut self, so it has
to be a free function. Closes #4763 .
2013-02-06 17:37:56 -05:00
Daniel Micay
5b6c26b4e4
treemap: get rid of some implicit vector copies
2013-02-06 17:37:56 -05:00
Daniel Micay
b91a51daca
remove issue #3148 workarounds (no longer needed)
2013-02-06 17:37:56 -05:00
Patrick Walton
b34f871dda
librustc: Change i1 to i8 for bools. Attempts to put out burning tree. rs=burningtree
2013-02-06 14:28:02 -08:00
Tim Chevalier
739e5ba369
rustc: Less copy
2013-02-06 12:09:11 -08:00
kud1ing
48df2f4aaf
core::send_map
renamed to core::hashmap
...
Encountered this while trying to port rustsqlite to rust 0.6
2013-02-06 10:14:50 +01:00
Kang Seonghoon
2600bcc05d
got rid of last empty lines
2013-02-06 17:43:14 +09:00
Kang Seonghoon
01cc9ecafe
libsyntax: no binary/hex float literals
2013-02-06 16:49:24 +09:00
Patrick Walton
801f3225b2
oldmap: use &K instead of K in find and get
...
This reverts commit a4250a96fd
.
This is not the cause of the nonexhaustive-match failure.
2013-02-05 19:41:45 -08:00
Tim Chevalier
fd7b732e58
testsuite: Add test for #4523
2013-02-05 17:30:35 -08:00
Graydon Hoare
a4250a96fd
Revert "oldmap: use &K instead of K in find and get"
...
This reverts commit 8e643525d4
.
2013-02-05 14:30:53 -08:00
Tim Chevalier
0110dfb27c
Merge branch 'incoming' into removing
2013-02-05 10:50:45 -08:00
Tim Chevalier
efd66b0339
Merge branch 'incoming' into made-snap
2013-02-05 10:49:43 -08:00
Tim Chevalier
b9a7d77529
Register snapshots
2013-02-05 10:34:17 -08:00
Tim Chevalier
33e2c979ce
Merge branch 'incoming' into removing
2013-02-05 10:33:35 -08:00
Tim Chevalier
2dcb3ed745
Merge
2013-02-05 10:33:28 -08:00
bors
f1b05ece93
auto merge of #4796 : catamorphism/rust/derecord_std, r=catamorphism
...
See #4665
2013-02-05 07:04:15 -08:00
bors
e72c917f71
auto merge of #4793 : brson/rust/ignore_exclusive_unwrap_conflict, r=brson
2013-02-05 05:21:28 -08:00
Zack Corr
abd29e5ead
core: Add a rand::Rand trait that is implemented by types that can be
...
randomly generated
Also adds Rng::gen() for generating any type that implements the Rand
trait
2013-02-05 22:56:40 +10:00
bors
6e0f05b059
auto merge of #4790 : pcwalton/rust/at-readers, r=pcwalton
2013-02-05 02:09:29 -08:00
bors
2e77526b94
auto merge of #4787 : graydon/rust/clang42, r=graydon
...
This is just a retargeting of https://github.com/mozilla/rust/pull/4753 against incoming
2013-02-05 00:23:24 -08:00
bors
80cd485b49
auto merge of #4784 : alexcrichton/rust/bitv-clear-fix, r=graydon
...
I think that the inversion of `op(&mut w)` may have just been a mistake?
2013-02-04 22:39:53 -08:00
Alex Crichton
406a73fde2
Fix the each_storage() iterator on big bit vectors
2013-02-04 22:59:33 -05:00
bors
52817092a9
auto merge of #4747 : sanxiyn/rust/integral-type, r=graydon
...
`ty::type_is_integral` returns `true` for `ty_bool`. This causes `-true` to compile, instead of resulting in a type error.
2013-02-04 19:59:06 -08:00
Tim Chevalier
2f46b763da
core/syntax: Staging fixes
2013-02-04 17:42:19 -08:00
bors
bffe3088c7
auto merge of pull req #4777 from thestinger/rust, r=graydon
2013-02-04 17:24:40 -08:00
Tim Chevalier
73a7672b8d
std: Stamp out structural records
...
See #4665
2013-02-04 16:48:52 -08:00
bors
3c6b9c2363
automated merge
2013-02-04 15:39:10 -08:00
Tim Chevalier
4e45d7111c
syntax: Make the pipe compiler stop generating set_buffer_ calls
2013-02-04 15:18:53 -08:00