summary refs log tree commit diff
path: root/src/libextra/workcache.rs
AgeCommit message (Collapse)AuthorLines
2013-09-24Correctly encode item visibility in metadataAlex Crichton-6/+6
This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592
2013-09-17remove unnecessary transmutesDaniel Micay-1/+0
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-09-16Have workcache::test put `foo.c` in the same directory it runs in.Lindsey Kuper-7/+16
This prevents a stray `foo.c` from being left lying around after tests run, and it's more consistent with the rest of the code.
2013-09-14extra::workcache: Remodel the (internal) struct Workblake2-ppc-16/+16
Using an enum with two cases for `Work` reveals simpler code than the previous `Option<Either<X, Y>>` representation.
2013-09-08extra: Address review comments from JackTim Chevalier-12/+13
2013-09-08rustpkg: Use workcacheTim Chevalier-2/+7
rustpkg now uses the workcache library to avoid recompilation. Hooray!
2013-09-08workcache: Add the ability to save and load the database...Tim Chevalier-19/+139
...as well as the ability to discover inputs and outputs.
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-3/+3
2013-08-07option.get -> option.unwrapErick Tryzelaar-2/+2
2013-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-02Crypto: Remove DigestUtil and convert to default methods on the Digest trait.Palmer Cox-2/+1
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-1/+1
2013-07-28auto merge of #8069 : erickt/rust/maikklein, r=ericktbors-2/+1
Good evening, This is a superset of @MaikKlein's #7969 commit, that I've fixed up to compile. I had a couple commits I wanted to do on top of @MaikKlein's work that I didn't want to bitrot.
2013-07-27cleanup .unwrap and .unwrap_err fixing io testsErick Tryzelaar-2/+1
2013-07-27Change concurrency primitives to standard naming conventionsSteven Stewart-Gallus-12/+12
To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()`
2013-07-23extra: rebase fallout.Graydon Hoare-1/+1
2013-07-23extra: give up trying to make more fields of context cloneable, just use ARCs.Graydon Hoare-16/+28
2013-07-23extra: switch json from hashmaps to treemapsGraydon Hoare-2/+1
2013-07-23extra: clean up workcache to use & in place of @ most places.Graydon Hoare-58/+71
2013-07-23extra: remove a @ in workcache config.Graydon Hoare-3/+3
2013-07-23extra: change workcache::Work::unwrap to move out of self.Graydon Hoare-26/+18
2013-07-23extra: access workcache db via RWARC.Graydon Hoare-13/+17
2013-07-23extra: use deriving more in workcache, switch to treemaps.Graydon Hoare-71/+22
2013-07-20Use Option .take() or .take_unwrap() instead of util::replace where possibleblake2-ppc-3/+2
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-5/+12
2013-07-08extra: Patch up code that was using irrefutable patterns incorrectly.Niko Matsakis-2/+2
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-13/+12
2013-06-29'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵Ben Blum-1/+1
for making them noncopyable.
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-5/+5
2013-06-25remove `each` from vec, HashMap and HashSetDaniel Micay-2/+2
2013-06-24Create a Digest trait for common methods on digests and convert the SHA-1 ↵Palmer Cox-6/+7
implementation to use it. The DigestUtil trait was created for helper methods since default methods still have issues.
2013-06-24Improve the SHA-1 implementationPalmer Cox-3/+3
* Rename struct Sha1State to Sha1 * Remove all use of @ types * Use fixed length vectors * Move all of the inner functions from inside sha1() to top level, private functions * Sha1 instances are now created via Sha1::new() * Update all constant names to uppercase * Remove unecessary assert_eq!s * Remove check_vec_eq() helper function; use vec::eq() instead
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+1
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-1/+1
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-1/+1
Part of #3853
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-31/+32
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-1/+1
2013-05-30libextra: Require documentation by defaultAlex Crichton-0/+2
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-27Refactor core::run in order to address many of the issuesgareth-1/+1
mentioned in #2625. This change makes the module more oriented around Process values instead of having to deal with process ids directly. Apart from issues mentioned in #2625, other changes include: - Changing the naming to be more consistent - Process/process is now used instead of a mixture of Program/program and Process/process. - More docs/tests. Some io/scheduler related issues remain (mentioned in #2625).
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+422
This only changes the directory names; it does not change the "real" metadata names.