about summary refs log tree commit diff
path: root/src/libstd/getopts.rs
AgeCommit message (Collapse)AuthorLines
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-121/+120
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04TidyBrian Anderson-2/+5
2012-07-04When getopts encounters an option that takes an argument, it should treat ↵Josh Matthews-1/+39
the remainder of the current option string as the argument if it is non-empty. Fix #2791.
2012-07-01Convert to new closure syntaxBrian Anderson-5/+5
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-98/+98
2012-06-27Replace more vector additions (issue #2719)Eric Holk-3/+3
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-109/+110
2012-05-31Add some convenience helpers to getopts. Close #1837.Graydon Hoare-0/+51
2012-05-25Get rid of many implicit copies as a preliminary to Issue #2448.Michael Sullivan-2/+2
2012-05-01std: Fix example in getopts module docsBenjamin Kircher-7/+25
Issue #1833.
2012-05-01std: Fix typo in getopts doc attributeBenjamin Kircher-2/+2
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