summary refs log tree commit diff
path: root/src/libcore/vec.rs
AgeCommit message (Collapse)AuthorLines
2012-03-27Move some code over to iterator-for to see how it performs.Marijn Haverbeke-12/+12
2012-03-27Add vec::each, vec::eachi, and list::eachMarijn Haverbeke-1/+29
For use with the new for construct. Issue #1619
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-14/+14
2012-03-26Improve type inference to compute LUB/GLBNiko Matsakis-10/+4
2012-03-23Implement new inference algorithm.Niko Matsakis-5/+21
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-36/+36
2012-03-21rustc: Replace intrinsic vec_len with unsafe Rust codeMarijn Haverbeke-6/+4
Preparation for #1981
2012-03-20Implement an initial version of placement new.Niko Matsakis-7/+7
2012-03-20core: Rename unsafe::leak to unsafe::forget. Closes #2031Brian Anderson-2/+2
2012-03-18core: Rename vec::*_from to _between to match str modBrian Anderson-86/+86
2012-03-18core: Rename vec::position_elt to position_elemBrian Anderson-10/+10
2012-03-18core: Add vec::unshiftBrian Anderson-0/+12
2012-03-18core: Don't require a copyable T for vec::pushBrian Anderson-1/+1
2012-03-18core: Improve the docs and signature of vec::iter2Brian Anderson-4/+12
2012-03-18core: vec::filter_map doesn't require a copyable TBrian Anderson-1/+1
2012-03-17core: Don't copy elements in filter_mapBrian Anderson-2/+2
2012-03-16core: Resolve and remove some FIXMEsBrian Anderson-8/+1
2012-03-16std: Add a function to iterate over a subset of a vecErick Tryzelaar-3/+19
2012-03-15core: DocsBrian Anderson-3/+12
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-0/+1
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-1/+1
2012-03-13get new decorator extensions workingNiko Matsakis-0/+8
2012-03-13Overhaul constructor naming in libsBrian Anderson-15/+15
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-4/+4
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-10core: Remove the nearly empty math moduleBrian Anderson-1/+1
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-10core Remove vec::enum_chars/uint. Closes #1955Brian Anderson-22/+0
2012-03-10core: Rename vec::tail_n to vec::tailn to match other fnsBrian Anderson-2/+2
2012-03-10core: Clean up comments and exportsBrian Anderson-0/+72
2012-03-09core: Convert to rustdocBrian Anderson-403/+150
2012-03-08Rename last to last_opt, last_unsafe to lastTim Chevalier-16/+13
As per discussion on IRC. I am about to file an RFC for further discussion about the more general issue of whether to enforce invariants through types, typestate, or dynamic checks, but for now, removing the misleading name "last_unsafe".
2012-03-08Rename last_total to last_unsafeTim Chevalier-5/+6
See Issue 1943 for any discussion (reopen it if necessary). Closes #1943
2012-03-07add mutability annotations to libcoreNiko Matsakis-49/+51
2012-03-05rewrite vec to be more unsafe, more inlinedNiko Matsakis-2/+17
2012-03-02First cut at consolidated core::os module built on core::libc.Graydon Hoare-0/+4
2012-03-02core: Remove _mut functions from vecBrian Anderson-86/+20
Instead, use vec::to_mut/from_mut to transform vectors in place as needed.
2012-02-29core: Change a number of arguments in vec to const vecsBrian Anderson-31/+32
2012-02-28libcore: Remove vec::to_ptr in favor of vec::unsafe::to_ptr. Closes #1829.Patrick Walton-11/+4
2012-02-28add #[inline] to vec::iterNiko Matsakis-0/+1
2012-02-27Add libc module to libcore and utility file to help generate it.Graydon Hoare-7/+2
2012-02-24Encode/decode AST into metadata, re-instantiate inlined itemsNiko Matsakis-1/+0
2012-02-22Remove preconditions from librariesMarijn Haverbeke-12/+8
Closes #1805
2012-02-20core: New task APIBrian Anderson-8/+2
2012-02-17core: Make vec::push fasterBrian Anderson-2/+3
This way makes it equivalent to the compiler's vec push, and is a lot faster than calling vec::grow.
2012-02-17Clean up some of trans using block combinatorsMarijn Haverbeke-4/+1
`with_scope` and `with_cond` can be used to wrap a piece of code in a scope block, or conditionalize it on a value, without doing all the context-creation and jumping by hand. Also renames @block_ctxt to block to reduce noise.
2012-02-14Add [X].len() to core, use it in trans modulesMarijn Haverbeke-0/+3
2012-02-11core: Change the argument order for vec::contains, vec::countBrian Anderson-2/+2
2012-02-11core: Rename vec::member to vec::contains to match str modBrian Anderson-2/+2
2012-02-07Make process-spawning take environments and working directories, remove ↵Graydon Hoare-0/+12
procsrv task from compiletest.
2012-02-05Merge remote-tracking branch 'erickt/master'Brian Anderson-22/+449
Conflicts: src/libcore/vec.rs src/libstd/getopts.rs
2012-02-01Remove remaining references to option::t outside option itselfTim Chevalier-7/+7