* Mono.Options/Options.cs: Don't overly split option values, only split
[mono.git] / mcs / class / Mono.Options / Mono.Options / ChangeLog
1 2010-06-08  Jonathan Pryor  <jpryor@novell.com>
2
3         * Options.cs: Don't overly split option values, only split to obtain
4           the maximum number of desired values.  This better supports e.g. DOS
5           paths in multi-value values, e.g. '-DPATH=C:\tmp' would now create
6           the values {"PATH", "C:\tmp"} instead of {"PATH", "C", "\tmp"}.
7
8 2009-04-18  Jonathan Pryor  <jpryor@novell.com>
9
10         * Options.cs: "Code sharing": Use StringCodea.WrappedLines() from
11           Cadenza for the line wrapping algorithm.  (Only fitting as
12           WrappedLines() came from Mono.Options in the first place!)
13           Patch thanks to Federico Di Gregorio.
14
15 2009-04-18  Jonathan Pryor  <jpryor@novell.com>
16
17         * Options.cs: GetLineEnd() shouldn't skip the start character, as it
18           may contain '\n' (thus preventing the following text from being
19           properly indented).
20
21 2009-04-17  Jonathan Pryor  <jpryor@novell.com>
22
23         * Options.cs: Viktor Lundgren reported that Option.Description text of 
24           `"aaa." . "a" x 64` (that is, "aaa." followed by 64 "a"s) would cause 
25           GetLines() to go into an infinite loop and (eventually) die from an 
26           OutOfMemoryException.  Oops.  Fix this, simplify the logic, and turn 
27           GetLines() into an IEnumerable<string>.
28
29 2008-10-23  Jonathan Pryor  <jpryor@novell.com>
30
31         * Options.cs: Options.cs: Use the underlying target type in the error 
32           message, because "Could not convert string `' to type Nullable`1..." 
33           is not nearly as helpful as "Could not convert string `' to type 
34           Int32...".
35
36 2008-10-22  Jonathan Pryor  <jpryor@novell.com>
37
38         * Option.cs: Add support for nullable types to Options.Parse<T>().
39           Namespace "harmonization" with NDesk.Options so that the same source 
40           file can be used in each project.
41
42 2008-10-13  Jonathan Pryor  <jpryor@novell.com>
43
44         * ChangeLog: Started.
45         * Options.cs: Added; Command line option parser.  A (renamed) copy of
46           NDesk.Options 0.2.1 (see git repo for prior history).
47