Commit Graph

14780 Commits

Author SHA1 Message Date
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
Tim Chevalier
a438bdc8a6 Merge pull request #4551 from SimonSapin/char-repr
repr: represent char values as char literals rather than integers.
2013-01-20 13:41:41 -08:00
Daniel Micay
5320e132d1 add a LinearSet type (implementing the Set trait) 2013-01-20 15:12:52 -05:00
Daniel Micay
13d07ad0a6 add a Set trait and implement it for TreeSet 2013-01-20 14:58:19 -05:00
Simon Sapin
9788c41ce7 repr: represent char values as char literals rather than integers. 2013-01-20 12:03:02 +01:00
Tim Chevalier
5d07a70fb3 Add Alex Crichton to AUTHORS 2013-01-19 17:42:18 -08:00
Tim Chevalier
1cfa01decf Merge pull request #4546 from alexcrichton/bitv-difference-bug
Fix the difference method on bit vectors
2013-01-19 17:40:59 -08:00
Tim Chevalier
ef0f71dc3f testsuite: Add xfailed test for #4335 2013-01-19 17:39:15 -08:00
Tim Chevalier
1e1707ccb8 testsuite: Add license 2013-01-19 17:38:12 -08:00
Alex Crichton
95d25ca47c Fix the difference method on bit vectors 2013-01-19 20:17:12 -05:00
Tim Chevalier
96b4f43675 Handle region errors where the actual scope is a statement
Prevents a case of "unknown scope, this is a bug".

I judged this too small to review. Closes #4500
2013-01-19 17:06:36 -08:00
Graydon Hoare
e51ec26dd7 xfail-fast the #[main] tests, r=burningtree 2013-01-18 17:44:26 -08:00
Tim Chevalier
b72ed5572f core: Allow set_buffer_ to be referred to as set-buffer
After a snapshot, we can take out the set_buffer_ version (pipes
syntax exts use it).

As per #4421
2013-01-18 15:28:34 -08:00
Chris Peterson
a8ff9f2ef9 Rename copy_overlapping_memory() to copy_memory() 2013-01-18 14:38:46 -08:00