summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2014-01-08Fix windows installer version to be less verboseBrian Anderson-2/+1
2014-01-07mk: Fix the naming of the windows installer harderBrian Anderson-1/+2
CFG_VERSION includes a bunch of VCS info in it that is not a valid filename. CFG_RELEASE is just the version number.
2014-01-06auto merge of #11354 : brson/rust/versionwin, r=alexcrichtonbors-1/+1
The makefiles and the windows installer disagree on the name of this file. In practical terms this change only means that the '-pre' installers will be named 'rust-0.9-pre-install.exe' instead 'rust-0.9-install.exe'.
2014-01-06Use the full version string for the windows installer exeBrian Anderson-1/+1
2014-01-06auto merge of #11333 : cmr/rust/triage2, r=alexcrichtonbors-35/+52
2014-01-06auto merge of #11118 : jhasse/rust/patch-rustlibdir, r=alexcrichtonbors-1/+2
...stlib. Fixes #3319
2014-01-05tidy: spew less chaffCorey Richardson-1/+3
2014-01-05Add tidy support for snapshotsCorey Richardson-34/+49
This let's us specify exactly which snapshot a given note to update after snapshot is for. Closes #2483
2014-01-06Do not ignore errors running llvm-configSeo Sanghyeon-1/+1
2014-01-05Make rustc's own lib directory configurable and change the default to ↵Jan Niklas Hasse-1/+2
rustlib. Fixes #3319
2014-01-04auto merge of #11314 : adridu59/rust/patch-license, r=brsonbors-51/+12
- don't check for an hardcoded copyright claim year, check the 2 surrounding strings instead - logic: if either the `//` or `#`-style copyright patterns are found, don't invalidate - cleanup hardcoded content and streamline the few files with different line breaks r? @brson
2014-01-04auto merge of #11290 : alexcrichton/rust/testname, r=brsonbors-0/+5
Closes #11288 Closes #11222
2014-01-04etc: licenseck: don't hardcode a specific yearAdrien Tétar-51/+12
2014-01-03Fix windows dist scriptBrian Anderson-1/+2
In copying the license for the third-party bins it is attempting to delete a directory that doesn't exist.
2014-01-03Change rmake and doc-test to support TESTNAMEAlex Crichton-0/+5
Closes #11288 Closes #11222
2014-01-02Bump version to 0.9Brian Anderson-1/+1
2013-12-31Fix rust-align-to-expr-after-brace, closes #11239.John Louis Walker-1/+3
forward-to-word is undefined, and so Emacs would throw errors in rust-align-to-expr-after-brace. This change yields the expected behavior discussed in the issue.
2013-12-29Rename uses of PkgId to CrateId in librustpkgLuis de Bethencourt-1/+1
2013-12-27Renamed ClonableIterator to CloneableIteratorAlexandros Tasos-1/+1
2013-12-24Test fixes and rebase problemsAlex Crichton-3/+3
Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task".
2013-12-24auto merge of #11121 : vadimcn/rust/no-c++2, r=alexcrichtonbors-0/+1
This PR removes Rust's dependency on C++ for exception handling. Instead, it will use the unwind library API directly. closes #10469
2013-12-24Stop using C++ exceptions for stack unwinding.Vadim Chugunov-0/+1
2013-12-23rustc: Add a lint for the obsolete crate-level link attributeBrian Anderson-1/+0
2013-12-20auto merge of #11079 : chris-morgan/rust/fix-11072-regressions, r=brsonbors-2/+1
(#11072) There, concrete evidence that I shouldn't try doing such things at 1:30am.
2013-12-19auto merge of #11073 : klutzy/rust/issue-10978, r=alexcrichtonbors-0/+5
This patchset fixes small glitches which caused #10978.
2013-12-20Fix two regressions introduced by #11072.Chris Morgan-2/+1
There, concrete evidence that I shouldn't try doing such things at 1:30am.
2013-12-19auto merge of #11072 : chris-morgan/rust/ctags-tweaks, r=cmrbors-11/+12
Anchoring the keyword as the first non-whitespace on a line may mean that the occasional genuine-but-unconventionally-formatted tag is missed, but it avoids a large number of false positives. I changed the type descriptive texts about a bit too. That part's purely cosmetic. I also changed the ignored file list to use a filename matching the make rule, `TAGS.vi` instead of `TAGS.vim`.
2013-12-20mklldeps.py: Ignore extra whitespaces of argumentklutzy-0/+5
2013-12-19Rename pkgid to crate_idCorey Richardson-0/+1
Closes #11035
2013-12-20Remove many false positives from the ctags resultsChris Morgan-11/+12
Anchoring the keyword as the first non-whitespace on a line may mean that the occasional genuine-but-unconventionally-formatted tag is missed, but it avoids a large number of false positives. I changed the type descriptive texts about a bit too. That part's purely cosmetic. I also changed the ignored file list to use a filename matching the make rule, `TAGS.vi` instead of `TAGS.vim`.
2013-12-18auto merge of #11032 : cmr/rust/rustdoc_test, r=alexcrichtonbors-0/+1
This is just a smoke test which verifies that the expected files are generated.
2013-12-18Add a rustdoc testCorey Richardson-0/+1
This is just a smoke test which verifies that the expected files are generated. Also makes the rmake tests have the right deps.
2013-12-18mklldeps.py: Write to file instead of printklutzy-9/+11
It seems that msys automatically converts `\n` to `\r\n` on pipe redirection, which causes `make tidy` failure.
2013-12-18llvm: Disable pthread on mingwklutzy-491/+1
llvm supports both win32 native threads and pthread, but configure tries to find pthread first. This manually disables pthread to use native api. This removes libpthreads-2.dll dependency on librustc.
2013-12-17auto merge of #10967 : chris-morgan/rust/clean-and-tidy-some-traits, ↵bors-2/+2
r=alexcrichton ### Remove {As,Into,To}{Option,Either,Result} traits. Expanded, that is: - `AsOption` - `IntoOption` - `ToOption` - `AsEither` - `IntoEither` - `ToEither` - `AsResult` - `IntoResult` - `ToResult` These were defined for each other but never *used* anywhere. They are all trivial and so removal will have negligible effect upon anyone. `Either` has fallen out of favour (and its implementation of these traits of dubious semantics), `Option<T>` → `Result<T, ()>` was never really useful and `Result<T, E>` → `Option<T>` should now be done with `Result.ok()` (mirrored with `Result.err()` for even more usefulness). In summary, there's really no point in any of these remaining. ### Rename To{Str,Bytes}Consume traits to Into*. That is: - `ToStrConsume` → `IntoStr`; - `ToBytesConsume` → `IntoBytes`.
2013-12-16Fallout of rewriting std::commAlex Crichton-0/+1
2013-12-14Add "proc" as keyword to emacs modeMicah Chalmer-1/+1
2013-12-15Rename To{Str,Bytes}Consume traits to Into*.Chris Morgan-2/+2
That is: - `ToStrConsume` → `IntoStr`; - `ToBytesConsume` → `IntoBytes`.
2013-12-14Suppress warnings in run-pass testsKiet Tran-14/+22
2013-12-13auto merge of #10849 : adridu59/rust/patch-css, r=alexcrichtonbors-0/+0
rustdoc: - fix search-bar layout doc: CSS: - switch to native pandoc toc depth - rm some dead code - clamp width to be readable (we're not Wikipedia!) - don't background-color titles, it's bloating - make syntax-highlighting colors inline with rust-lang.org - space indents @alexcrichton
2013-12-13doc: CSS changes + commit improved faviconAdrien Tétar-0/+0
2013-12-11auto merge of #10888 : chris-morgan/rust/2013-12-10-vim-updates, r=thestingerbors-10/+13
### Fix up float highlighting in Vim. This fixes a regression introduced in #10793. Having a colorscheme which highlights Float the same as Number (I believe most do), I hadn't noticed that having the special case of "5." floats (which was one of the added features in #10793) last made it take precedence, and so it was left to @thestinger to notice it. The regression meant that in `5.0`, the `5.` was a `rustFloat` (linked by default to `Float`) and the `0` was a `rustDecNumber` (linked by default to `Number`), and for `5.0f32` the `5.` was a `rustFloat` and the `0f32` was a second `rustFloat` (and thus appeared correctly, though for the wrong reason). ### Vim keyword highlighting improvements. - Removed the `log` keyword; - Removed keyword duplicates; - Highlighted `const` as `Error` rather than `StorageClass`; and - Highlighted all the reserved keywords as `Error` rather than as `Keyword`. (As usual, these highlightings can be overridden if desired.)
2013-12-10auto merge of #10593 : metajack/rust/pkgid-hash, r=brsonbors-0/+1
This replaces the link meta attributes with a pkgid attribute and uses a hash of this as the crate hash. This makes the crate hash computable by things other than the Rust compiler. It also switches the hash function ot SHA1 since that is much more likely to be available in shell, Python, etc than SipHash. Fixes #10188, #8523.
2013-12-10Make crate hash stable and externally computable.Jack Moffitt-0/+1
This replaces the link meta attributes with a pkgid attribute and uses a hash of this as the crate hash. This makes the crate hash computable by things other than the Rust compiler. It also switches the hash function ot SHA1 since that is much more likely to be available in shell, Python, etc than SipHash. Fixes #10188, #8523.
2013-12-10Vim keyword highlighting improvements.Chris Morgan-5/+7
- Removed the `log` keyword; - Removed keyword duplicates; - Highlighted `const` as `Error` rather than `StorageClass`; and - Highlighted all the reserved keywords as `Error` rather than as `Keyword`. (As usual, these highlightings can be overridden if desired.)
2013-12-10Fix up float highlighting in Vim.Chris Morgan-5/+6
This fixes a regression introduced in #10793. Having a colorscheme which highlights Float the same as Number (I believe most do), I hadn't noticed that having the special case of "5." floats (which was one of the added features in #10793) last made it take precedence, and so it was left to @thestinger to notice it. The regression meant that in `5.0`, the `5.` was a `rustFloat` (linked by default to `Float`) and the `0` was a `rustDecNumber` (linked by default to `Number`), and for `5.0f32` the `5.` was a `rustFloat` and the `0f32` was a second `rustFloat` (and thus appeared correctly, though for the wrong reason).
2013-12-09Add defun motions for rust-mode.S Pradeep Kumar-25/+269
Specifically, we can now use: + beginning-of-defun + end-of-defun + mark-defun where "defun" means a Rust item. + Add tests in rust-mode-tests.el + Fix indentation in rust-mode-tests.el + Add support for trait to Imenu
2013-12-08Add dead-code warning passKiet Tran-0/+1
2013-12-06auto merge of #10797 : pradeep90/rust/rust-mode-changes, r=brsonbors-18/+33
+ Delete trailing whitespace.
2013-12-06Link rustllvm statically, and distribute a static snapshotAlex Crichton-28/+62
In order to keep up to date with changes to the libraries that `llvm-config` spits out, the dependencies to the LLVM are a dynamically generated rust file. This file is now automatically updated whenever LLVM is updated to get kept up-to-date. At the same time, this cleans out some old cruft which isn't necessary in the makefiles in terms of dependencies. Closes #10745 Closes #10744