summary refs log tree commit diff
path: root/src/libstd/getopts.rs
AgeCommit message (Collapse)AuthorLines
2012-03-27Move some code over to iterator-for to see how it performs.Marijn Haverbeke-2/+2
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-23Implement new inference algorithm.Niko Matsakis-0/+1
2012-03-14annotate libstd and start enforcing mutabilityNiko Matsakis-12/+11
2012-03-13Name types after their modules instead of 't'Brian Anderson-2/+1
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-09std: Convert to rustdocBrian Anderson-119/+64
2012-03-02core: Remove _mut functions from vecBrian Anderson-1/+1
Instead, use vec::to_mut/from_mut to transform vectors in place as needed.
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-3/+3
2012-02-23(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes ↵Kevin Cantu-1/+1
with find[_from]
2012-02-23(core::str) mostly rename len -> len_charsKevin Cantu-1/+1
2012-02-15Replace some explicit fails with 'alt check' invocationsMarijn Haverbeke-3/+1
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-3/+3
2012-02-11using str::index...Kevin Cantu-6/+4
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-1/+1
2012-02-05Merge remote-tracking branch 'erickt/master'Brian Anderson-1/+1
Conflicts: src/libcore/vec.rs src/libstd/getopts.rs
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-3/+4
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 2Kevin Cantu-4/+4
2012-01-31Change option::t to optionTim Chevalier-3/+3
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-28core: rename vec::position* functionsErick Tryzelaar-1/+1
Almost all of the vec functions that predicates don't have a corresponding function that takes a single element, so this commit renames the common fn usecase to be the default.
2012-01-21fix #1352: change param order on vec::init_fn (and vec::init_fn_mut), ↵Graham Fawcett-1/+1
putting block in final position.
2012-01-19lib: ";" to "," in enumsPatrick Walton-14/+14
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-7/+7
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-5/+5
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+473
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+1
#debug.
2011-12-19Simplify getopts::find_opt.Erick Tryzelaar-4/+1
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-18/+18
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+1
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+386