about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2014-10-02rm obsolete valgrind suppressionsDaniel Micay-20/+0
2014-10-01auto merge of #17630 : sfackler/rust/cfg-warnings, r=brsonbors-1/+1
Closes #17490
2014-09-30auto merge of #17479 : gamazeps/rust/issue17478, r=alexcrichtonbors-3/+3
closes #17478
2014-09-30Fix librustc_llvmSteven Fackler-1/+1
2014-09-30auto merge of #17640 : brson/rust/wininst, r=alexcrichtonbors-2/+2
This makes the windows `make dist` target start producing binary tarballs, and tweaks install.sh so they work, in preparation for working on a combined Rust+Cargo installer.
2014-09-29install: Fix the install.sh script to work with spacesBrian Anderson-2/+2
Makes it work on windows
2014-09-29Replaced some TODO by FIXMEgamazeps-3/+3
closes #17478
2014-09-29rollup merge of #17573 : iliekturtles/17570-windows-installer-pathAlex Crichton-2/+2
2014-09-26dist: Make Windows installer modify system %PATH%Mike Boutin-2/+2
Modify the system %PATH% environment variable instead of the current user's %PATH% environment. The current user will be an admin user that may not be the same user who originally started the installer. Closes #17570.
2014-09-25Relicense shootout-fasta-redux.rs to the shootout license.Guillaume Pinot-0/+1
Everyone agreed. Fix #17078
2014-09-22Add cargo.vim compiler file.Damien Radtke-0/+49
2014-09-22auto merge of #17212 : mahkoh/rust/vim, r=kballardbors-29/+31
There are currently two huge problems with the indent file: 1. Long list-like things cannot be indented. See #14446 for one example. Another one is long enums with over 100 lines, including comments. The indentation process stops after 100 lines and the rest is in column 0. 2. In certain files, opening a new line at mod level is extremely slow. See [this](https://github.com/mahkoh/posix.rs/blob/master/src/unistd/mod.rs) for an example. Opening a line at the very end and holing \<cr> down will freeze vim temporarily. The reason for 1. is that cindent doesn't properly indent things that end with a `,` and the indent file tries to work around this by using the indentation of the previous line. It does this by recursively calling a function on the previous lines until it reaches the start of the block. Naturally O(n^2) function calls don't scale very well. Instead of recalculating the indentation of the previous line, we will now simply use the given indentation of the previous line and let the user deal with the rest. This is sufficient unless the user manually mis-indents a line. The reason for 2. seems to be function calls of the form ``` searchpair('{\|(', '', '}\|)', 'nbW', 's:is_string_comment(line("."), col("."))') ``` I've no idea what this even does or why it is there since I cannot reproduce the mistake cindent is supposed to make without this fix. Therefore I've simply removed that part.
2014-09-21auto merge of #17412 : vadimcn/rust/gccpref, r=alexcrichtonbors-3/+3
Fixes #17251
2014-09-20Move bundled gcc and its libs out into $rust/rustlib/<triple>/gcc/(bin|lib). ↵Vadim Chugunov-3/+3
This way the libs won't be on the -L library search path, and won't confuse external gcc, if one is used. The bundled gcc itself will still be able to find them, because it searches for libs relative to own install location.
2014-09-19rollup merge of #17306 : scialex/fix-zshAlex Crichton-68/+131
2014-09-18fix for vim < 7.4.355Julian Orth-0/+37
2014-09-18auto merge of #17335 : TeXitoi/rust/relicense-shootout, r=brsonbors-0/+2
Everyone agreed. Fix #17064, fix #17072 @brson OK?
2014-09-17rollup merge of #17309 : aturon/deprecate-libnumAlex Crichton-1/+0
2014-09-17Relicense shootout-fasta.rs ti the shootout license.Guillaume Pinot-0/+1
Everyone agreed. Fix #17072
2014-09-17Relicense shootout-spectralnorm.rs to the shootout licenseGuillaume Pinot-0/+1
Everyone agreed. Fix #17064
2014-09-16Deprecate libnum in favor of rust-lang/numAaron Turon-1/+0
This is part of the migration of crates into the Cargo ecosystem. There is now an external repository https://github.com/rust-lang/num for bignums. The single use of libnum elsewhere in the repository is for a shootout benchmark, which is being moved into the external crate. Due to deprecation, this is a: [breaking-change]
2014-09-16Improve the zsh completions.Alexander Light-68/+131
Currently the ZSH completions are quite old an nearly useless. This brings them up to be compatible with current rust and makes them far more useful. Closes #17305
2014-09-15mk: Update how the build deals with version labels. #16677Brian Anderson-1/+1
Adds a new configure flag, --release-channel, which determines how the version number should be augmented with a release label, as well as how the distribution artifacts will be named. This is entirely for use by the build automation. --release-channel can be either 'source', 'nightly', 'beta', or 'stable'. Here's a summary of the affect of these values on version number and artifact naming, respectively: * source - '0.12.0-pre', 'rust-0.12.0-pre-...' * nightly - '0.12.0-nightly', 'rust-nightly-...' * beta - '0.12.0-beta', 'rust-beta-...' * stable - '0.12.0', 'rust-0.12.0-...' Per http://discuss.rust-lang.org/t/rfc-impending-changes-to-the-release-process/508/1
2014-09-13update vim indent fileJulian Orth-38/+3
2014-09-12auto merge of #17159 : brson/rust/snaps, r=alexcrichtonbors-3/+1
This switches win64 hosts to bootstrap from win64 snaps.
2014-09-11Package rustc's mingw dependencies into Windows installer.Vadim Chugunov-27/+85
gcc, ld, ar, dlltool, windres go into $(RUST)/bin/rustlib/<triple>/bin/ platform libraries and startup objects got into $(RUST)/bin/rustlib/<triple>/lib/
2014-09-11Update license notice.Vadim Chugunov-7/+4
2014-09-10Register snapshotsBrian Anderson-3/+1
2014-09-10auto merge of #17135 : brson/rust/wininst, r=alexcrichtonbors-1/+2
This builds on https://github.com/rust-lang/rust/pull/17109, putting the target triple into the installer name so that we can have both 32-bit and 64-bit. The resulting installers will be called `rust-0.12.0-pre-x86_64-w64-mingw32.exe`, etc.
2014-09-10auto merge of #17109 : brson/rust/win64snap, r=alexcrichtonbors-9/+15
2014-09-09Fix naming of windows installerBrian Anderson-1/+2
2014-09-09Fix snapshot.py for win64Brian Anderson-9/+15
2014-09-09rollup merge of #17096 : TeXitoi/relicense-shootout-chameneos-reduxAlex Crichton-0/+1
2014-09-09rollup merge of #17077 : TeXitoi/relicense-shootout-nbodyAlex Crichton-0/+1
2014-09-08Relicense shootout-chameneos-redux.rs to the shootout license.Guillaume Pinot-0/+1
Everyone agreed. fix #17076
2014-09-07Relicense shootout-nbody.rs to the shootout licenseGuillaume Pinot-0/+1
Everyone agreed. fix #17073
2014-09-07Relicense shootout-reverse-complement.rs to the shootout license.Guillaume Pinot-0/+1
Everyone agreed. Fix #17065
2014-08-30auto merge of #16322 : michaelwoerister/rust/gdb-pretty, r=alexcrichtonbors-0/+231
Also extends the autotest framework to let a test case choose if pretty printing should be enabled.
2014-08-30Unify non-snake-case lints and non-uppercase statics lintsP1start-1/+1
This unifies the `non_snake_case_functions` and `uppercase_variables` lints into one lint, `non_snake_case`. It also now checks for non-snake-case modules. This also extends the non-camel-case types lint to check type parameters, and merges the `non_uppercase_pattern_statics` lint into the `non_uppercase_statics` lint. Because the `uppercase_variables` lint is now part of the `non_snake_case` lint, all non-snake-case variables that start with lowercase characters (such as `fooBar`) will now trigger the `non_snake_case` lint. New code should be updated to use the new `non_snake_case` lint instead of the previous `non_snake_case_functions` and `uppercase_variables` lints. All use of the `non_uppercase_pattern_statics` should be replaced with the `non_uppercase_statics` lint. Any code that previously contained non-snake-case module or variable names should be updated to use snake case names or disable the `non_snake_case` lint. Any code with non-camel-case type parameters should be changed to use camel case or disable the `non_camel_case_types` lint. [breaking-change]
2014-08-27debuginfo: Emit different autotest debugger scripts depending on GDB version.Michael Woerister-5/+11
2014-08-27debuginfo: Add GDB pretty printers for structs and enums.Michael Woerister-0/+225
2014-08-23auto merge of #16691 : klutzy/rust/issue-15297, r=alexcrichtonbors-3/+4
First commit fixes issue regarding recognizing MSYS2 build. Second commit fixes issue regarding MSYS/Windows paths.
2014-08-23Remove stage0 attributes.Vadim Chugunov-2/+0
2014-08-23test: Convert Window path to MSYS pathklutzy-3/+4
When MSYS shell executes program, if its arguments look like MSYS paths, MSYS automatically converts them into Windows paths. For example, `/c/path:/d/path` becomes `C:\path;D:\path`. However, if there is only one path e.g. `/c/path`, it becomes `C:/path`. maketest.py reverts the behavior to reduce confusion between MSYS and Windows, but it didn't handle the `/c/path` case. This patch fixes the issue. Fixes #15297 Fixes #15250
2014-08-17auto merge of #16547 : huonw/rust/new-kw, r=pcwaltonbors-3/+9
2014-08-17auto merge of #16535 : michaelsproul/rust/vim-traits, r=pcwaltonbors-8/+8
The vim syntax highlighting file had become out of sync with the real prelude. Lots of Vector -> Slice renames have happened recently.
2014-08-17Add new keywords (particularly `where` & `virtual`) to editor modes.Huon Wilson-3/+9
2014-08-16vim: Update syntax file for Prelude changes.Michael Sproul-8/+8
Lots of Vector -> Slice renames.
2014-08-15vim: Don't set foldmethod in the syntax file eitherKevin Ballard-11/+14
We shouldn't be setting any settings in the syntax file. Better to put them in the ftplugin, where they won't be pulled in by :syn-include and can be cleaned up when changing the filetype.
2014-08-15auto merge of #16486 : kballard/rust/vim_conceal, r=chrisbors-2/+9
We shouldn't be setting conceallevel in the syntax file. Besides not being able to undo this if we switch to another syntax later, it also interferes with embedding rust in other filetypes (such as markdown). Instead, set it in the ftplugin, where it belongs.