[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Options / Mono.Options / ChangeLog
1 2010-06-09  Jonathan Pryor  <jpryor@novell.com>
2
3         * Options.cs: Remove use of 'var' so that C# 2.0 can be used.
4
5 2010-06-09  Jonathan Pryor  <jpryor@novell.com>
6
7         * Options.cs: Fix RemoveItem() and SetItem() so that removing by index
8           and using the numeric indexer work as expected.
9
10 2010-06-08  Jonathan Pryor  <jpryor@novell.com>
11
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"}.
16
17 2009-04-18  Jonathan Pryor  <jpryor@novell.com>
18
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.
23
24 2009-04-18  Jonathan Pryor  <jpryor@novell.com>
25
26         * Options.cs: GetLineEnd() shouldn't skip the start character, as it
27           may contain '\n' (thus preventing the following text from being
28           properly indented).
29
30 2009-04-17  Jonathan Pryor  <jpryor@novell.com>
31
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>.
37
38 2008-10-23  Jonathan Pryor  <jpryor@novell.com>
39
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 
43           Int32...".
44
45 2008-10-22  Jonathan Pryor  <jpryor@novell.com>
46
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.
50
51 2008-10-13  Jonathan Pryor  <jpryor@novell.com>
52
53         * ChangeLog: Started.
54         * Options.cs: Added; Command line option parser.  A (renamed) copy of
55           NDesk.Options 0.2.1 (see git repo for prior history).
56