]>
git.lizzy.rs Git - rust.git/log
Brian Anderson [Thu, 19 Apr 2012 22:46:09 +0000 (15:46 -0700)]
build: Fix logic around --enable-local-rust
Tim Chevalier [Thu, 19 Apr 2012 22:20:11 +0000 (15:20 -0700)]
Annotate FIXMEs (comments only)
Tim Chevalier [Thu, 19 Apr 2012 21:46:11 +0000 (14:46 -0700)]
Move some functions from pprust to classify
As per a FIXME in syntax::parse::classify, move predicates on exprs
and stmts into classify, out of pprust
Tim Chevalier [Thu, 19 Apr 2012 21:43:12 +0000 (14:43 -0700)]
Clean up FIXMEs in syntax::fold
Eta-reduce a function, fold over ty constrs, and annotate a FIXME.
Tim Chevalier [Thu, 19 Apr 2012 21:26:45 +0000 (14:26 -0700)]
Cleanup FIXMEs in syntax::ext::qquote
Inline some one-off functions, add an error message, annotate a FIXME
Tim Chevalier [Thu, 19 Apr 2012 20:51:23 +0000 (13:51 -0700)]
Removed a FIXME from librustcsyntax/ext/build.rs
I removed a FIXME about cleaning up function names because I
couldn't tell what needed cleaning up. If you know, please add a
FIXME and a corresponding issue tracker issue that explains the
problem!
Tim Chevalier [Thu, 19 Apr 2012 22:24:49 +0000 (15:24 -0700)]
Comments only: annotate FIXMEs in lexer
Niko Matsakis [Thu, 19 Apr 2012 17:58:45 +0000 (10:58 -0700)]
Merge pull request #2241 from jwise/master
simple update of keywords.txt
Brian Anderson [Thu, 19 Apr 2012 08:26:17 +0000 (01:26 -0700)]
core: Move set_exit_status from sys to os
Brian Anderson [Thu, 19 Apr 2012 08:23:00 +0000 (01:23 -0700)]
core: Move last_os_error from sys to os
Brian Anderson [Thu, 19 Apr 2012 08:00:52 +0000 (01:00 -0700)]
core: Improve docs
Joshua Wise [Thu, 19 Apr 2012 07:05:55 +0000 (00:05 -0700)]
doc: Update keywords.txt with modern list of keywords derived from parser.
Brian Anderson [Thu, 19 Apr 2012 01:43:42 +0000 (18:43 -0700)]
rt: Don't log in the stack switching failure path
The runtime is in an uncertain state here and, instead of thinking
about how to make the logger work correctly, let's just avoid it.
Currently, it ends up hitting an assert saying that we can't log on
the rust stack.
Graydon Hoare [Thu, 19 Apr 2012 00:02:28 +0000 (17:02 -0700)]
Add str/& component accessor and test.
Graydon Hoare [Thu, 19 Apr 2012 00:02:00 +0000 (17:02 -0700)]
Fix [] on str to exclude the trailing null.
Brian Anderson [Wed, 18 Apr 2012 06:34:48 +0000 (23:34 -0700)]
syntax: Put the main parser interface in mod parse
Brian Anderson [Wed, 18 Apr 2012 05:02:00 +0000 (22:02 -0700)]
syntax: Begin moving functions from mod parser to mod classify
Brian Anderson [Wed, 18 Apr 2012 04:14:40 +0000 (21:14 -0700)]
syntax: Move some functions from parser to token
Brian Anderson [Wed, 18 Apr 2012 03:41:04 +0000 (20:41 -0700)]
syntax: Extract prec mod from parser mod
Marijn Haverbeke [Wed, 18 Apr 2012 15:08:32 +0000 (17:08 +0200)]
Require values to be copyable when cast
Closes #2222
Marijn Haverbeke [Wed, 18 Apr 2012 15:05:52 +0000 (17:05 +0200)]
Remove tri.rs and four.rs
Closes #1892
Marijn Haverbeke [Wed, 18 Apr 2012 14:11:12 +0000 (16:11 +0200)]
Fix oversight in type_use.rs
Closes #2053
Marijn Haverbeke [Wed, 18 Apr 2012 13:41:33 +0000 (15:41 +0200)]
Describe new for construct in the tutorial
Closes #2141
Marijn Haverbeke [Wed, 18 Apr 2012 11:46:21 +0000 (13:46 +0200)]
Stop duplicating non-generic resource destructors
Closes #2177
Marijn Haverbeke [Wed, 18 Apr 2012 11:15:02 +0000 (13:15 +0200)]
Add a needs_drop intrinsic
Closes #2055
Marijn Haverbeke [Wed, 18 Apr 2012 11:00:18 +0000 (13:00 +0200)]
Fix use of wrong block context in return-from-loop code
Closes #2142
Brian Anderson [Wed, 18 Apr 2012 02:34:44 +0000 (19:34 -0700)]
syntax: Add explicit exports in parser mods
Graydon Hoare [Tue, 17 Apr 2012 22:07:38 +0000 (15:07 -0700)]
Implement slice-borrowing on estr-uniq and str values.
Brian Anderson [Tue, 17 Apr 2012 21:22:47 +0000 (14:22 -0700)]
syntax: Remove extra 'mut' from bad word table
Niko Matsakis [Tue, 17 Apr 2012 17:05:28 +0000 (10:05 -0700)]
new debug flag, new test
Niko Matsakis [Tue, 17 Apr 2012 15:40:06 +0000 (08:40 -0700)]
repair LUB/GLB of free/scope regions, and enable test
Niko Matsakis [Tue, 17 Apr 2012 15:39:58 +0000 (08:39 -0700)]
change printout to be what users will expect
Niko Matsakis [Tue, 17 Apr 2012 15:39:41 +0000 (08:39 -0700)]
along long lines if they contain error msgs
Patrick Walton [Tue, 17 Apr 2012 15:01:17 +0000 (08:01 -0700)]
etc: Modernize the indenter
Niko Matsakis [Mon, 16 Apr 2012 05:06:19 +0000 (22:06 -0700)]
rewrite region resolution so it takes place in typeck
Brian Anderson [Tue, 17 Apr 2012 01:27:04 +0000 (18:27 -0700)]
Merge pull request #2224 from tedhorst/cleandsym
properly clean .dSYM directories
Ted Horst [Tue, 17 Apr 2012 00:44:40 +0000 (19:44 -0500)]
properly clean .dSYM directories
Graydon Hoare [Mon, 16 Apr 2012 23:17:51 +0000 (16:17 -0700)]
Get explicit unique estrs working.
Brian Anderson [Mon, 16 Apr 2012 21:58:58 +0000 (14:58 -0700)]
rustc: Resolve external impls defined in yet other crates. Issue #2196
Brian Anderson [Mon, 16 Apr 2012 20:51:40 +0000 (13:51 -0700)]
test: Add xfailed test for #2196
Brian Anderson [Mon, 16 Apr 2012 20:01:30 +0000 (13:01 -0700)]
Add Evan McClanahan to AUTHORS.txt
Brian Anderson [Mon, 16 Apr 2012 19:59:51 +0000 (12:59 -0700)]
Merge pull request #2184 from evanmcc/local_rust
add the configure option --enable-local-rust to pull rust from your environment
Brian Anderson [Sat, 14 Apr 2012 04:38:15 +0000 (21:38 -0700)]
rustc: -L also indicates the location of native libraries
-L currently specifies paths to search for Rust crates
Building crates that use native libraries is difficult. When the
library is located somewhere unexpected there is no way
to tell rustc additional paths to look in.
If libclang is located at `.` then rustc is not going to
know that and linking will fail.
To get around that I often end up inserting
#[link_args = "-L."] native mod m { }
into other crates to get them to build.
Now you just `rustc -L .` and it builds.
This doesn't do any rpathing so it's still up to somebody else
to put the library somewhere it will be found or use LD_LIBRARY_PATH
This feature comes with a single, XFAILed test, because I could
not think of a way to test it. Odd.
Brian Anderson [Sun, 15 Apr 2012 05:07:45 +0000 (22:07 -0700)]
core: Factor out uint/u8/16/32/64 mods into uint-template
Brian Anderson [Sun, 15 Apr 2012 00:21:10 +0000 (17:21 -0700)]
core: Factor out int/i8/16/32/64 mods into int-template
Brian Anderson [Mon, 16 Apr 2012 04:46:29 +0000 (21:46 -0700)]
core: Add extension methods for is_null, is_not_null
Brian Anderson [Sun, 15 Apr 2012 23:20:34 +0000 (16:20 -0700)]
Add Alexander Stavonin to AUTHORS.txt
Brian Anderson [Sun, 15 Apr 2012 23:18:39 +0000 (16:18 -0700)]
Merge pull request #2211 from astavonin/master
export buf_len from ptr
Brian Anderson [Sun, 15 Apr 2012 12:13:10 +0000 (05:13 -0700)]
syntax: Remove unused lexer field
Brian Anderson [Sun, 15 Apr 2012 11:40:05 +0000 (04:40 -0700)]
syntax: Cleanup in diagnostic
Brian Anderson [Sun, 15 Apr 2012 11:34:51 +0000 (04:34 -0700)]
syntax: Limit exports in codemap
Brian Anderson [Sun, 15 Apr 2012 11:19:52 +0000 (04:19 -0700)]
syntax: Some minor lexer refactoring
Brian Anderson [Sun, 15 Apr 2012 11:02:25 +0000 (04:02 -0700)]
syntax: lexer doesn't need to store the src length
Brian Anderson [Sun, 15 Apr 2012 10:57:24 +0000 (03:57 -0700)]
syntax: lexer doesn't need a codemap
Brian Anderson [Sun, 15 Apr 2012 10:49:59 +0000 (03:49 -0700)]
syntax: Limit exports from lexer
Brian Anderson [Sun, 15 Apr 2012 10:44:32 +0000 (03:44 -0700)]
syntax: Eliminate token's dependency on lexer
Brian Anderson [Sun, 15 Apr 2012 10:27:24 +0000 (03:27 -0700)]
syntax: Move comment-extraction code to its own module
Brian Anderson [Sun, 15 Apr 2012 08:07:47 +0000 (01:07 -0700)]
syntax: Cleanup attr module. Closes #1545
Tim Chevalier [Sat, 17 Mar 2012 21:39:15 +0000 (14:39 -0700)]
Forbid deinitializing upvars in typestate
Closes #1965.
Alexander Stavonin [Sun, 15 Apr 2012 07:40:47 +0000 (16:40 +0900)]
export buf_len from ptr
Brian Anderson [Sun, 15 Apr 2012 04:36:57 +0000 (21:36 -0700)]
Register snapshots
Niko Matsakis [Sun, 15 Apr 2012 01:45:03 +0000 (18:45 -0700)]
implement evec/estr subtyping/lub/glb/etc
Brian Anderson [Sat, 14 Apr 2012 22:40:18 +0000 (15:40 -0700)]
core: Use tilde-fences in docs
Backtick fences don't work for some reason
Brian Anderson [Sat, 14 Apr 2012 19:25:45 +0000 (12:25 -0700)]
Merge pull request #2205 from grahame/floatstrfixes
add inf/-inf/NaN parsing to float::from_str
Grahame Bowland [Sat, 14 Apr 2012 18:21:57 +0000 (02:21 +0800)]
add inf/-inf/NaN parsing to float::from_str
add tests for "inf"/"-inf"/"NaN" conversion
add tests for "-0." -> -0., "0." -> 0.
Brian Anderson [Sat, 14 Apr 2012 09:14:05 +0000 (02:14 -0700)]
test: Simulate abstract methods with template modules
Brian Anderson [Sat, 14 Apr 2012 06:27:03 +0000 (23:27 -0700)]
test: Add a test for interesting module template polymorphism
Brian Anderson [Sat, 14 Apr 2012 04:28:19 +0000 (21:28 -0700)]
rustc: Don't hardcode -lm
It does not appear to serve a purpose
Niko Matsakis [Sat, 14 Apr 2012 02:07:47 +0000 (19:07 -0700)]
integrate simple notion of borrowing into trans
Niko Matsakis [Fri, 13 Apr 2012 21:52:11 +0000 (14:52 -0700)]
store into the borrowings table
Niko Matsakis [Fri, 13 Apr 2012 20:36:39 +0000 (13:36 -0700)]
new borrowing tests (not all passing)
Niko Matsakis [Fri, 13 Apr 2012 20:35:57 +0000 (13:35 -0700)]
add initial code re: slices to borrowing, improve ty_to_str
Graydon Hoare [Sat, 14 Apr 2012 02:50:51 +0000 (19:50 -0700)]
Trivial change to force a doc rebuild.
Niko Matsakis [Fri, 13 Apr 2012 16:19:23 +0000 (09:19 -0700)]
add test for issue #1466 that runs with CC ZEAL enabled.
Fixes #1466. (Unable to reproduce)
Niko Matsakis [Fri, 13 Apr 2012 16:19:07 +0000 (09:19 -0700)]
add option exec-env to set env variables during test execution
Niko Matsakis [Fri, 13 Apr 2012 18:59:17 +0000 (11:59 -0700)]
use find not echo; this also brings fuzzer under the iron fist of tidy.py!
Niko Matsakis [Fri, 13 Apr 2012 04:59:33 +0000 (21:59 -0700)]
first stab at type checking for borrow: not integrated into trans
Niko Matsakis [Fri, 13 Apr 2012 04:58:32 +0000 (21:58 -0700)]
change to use && mode (can't move from upvar)
relevant to #1965
Haitao Li [Fri, 13 Apr 2012 10:34:45 +0000 (18:34 +0800)]
Revert "libstd: Handle test results in serial"
This reverts commit
828d0677c4d6d9cc955f9b90e8b28039f69ff8b8 .
Haitao Li [Fri, 13 Apr 2012 10:34:41 +0000 (18:34 +0800)]
Revert "libstd: Colorify test results when run in parallel"
This reverts commit
7b3cb05311ef7d671b0bf92b041112ef141dc188 .
Tim Chevalier [Fri, 13 Apr 2012 08:46:56 +0000 (01:46 -0700)]
Annotate FIXMEs in syntax::ast and syntax::ast_util
The main non-comment change was to change simple_path to path,
as per a FIXME in ast.
Tim Chevalier [Fri, 13 Apr 2012 06:38:53 +0000 (23:38 -0700)]
Annotate FIXMEs in core::vec
Tim Chevalier [Fri, 13 Apr 2012 06:38:25 +0000 (23:38 -0700)]
Annotate FIXMEs in core::task
Tim Chevalier [Fri, 13 Apr 2012 04:46:41 +0000 (21:46 -0700)]
Remove or annotate FIXMEs in core::str
Trimmed exports in core::str::unsafe. Annotated other FIXMEs.
Also moved the test for str::unsafe::from_buf_len inside str_unsafe
since it's no longer exported. If it's not good to do that, let me
know.
Tim Chevalier [Fri, 13 Apr 2012 03:24:07 +0000 (20:24 -0700)]
Add a run-fail test for result::get, get rid of a FIXME. Also some random other tests, mostly xfailed.
Brian Anderson [Fri, 13 Apr 2012 01:11:23 +0000 (18:11 -0700)]
rustc: Fix handling of - and _ in lint pass
Brian Anderson [Fri, 13 Apr 2012 00:12:48 +0000 (17:12 -0700)]
test: Add test for #1763
Graydon Hoare [Fri, 13 Apr 2012 00:30:52 +0000 (17:30 -0700)]
Support general warnings and errors in lint pass via flags and attrs. Close #1543.
Haitao Li [Wed, 11 Apr 2012 12:46:12 +0000 (20:46 +0800)]
libstd: Colorify test results when run in parallel
Closes #782
Haitao Li [Wed, 11 Apr 2012 12:39:15 +0000 (20:39 +0800)]
libstd: Handle test results in serial
Issue #782
Brian Anderson [Thu, 12 Apr 2012 04:32:05 +0000 (21:32 -0700)]
rustc: Long lines
Brian Anderson [Thu, 12 Apr 2012 04:28:25 +0000 (21:28 -0700)]
test: Add compile-fail test for shadowing in-scope enums
Brian Anderson [Thu, 12 Apr 2012 04:25:32 +0000 (21:25 -0700)]
rustc: Fix typo in error message
Tim Chevalier [Thu, 12 Apr 2012 01:48:26 +0000 (18:48 -0700)]
Test that a class can implement an interface defined in a different crate
Brian Anderson [Thu, 12 Apr 2012 01:17:42 +0000 (18:17 -0700)]
Break up make tidy even more
Niko Matsakis [Thu, 12 Apr 2012 00:38:23 +0000 (17:38 -0700)]
breakup tidy command
Niko Matsakis [Wed, 11 Apr 2012 23:27:11 +0000 (16:27 -0700)]
rewrite lookup_method(), lookup_method_inner(), and lookup_method_inner_()
Niko Matsakis [Wed, 11 Apr 2012 20:10:35 +0000 (13:10 -0700)]
refactor fixup_self
Niko Matsakis [Wed, 11 Apr 2012 00:16:48 +0000 (17:16 -0700)]
first attempt at an assignability check
Niko Matsakis [Wed, 11 Apr 2012 16:14:09 +0000 (09:14 -0700)]
simplify demand module