Brian Anderson
9691ce18a2
core: Resolve a FIXME in str module
2012-02-21 01:03:13 -08:00
Daniel Brooks
3c95fa22da
python might be in a path with spaces in it, you never know
2012-02-21 00:53:01 -08:00
Brian Anderson
4601810747
core: Remove a useless test from option mod
2012-02-20 22:43:33 -08:00
Tim Chevalier
4cd3d4ab1e
More work on typechecking classes
...
classes-simple doesn't fail until trans now!
2012-02-20 22:26:19 -08:00
Brian Anderson
4220dcf1e9
core: New task API
2012-02-20 18:58:04 -08:00
Tim Chevalier
fbc95ba018
Re-XFAIL test that I accidentally
2012-02-20 17:33:35 -08:00
Tim Chevalier
cd9579e079
fix whitespace again
2012-02-20 17:21:33 -08:00
Tim Chevalier
ac7aa73b3e
Oops, my whitespace is showing
2012-02-20 17:19:09 -08:00
Tim Chevalier
2299d204e4
Further work on resolving and typechecking classes
...
Class tests aren't working yet, but they fail a little later :-)
Also, make the parser correctly set a constructor's result type to
its enclosing class type.
2012-02-20 17:16:52 -08:00
Brian Anderson
5837e1e809
rustdoc: Remove stray log
2012-02-20 16:57:29 -08:00
Brian Anderson
86e1d4ecbd
rustdoc: astsrv::exec should return sendable types
...
In order to make it parallelizable someday.
2012-02-20 16:56:59 -08:00
Brian Anderson
57be673025
rustdoc: Document reexports
2012-02-20 16:39:35 -08:00
Graydon Hoare
1028968970
Merge pull request #1870 from tychosci/cargo-sysroot
...
cargo: Fixes for issue #1795
2012-02-20 11:27:30 -08:00
Tycho Sci
b06cb0df5a
cargo: Install blobs to $sysroot/(bin|lib) on system-mode
...
Issue #1795
2012-02-20 17:55:36 +09:00
Tycho Sci
ff0ab6b7ee
cargo: Use system-mode by default except "install"
...
I think it is confused that you need to "cargo init"
and "cargo sync" every time to setup local-level .cargo
2012-02-20 17:55:35 +09:00
Tycho Sci
2e63bc5d82
cargo: Use $sysroot/$libdir/cargo as work dir
...
On win32 environment, it's "$sysroot/bin/cargo".
On unix-y environment, it's "$sysroot/lib/cargo".
2012-02-20 17:55:35 +09:00
Brian Anderson
657ef8ef60
Merge pull request #1869 from cpeterso/master
...
rt: lock_and_signal fixes
2012-02-19 23:42:38 -08:00
Chris Peterson
fed81c2cfc
rt: Add some lock_and_signal assertions
...
Assert that locks are not reentered on the same thread, unlocked by a
different thread, or deleted while locked.
2012-02-19 23:15:35 -08:00
Chris Peterson
9f49293232
rt: Initialize Windows CRITICAL_SECTION with non-zero spin count
...
If a CRITICAL_SECTION is not initialized with a spin count, it will
default to 0, even on multi-processor systems. MSDN suggests using
4000. On single-processor systems, the spin count parameter is ignored
and the critical section's spin count defaults to 0.
For Windows >= Vista, extra debug info is allocated for
CRITICAL_SECTIONs but not released in a timely manner. Consider using
InitializeCriticalSectionEx(CRITICAL_SECTION_NO_DEBUG_INFO).
2012-02-19 23:13:31 -08:00
Chris Peterson
159dfd7c3b
rt: Delete Windows CRITICAL_SECTION in dtor
2012-02-19 23:11:03 -08:00
Erick Tryzelaar
4a3d551b85
vim: fix indenting enums and macros
...
Now vim indenting goes from:
fn main() {
enum t {
a: int,
b: int
}
#error("hello world");
}
to:
fn main() {
enum t {
a: int,
b: int
}
#error("hello world");
}
2012-02-19 13:08:32 -08:00
Brian Anderson
6b280c61ce
core: Export future mod
2012-02-18 23:03:26 -08:00
Brian Anderson
010f2abc70
core: When running tests sequentially, print the test name before running it
...
Useful for debugging hanging tests
2012-02-18 16:30:09 -08:00
Brian Anderson
23d36be1e9
core: Define futures in terms of local functions, of which port::recv is one possibility
2012-02-18 15:23:56 -08:00
Brian Anderson
d2294a2d99
rustc: Add missing space to error message
2012-02-18 14:04:24 -08:00
Brian Anderson
4370188055
Merge pull request #1860 from erickt/master
...
add str::find_from_bytes and str::index_from_bytes
2012-02-18 13:17:12 -08:00
Brian Anderson
9e8fc364b0
Merge pull request #1865 from cpeterso/time
...
Fix Windows system time conversion for get_time()
2012-02-18 13:13:00 -08:00
Chris Peterson
3d202d7eae
rt: rename nano_time() builtin to match time::precise_time_ns()
2012-02-18 01:39:42 -08:00
Chris Peterson
b73bc30858
std: Add tests for time module
...
Tested on OSX and Windows.
2012-02-18 01:32:52 -08:00
Chris Peterson
105b5f0be8
std: Expand doc comments for time module
2012-02-18 01:30:12 -08:00
Chris Peterson
123a920f59
std: Fix Windows system time conversion for get_time()
2012-02-18 01:21:26 -08:00
Graydon Hoare
ef6f628589
Refactor view_path to parse (but not yet process) export globs, unify code paths.
2012-02-17 23:05:20 -08:00
Graydon Hoare
6f70896854
Add new test for export globs, xfailed.
2012-02-17 23:02:27 -08:00
Graydon Hoare
224eb977f8
Fix dependencies of stage2 check-fast driver.
2012-02-17 23:02:26 -08:00
Graydon Hoare
a4d2beb16b
Only modify PATH on win32 when in MSYSTEM shell
2012-02-17 23:02:25 -08:00
Brian Anderson
404c9155f6
Add Chris Peterson and Daniel Luz to AUTHORS.txt
2012-02-17 21:21:58 -08:00
Brian Anderson
3411d19369
core: Make vec::push faster
...
This way makes it equivalent to the compiler's vec push, and is a lot
faster than calling vec::grow.
2012-02-17 18:15:52 -08:00
Brian Anderson
affd83ea0e
rustdoc: Find the path to all item types
2012-02-17 17:48:37 -08:00
Brian Anderson
f8f28e29be
rustdoc: Add a test that we can tolerate missing external crates
2012-02-17 17:34:44 -08:00
Brian Anderson
4e44437180
rustc: Make resolve more forgiving of missing external crates
...
Rustdoc needs to be able to resolve locals without resolving externals
2012-02-17 17:34:05 -08:00
Brian Anderson
cec1679cf6
rustdoc: Simplify attr pass
2012-02-17 16:52:27 -08:00
Brian Anderson
22de9292c6
rustdoc: Simplify desc pass
2012-02-17 16:00:39 -08:00
Brian Anderson
ba2c2afc98
rustdoc: Simplify desc_to_brief pass
2012-02-17 16:00:39 -08:00
Brian Anderson
37601684c9
rustdoc: Add an item fold
2012-02-17 16:00:39 -08:00
Brian Anderson
5e376b78cf
rustdoc: Refactor itemdoc creation in extract pass
2012-02-17 16:00:39 -08:00
Brian Anderson
e7ccda98d1
rustdoc: Extract itemdoc creation
2012-02-17 16:00:39 -08:00
Brian Anderson
784e2b7298
rustdoc: Extract common item fields into itemdoc
2012-02-17 16:00:39 -08:00
Brian Anderson
d26fc348ef
rustdoc: Add path field to all item docs
2012-02-17 16:00:39 -08:00
Brian Anderson
a5ede9d345
rustdoc: Resolve imports and reexports
2012-02-17 16:00:39 -08:00
Marijn Haverbeke
f7f73c79ec
Move debuginfo into trans
2012-02-17 23:03:12 +01:00