Commits on Jan 24, 2012
  1. core: Format comm docs correctly

    brson committed Jan 24, 2012
  2. 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.
    kevina committed with brson Jan 23, 2012
  3. 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.
    kevina committed with brson Jan 22, 2012
  4. 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.
    kevina committed with brson Jan 23, 2012
  5. 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/ 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).
    kevina committed with brson Jan 23, 2012
  6. 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 1e4de33.
    kevina committed with brson Jan 21, 2012
  7. core: More doc tweaks

    brson committed Jan 24, 2012
  8. wip

    brson committed Jan 24, 2012
  9. core: Add crate docs

    brson committed Jan 24, 2012
  10. Change rustc and rustdoc's #[desc] attribute to #[comment]

    There are two attributes in use for this same purpose.
    brson committed Jan 24, 2012
  11. Revert "rustdoc: Get the crate brief description from the 'desc' attr"

    This reverts commit 521e58a.
    Some crates use 'desc', some 'comment' - I want them to just use 'doc'
    brson committed Jan 24, 2012
Commits on Jan 23, 2012
  1. Check that the names mentioned in tag exports are actually types (or …

    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.
    catamorphism committed Jan 23, 2012
  2. Export all enum variants by default; new syntax for selectively expor…

    …ting 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.
    catamorphism committed Jan 23, 2012
  3. Merge pull request #1621 from thoughtpolice/install-dot-txt

    Add an INSTALL.txt
    brson committed Jan 23, 2012
  4. 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%
    brson committed Jan 23, 2012
  5. Merge pull request #1620 from thoughtpolice/email-fix

    Fix my email in AUTHORS.txt
    brson committed Jan 23, 2012