Graydon Hoare
82727b926f
Get explicit unique estrs working.
2012-04-16 16:17:51 -07:00
Brian Anderson
dea8ae4e6f
rustc: Resolve external impls defined in yet other crates. Issue #2196
2012-04-16 14:58:58 -07:00
Brian Anderson
c461fc869c
test: Add xfailed test for #2196
2012-04-16 13:51:40 -07:00
Brian Anderson
2a957237da
Add Evan McClanahan to AUTHORS.txt
2012-04-16 13:01:30 -07:00
Brian Anderson
6b398e1978
Merge pull request #2184 from evanmcc/local_rust
...
add the configure option --enable-local-rust to pull rust from your environment
2012-04-16 12:59:51 -07:00
Brian Anderson
f466a2fa8f
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.
2012-04-16 12:33:21 -07:00
Brian Anderson
903cb0e3a5
core: Factor out uint/u8/16/32/64 mods into uint-template
2012-04-16 12:31:34 -07:00
Brian Anderson
6bb181341b
core: Factor out int/i8/16/32/64 mods into int-template
2012-04-16 12:31:34 -07:00
Brian Anderson
7a2d7aa5de
core: Add extension methods for is_null, is_not_null
2012-04-15 21:46:29 -07:00
Brian Anderson
0f65872438
Add Alexander Stavonin to AUTHORS.txt
2012-04-15 16:20:34 -07:00
Brian Anderson
79a6fe5c7b
Merge pull request #2211 from astavonin/master
...
export buf_len from ptr
2012-04-15 16:18:39 -07:00
Brian Anderson
b78ca38380
syntax: Remove unused lexer field
2012-04-15 05:13:10 -07:00
Brian Anderson
3df37c3c45
syntax: Cleanup in diagnostic
2012-04-15 04:40:05 -07:00
Brian Anderson
e88b17c3b2
syntax: Limit exports in codemap
2012-04-15 04:34:51 -07:00
Brian Anderson
34ba1850b9
syntax: Some minor lexer refactoring
2012-04-15 04:19:52 -07:00
Brian Anderson
4b4f064315
syntax: lexer doesn't need to store the src length
2012-04-15 04:02:25 -07:00
Brian Anderson
2319c2d1ba
syntax: lexer doesn't need a codemap
2012-04-15 03:57:24 -07:00
Brian Anderson
aa8dc0175d
syntax: Limit exports from lexer
2012-04-15 03:49:59 -07:00
Brian Anderson
0e87f9ed02
syntax: Eliminate token's dependency on lexer
2012-04-15 03:44:32 -07:00
Brian Anderson
932aa893fd
syntax: Move comment-extraction code to its own module
2012-04-15 03:27:24 -07:00
Brian Anderson
4f576275be
syntax: Cleanup attr module. Closes #1545
2012-04-15 01:43:38 -07:00
Tim Chevalier
4f4a468e84
Forbid deinitializing upvars in typestate
...
Closes #1965 .
2012-04-15 01:05:41 -07:00
Alexander Stavonin
5b308ec24a
export buf_len from ptr
2012-04-15 16:40:47 +09:00
Brian Anderson
46e358f012
Register snapshots
2012-04-14 21:36:57 -07:00
Niko Matsakis
cc16165e40
implement evec/estr subtyping/lub/glb/etc
2012-04-14 18:48:58 -07:00
Brian Anderson
eb935b8fcb
core: Use tilde-fences in docs
...
Backtick fences don't work for some reason
2012-04-14 17:17:57 -07:00
Brian Anderson
4063802f64
Merge pull request #2205 from grahame/floatstrfixes
...
add inf/-inf/NaN parsing to float::from_str
2012-04-14 12:25:45 -07:00
Grahame Bowland
6b5731e704
add inf/-inf/NaN parsing to float::from_str
...
add tests for "inf"/"-inf"/"NaN" conversion
add tests for "-0." -> -0., "0." -> 0.
2012-04-15 02:21:57 +08:00
Brian Anderson
658b6a741b
test: Simulate abstract methods with template modules
2012-04-14 02:14:05 -07:00
Brian Anderson
611061b6c3
test: Add a test for interesting module template polymorphism
2012-04-14 00:15:12 -07:00
Brian Anderson
979a225598
rustc: Don't hardcode -lm
...
It does not appear to serve a purpose
2012-04-13 22:35:01 -07:00
Niko Matsakis
247db704a9
integrate simple notion of borrowing into trans
2012-04-13 21:06:57 -07:00
Niko Matsakis
378996092e
store into the borrowings table
2012-04-13 21:06:57 -07:00
Niko Matsakis
4d73185f3e
new borrowing tests (not all passing)
2012-04-13 21:06:56 -07:00
Niko Matsakis
b3f308bec5
add initial code re: slices to borrowing, improve ty_to_str
2012-04-13 21:06:56 -07:00
Graydon Hoare
d85e48840d
Trivial change to force a doc rebuild.
2012-04-13 19:51:04 -07:00
Niko Matsakis
f099359cfa
add test for issue #1466 that runs with CC ZEAL enabled.
...
Fixes #1466 . (Unable to reproduce)
2012-04-13 12:41:37 -07:00
Niko Matsakis
dfc548ddda
add option exec-env to set env variables during test execution
2012-04-13 12:41:37 -07:00
Niko Matsakis
d2482fd763
use find not echo; this also brings fuzzer under the iron fist of tidy.py!
2012-04-13 11:59:17 -07:00
Niko Matsakis
27f1c2b742
first stab at type checking for borrow: not integrated into trans
2012-04-13 10:41:46 -07:00
Niko Matsakis
c2fe288900
change to use && mode (can't move from upvar)
...
relevant to #1965
2012-04-13 10:41:46 -07:00
Haitao Li
39c5e06526
Revert "libstd: Handle test results in serial"
...
This reverts commit 828d0677c4
.
2012-04-13 18:34:45 +08:00
Haitao Li
2955ecd13c
Revert "libstd: Colorify test results when run in parallel"
...
This reverts commit 7b3cb05311
.
2012-04-13 18:34:41 +08:00
Tim Chevalier
1adc26d5e7
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.
2012-04-13 01:46:56 -07:00
Tim Chevalier
16eb06c246
Annotate FIXMEs in core::vec
2012-04-12 23:38:53 -07:00
Tim Chevalier
93a1f5e85f
Annotate FIXMEs in core::task
2012-04-12 23:38:25 -07:00
Tim Chevalier
a1b305c8e5
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.
2012-04-12 23:38:02 -07:00
Tim Chevalier
ea0063788b
Add a run-fail test for result::get, get rid of a FIXME. Also some random other tests, mostly xfailed.
2012-04-12 20:24:07 -07:00
Brian Anderson
79e572ebbb
rustc: Fix handling of - and _ in lint pass
2012-04-12 18:11:23 -07:00
Brian Anderson
8c8db42fc5
test: Add test for #1763
2012-04-12 17:43:12 -07:00