about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
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.
2014-08-15auto merge of #16435 : vadimcn/rust/windows, r=pcwaltonbors-1/+3
Using "win32" to mean "Windows" is confusing, especially now, that Rust supports win64 builds. Let's call spade a spade.
2014-08-13vim: Stop setting conceallevel in the syntax fileKevin Ballard-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.
2014-08-13core: Add binary_search and binary_search_elem methods to slices.Brian Anderson-21/+25
These are like the existing bsearch methods but if the search fails, it returns the next insertion point. The new `binary_search` returns a `BinarySearchResult` that is either `Found` or `NotFound`. For convenience, the `found` and `not_found` methods convert to `Option`, ala `Result`. Deprecate bsearch and bsearch_elem.
2014-08-12Replace #[cfg(target_os = "win32")] with #[cfg(target_os = "windows")]Vadim Chugunov-1/+3
2014-08-11Download snapshots using HTTPSBrian Anderson-1/+1
cc #16123
2014-08-08auto merge of #16285 : alexcrichton/rust/rename-share, r=huonwbors-1/+1
This leaves the `Share` trait at `std::kinds` via a `#[deprecated]` `pub use` statement, but the `NoShare` struct is no longer part of `std::kinds::marker` due to #12660 (the build cannot bootstrap otherwise). All code referencing the `Share` trait should now reference the `Sync` trait, and all code referencing the `NoShare` type should now reference the `NoSync` type. The functionality and meaning of this trait have not changed, only the naming. Closes #16281 [breaking-change]
2014-08-07Rename `Share` to `Sync`Alex Crichton-1/+1
This leaves the `Share` trait at `std::kinds` via a `#[deprecated]` `pub use` statement, but the `NoShare` struct is no longer part of `std::kinds::marker` due to #12660 (the build cannot bootstrap otherwise). All code referencing the `Share` trait should now reference the `Sync` trait, and all code referencing the `NoShare` type should now reference the `NoSync` type. The functionality and meaning of this trait have not changed, only the naming. Closes #16281 [breaking-change]
2014-08-06Merge commit 'd92eaf0273af8c09112f951b2f483505b2f3e8c9' into rollupAlex Crichton-1/+1
2014-08-06Merge commit '881bfb1a180a1b545daa9da1539ec4c8ebda7ed1' into rollupAlex Crichton-1/+1
2014-08-06auto merge of #15865 : jamesrhurst/rust/ctags-regex, r=alexcrichtonbors-1/+1
Previously the implementation detection regex would detect `impl fmt::Show for MyStruct` as `fmt`. Now it will be detected as `fmt::Show for MyStruct`. Implementations such as `impl MyStruct` will still be detected as `MyStruct`.
2014-08-06Gtksourceview language spec: add the \0 escape sequence.Simon Sapin-1/+1
2014-08-05auto merge of #16231 : michaelsproul/rust/gedit-macro, r=alexcrichtonbors-0/+8
Gedit currently lacks syntax highlighting for macros.
2014-08-04Use mingw64 target spelling.Vadim Chugunov-1/+1
2014-08-04auto merge of #15986 : Florob/rust/nfKc-new, r=alexcrichtonbors-2/+33
This adds a new `Recompositions` iterator, which performs canonical composition on the result of the `Decompositions` iterator (which is canonical or compatibility decomposition). In effect this implements Unicode normalization forms C and KC.
2014-08-04Gedit/GTKSourceView: Add macro syntax highlighting.Michael Sproul-0/+8
2014-07-31auto merge of #16073 : mneumann/rust/dragonfly2, r=alexcrichtonbors-1/+6
Not included are two required patches: * LLVM: segmented stack support for DragonFly [1] * jemalloc: simple configure patches [1]: http://reviews.llvm.org/D4705
2014-07-29Gedit/gtksourceview language spec: add raw stringsSimon Sapin-0/+11
… and color (raw) strings as such in attributes. This fixes cases where a string contains ] inside an attribute: that ] used to incorrectly end the attribute coloring. For large (many lines) doc comments, I’ve found preferable to use `#![doc = r#"..."#]` to avoid prefixing every line with `//!`.
2014-07-29Port Rust to DragonFlyBSDMichael Neumann-1/+6
Not included are two required patches: * LLVM: segmented stack support for DragonFly [1] * jemalloc: simple configure patches [1]: http://reviews.llvm.org/D4705