about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2014-02-22Move std::num::Integer to libnumBrendan Zabarauskas-1/+1
2014-02-17auto merge of #12321 : bjz/rust/remove-real, r=alexcrichtonbors-1/+1
This is part of the effort to simplify `std::num`, as tracked in issue #10387. It is also a step towards a proper IEEE-754 trait (see #12281).
2014-02-17Added more scripts to tidy checkDerek Guenther-14/+106
2014-02-17auto merge of #12284 : brson/rust/install, r=alexcrichtonbors-1/+1
Work toward #9876. This adds `prepare.mk`, which is simply a more heavily-parameterized `install.mk`, then uses `prepare` to implement both `install` and the windows installer (`dist`). Smoke tested on both Linux and Windows.
2014-02-17Remove Real trait and move methods into FloatBrendan Zabarauskas-1/+1
This is part of the effort to simplify `std::num`, as tracked in issue #10387.
2014-02-17Remove CloneableTuple and ImmutableTuple traitsBrendan Zabarauskas-4/+0
These are adequately covered by the Tuple2 trait.
2014-02-15mk: Base the windows dist target on prepare.mkBrian Anderson-1/+1
2014-02-14extern mod => extern crateAlex Crichton-11/+10
This was previously implemented, and it just needed a snapshot to go through
2014-02-14Add crate keyword to gedit language specKevin Ballard-0/+1
2014-02-14Add crate to emacs and kate modefilesKevin Ballard-0/+2
2014-02-14Add CheckedDiv to vim syntaxKevin Ballard-1/+1
2014-02-14Update vim syntax for extern crateKevin Ballard-2/+9
2014-02-13Stop looping on error waiting for android test resultsBrian Anderson-16/+2
These seem to be causing iloops on the bots. Let's rather see the errors.
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-11/+11
2014-02-10Revert non-license changes as part of 0ebe112bAlex Crichton-113/+115
The commit accidentally modified the snapshot script which changed its behavior and is currently blocking a snapshot.
2014-02-07Delete send_str, rewrite clients on top of MaybeOwned<'static>Kevin Ballard-2/+1
Declare a `type SendStr = MaybeOwned<'static>` to ease readibility of types that needed the old SendStr behavior. Implement all the traits for MaybeOwned that SendStr used to implement.
2014-02-08Update docs and tests for #[deriving(Show)].Huon Wilson-1/+2
2014-02-07Added tests to make tidyDerek Guenther-3/+19
2014-02-06Redesign output flags for rustcAlex Crichton-7/+1
This commit removes the -c, --emit-llvm, -s, --rlib, --dylib, --staticlib, --lib, and --bin flags from rustc, adding the following flags: * --emit=[asm,ir,bc,obj,link] * --crate-type=[dylib,rlib,staticlib,bin,lib] The -o option has also been redefined to be used for *all* flavors of outputs. This means that we no longer ignore it for libraries. The --out-dir remains the same as before. The new logic for files that rustc emits is as follows: 1. Output types are dictated by the --emit flag. The default value is --emit=link, and this option can be passed multiple times and have all options stacked on one another. 2. Crate types are dictated by the --crate-type flag and the #[crate_type] attribute. The flags can be passed many times and stack with the crate attribute. 3. If the -o flag is specified, and only one output type is specified, the output will be emitted at this location. If more than one output type is specified, then the filename of -o is ignored, and all output goes in the directory that -o specifies. The -o option always ignores the --out-dir option. 4. If the --out-dir flag is specified, all output goes in this directory. 5. If -o and --out-dir are both not present, all output goes in the current directory of the process. 6. When multiple output types are specified, the filestem of all output is the same as the name of the CrateId (derived from a crate attribute or from the filestem of the crate file). Closes #7791 Closes #11056 Closes #11667
2014-02-05etc: add missing license boilerplatesAdrien Tétar-144/+268
2014-02-05etc/tidy: don't check SNAP against tripleAdrien Tétar-9/+30
2014-02-05move concurrent stuff from libextra to libsyncJeremyLetang-1/+1
2014-02-03extra: Add an intrusive MPSC to be used soonAlex Crichton-0/+1
2014-02-03Fixing remaining warnings and errors throughoutAlex Crichton-0/+1
2014-02-01Update the zsh completion file for rustc.OGINO Masanori-40/+70
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-29auto merge of #11672 : bjz/rust/remove-times, r=brsonbors-1/+0
`Times::times` was always a second-class loop because it did not support the `break` and `continue` operations. Its playful appeal (which I liked) was then lost after `do` was disabled for closures. It's time to let this one go.
2014-01-30Remove Times traitBrendan Zabarauskas-1/+0
`Times::times` was always a second-class loop because it did not support the `break` and `continue` operations. Its playful appeal was then lost after `do` was disabled for closures. It's time to let this one go.
2014-01-29auto merge of #11893 : Armavica/rust/copyable-cloneable, r=huonwbors-4/+4
I found awkward to have `MutableCloneableVector` and `CloneableIterator` on the one hand, and `CopyableVector` etc. on the other hand. The concerned traits are: * `CopyableVector` --> `CloneableVector` * `OwnedCopyableVector` --> `OwnedCloneableVector` * `ImmutableCopyableVector` --> `ImmutableCloneableVector` * `CopyableTuple` --> `CloneableTuple`
2014-01-28Rename CopyableTuple to CloneableTupleVirgile Andreani-1/+1
2014-01-28Rename ImmutableCopyableVector to ImmutableCloneableVectorVirgile Andreani-1/+1
2014-01-28Rename OwnedCopyableVector to OwnedCloneableVectorVirgile Andreani-1/+1
2014-01-28Rename CopyableVector to CloneableVectorVirgile Andreani-1/+1
2014-01-28Update extract-tests.py to use same test directives as rustdoc.William Ting-75/+207
Closes #11362.
2014-01-28syntax: make deriving have slightly less cryptic error messages.Huon Wilson-1/+1
This unfortunately changes an error like error: mismatched types: expected `&&NotClone` but found `&NotClone` into error: type `NotClone` does not implement any method in scope named `clone`
2014-01-27auto merge of #11834 : huonw/rust/deriving-spans, r=alexcrichtonbors-0/+131
I'd forgotten to update them when I changed this a while ago; it now displays error messages linked to the struct/variant field, rather than the `#[deriving(Trait)]` line, for all traits. This also adds a very large number of autogenerated tests. I can easily remove/tone down that commit if necessary.
2014-01-27As Either no longer exists, remove Either, Left, and Right from syntax filesScott Lawrence-9/+0
2014-01-27Add autogenerated tests for the spans of various derived traits.Huon Wilson-0/+131
2014-01-26Changed tidy script to remove restriction on FIXME and to warn against XXX ↵Salem Talha-3/+2
instead
2014-01-24auto merge of #11750 : bnoordhuis/rust/follow-rustc-symlink, r=thestingerbors-1/+3
Before this commit, rustc looked in `dirname $0`/../lib for libraries but that doesn't work when rustc is invoked through a symlink. This commit makes rustc look in `dirname $(readlink $0)`/../lib, i.e. it first canonicalizes the symlink before walking up the directory tree. Fixes #3632.
2014-01-23Make check-summary.py support file globbingBen Noordhuis-1/+3
Fixes the following error when executing `make check-lite`: Traceback (most recent call last): File "/home/bnoordhuis/src/rust/src/etc/check-summary.py", line 27, in <module> map(summarise, logfiles) File "/home/bnoordhuis/src/rust/src/etc/check-summary.py", line 10, in summarise with open(fname) as fd: IOError: [Errno 2] No such file or directory: 'tmp/*.log'
2014-01-22remove old rc extension from detection filesDaniel Micay-4/+3
2014-01-18auto merge of #11311 : hdima/rust/vim-syntax-spell-check, r=cmrbors-7/+7
Add `@Spell` clusters to Vim syntax highlighting file to do spell checking only inside comments and strings
2014-01-16Update test run summaryDerek Guenther-9/+17
2014-01-16Merge Bitwise and BitCount traits and remove from prelude, along with BoundedBrendan Zabarauskas-2/+1
One less trait in std::num, and three less exported in the prelude.
2014-01-12Bump version to 0.10-preBrian Anderson-1/+1
2014-01-09Remove ApproxEq and assert_approx_eq!Brendan Zabarauskas-1/+1
This trait seems to stray too far from the mandate of a standard library as implementations may vary between use cases.
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