summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2013-09-25Fix the rust logo iconBrian Anderson-0/+0
2013-09-25Fix run-pass tests to have 'pub fn main'Alex Crichton-0/+2
This is required by the check-fast target because each test is slurped up into a submodule.
2013-09-22auto merge of #9389 : poiru/rust/issue-9333, r=alexcrichtonbors-1/+1
Closes #9333.
2013-09-22Reserve the `alignof`, `offsetof`, and `sizeof` keywordsBirunthan Mohanathas-1/+1
Closes #9333.
2013-09-22auto merge of #9395 : brson/rust/0.8, r=alexcrichtonbors-1/+1
2013-09-22Remove 'copy' from syntax files, as it's no longer a keywordScott Lawrence-4/+1
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-09-17The purpose of these headers is to fix issues with mingw v4.0, as described ↵Vadim Chugunov-0/+34
in #9246. This works by adding this directory to GCC include search path before mingw system headers directories, so we can intercept their inclusions and add missing definitions without having to modify files in mingw/include.
2013-09-13Minor cleanup and formatting tweaks to the rust-mode READMELindsey Kuper-25/+28
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-1/+1
The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general.
2013-09-07Cover all cases for padding in paragraph fills as intendedMicah Chalmer-14/+19
2013-09-07Fix regression of multi-line statement indentsMicah Chalmer-23/+36
2013-09-06Add ERT testsMicah Chalmer-0/+389
2013-09-06Add paragraph fill and auto-fill for multi-line commentsMicah Chalmer-1/+123
2013-09-06Add custom group for rust-modeMicah Chalmer-1/+5
2013-09-06Indent return type to align with argumentsMicah Chalmer-2/+5
2013-09-06Allow indenting to align struct fields after curly braceMicah Chalmer-17/+14
2013-09-06Indent correctly after opening square bracketMicah Chalmer-1/+1
2013-09-05Fix glitches with struct field aligned indentsMicah Chalmer-2/+2
2013-09-04stop treating char as an integer typeDaniel Micay-0/+1
Closes #7609
2013-09-04Silence fo+=j error for users of Vim < 7.3.541.Chris Morgan-1/+3
2013-09-04Update highlighting for prelude changes.Chris Morgan-2/+2
2013-09-04Highlight everything in the prelude in Vim.Chris Morgan-26/+78
This is a rather more extensive change than the last, but *ever* so much easier to maintain reasonably, as there's then something to track directly.
2013-09-04Update a handful of keywords highlighted in Vim.Chris Morgan-8/+6
I added a few and removed a few and corrected a couple, all with reference to the prelude. It ends up a slightly arbitrary decision precisely what ends up in and what doesn't, unfortunately.
2013-09-04Modernise some Vim syntax highlighting.Chris Morgan-3/+5
- Remove highlighting of ``L"..."`` (obsolete syntax) - Remove backslash at end of line being a line continuation always (obsolete syntax; this only affects comments, actually) - Add highlighting for backslash at end of line and leading whitespace on the following line inside a string (a genuine line continuation)
2013-08-30Align field names in struct expressions with fields on same line as the ↵Micah Chalmer-4/+14
opening curly brace
2013-08-30Multiline comments with leading *s line up the *sMicah Chalmer-0/+4
2013-08-29One indent after open paren with no argumentMicah Chalmer-2/+8
2013-08-29Correct indent with trailing spaces/comments on previous lineMicah Chalmer-2/+3
2013-08-29auto merge of #8830 : andersk/rust/indent-4, r=catamorphismbors-5/+3
`default-tab-width` is standardly 8, but most programmers and style guides prefer an indentation width smaller than that. Rust itself uses 4 space indents. Most other Emacs modes define the indentation width as 4 or 2 spaces, independently of the width of a Tab character. Depending on `default-tab-width` makes especially little sense for rust-mode because it sets `indent-tabs-mode` to `nil`.
2013-08-28auto merge of #8718 : bblum/rust/typeof, r=pcwaltonbors-1/+1
r? anybody
2013-08-28rust-mode: Default rust-indent-offset to 4, not default-tab-widthAnders Kaseorg-5/+3
default-tab-width is standardly 8, but most programmers and style guides prefer an indentation width smaller than that. Rust itself uses 4 space indents. Most other Emacs modes define the indentation width as 4 or 2 spaces, independently of the width of a Tab character. Depending on default-tab-width makes especially little sense for rust-mode because it sets indent-tabs-mode to nil. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-27auto merge of #8789 : pnkfelix/rust/fsk-fix-typo-in-rust-mode.el, r=pnkfelixbors-1/+1
Fix #6887. (or rather, a bug injected by my prior commit for fixing that bug.)
2013-08-27auto merge of #8779 : brson/rust/macsupp, r=thestingerbors-1/+0
This callstack changed when the FFI did. I am still a little frightened by this suppression. cc #8253
2013-08-27fix typo in rust-mode.elFelix S. Klock II-1/+1
2013-08-26auto merge of #8747 : ↵bors-0/+23
pnkfelix/rust/fsk-issue6887-fix-emacs-compilation-regexp, r=graydon Fix #6887
2013-08-26Fix valgrind suppression on macBrian Anderson-1/+0
This callstack changed when the FFI did. I am still a little frightened by this suppression.
2013-08-26Add script and tests for using keywords as identifiersFlorian Hahn-0/+59
2013-08-26extend file regexp to match files with embedded spaces.Felix S. Klock II-1/+1
2013-08-25revisions to emacs compilation regexp, more readable and robust.Felix S. Klock II-7/+15
2013-08-25compilation error regexp specific to rustc.Felix S. Klock II-0/+15
Fix #6887.
2013-08-23Parse and reserve typeof keyword. #3228Ben Blum-1/+1
2013-08-21auto merge of #8445 : Florob/rust/unicode, r=graydonbors-33/+150
This adds support for performing Unicode Normalization Forms D and KD on strings. To enable this the decomposition and canonical combining class properties are added to std::unicode. On my system this increases libstd's size by ~250KiB.
2013-08-21Add canonical combining class to std::unicodeFlorian Zeitz-4/+53
2013-08-21Add Unicode decomposition mappings to std::unicodeFlorian Zeitz-31/+99
2013-08-21auto merge of #8585 : jankobler/rust/extract-grammar-01, r=catamorphismbors-1/+5
This fixes some errors which extract_grammar.py reports, when called with python2.7 src/etc/extract_grammar.py <doc/rust.md
2013-08-18extract_grammar symnamesJan Kobler-1/+5
add missing symnames Signed-off-by: Jan Kobler <eng1@koblersystems.de>
2013-08-16doc: convert remaining uses of core:: to std::.Huon Wilson-3/+3
2013-08-11auto merge of #8410 : luqmana/rust/mcpu, r=sanxiynbors-1/+2
Adds `--target-cpu` flag which lets you choose a more specific target cpu instead of just passing the default, `generic`. It's more or less akin to `-mcpu`/`-mtune` in clang/gcc.
2013-08-10rustc: Add --target-cpu flag to select a more specific processor instead of ↵Luqman Aden-1/+2
the default, 'generic'.