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