Trinick
9dc8e96c5f
core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut
2013-01-23 10:09:45 +00:00
Seo Sanghyeon
c379d96c67
doc: Document mutable function arguments
2013-01-23 17:20:36 +09:00
Tim Chevalier
54344c2468
testsuite: Add tests for mutable function arguments
2013-01-22 23:34:35 -08:00
Tim Chevalier
83ddb55e8f
syntax: Pretty-print mut
qualifiers on args
2013-01-22 23:34:35 -08:00
Tim Chevalier
a7eaa1f5e4
syntax: Allow closure args to be mutable
2013-01-22 23:34:34 -08:00
Seo Sanghyeon
800b8a759d
Implement mut
in arguments
2013-01-22 23:34:34 -08:00
Seo Sanghyeon
d10b5c725b
Add is_mutbl field to def_arg
2013-01-22 23:34:34 -08:00
Seo Sanghyeon
4dd29dee57
Parse mut
in arguments
2013-01-22 23:34:33 -08:00
Seo Sanghyeon
9a5d617092
Add is_mutbl field to arg
2013-01-22 23:34:33 -08:00
Tim Chevalier
dfa97c21a5
Merge pull request #4586 from thestinger/treemap
...
drop is_not_empty from TreeSet/TreeMap
2013-01-22 23:08:18 -08:00
Seo Sanghyeon
3ed39ce26f
Handle divide by zero in constant evaluator
2013-01-23 15:07:00 +09:00
Graydon Hoare
93e969e356
std: un-ignore strptime test; fix bug introduced by 1a226f instead.
2013-01-22 21:42:24 -08:00
Graydon Hoare
2c870e4074
Merge pull request #4585 from thestinger/map
...
migrate LinearMap<T, ()> to LinearSet<T>
2013-01-22 19:52:39 -08:00
Daniel Micay
7eb8642aed
drop is_not_empty from TreeSet/TreeMap
2013-01-22 22:36:29 -05:00
Daniel Micay
9cdcd9bff9
migrate gather_loans.rs to LinearSet
2013-01-22 22:10:04 -05:00
Daniel Micay
342cb602db
migrate coherence.rs to LinearSet
2013-01-22 22:10:00 -05:00
Tim Chevalier
e31ebeadc1
std: Ignore time::tests::test_strptime, it's failing for some reason
...
I'll file an issue.
2013-01-22 19:09:21 -08:00
Daniel Micay
8cff5c22c3
migrate task/spawn.rs to LinearSet
2013-01-22 21:28:28 -05:00
Daniel Micay
7de5e6c487
migrate gc.rs to LinearSet
2013-01-22 21:28:28 -05:00
Graydon Hoare
499f00de1d
std: various hacking on workcache.
2013-01-22 17:55:36 -08:00
Graydon Hoare
bcaeb20800
long line police
2013-01-22 17:53:27 -08:00
Tim Chevalier
14d721388b
Add test case for change in 039bfe
2013-01-22 16:22:55 -08:00
Josh Matthews
72259e0772
Translate const references to extern functions as *i8 instead of the typical closure pair. Fixes #4522 .
2013-01-22 16:22:55 -08:00
Tim Chevalier
5de1ca99f8
Add Ashok Gautham to AUTHORS
2013-01-22 16:11:51 -08:00
Tim Chevalier
1a226f5807
Merge pull request #4466 from ScriptDevil/master
...
Range checking and miscellaneous fixes tin time library
2013-01-22 16:10:48 -08:00
Tim Chevalier
9d672671e2
Make borrowck's notion of scopes consistent with trans's notion of scopes
...
This eliminates an ICE in trans where the scope for a particular
borrow was a statement ID, but the code in trans that does cleanups
wasn't finding the block with that scope. As per #3860
preserve looks at a node ID to see if it's for a statement -- if it
is, it uses the enclosing scope instead when updating the map that
trans looks at later.
I added a comment noting that this is not the best fix (since it may
cause boxes to be frozen for longer than necessary) and referring
to #3511 .
r=nmatsakis
2013-01-22 15:59:45 -08:00
Tim Chevalier
519b60f313
Merge pull request #4580 from Dretch/atvec-constructors
...
Add more constructors for managed vectors (as proposed in issue #4553 )
2013-01-22 15:24:12 -08:00
Tim Chevalier
10260bee38
Change debuginfo to not use an option for the output type...
...
...now without a random libuv change.
2013-01-22 15:13:23 -08:00
Tim Chevalier
a36eacc4f9
Revert "Clean up previous commit to not require an Option"
...
I made a mistake and included some submodule weirdness.
About to re-push the patch without that.
This reverts commit 17ea548275
.
2013-01-22 15:12:35 -08:00
gareth
9b27ec8684
Add more constructors for managed vectors (as proposed in issue #4553 )
2013-01-22 22:52:20 +00:00
Tim Chevalier
17ea548275
Clean up previous commit to not require an Option
2013-01-22 14:28:05 -08:00
Josh Matthews
5b4e569bf3
Fix building of all rustc components with -g.
2013-01-22 14:27:21 -08:00
Tim Chevalier
a8d076d2de
syntax/rustc: Make some metadata-related functions take slices, kill bad copies
...
Too small to review.
2013-01-22 11:58:08 -08:00
Tim Chevalier
8869e72386
Simplify path_entry's closure argument
...
Make the closure take two arguments instead of a single `path_entry`
struct; remove the `path_entry` type. This eliminates a bad copy.
2013-01-22 11:06:54 -08:00
Tim Chevalier
e02449c41d
Merge pull request #4571 from thestinger/container
...
more work on container traits
2013-01-22 10:57:26 -08:00
Tim Chevalier
0c276daeb9
Merge pull request #4575 from cpeterso/timespec-nsec-comment
...
Add Timespec comment and assert about negative nsec
2013-01-22 10:40:57 -08:00
Daniel Micay
6f4d86ed90
add a base Container trait
2013-01-22 08:10:08 -05:00
Daniel Micay
d635a6e506
add a container::Map trait
2013-01-22 08:10:08 -05:00
Daniel Micay
ffb9049274
add a Mutable container trait with clear
2013-01-22 08:09:53 -05:00
Chris Peterson
f5a3ce687d
Add Timespec comment and assert about negative nsec
2013-01-21 20:51:58 -08:00
Tim Chevalier
d3bb4990dd
rustc: Make metadata::encoder::encode_path take an &path
...
Eliminates some bad copies.
2013-01-21 20:39:58 -08:00
Tim Chevalier
012364bc5f
Add Laurent Bonnans to AUTHORS
2013-01-21 19:54:38 -08:00
Tim Chevalier
e856606c0d
Merge pull request #4562 from lbonn/loglevel
...
doc: fix log level ids
2013-01-21 19:53:24 -08:00
Tim Chevalier
143039ca43
docs: Fix typo
2013-01-21 19:50:38 -08:00
William Ting
60184d12b6
Update documentation with examples for various int, vec methods.
...
add int::range(), remainder() examples
add vec::foldl(), foldr() examples
tweak
2013-01-21 19:50:38 -08:00
Tim Chevalier
b49c47a4c9
Merge pull request #4570 from wting/minor_int_cleanup
...
minor int-template.rs cleanup
2013-01-21 19:44:37 -08:00
Tim Chevalier
3fac6f8b54
Revert "doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t"
...
This reverts commit 50c8cbb25a
.
2013-01-21 19:39:45 -08:00
Daniel Micay
66e50892c1
style fix
2013-01-21 21:27:21 -05:00
Tim Chevalier
c9c8d6fdd1
Merge pull request #4563 from cpeterso/fix-doc-tests
...
Fix various doc tests
2013-01-21 14:55:17 -08:00
William Ting
04d38f38e7
minor int-template.rs cleanup
2013-01-21 11:15:11 -06:00