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