1 2010-06-08 Jonathan Pryor <jpryor@novell.com>
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"}.
8 2009-04-18 Jonathan Pryor <jpryor@novell.com>
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.
15 2009-04-18 Jonathan Pryor <jpryor@novell.com>
17 * Options.cs: GetLineEnd() shouldn't skip the start character, as it
18 may contain '\n' (thus preventing the following text from being
21 2009-04-17 Jonathan Pryor <jpryor@novell.com>
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>.
29 2008-10-23 Jonathan Pryor <jpryor@novell.com>
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
36 2008-10-22 Jonathan Pryor <jpryor@novell.com>
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.
42 2008-10-13 Jonathan Pryor <jpryor@novell.com>
45 * Options.cs: Added; Command line option parser. A (renamed) copy of
46 NDesk.Options 0.2.1 (see git repo for prior history).