]>
git.lizzy.rs Git - rust.git/log
Brian Anderson [Tue, 24 Jan 2012 21:57:29 +0000 (13:57 -0800)]
Merge pull request #1631 from j-clark/patch-2
Added to bad_expr_word_table reserved words
Brian Anderson [Tue, 24 Jan 2012 20:01:39 +0000 (12:01 -0800)]
Merge pull request #1637 from grahame/cargo-errors
suggest sync/init to user as appropriate
Brian Anderson [Tue, 24 Jan 2012 19:55:42 +0000 (11:55 -0800)]
build: Add a comment explaining -Wno-c++11-compat
Jyun-Yan You [Sun, 22 Jan 2012 07:03:12 +0000 (15:03 +0800)]
freebsd clang support
Grahame Bowland [Tue, 24 Jan 2012 16:08:58 +0000 (00:08 +0800)]
suggest sync/init to user as appropriate
Brian Anderson [Tue, 24 Jan 2012 08:54:17 +0000 (00:54 -0800)]
core: Document the log levels
Brian Anderson [Tue, 24 Jan 2012 08:51:54 +0000 (00:51 -0800)]
rustdoc: Update one of the markdown fn tests
Brian Anderson [Tue, 24 Jan 2012 08:51:19 +0000 (00:51 -0800)]
rustdoc: Write markdown for consts
Brian Anderson [Tue, 24 Jan 2012 08:44:47 +0000 (00:44 -0800)]
rustdoc: Prune undocumented consts
Brian Anderson [Tue, 24 Jan 2012 08:38:21 +0000 (00:38 -0800)]
rustdoc: Some refactoring in attr_pass
Brian Anderson [Tue, 24 Jan 2012 08:31:14 +0000 (00:31 -0800)]
rustdoc: Add const attr docs to doc tree
Brian Anderson [Tue, 24 Jan 2012 08:20:15 +0000 (00:20 -0800)]
rustdoc: Add parsing of const attribute docs
Brian Anderson [Tue, 24 Jan 2012 08:14:31 +0000 (00:14 -0800)]
rustdoc: Add const types to the doc tree
Brian Anderson [Tue, 24 Jan 2012 07:55:41 +0000 (23:55 -0800)]
rustdoc: Add brief and desc fields to constdoc
Brian Anderson [Tue, 24 Jan 2012 07:40:30 +0000 (23:40 -0800)]
rustdoc: Add fold_const and fold_constlist to fold
Brian Anderson [Tue, 24 Jan 2012 07:27:26 +0000 (23:27 -0800)]
rustdoc: Prune unexported consts
Brian Anderson [Tue, 24 Jan 2012 07:17:13 +0000 (23:17 -0800)]
rustdoc: Build const docs from AST consts
Brian Anderson [Tue, 24 Jan 2012 07:09:18 +0000 (23:09 -0800)]
rustdoc: Add consts to the doc tree
Tim Chevalier [Mon, 23 Jan 2012 16:57:51 +0000 (08:57 -0800)]
Add export{} syntax to encapsulate things that should be abstract
Kevin Cantu [Tue, 24 Jan 2012 05:38:09 +0000 (21:38 -0800)]
s/fn&/fn/
Kevin Cantu [Tue, 24 Jan 2012 04:59:18 +0000 (20:59 -0800)]
Added str::from_bytes (which is UTF-8 safe)
Kevin Cantu [Mon, 23 Jan 2012 11:58:48 +0000 (03:58 -0800)]
improved test case for str::any
Kevin Cantu [Mon, 23 Jan 2012 11:20:01 +0000 (03:20 -0800)]
Added str::lines_iter
Kevin Cantu [Mon, 23 Jan 2012 11:04:33 +0000 (03:04 -0800)]
fixing indentation
Kevin Cantu [Mon, 23 Jan 2012 11:02:44 +0000 (03:02 -0800)]
Added str::words_iter
Kevin Cantu [Mon, 23 Jan 2012 10:41:40 +0000 (02:41 -0800)]
Added str::any, str::bytes_iter, str::windowed, and vec::windowed functions
Kevin Cantu [Mon, 23 Jan 2012 08:36:58 +0000 (00:36 -0800)]
Added str::map and str::all functions
Tim Chevalier [Tue, 24 Jan 2012 06:22:07 +0000 (22:22 -0800)]
Merge branch 'master' into tag-docs
Brian Anderson [Tue, 24 Jan 2012 03:23:02 +0000 (19:23 -0800)]
rustdoc: Prune unexported items from the doc tree
Tim Chevalier [Tue, 24 Jan 2012 05:54:09 +0000 (21:54 -0800)]
Register snapshots
Joshua Clark [Tue, 24 Jan 2012 05:19:00 +0000 (23:19 -0600)]
Added to bad_expr_word_table reserved words
Brian Anderson [Tue, 24 Jan 2012 05:14:48 +0000 (21:14 -0800)]
cargo: Long lines
Brian Anderson [Tue, 24 Jan 2012 05:08:13 +0000 (21:08 -0800)]
cargo: Remove unused imports - work around mystery resolve failure
Brian Anderson [Tue, 24 Jan 2012 04:46:33 +0000 (20:46 -0800)]
Merge pull request #1628 from startling/cargo-descriptions
Implemented package descriptions for cargo
tim [Tue, 24 Jan 2012 03:50:32 +0000 (21:50 -0600)]
Added a newline after each description.
`<@graydon> maybe an extra newline to make the grouping clearer?`
tim [Tue, 24 Jan 2012 03:42:29 +0000 (21:42 -0600)]
Get `description` attribute for packages from json.
Niko Matsakis [Mon, 23 Jan 2012 22:59:00 +0000 (14:59 -0800)]
s/block()/fn()/g
tim [Tue, 24 Jan 2012 02:23:31 +0000 (20:23 -0600)]
Steps towards package descriptions.
I added a description field for `package` objects (it's read from
a literal string for now) and `print_pkg` now prints descriptions if
they're there.
Brian Anderson [Tue, 24 Jan 2012 02:07:05 +0000 (18:07 -0800)]
core: Format comm docs correctly
Brian Anderson [Tue, 24 Jan 2012 01:58:40 +0000 (17:58 -0800)]
rustdoc: Correctly indent multiline fn signatures
Brian Anderson [Tue, 24 Jan 2012 01:14:55 +0000 (17:14 -0800)]
rustdoc: Use the standard markdown syntax for code blocks
Brian Anderson [Mon, 23 Jan 2012 22:19:21 +0000 (14:19 -0800)]
test: Add no-reformat directive to compile-fail/issue-1362
Kevin Atkinson [Mon, 23 Jan 2012 08:08:47 +0000 (01:08 -0700)]
Add regression test for issue #1362.
Although its not really needed. Without that fix, reported spans will
likely be bogus if the error is within the first couple of lines
(probable around 5) of that file. Thus, many of the compile-fail
tests will fail due to incorrect location.
Kevin Atkinson [Mon, 23 Jan 2012 07:29:11 +0000 (00:29 -0700)]
Add regresion tests for issue #1448 and #1387.
Kevin Atkinson [Sun, 22 Jan 2012 01:49:51 +0000 (18:49 -0700)]
When replacing a pattern variable in macro expansion use the span of
the replacement and not the span of the pattern variable.
Fixes issue #1448, and #1387.
Kevin Atkinson [Mon, 23 Jan 2012 00:30:07 +0000 (17:30 -0700)]
Allow ast_fold_precursor to change the span.
This involved changing the prototype for the callbacks to thread the
span though. A wrapper function, fold::wrap, can be used to wrap the
old style callbacks.
Kevin Atkinson [Mon, 23 Jan 2012 00:24:55 +0000 (17:24 -0700)]
Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.
This correctly fixes issue #1362.
chpos/byte_pos are now the offsets within a particular file, but
rather the offsets within a virtual file with is formed by combing all
of the modules within a crate. Thus, resetting them to 0 causes an
overlap and hence, bogus source locations.
Fix #1362 by moving chpos/byte_pos to parse_sess so that
new_parser_from_source_str has access to them and hence can chose an
initial value that is not already been used in the crate.
Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls
parse_expr_from_source_str (which calls new_parser_from_source_str)
using the same codemap as the current crate (and hence causing overlap
with files in the crate as new_parser_from_source_str resets the
chpos/byte_pos to 0).
Kevin Atkinson [Sat, 21 Jan 2012 09:22:54 +0000 (02:22 -0700)]
Change "file" of injected string from "-" to "<anon>", less confusing
that way.
Kevin Atkinson [Sat, 21 Jan 2012 09:00:06 +0000 (02:00 -0700)]
Revert "rustc: Exclude stdin from codemap files when lookup_pos".
Need a better fix, right now it is just causing even more confusion,
for example in issue #1448 and #1387.
This reverts commit
1e4de333740690357a8f58883c5c69bf58be1424 .
Brian Anderson [Tue, 24 Jan 2012 01:11:01 +0000 (17:11 -0800)]
core: Write docs that format correctly in markdown or pandoc
Brian Anderson [Tue, 24 Jan 2012 01:03:42 +0000 (17:03 -0800)]
core: More doc tweaks
Brian Anderson [Tue, 24 Jan 2012 00:58:30 +0000 (16:58 -0800)]
core: Reformat the crate docs to look nicer
Brian Anderson [Tue, 24 Jan 2012 00:49:29 +0000 (16:49 -0800)]
wip
Brian Anderson [Tue, 24 Jan 2012 00:40:33 +0000 (16:40 -0800)]
core: Add crate docs
Tim Chevalier [Tue, 24 Jan 2012 00:28:56 +0000 (16:28 -0800)]
Update docs to reflect new export forms
Brian Anderson [Tue, 24 Jan 2012 00:25:15 +0000 (16:25 -0800)]
Change rustc and rustdoc's #[desc] attribute to #[comment]
There are two attributes in use for this same purpose.
Brian Anderson [Tue, 24 Jan 2012 00:23:08 +0000 (16:23 -0800)]
Revert "rustdoc: Get the crate brief description from the 'desc' attr"
This reverts commit
521e58a3c4f45ffc30a914dd0bb517945d87a503 .
Some crates use 'desc', some 'comment' - I want them to just use 'doc'
Brian Anderson [Tue, 24 Jan 2012 00:17:46 +0000 (16:17 -0800)]
rustdoc: Print return value descriptions on same line as type
Brian Anderson [Tue, 24 Jan 2012 00:03:15 +0000 (16:03 -0800)]
rustdoc: Prune undocumented return values
Brian Anderson [Mon, 23 Jan 2012 23:57:28 +0000 (15:57 -0800)]
rustdoc: Don't prune functions with documented arguments
Brian Anderson [Mon, 23 Jan 2012 23:54:13 +0000 (15:54 -0800)]
rustdoc: Prune undocumented fn args
Niko Matsakis [Mon, 23 Jan 2012 23:29:09 +0000 (15:29 -0800)]
add msgsend.rs to benchmarks
Tim Chevalier [Mon, 23 Jan 2012 23:46:12 +0000 (15:46 -0800)]
Check that the names mentioned in tag exports are actually types (or variants)
Check that in export foo{}, foo is an enum type, and that in export
foo{bar, quux}, foo is an enum type and bar and quux are variants belonging
to foo.
Tim Chevalier [Mon, 23 Jan 2012 05:09:43 +0000 (21:09 -0800)]
Export all enum variants by default; new syntax for selectively exporting variants
See issue 1426 for details. Now, the semantics of "export t;" where t is a tag are
to export all of t's variants as well. "export t{};" exports t but not its
variants, while "export t{a, b, c};" exports only variants a, b, c of t.
To do:
- documentation
- there's currently no checking that a, b, c are actually variants of t in the
above example
- there's also no checking that t is an enum type, in the second two examples above
- change the modules listed in issue 1426 that should have the old export
semantics to use the t{} syntax
I deleted the test export-no-tag-variants since we're doing the opposite now,
and other tests cover the same behavior.
Brian Anderson [Mon, 23 Jan 2012 23:40:01 +0000 (15:40 -0800)]
rustdoc: Prune undocumented modules
Brian Anderson [Mon, 23 Jan 2012 23:15:57 +0000 (15:15 -0800)]
rustdoc: Get the crate brief description from the 'desc' attr
Brian Anderson [Mon, 23 Jan 2012 22:51:00 +0000 (14:51 -0800)]
rustdoc: Add a script for running rustdoc output through markdown/pandoc
Brian Anderson [Mon, 23 Jan 2012 22:15:40 +0000 (14:15 -0800)]
doc: Just remove mention of the busted win installer from INSTALL.txt
Brian Anderson [Mon, 23 Jan 2012 22:14:32 +0000 (14:14 -0800)]
Merge pull request #1621 from thoughtpolice/install-dot-txt
Add an INSTALL.txt
Brian Anderson [Mon, 23 Jan 2012 22:08:26 +0000 (14:08 -0800)]
Remove mention of Windows installer from tutorial
We don't want users to hurt themselves, since the installer has
a bug in 0.1 that could possibly corrupt %PATH%
Conflicts:
doc/tutorial.md
Austin Seipp [Mon, 23 Jan 2012 21:53:12 +0000 (15:53 -0600)]
Add an INSTALL.txt and make it part of the source distribution
Brian Anderson [Mon, 23 Jan 2012 22:01:07 +0000 (14:01 -0800)]
Merge pull request #1620 from thoughtpolice/email-fix
Fix my email in AUTHORS.txt
Brian Anderson [Mon, 23 Jan 2012 21:59:59 +0000 (13:59 -0800)]
Add Matthew O'Connor to AUTHORS.txt
Brian Anderson [Mon, 23 Jan 2012 21:57:49 +0000 (13:57 -0800)]
Merge pull request #1618 from oconnor0/patch-1
Point to correct cargo-central.
Brian Anderson [Mon, 23 Jan 2012 21:52:31 +0000 (13:52 -0800)]
tutorial: Remove mention of windows installer
Austin Seipp [Mon, 23 Jan 2012 21:40:55 +0000 (15:40 -0600)]
Fix my email in AUTHORS.txt
Matthew O'Connor [Mon, 23 Jan 2012 04:33:53 +0000 (21:33 -0700)]
Point to correct cargo-central.
Brian Anderson [Mon, 23 Jan 2012 04:26:19 +0000 (20:26 -0800)]
Add Rick Waldron to AUTHORS.txt
Brian Anderson [Mon, 23 Jan 2012 04:25:06 +0000 (20:25 -0800)]
Merge pull request #1614 from rwldrn/1613
Corrects order of identifier and type in arguments list in 7.3.3 Constraints example. Fixes #1613
Rick Waldron [Mon, 23 Jan 2012 04:14:46 +0000 (23:14 -0500)]
Corrects order of identifier and type in arguments list in 7.3.3 Constraints example. Fixes #1613
Brian Anderson [Sun, 22 Jan 2012 01:29:52 +0000 (17:29 -0800)]
std: Add some hacks to use libuv
Brian Anderson [Mon, 23 Jan 2012 00:41:08 +0000 (16:41 -0800)]
core: Reexport all the imports in f32/64
Brian Anderson [Sun, 22 Jan 2012 23:38:13 +0000 (15:38 -0800)]
Register snapshots
Brian Anderson [Sun, 22 Jan 2012 22:26:55 +0000 (14:26 -0800)]
Add startling to AUTHORS.txt
Niko Matsakis [Fri, 20 Jan 2012 22:17:40 +0000 (14:17 -0800)]
update to new tag syntax
Niko Matsakis [Fri, 20 Jan 2012 17:05:21 +0000 (09:05 -0800)]
use u64 and not uint; otherwise shift results are undef. in 32 bit
Fixes #1605.
Niko Matsakis [Fri, 20 Jan 2012 15:43:39 +0000 (07:43 -0800)]
update to use u64; u32 has undefined results
Niko Matsakis [Fri, 20 Jan 2012 05:15:32 +0000 (21:15 -0800)]
wrap line
Niko Matsakis [Thu, 19 Jan 2012 18:37:40 +0000 (10:37 -0800)]
unify size_of, align_of into one call (metrics)
create some new (xfail'd) tests looking at tag variant alignment
Niko Matsakis [Thu, 19 Jan 2012 18:21:42 +0000 (10:21 -0800)]
migrate size_of() and related funcs from trans into shape
Brian Anderson [Sat, 21 Jan 2012 23:25:14 +0000 (15:25 -0800)]
tutorial: Make the comm examples pass
Brian Anderson [Sat, 21 Jan 2012 22:43:24 +0000 (14:43 -0800)]
tutorial: Un-xfail some working examples
Brian Anderson [Sat, 21 Jan 2012 21:51:54 +0000 (13:51 -0800)]
std: Remove extfmt. Has been moved to core. Closes #1600
Graham Fawcett [Wed, 18 Jan 2012 21:11:04 +0000 (16:11 -0500)]
issue #1352: change param order on {std,core}::extfmt::str_init_elt to mirror vec::init_elt.
Graham Fawcett [Wed, 18 Jan 2012 21:02:29 +0000 (16:02 -0500)]
issue #1352: change param order on vec::init_elt, putting block in final position.
To match the init_fn() and init_fn_mut() changes.
Graham Fawcett [Wed, 18 Jan 2012 20:18:26 +0000 (15:18 -0500)]
fix #1352: change param order on vec::init_fn (and vec::init_fn_mut), putting block in final position.
Brian Anderson [Sat, 21 Jan 2012 21:27:08 +0000 (13:27 -0800)]
Add Taras Shpot to AUTHORS.txt
Brian Anderson [Sat, 21 Jan 2012 21:25:35 +0000 (13:25 -0800)]
Merge pull request #1594 from mrshpot/master
doc: Fix minor typo in tutorial
Brian Anderson [Sat, 21 Jan 2012 21:24:53 +0000 (13:24 -0800)]
Merge pull request #1598 from elly/cargo
[cargo] detect libs properly
Brian Anderson [Sat, 21 Jan 2012 21:21:39 +0000 (13:21 -0800)]
Merge pull request #1599 from startling/master
Added `src/etc/vim/ftdetect/rust.vim` for vim filetype detection.