about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2015-01-20Make error code registration work again. #19624Brian Anderson-0/+70
2015-01-21Rollup merge of #21123 - visualfc:master, r=alexcrichtonBarosl LEE-1/+1
example: let m = "hello \ world";
2015-01-21Rollup merge of #21377 - iKevinY:speedy-tidy, r=huonwBarosl LEE-8/+8
`x in y` is more Pythonic than `y.find(x) != -1`. I believe it runs quite a bit faster as well (though it's probably not a bottleneck of the Travis builds): ```bash $ python -m timeit '"abc".find("a") != -1' 1000000 loops, best of 3: 0.218 usec per loop $ python -m timeit '"a" in "abc"' 10000000 loops, best of 3: 0.0343 usec per loop ```
2015-01-21Rollup merge of #21369 - iKevinY:no-travis-notes, r=sanxiynBarosl LEE-2/+2
Updated `tidy.py` to skip printing NOTEs if the [`TRAVIS`](http://docs.travis-ci.com/user/ci-environment/#Environment-variables) environment variable is set.
2015-01-21Rollup merge of #21326 - look:nano-syntax-highlighting, r=kmcallisterBarosl LEE-0/+35
rust.nanorc provides syntax highlighting for Rust. An attempt has been made to make the syntax highlighting look good on both dark and light terminals. Issue #21286. This PR is dedicated to @substars and nano-lovers everywhere.
2015-01-21Rollup merge of #20998 - estsauver:20984, r=steveklabnikBarosl LEE-9/+9
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. If someone could look at src/etc/generate-deriving-span-tests.py, I'm not sure how those tests were passing before/if they were.
2015-01-18Make date of nightly in rustup match server TZEarl St Sauver-3/+8
2015-01-18Use 'in' instead of 'find()' in tidy.pyKevin Yap-8/+8
'x in y' is more Pythonic and faster than 'y.find(x) != -1'.
2015-01-18Ignore NOTEs when Travis runs `make tidy`Kevin Yap-2/+2
Only print NOTE warnings if the 'TRAVIS' environment variable has not been set. Addresses #21322.
2015-01-18tests: Warn on the trailing backslash in the template.Kang Seonghoon-0/+3
2015-01-17Passable nano syntax highlightingLuke Francl-0/+35
rust.nanorc provides syntax highlighting for Rust. An attempt has been made to make the syntax highlighting look good on both dark and light terminals. Issue #21286.
2015-01-17s/deriving/derives in Comments/DocsEarl St Sauver-9/+9
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. Fixes #20984
2015-01-18tests: Tidy and allows multi-line htmldocck commands.Kang Seonghoon-3/+35
2015-01-18tests: Add htmldocck.py script for the use of Rustdoc tests.Kang Seonghoon-0/+318
The script is intended as a tool for doing every sort of verifications amenable to Rustdoc's HTML output. For example, link checkers would go to this script. It already parses HTML into a document tree form (with a slight caveat), so future tests can make use of it. As an example, relevant `rustdoc-*` run-make tests have been updated to use `htmldocck.py` and got their `verify.sh` removed. In the future they may go to a dedicated directory with htmldocck running by default. The detailed explanation of test scripts is provided as a docstring of htmldocck. cc #19723
2015-01-17rustup: Don't attempt to download SHA if it existsMichael Pankov-4/+21
This way installer can work fully in offline mode. Put pre-downloaded files (rust-nightly-x86_64-unknown-linux-gnu.tar.gz and rust-nightly-x86_64-unknown-linux-gnu.tar.gz.sha256) into the $HOME/.rustup/YYYY-MM-DD directory as it would be done by script itself. Specify --save and --date=YYYY-MM-DD when running. Files will be picked up and used to install in offline mode.
2015-01-16Port indenter to pythonRicho Healey-13/+16
2015-01-16Remove unused scriptRicho Healey-34/+0
2015-01-14fix string multi line connector '\' for katevisualfc-1/+1
example: let m = "hello \ world";
2015-01-12auto merge of #20894 : swgillespie/rust/emacs-issue-20422, r=pnkfelixbors-0/+5
rust-mode.el recently started highlighting keywords that were substrings of identifiers. Identifiers such as `xyz_type` would have `type` highlighted, which isn't normal. This patch re-introduces `_` as a word constituent, so that keywords following a `_` don't get syntax highlighted as keywords. Fixes issue #20422
2015-01-11Remove range functionTim Brooks-2/+0
2015-01-11Remove old number literal suffixes from Vim syntaxTim Brooks-5/+5
2015-01-09Mark _ as a word constituent to avoid highlighting parts of identifiers as ↵Sean Gillespie-0/+5
keywords
2015-01-07Merge pull request #20689 from huonw/editor-_sizebors-2/+6
Update editor syntax files for isize/usize. Reviewed-by: nikomatsakis
2015-01-07Update editor syntax files for isize/usize.Huon Wilson-2/+6
Yay, syntax highlighting.
2015-01-07auto merge of #20620 : brson/rust/relnotes, r=huonwbors-1/+1
A whole lot happened this cycle. I tried to highlight the best stuff. Please review and note important stuff I'm missing or foolish mistakes.
2015-01-06Bump some version numbersBrian Anderson-1/+1
2015-01-06rollup merge of #20643: scialex/update-zshAlex Crichton-69/+93
2015-01-06rollup merge of #20557: cactorium/prettyprintersAlex Crichton-22/+29
As per https://github.com/rust-lang/rust/issues/20405. To be more precise, the changes just the processing of enums when the name is "RUST$ENCODED$ENUM$..." so it correctly parses when there is more than one number encoding the location of the field it's looking for to determine state of the enum
2015-01-06update zsh rust completionsAlexander Light-69/+93
2015-01-05rollup merge of #20482: kmcallister/macro-reformAlex Crichton-1/+1
Conflicts: src/libflate/lib.rs src/libstd/lib.rs src/libstd/macros.rs src/libsyntax/feature_gate.rs src/libsyntax/parse/parser.rs src/libsyntax/show_span.rs src/test/auxiliary/macro_crate_test.rs src/test/compile-fail/lint-stability.rs src/test/run-pass/intrinsics-math.rs src/test/run-pass/tcp-connect-timeouts.rs
2015-01-05rollup merge of #20583: csouth3/vim-syntaxAlex Crichton-41/+19
The prelude has changed quite a bit since the list that Vim is aware of has been updated. This pull request brings it up to date with `std::prelude`.
2015-01-05Reserve the keyword 'macro'Keegan McAllister-1/+1
2015-01-05Update reexports in vim syntax fileChase Southwood-41/+19
2015-01-05kate syntax highlight: update keyword listYork Xiang-4/+18
2015-01-04Pylinted and slightly better commentedKelvin Ly-6/+10
2015-01-04Added fix to LLDB formatterKelvin Ly-16/+16
2015-01-04Fixed GDB pretty printer moreKelvin Ly-2/+2
2015-01-04Fixed GDB pretty printer to work on enums correctlyKelvin Ly-5/+8
2015-01-04Merge pull request #20452 from brson/rustupbors-33/+103
Move rustup to the combined installer Reviewed-by: brson
2015-01-04Merge pull request #20442 from csouth3/vim-syntaxbors-4/+4
Fix vim syntax highlighting for `derive` Reviewed-by: alexcrichton
2015-01-03Download from the combined installerBrian Anderson-1/+1
2015-01-03rustup: Long linesBrian Anderson-1/+4
2015-01-03auto merge of #20456 : brson/rust/packaging2, r=alexcrichtonbors-388/+0
2015-01-02Remove .pkg and .exe installersBrian Anderson-388/+0
2015-01-02rustup: Don't do verbose tarball extractionBrian Anderson-1/+1
2015-01-02rustup: Install from the combined installerBrian Anderson-45/+4
2015-01-02Merge remote-tracking branch 'erickt/rustup'Brian Anderson-15/+123
2015-01-02Fix vim syntax highlighting for `derive`Chase Southwood-4/+4
2015-01-02rollup merge of #20273: alexcrichton/second-pass-commAlex Crichton-2/+2
Conflicts: src/doc/guide.md src/libcollections/bit.rs src/libcollections/btree/node.rs src/libcollections/slice.rs src/libcore/ops.rs src/libcore/prelude.rs src/librand/rand_impls.rs src/librustc/middle/check_match.rs src/librustc/middle/infer/region_inference/mod.rs src/librustc_driver/lib.rs src/librustdoc/test.rs src/libstd/bitflags.rs src/libstd/io/comm_adapters.rs src/libstd/io/mem.rs src/libstd/io/mod.rs src/libstd/io/net/pipe.rs src/libstd/io/net/tcp.rs src/libstd/io/net/udp.rs src/libstd/io/pipe.rs src/libstd/io/process.rs src/libstd/io/stdio.rs src/libstd/io/timer.rs src/libstd/io/util.rs src/libstd/macros.rs src/libstd/os.rs src/libstd/path/posix.rs src/libstd/path/windows.rs src/libstd/prelude/v1.rs src/libstd/rand/mod.rs src/libstd/rand/os.rs src/libstd/sync/barrier.rs src/libstd/sync/condvar.rs src/libstd/sync/future.rs src/libstd/sync/mpsc/mod.rs src/libstd/sync/mpsc/mpsc_queue.rs src/libstd/sync/mpsc/select.rs src/libstd/sync/mpsc/spsc_queue.rs src/libstd/sync/mutex.rs src/libstd/sync/once.rs src/libstd/sync/rwlock.rs src/libstd/sync/semaphore.rs src/libstd/sync/task_pool.rs src/libstd/sys/common/helper_thread.rs src/libstd/sys/unix/process.rs src/libstd/sys/unix/timer.rs src/libstd/sys/windows/c.rs src/libstd/sys/windows/timer.rs src/libstd/sys/windows/tty.rs src/libstd/thread.rs src/libstd/thread_local/mod.rs src/libstd/thread_local/scoped.rs src/libtest/lib.rs src/test/auxiliary/cci_capture_clause.rs src/test/bench/shootout-reverse-complement.rs src/test/bench/shootout-spectralnorm.rs src/test/compile-fail/array-old-syntax-2.rs src/test/compile-fail/bind-by-move-no-guards.rs src/test/compile-fail/builtin-superkinds-self-type.rs src/test/compile-fail/comm-not-freeze-receiver.rs src/test/compile-fail/comm-not-freeze.rs src/test/compile-fail/issue-12041.rs src/test/compile-fail/unsendable-class.rs src/test/run-pass/builtin-superkinds-capabilities-transitive.rs src/test/run-pass/builtin-superkinds-capabilities-xc.rs src/test/run-pass/builtin-superkinds-capabilities.rs src/test/run-pass/builtin-superkinds-self-type.rs src/test/run-pass/capturing-logging.rs src/test/run-pass/closure-bounds-can-capture-chan.rs src/test/run-pass/comm.rs src/test/run-pass/core-run-destroy.rs src/test/run-pass/drop-trait-enum.rs src/test/run-pass/hashmap-memory.rs src/test/run-pass/issue-13494.rs src/test/run-pass/issue-3609.rs src/test/run-pass/issue-4446.rs src/test/run-pass/issue-4448.rs src/test/run-pass/issue-8827.rs src/test/run-pass/issue-9396.rs src/test/run-pass/ivec-tag.rs src/test/run-pass/rust-log-filter.rs src/test/run-pass/send-resource.rs src/test/run-pass/send-type-inference.rs src/test/run-pass/sendable-class.rs src/test/run-pass/spawn-types.rs src/test/run-pass/task-comm-0.rs src/test/run-pass/task-comm-10.rs src/test/run-pass/task-comm-11.rs src/test/run-pass/task-comm-13.rs src/test/run-pass/task-comm-14.rs src/test/run-pass/task-comm-15.rs src/test/run-pass/task-comm-16.rs src/test/run-pass/task-comm-3.rs src/test/run-pass/task-comm-4.rs src/test/run-pass/task-comm-5.rs src/test/run-pass/task-comm-6.rs src/test/run-pass/task-comm-7.rs src/test/run-pass/task-comm-9.rs src/test/run-pass/task-comm-chan-nil.rs src/test/run-pass/task-spawn-move-and-copy.rs src/test/run-pass/task-stderr.rs src/test/run-pass/tcp-accept-stress.rs src/test/run-pass/tcp-connect-timeouts.rs src/test/run-pass/tempfile.rs src/test/run-pass/trait-bounds-in-arc.rs src/test/run-pass/trivial-message.rs src/test/run-pass/unique-send-2.rs src/test/run-pass/unique-send.rs src/test/run-pass/unwind-resource.rs
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-0/+35
printers enabled.