about summary refs log tree commit diff
path: root/src/libcore/core.rs
AgeCommit message (Collapse)AuthorLines
2012-11-28Register snapshotsBrian Anderson-81/+0
2012-11-15rt: bump log levels up by one, fix tautological-compare error (and permit ↵Graydon Hoare-8/+8
turning off logging entirely).
2012-11-07rustc: Implement the Drop trait. r=brsonPatrick Walton-0/+4
2012-11-02libcore: Implement a memory-safe "each_val" for data in aliasable, mutable ↵Patrick Walton-1/+1
locations
2012-10-30core: fix breakage from recent merge.Graydon Hoare-1/+1
2012-10-19Renaming trait name UniqueStr to TrimmableMahmut Bulut-1/+1
2012-10-12bump version to 0.5.Graydon Hoare-2/+2
2012-10-07libcore: add first_ref and second_ref to tuplesErick Tryzelaar-1/+1
2012-10-03libcore: De-export core.rc and core.rsPatrick Walton-59/+34
2012-09-27De-export os and libc. Close #2006.Graydon Hoare-2/+0
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-0/+2
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+4
#[legacy_exports];
2012-09-20core: Move 'unreachable' to util. Improve docsBrian Anderson-11/+1
2012-09-19core: Clean up crate docs and give all mods a brief descriptionBrian Anderson-0/+1
2012-09-12Remove some transitional codeBrian Anderson-4/+0
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-2/+2
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-1/+1
2012-09-04libcore: "import" -> "use"Patrick Walton-23/+23
2012-09-02Camel case core::opsBrian Anderson-9/+9
2012-08-30Bump version to 0.4Brian Anderson-2/+2
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-4/+5
2012-08-29Replace core::path with contents of core::path2. Back to one path module.Graydon Hoare-4/+4
2012-08-28libcore: fix a typo exporting Err.Erick Tryzelaar-1/+1
2012-08-28Import Result, Ok, and Err by default. Closes #3287Brian Anderson-0/+3
2012-08-26Camel case the option typeBrian Anderson-3/+6
2012-08-24Start using core::path2::Path in a lot of places.Graydon Hoare-2/+8
2012-08-23Make a bunch more of the iteration functions/methods marked pure. Closes #3253.Michael Sullivan-1/+1
2012-08-15Convert more core types to camel caseBrian Anderson-11/+11
2012-08-14Convert more core types to camel caseBrian Anderson-2/+2
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-6/+6
2012-08-13Stop parsing old operator overloading syntaxBrian Anderson-2/+2
2012-08-13core: Export to_str trait from top level. Closes #3175Brian Anderson-0/+2
2012-08-08Convert impls to new syntaxBrian Anderson-21/+3
2012-07-28core: More magic to make core build with --testBrian Anderson-0/+11
2012-07-28core: Correct exports of intrinsic opsBrian Anderson-3/+5
2012-07-28core: Fix compilation of intrinsic ops when testingBrian Anderson-3/+12
2012-07-27rustc: Use coherence for operator overloading.Patrick Walton-1/+2
The only use of the old-style impls is now placement new.
2012-07-25rustc: Introduce a lang_items pass, part of coherence and operator overloading.Patrick Walton-0/+5
This will also help us remove kinds.
2012-07-24Add `5.timesi() |idx| { ... }`Paul Stansifer-12/+12
2012-07-17rustc: Fix coherence errors in the buildPatrick Walton-1/+2
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-2/+12
2012-07-16replace core::tuple functions with methodsGareth Daniel Smith-0/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-1/+1
#2907.
2012-07-11Fix some version numbers.Graydon Hoare-1/+1
2012-07-05A new `times` method on numeric typesBen Striegel-11/+11
This method is intended to elegantly subsume two common iteration functions. The first is `iter::range`, which is used identically to the method introduced in this commit, but currently works only on uints. The second is a common case of `{int, i8, uint, etc.}::range`, in the case where the inductive variable is ignored. Compare the usage of the three: ``` for iter::range(100u) { // do whatever } for int::range(0, 100) |_i| { // do whatever } for 100.times { // do whatever } ``` I feel that the latter reads much more nicely than the first two approaches, and unlike the first two the new method allows the user to ignore the specific type of the number (ineed, if we're throwing away the inductive variable, who cares what type it is?). A minor benefit is that this new method will be somewhat familiar to users of Ruby, from which we borrow the name "times".
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-9/+9
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-06-25Remove redundant 'extension' mods from numeric modsBrian Anderson-13/+13
2012-06-25Automatically export methods on core numeric typesBen Striegel-0/+15
Each numeric type now contains an extensions module that is automatically exported. At the moment each extensions module contains only the impl for the `num::num` iface. Other impls soon to follow (hopefully).
2012-06-22core: Export result extensions from the top levelBrian Anderson-0/+1
2012-06-02make vec fns/methods take imm slices.Niko Matsakis-1/+0
this also repairs the unsoundness in typing of unpack_slice, which was silently converting a const ptr to an imm one.