Brian Anderson
de4053f473
build: Start running libcore tests
2012-01-17 19:41:05 -08:00
Brian Anderson
8acae671c7
rustc: Allow std to be built as a test runner
2012-01-17 19:41:05 -08:00
Graydon Hoare
050083a5e6
BSD -> MIT, they're legally synonymous as far as I know. Just being clearer.
2012-01-17 18:58:06 -08:00
Brian Anderson
e23e45bc6d
rustdoc: Add rustdocs
2012-01-17 17:45:37 -08:00
Brian Anderson
5fbadd24ec
rustdoc: Cleanup
2012-01-17 17:45:37 -08:00
Graydon Hoare
dbd3d6ac09
Move the ifdefs to nest properly. Real clever.
2012-01-17 16:50:13 -08:00
Graydon Hoare
80c7bfb069
Rename some readmes and fix some dist logic.
2012-01-17 16:50:13 -08:00
Brian Anderson
cf31eca597
rustdoc: Write a blank line after headers
2012-01-17 16:31:26 -08:00
Brian Anderson
637f19965f
rustdoc: Convert markdown generation to a pass
2012-01-17 16:31:26 -08:00
Brian Anderson
a6bdaee7f9
rustdoc: Remove iface. Causing random crashes in resolve?
2012-01-17 16:31:26 -08:00
Graydon Hoare
c1bf17ed4f
cp -a only.
2012-01-17 15:47:35 -08:00
Brian Anderson
fa718dcebf
build: Stop passing --lib argument
2012-01-17 15:13:43 -08:00
Brian Anderson
c0df13958c
Update crates with correct crate_type attribute
2012-01-17 15:13:43 -08:00
Brian Anderson
47b9fc278e
rustc: --test overrides the crate_type attribute
2012-01-17 15:13:43 -08:00
Graydon Hoare
af4e18d980
Improve the node-doc-building logic.
2012-01-17 14:46:51 -08:00
Brian Anderson
b4fc99e09e
dist: Add bin directory to system PATH in win32 installer
2012-01-17 14:07:17 -08:00
Graydon Hoare
92671d6a30
Python!
2012-01-17 12:54:23 -08:00
Graydon Hoare
2a42092e70
Long line, grumble.
2012-01-17 12:51:31 -08:00
Graydon Hoare
711fc20d88
Merge pull request #1544 from kevina/issue-1393
...
Minor cleanups to custom discriminator code.
2012-01-17 12:45:09 -08:00
Graydon Hoare
c4553caab3
Merge pull request #1554 from rtanglao/master
...
rustdocs for box.rs, comm.rs, ctypes.rs, char.rs
2012-01-17 12:44:25 -08:00
Graydon Hoare
65e3c35c8d
Merge pull request #1548 from grahame/fix-interrupted-downloads
...
don't leave files that will not checksum if download is interrupted
2012-01-17 12:43:30 -08:00
Graydon Hoare
f14ee0b1b6
Merge pull request #1549 from grahame/build-tutorial
...
build the tutorial if node.js is available
2012-01-17 12:42:47 -08:00
Roland Tanglao
93be00f995
Remove un-needed <
2012-01-17 11:56:13 -08:00
Brian Anderson
4ac44492c4
dist: Add the uninstaller to the win32 control panel
2012-01-17 11:36:21 -08:00
Brian Anderson
ac79f6100b
libcore: Remove bogus FIXME from core::tuple
2012-01-17 11:20:20 -08:00
Brian Anderson
943fcf6cdf
dist: Make the win32 uninstaller work
2012-01-17 11:19:38 -08:00
Lenny222
b19fdcced2
libstd => libcore
2012-01-17 10:51:43 -08:00
Lenny222
106dcf7b92
spin-off rustdocs tuple code to libstd
2012-01-17 10:51:43 -08:00
Niko Matsakis
a83ad1b9e6
encode variant names and have log print them out.
2012-01-17 10:33:28 -08:00
Tim Chevalier
c3bc8fada8
Allow omission of the '.' after nullary tag patterns
...
This commit allows patterns like:
alt x { some(_) { ... } none { } }
without the '.' after none. The parser suspends judgment about
whether a bare ident is a tag or a new bound variable; instead,
the resolver disambiguates.
This means that any code after resolution that pattern-matches on
patterns needs to call pat_util::normalize_pat, which consults
an environment to do this disambiguation.
In addition, local variables are no longer allowed to shadow
tag names, so this required changing some code (e.g. renaming
variables named "mut", and renaming ast::sub to subtract).
The parser currently accepts patterns with and without the '.'.
Once the compiler and libraries are changed, it will no longer
accept the '.'.
2012-01-17 10:08:16 -08:00
Tim Chevalier
a7bd817017
Fail slightly more gracefully when given an -o filename that doesn't have an extension
2012-01-17 10:08:16 -08:00
Marijn Haverbeke
87418dbc93
Prevent pretty-printer from trying to consume stdin twice
...
Why this didn't fail on my machine, I don't know.
2012-01-17 17:44:38 +01:00
Marijn Haverbeke
54d5a9846f
Try to fix pretty-printer failure
...
I can't reproduce it on my side, unfortunately.
2012-01-17 17:12:58 +01:00
Grahame Bowland
9be247b9b8
build the tutorial if node.js is available
2012-01-17 23:56:20 +08:00
Marijn Haverbeke
08c16b17e9
Fix --pretty normal, reorganize some code in driver.rs
...
There is now only one path doing crate expanding and typechecking,
which should make it less likely for the pretty-printing code to be
broken by changes to the compilation pipeline.
Closes #1536
2012-01-17 16:42:49 +01:00
Grahame Bowland
ca8fe6446b
don't leave files that will not checksum if download is interrupted
2012-01-17 22:41:11 +08:00
Marijn Haverbeke
1c7a62c93b
Use a memset upcall to zero things without static alignment
...
This fixes issues #843 and #1546 . The cost of an upcall is
unfortunate, though. I assume there must be a way to simply manually
compute the pointer or size, using something akin to the formula in
`align_to` in `rust_util.h`. I could not get this to work,
unfortunately.
2012-01-17 14:04:55 +01:00
Marijn Haverbeke
e046360e69
Add an std::md4 module
2012-01-17 12:02:04 +01:00
Brian Anderson
d367cdf1d9
rustdoc: Write headers for modules
2012-01-16 23:10:25 -08:00
Brian Anderson
b8840cbee6
rustdoc: Add a pass to prune undocumented items
2012-01-16 22:50:00 -08:00
Roland Tanglao
315e3ff8dd
Forgot to add some spaces before backslashes
2012-01-16 22:41:56 -08:00
Roland Tanglao
e631df3429
add spaces before newlines in rustdocs
2012-01-16 22:24:56 -08:00
Brian Anderson
ba41342279
rustdoc: Add gen::subsection for managing header levels
2012-01-16 22:01:25 -08:00
Brian Anderson
ab86642e35
rustdoc: Don't use by copy in fst/snd to work around segv
...
Issue #1546
2012-01-16 21:56:21 -08:00
Brian Anderson
27fe23dcaa
rustdoc: Refactor header writing a bit
2012-01-16 21:37:29 -08:00
Brian Anderson
bd63c3928e
rustc: Move some attribute accessors from rustdoc to rustc
2012-01-16 21:12:36 -08:00
Brian Anderson
4f2ad6b124
rustdoc: Move fst and snd into util mod
2012-01-16 21:12:36 -08:00
Brian Anderson
75dbb0f193
rustdoc: Use attr API in attr_parser
2012-01-16 21:12:36 -08:00
Brian Anderson
29409afe1a
rustdoc: Add a fallthrough path to meta_item search in parse_fn
2012-01-16 21:12:35 -08:00
Brian Anderson
cf40b60b5a
rustdoc: Begin writting the attribute extracting pass
2012-01-16 21:12:35 -08:00