summary refs log tree commit diff
path: root/src/libstd/getopts.rs
AgeCommit message (Collapse)AuthorLines
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-4/+3
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-03Remove crudTim Chevalier-1/+0
2012-10-03Remove uses of + mode from libstdTim Chevalier-12/+13
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-03De-export std::{json, getopts}. Part of #3583.Graydon Hoare-36/+18
2012-10-02Removing explicit uses of + modeTim Chevalier-1/+1
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-09-28demode vecNiko Matsakis-3/+2
2012-09-28Long lines.Graydon Hoare-1/+5
2012-09-28Long linesBrian Anderson-46/+54
2012-09-28std: Eliminate deprecated patternsBrian Anderson-15/+14
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-11/+10
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-40/+0
2012-09-23core: Demode optionBrian Anderson-7/+7
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+40
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-7/+7
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-11/+11
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-11/+11
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-2/+2
2012-09-10Make remaining moves explicit in libstdTim Chevalier-1/+1
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+3
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-10/+14
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04libstd: "import" -> "use"Patrick Walton-4/+4
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-2/+0
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-9/+44
2012-08-28CamelCasify lots of stdBen Striegel-115/+117
2012-08-27Remove deprecated modes from libstd/getopts.rsKevin Cantu-43/+50
2012-08-27Convert core::result to camel caseBrian Anderson-48/+48
2012-08-26minor core/std cleanupBen Blum-2/+2
2012-08-26Camel case the option typeBrian Anderson-21/+21
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-08-15Expunge match checksTim Chevalier-1/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-52/+54
2012-08-05Switch alts to use arrowsBrian Anderson-113/+113
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-1/+1
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-30/+30
2012-07-31std: getopts::match -> matchesBrian Anderson-33/+33
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-174/+177
#2907.
2012-07-12Get rid of all of the remaining /~s in the code base.Michael Sullivan-4/+4
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