]>
git.lizzy.rs Git - rust.git/log
Brian Anderson [Sat, 17 Nov 2012 02:54:48 +0000 (18:54 -0800)]
Merge remote-tracking branch 'brson/codemap'
Conflicts:
src/libsyntax/ext/source_util.rs
Brian Anderson [Fri, 16 Nov 2012 23:52:33 +0000 (15:52 -0800)]
Remove unused MultiByteChar.sum field from codemap
Brian Anderson [Fri, 16 Nov 2012 23:14:11 +0000 (15:14 -0800)]
Add some docs to codemap
Tim Chevalier [Fri, 16 Nov 2012 23:12:14 +0000 (15:12 -0800)]
Forbid duplicate supertraits
I actually already pushed most of this by accident before I meant to, but
r=nmatsakis anyway.
Closes #3953
Brian Anderson [Fri, 16 Nov 2012 22:55:52 +0000 (14:55 -0800)]
Remove incorrect comment from codemap
Graydon Hoare [Fri, 16 Nov 2012 22:50:35 +0000 (14:50 -0800)]
syntax: rename quote! to quote_tokens!, add quote_{expr,type,item,pat,stmt}!
r=brson, Close #3976.
Brian Anderson [Fri, 16 Nov 2012 22:35:43 +0000 (14:35 -0800)]
Remove unused types from codemap
Brian Anderson [Fri, 16 Nov 2012 22:22:09 +0000 (14:22 -0800)]
Stop tracking CodeMap offsets in the parse session. Big simplification
Brian Anderson [Fri, 16 Nov 2012 22:10:17 +0000 (14:10 -0800)]
Stop storing char positions in CodeMap
Brian Anderson [Fri, 16 Nov 2012 03:37:29 +0000 (19:37 -0800)]
Change spans to use byte offsets instead of char offsets
Graydon Hoare [Fri, 16 Nov 2012 19:26:26 +0000 (11:26 -0800)]
librustc: Fastisel dislikes memmove, switch to memcpy. Perf win, r=catamorphism.
Fastisel actually has a special case for memcpy, the intrinsic, by name.
It has no such special case for memmove, so bails.
Close #3987.
Brian Anderson [Fri, 16 Nov 2012 19:19:45 +0000 (11:19 -0800)]
re-xfail two tests
Tim Chevalier [Fri, 16 Nov 2012 03:50:53 +0000 (19:50 -0800)]
Update and un-xfail tests
Tim Chevalier [Fri, 16 Nov 2012 03:24:33 +0000 (19:24 -0800)]
Typo
Tim Chevalier [Fri, 16 Nov 2012 03:01:44 +0000 (19:01 -0800)]
Update test and un-xfail it
Tim Chevalier [Fri, 16 Nov 2012 02:59:46 +0000 (18:59 -0800)]
Update error message and un-xfail test
Tim Chevalier [Fri, 16 Nov 2012 02:54:40 +0000 (18:54 -0800)]
Un-xfail working tests
Brian Anderson [Fri, 16 Nov 2012 02:13:37 +0000 (18:13 -0800)]
Fix 'make all' to build all the way through stage2. Closes #3978
Tim Chevalier [Fri, 16 Nov 2012 02:34:27 +0000 (18:34 -0800)]
Update error message and un-xfail test
Tim Chevalier [Fri, 16 Nov 2012 02:11:08 +0000 (18:11 -0800)]
Add comments explaining why these tests are xfailed
Tim Chevalier [Fri, 16 Nov 2012 02:02:11 +0000 (18:02 -0800)]
Un-xfail working test
Tim Chevalier [Fri, 16 Nov 2012 00:36:16 +0000 (16:36 -0800)]
Check for duplicate supertraits and forbid them
As per #3953
Tim Chevalier [Fri, 16 Nov 2012 02:04:25 +0000 (18:04 -0800)]
Make staticness mismatch a fatal error
Exit with a fatal error, instead of recording a non-fatal error,
when we encounter an impl method that's static when its corresponding
trait method isn't (or vice versa). This is because code later on in
the typechecker will expect the staticness of the two methods to be
consistent and ICE otherwise.
r=nmatsakis
Closes #3969
Tim Chevalier [Fri, 16 Nov 2012 02:03:12 +0000 (18:03 -0800)]
Add xfailed test for #3979
Brian Anderson [Fri, 16 Nov 2012 01:32:14 +0000 (17:32 -0800)]
Remove CodeMap.lookup_byte_pos
Patrick Walton [Fri, 16 Nov 2012 00:59:43 +0000 (16:59 -0800)]
librustc: Fix cross-crate reexports. rs=blocking-servo
Tim Chevalier [Fri, 16 Nov 2012 01:14:28 +0000 (17:14 -0800)]
Update error message and un-xfail test
Tim Chevalier [Thu, 15 Nov 2012 22:52:38 +0000 (14:52 -0800)]
Add comments explaining why these tests fail
Tim Chevalier [Thu, 15 Nov 2012 22:39:41 +0000 (14:39 -0800)]
Un-xfail working tests
Tim Chevalier [Thu, 15 Nov 2012 22:39:09 +0000 (14:39 -0800)]
Remove test that tested behavior of unchecked blocks
We don't have unchecked blocks anymore.
Tim Chevalier [Thu, 15 Nov 2012 22:36:38 +0000 (14:36 -0800)]
Update error messages and un-xfail
Tim Chevalier [Thu, 15 Nov 2012 22:25:51 +0000 (14:25 -0800)]
Add another test for #3177
Tim Chevalier [Thu, 15 Nov 2012 22:25:25 +0000 (14:25 -0800)]
Remove typestate test
Tim Chevalier [Fri, 16 Nov 2012 00:45:22 +0000 (16:45 -0800)]
Un-ignore test_from_str and test_parse_buf
Closes #2609
Brian Anderson [Thu, 15 Nov 2012 23:12:39 +0000 (15:12 -0800)]
rt: Don't print backtraces unless the ::rt::backtrace log level is greater than log_err
Brian Anderson [Thu, 15 Nov 2012 23:00:49 +0000 (15:00 -0800)]
Convert CodeMap and FileMap to use &self instead of @self
Graydon Hoare [Thu, 15 Nov 2012 22:51:45 +0000 (14:51 -0800)]
rustc: make llloadenv bb optional, kill 1.5% of emitted llvm insns.
Brian Anderson [Thu, 15 Nov 2012 22:34:23 +0000 (14:34 -0800)]
Add some comments to codemap and lexer
Brian Anderson [Thu, 15 Nov 2012 06:27:53 +0000 (22:27 -0800)]
Refactor the lexer to use FilePos types
Tim Chevalier [Thu, 15 Nov 2012 20:32:00 +0000 (12:32 -0800)]
Rename thread_pool to task_pool
Minor change, no review.
Closes #3972
Tim Chevalier [Thu, 15 Nov 2012 20:30:04 +0000 (12:30 -0800)]
Add tests for #2190 (xfailed)
Graydon Hoare [Thu, 15 Nov 2012 20:03:45 +0000 (12:03 -0800)]
rt: bump log levels up by one, fix tautological-compare error (and permit turning off logging entirely).
Patrick Walton [Thu, 15 Nov 2012 00:32:37 +0000 (16:32 -0800)]
librustc: Implement (and require) explicit self for derivable traits. r=nmatsakis
Patrick Walton [Wed, 14 Nov 2012 21:07:32 +0000 (13:07 -0800)]
librustc: Pass through extra parameters in automatically-derived methods. r=brson
Brian Anderson [Thu, 15 Nov 2012 01:43:41 +0000 (17:43 -0800)]
Create CodeMap.add_filemap
Brian Anderson [Thu, 15 Nov 2012 01:03:07 +0000 (17:03 -0800)]
Factor out some position management code in the lexer
Niko Matsakis [Thu, 15 Nov 2012 03:28:43 +0000 (19:28 -0800)]
Inherit mutability through fixed-length vectors.
Fixes #3226. No review (one line bug fix).
Ben Striegel [Wed, 14 Nov 2012 06:22:37 +0000 (01:22 -0500)]
Convert the test suite to use the Drop trait
Graydon Hoare [Thu, 15 Nov 2012 02:07:14 +0000 (18:07 -0800)]
llvm: fork to disable LiveIRVariabes in GCStrategy.
Graydon Hoare [Thu, 15 Nov 2012 02:05:07 +0000 (18:05 -0800)]
librustc: discard side tables after translation, before llvm passes.
Brian Anderson [Thu, 15 Nov 2012 00:34:18 +0000 (16:34 -0800)]
Track character and byte positions together in the parser
Brian Anderson [Wed, 14 Nov 2012 23:53:24 +0000 (15:53 -0800)]
std: Don't use Drop trait in thread_pool
Ben Striegel [Wed, 14 Nov 2012 02:38:18 +0000 (21:38 -0500)]
Convert libstd to use the Drop trait
Brian Anderson [Tue, 13 Nov 2012 03:32:48 +0000 (19:32 -0800)]
Add types for character position and byte position in the codemap
Brian Anderson [Tue, 13 Nov 2012 02:59:37 +0000 (18:59 -0800)]
Camel case all the codemap types except span
Graydon Hoare [Wed, 14 Nov 2012 22:27:45 +0000 (14:27 -0800)]
configure: force clang when on freebsd.
Brian Anderson [Wed, 14 Nov 2012 22:51:16 +0000 (14:51 -0800)]
Revert "Convert libstd to use the Drop trait"
This reverts commit
28c7a251514919a2d7bdf6c67b8edf5eed9043db .
Brian Anderson [Wed, 7 Nov 2012 20:19:50 +0000 (12:19 -0800)]
rustc: Only strip out the main function when generating test executable, not lib
Brian Anderson [Wed, 7 Nov 2012 07:26:44 +0000 (23:26 -0800)]
rustc: Generate test code when in the 'test' config
Ben Striegel [Wed, 14 Nov 2012 02:38:18 +0000 (21:38 -0500)]
Convert libstd to use the Drop trait
Brian Anderson [Wed, 14 Nov 2012 20:40:23 +0000 (12:40 -0800)]
Move two fn assignability tests from compile-fail to run-pass
Brian Anderson [Wed, 14 Nov 2012 19:49:59 +0000 (11:49 -0800)]
Long lines
Brian Anderson [Wed, 14 Nov 2012 19:43:28 +0000 (11:43 -0800)]
Remove obsolete const pattern test
Patrick Walton [Wed, 14 Nov 2012 03:08:01 +0000 (19:08 -0800)]
librustc: Require the #[derivable] attribute, remove the significance of "impl Foo : Bar;", and allow only a subset of methods in a trait to be derived. r=brson
Patrick Walton [Tue, 13 Nov 2012 22:07:26 +0000 (14:07 -0800)]
rustc: Implement let assignability. r=nmatsakis
Patrick Walton [Tue, 13 Nov 2012 06:10:15 +0000 (22:10 -0800)]
rustc: Allow constants to be used in patterns. r=nmatsakis
Brian Anderson [Tue, 13 Nov 2012 21:32:49 +0000 (13:32 -0800)]
Tools should not be build prereqs of tests. Closes #3946
Patrick Walton [Tue, 13 Nov 2012 23:43:54 +0000 (15:43 -0800)]
librustc: Stop reexporting all of core in every crate. rs=really-bad-bug
Graydon Hoare [Tue, 13 Nov 2012 19:30:37 +0000 (11:30 -0800)]
whitespace police 2
Graydon Hoare [Tue, 13 Nov 2012 19:16:19 +0000 (11:16 -0800)]
whitespace police
Graydon Hoare [Tue, 13 Nov 2012 18:53:45 +0000 (10:53 -0800)]
rustc: fix pp build breakage.
Brian Anderson [Tue, 13 Nov 2012 18:47:23 +0000 (10:47 -0800)]
Add Chris Pressey to AUTHORS.txt
Patrick Walton [Tue, 13 Nov 2012 01:38:41 +0000 (17:38 -0800)]
librustc: Implement deriving with a unit return type. r=tjc
Graydon Hoare [Fri, 9 Nov 2012 01:00:55 +0000 (17:00 -0800)]
rustc: add new token-tree based quasiquoter.
Graydon Hoare [Wed, 7 Nov 2012 23:30:28 +0000 (15:30 -0800)]
rustc: Remove the case of foo![...] as invocation syntax. foo!(...) and foo!{...} only.
Graydon Hoare [Wed, 7 Nov 2012 23:16:58 +0000 (15:16 -0800)]
Revert "`m1!{...}` is now forbidden. Use `m1!(...)` instead."
This reverts commit
89bbaff84fed6e6796c82f5a9fd200e693d47beb .
Graydon Hoare [Wed, 7 Nov 2012 21:41:02 +0000 (13:41 -0800)]
cleanup: convert some remaining #foo invocations to foo! form.
Patrick Walton [Mon, 12 Nov 2012 20:15:08 +0000 (12:15 -0800)]
rustc: Make static methods not leak out of traits. r=brson
Brian Anderson [Tue, 13 Nov 2012 02:36:03 +0000 (18:36 -0800)]
Remove unused get_snippet function from codemap
Brian Anderson [Tue, 13 Nov 2012 02:35:17 +0000 (18:35 -0800)]
Make it clearer which codemap functions use chars vs. bytes
Brian Anderson [Tue, 13 Nov 2012 02:24:56 +0000 (18:24 -0800)]
Objectify the codemap
Brian Anderson [Tue, 13 Nov 2012 02:09:20 +0000 (18:09 -0800)]
Merge remote-tracking branch 'catseye/tutorial-grammar-fixes'
Brian Anderson [Tue, 13 Nov 2012 02:05:29 +0000 (18:05 -0800)]
Merge pull request #3954 from burg/result-chain
Fix Result::chain, Result::chain_err to not require Copy bounds.
Brian J. Burg [Tue, 13 Nov 2012 01:53:08 +0000 (17:53 -0800)]
Fix Result::chain, Result::chain_err to not require Copy bounds.
Brian Anderson [Tue, 13 Nov 2012 01:26:02 +0000 (17:26 -0800)]
Convert codemap from legacy_exports
Brian Anderson [Tue, 13 Nov 2012 01:19:56 +0000 (17:19 -0800)]
Remove expn_info box typedef from codemap
Brian Anderson [Tue, 13 Nov 2012 01:14:15 +0000 (17:14 -0800)]
Reorder codemap decls
Brian Anderson [Tue, 13 Nov 2012 00:56:39 +0000 (16:56 -0800)]
Remove CodeMap box typedef from codemap
Brian Anderson [Tue, 13 Nov 2012 00:47:17 +0000 (16:47 -0800)]
Reformatting in codemap
Brian Anderson [Tue, 13 Nov 2012 00:45:24 +0000 (16:45 -0800)]
Move codemap doc comments to the proper place
Brian Anderson [Tue, 13 Nov 2012 00:44:53 +0000 (16:44 -0800)]
Move filemap ctors to static methods
Brian Anderson [Tue, 13 Nov 2012 00:41:20 +0000 (16:41 -0800)]
Remove filemap box typedef from codemap
Brian Anderson [Mon, 12 Nov 2012 23:12:20 +0000 (15:12 -0800)]
Convert most codemap types from records to structs
Patrick Walton [Thu, 8 Nov 2012 02:40:34 +0000 (18:40 -0800)]
rustc: Implement floating point literal inference. r=nmatsakis
Cat's Eye Technologies [Sun, 11 Nov 2012 16:19:40 +0000 (16:19 +0000)]
Minor grammatical edits; use preferred nomenclature consistently.
Brian Anderson [Wed, 7 Nov 2012 20:30:51 +0000 (12:30 -0800)]
Add a test for multiple main functions
Brian Anderson [Fri, 9 Nov 2012 03:02:25 +0000 (19:02 -0800)]
xfail-fast run-pass/pub-use-xcrate
Brian Anderson [Fri, 9 Nov 2012 01:14:02 +0000 (17:14 -0800)]
std: Eliminate copy warning
Brian Anderson [Fri, 9 Nov 2012 01:11:44 +0000 (17:11 -0800)]
Whitespace
Brian Anderson [Fri, 9 Nov 2012 00:52:21 +0000 (16:52 -0800)]
rustc: Fix cross-crate reexports. #3908. r=pcwalton