about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-01-11Implement std::map as an iface/impl instead of an objMarijn Haverbeke-85/+114
2012-01-09Fix rpath bug.Graydon Hoare-9/+12
2012-01-09Merge pull request #1470 from grahame/grahameBrian Anderson-20/+63
add new read_chars method, fix bug in read_char
2012-01-09Remove leftover comm.rs in stdMarijn Haverbeke-188/+1
(The actual comm module lives in core.)
2012-01-09add tests for io::readchars and io::readcharGrahame Bowland-7/+10
Additionally reformat so that 'make check' passes.
2012-01-08Declare MIT license in crate attributes, not BSDBrian Anderson-1/+1
The Rust License is actually the MIT license, not BSD
2012-01-09add new read_chars method, fix bug in read_charGrahame Bowland-20/+60
having a read_chars method is convenient and more efficient. the old read_char method had a bug due to re-use of the 'w' width variable as a loop counter and so was broken for wide characters, this patch fixes that.
2012-01-06simplify task implNiko Matsakis-4/+3
2012-01-06std: UntabifyBrian Anderson-10/+10
2012-01-06std: Add fs::homedirBrian Anderson-0/+48
Returns the home directory of the user as appropriate for the platform. Issue #1359
2012-01-06libstd: rename c_vec::size to len.Erick Tryzelaar-16/+15
2012-01-06libcore: add [u8] helper functions to vec.Erick Tryzelaar-0/+9
2012-01-06libstd: switch map to use libcore's hash functions.Erick Tryzelaar-2/+2
2012-01-05Merge branch 'master' into kmathStefan Plantikow-70/+71
Conflicts: src/libcore/float.rs
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-5/+1
2012-01-05Merge branch 'master' into kmathStefan Plantikow-20/+22
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-70/+71
And remove support for the old syntax
2012-01-05Express some list primitives in a way that doesn't copyMarijn Haverbeke-20/+22
It was somewhat embarassing that list::len copied its elements.
2012-01-05Merge branch 'master' into kmathStefan Plantikow-9/+210
Conflicts: src/libcore/cmath.rs
2012-01-04"str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*")Lenny222-1/+1
2012-01-03Allow tail expressions even in no_value blocks. Type checkerNiko Matsakis-1/+1
will guarantee they have unit type.
2012-01-03Merge pull request #1392 from Lenny222/listBrian Anderson-4/+31
list: add "is_not_empty" requirement to "head" and "tail" (analogous to "vec")
2012-01-02Add 'copy' bounds to functions that were faultily accepted withoutMarijn Haverbeke-2/+2
Issue #1390
2012-01-01freebsd supportUser Jyyou-1/+175
2011-12-31removes std::mtypesStefan Plantikow-64/+0
2011-12-29list: use predicate to enforce non-empty requirementLenny222-4/+31
2011-12-28libstd: add bytes_reader and bytes_writerErick Tryzelaar-5/+24
This parallels nicely with string_reader and string_writer, but working with raw byte strings. I'm not quite sure if the return type for bytes_writer.get_bytes should be [u8] or [mutable u8] though, so I'm arbitrarily picking mutable for now.
2011-12-28libstd: Allow io writer to write mutable arraysErick Tryzelaar-6/+6
2011-12-28libstd: add a method to generate random bytestrings.Erick Tryzelaar-0/+17
2011-12-24Merge pull request #1377 from Lenny222/icuGraydon Hoare-0/+43
std::unicode::icu: add "is*" functions + unit test
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-2/+2
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-9/+8
2011-12-22Whitespace cleanup.Erick Tryzelaar-0/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-16/+16
#debug.
2011-12-22std::unicode: add functions, unit testLenny222-0/+43
2011-12-22json: to_str() also for "null"Lenny222-0/+1
2011-12-22json: add "null"Lenny222-0/+11
2011-12-20Add companion-module core.rs that exports log levels and option/some/none ↵Graydon Hoare-3/+2
everywhere.
2011-12-20removed math leftovers from stdStefan Plantikow-841/+1
2011-12-19Merge pull request #1334 from boggle/kmathGraydon Hoare-9/+14
preparing for removing math from std
2011-12-19Simplify getopts::find_opt.Erick Tryzelaar-4/+1
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-20/+21
2011-12-19preparing for removing math from stdStefan Plantikow-9/+14
2011-12-17libstd: Long linesBrian Anderson-1/+2
2011-12-17libstd: Add 'xterm-256-color' to list of color-enabled terminalsBrian Anderson-1/+1
2011-12-16libstd: Temporarily use #[link_name = ""]Brian Anderson-0/+1
2011-12-16implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵Graham Fawcett-4/+7
empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
2011-12-16std: file_is_dir -> path_is_dir, add path_existsElly Jones-4/+14
2011-12-16Merge pull request #1317 from boggle/fix1315Graydon Hoare-8/+9
fix to #1315 + small additions to std::either and result
2011-12-16std: declared fns as pure where sensibleStefan Plantikow-8/+9