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
Chris Peterson
b3cbe9e3c1
Enable lint warnings for doc tests
2013-01-20 22:56:45 -08:00
Chris Peterson
50c8cbb25a
doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t
2013-01-20 22:56:45 -08:00
Chris Peterson
0b6487cf2c
doc: Fix tutorial typo and remove unnecessary xfail-test
2013-01-20 22:56:45 -08:00
Chris Peterson
49e466f1e1
doc: Fix manual's link attributes example code
2013-01-20 22:56:45 -08:00
Laurent Bonnans
c3c90d2e4c
doc: fix log level ids
2013-01-21 15:49:46 +09:00
Tim Chevalier
885f0a2eab
testsuite: Un-xfail test for #3029 and move to run-fail
2013-01-20 20:35:24 -08:00
Tim Chevalier
b9920b052b
testsuite: Tweak tests for #3888
2013-01-20 19:51:33 -08:00
Tim Chevalier
01f26249bb
rustc: Print out region errors involving a function scope properly
2013-01-20 19:51:33 -08:00
Tim Chevalier
e5bf6d1afa
testsuite: Update error message, unbreak build
2013-01-20 18:22:11 -08:00
Tim Chevalier
bc5dd2f557
rustc: Suppress more derived errors
2013-01-20 15:13:29 -08:00
Tim Chevalier
0a8c039135
Merge pull request #4506 from thestinger/mkdtemp
...
clean up tempfile module and rm FIXME
2013-01-20 14:18:00 -08:00
Tim Chevalier
fa4f4fa673
Merge pull request #4519 from cpeterso/impl-timespec-ord
...
Implement Ord trait for Timespec
2013-01-20 14:15:29 -08:00
Tim Chevalier
b428cd55b8
Merge pull request #4557 from thestinger/tidy-fix
...
fix long lines
2013-01-20 14:09:49 -08:00
Erick Tryzelaar
7f2c399f3a
Convert many libsyntax records into structs
...
Specifically:
ast_map::ctx
ast_util::id_range
diagnostic::{handler_t,codemap_t}
auto_encode::field
ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item}
ext::pipes::proto::next_state
2013-01-20 14:08:18 -08:00
Erick Tryzelaar
28da4ecdaa
convert librustc record types to structs
...
specifically:
freevars::freevar_entry
ty::{field_ty,AutoAdjustment,AutoRef}
mod::{method_param,method_map_entry}
2013-01-20 14:08:18 -08:00
Erick Tryzelaar
d5d77b9351
convert the remaining ast record types into structs
...
These are: region,arg,fn_decl,method,_mod,foreign_mod,
variant_arg,enum_def_,variant_,trait_ref.
2013-01-20 14:08:18 -08:00
Erick Tryzelaar
5ba7e55a4c
convert ast::{ty_field_,ty_method} into a struct
2013-01-20 14:08:18 -08:00
Erick Tryzelaar
8cdc3fda11
convert ast::ty into a struct
2013-01-20 14:08:18 -08:00
Erick Tryzelaar
8a3a1fc148
convert ast::expr into a struct
2013-01-20 14:08:18 -08:00
Daniel Micay
1f85c711af
fix long lines
2013-01-20 17:07:57 -05:00
Tim Chevalier
1280a64089
Revert "Fix options passed to gpg in cargo init"
...
As per https://github.com/mozilla/rust/pull/4253
This reverts commit 6c05697667
.
2013-01-20 14:05:07 -08:00
Tim Chevalier
b86c90b73a
Merge pull request #4554 from thestinger/set
...
add a Set trait
2013-01-20 13:45:42 -08:00
Tim Chevalier
da555216d4
Add Simon Sapin to AUTHORS
2013-01-20 13:43:12 -08:00