2004-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System / System.Text.RegularExpressions / ChangeLog
1 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * arch.cs:
4         * compiler.cs:
5         * interpreter.cs:
6         * parser.cs:
7         * syntax.cs:
8         Patch by Eric Durand Tremblay.
9         1) Capture inner group when named.
10         2) Resolved parse error caused by not capturing inner group
11         3) Resolved incorrect capture group
12         4) Now, not capturing anything when unnamed ( correct behavior)
13
14
15 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
16
17         * arch.cs:
18         * compiler.cs:
19         * interpreter.cs:
20         * parser.cs:
21         * syntax.cs: converted to unix line endings.
22
23 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
24
25         * collections.cs: In the indexer, return an empty group if the requested
26         group is not found.
27         * match.cs: Added default constructor for Group.
28         
29 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * parser.cs: fixed group numbering.
32
33 2004-03-22  Jackson Harper  <jackson@ximian.com>
34
35         * parser.cs: Use the group number as the name in mapping. Patch by
36         Gert Driesen.
37         * regex.cs: Fix off by one error. Patch by Gert Driesen.
38
39 2004-03-17  Francois Beauchemin <beauche@softhome.net>
40         * syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs : 
41                 Revised support for RigthToLeft. 
42                 quicksearch has now an reverse option.          
43                 This fixes bug #54537 
44  
45         * regex.cs, compiler.cs :
46                 Some code to support CILCompiler.               
47         * regex.cs : 
48                 Added some undocumented of MS.
49  
50 2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
51
52         * parser.cs: allow a @"\0" escape sequence. Fixes bug #54797.
53
54 2004-02-01  Miguel de Icaza  <miguel@ximian.com>
55
56         * syntax.cs, interval.cs: Applied patch from Marco Cravairo
57         through Francois Beauchemin who reviewed on the mailing list.
58         This fixes bug #45976
59
60 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
61
62         * parser.cs: an opening brace without a
63         quantifier do not cause a parse error. Fixes bug #52924.
64
65 2004-01-07  Lluis Sanchez Gual <lluis@ximian.com>
66
67         * regex.cs: In Split(), if the last match is at the end of the string, 
68         an empty string must be added to the array of results.
69
70 2003-12-15  Sanjay Gupta <gsanjay@novell.com>
71         * match.cs: Check for null value before Substring method call.  
72         Fixes bug #52034.
73
74 2003-11-21  Juraj Skripsky <js@hotfeet.ch>
75
76         * quicksearch.cs: Create and use hashtable only for "long" search 
77         strings. 
78
79         (Search): Use simple scan for a single-character search strings.
80         
81         (GetChar): Simplify case sensitivity handling.
82
83 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
84
85         * interpreter.cs: when evaluating a degenerate match, restore the
86         RepeatContext if fail. Fixes bug #42529.
87
88 2003-11-22  Jackson Harper <jackson@ximian.com>
89
90         * regex.cs: Add CultureInvariant flag to RegexOptions.
91         
92 2003-11-20  Juraj Skripsky <js@hotfeet.ch>
93
94         * quicksearch.cs: Use a hashtable instead of an array for the
95         shift table to improve the memory usage.  
96
97 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * regex.cs:
100         (Split): include capture groups in the results, if any. Fixes bug
101         #51146.
102
103 2003-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
104
105         * regex.cs: patch from Eric Lindvall <eric@5stops.com> that fixes bug
106         #44830.
107
108 2003-03-05  Miguel de Icaza  <miguel@ximian.com>
109
110         * category.cs (CategoryUtils.CategoryFromName): Use StartsWith
111         ("Is") instead of a substring for (0,2) which was throwing an
112         exception causing Category.None to be returned
113
114 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
115
116         * collections.cs: fixed bug #30091.
117
118 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
119
120         * regex.cs: fixed little mistake (closes #35860).
121
122 2002-11-12 Jackson Harper <jackson@latitudegeo.com>
123
124         * arch.cs compiler.cs regex.cs: Added mapping attribute to MachineFactories
125
126 2002-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
127
128         * parser.cs: detect illegal \ at end of pattern. Fixes 31334.
129
130 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
131
132         * parser.cs: applied fix from Tim Haynes (thaynes@openlinksw.com) to
133         solve bug #32807. Also modified GetMapping to return the same as MS.
134
135 2002-08-28  Juli Mallett  <jmallett@FreeBSD.org>
136
137         * arch.cs, compiler.cs: Give the interpreter machine a property
138         for the retrieval of the group count.
139
140         * regex.cs: Use the new GroupCount property of the factory to
141         initialise the current group count, and restructure code to compile
142         the pattern only the first time it is needed (essentially backing
143         out the previous revision of regex.cs, to use the new code.)
144
145 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
146
147         * regex.cs: Added the ctr for ISerializable implementation and
148         implemented the GetObjectData function.
149
150 2002-07-30  Juli Mallett  <jmallett@FreeBSD.org>
151
152         * regex.cs: Fixed bug where the expression would not be
153         re-evaluated for grouping purposes when factory caches were
154         used, resulting in no groups being recognised after one call
155         with a given pattern and no change in options.
156
157 2002-05-13  Dan Lewis  <dihlewis@yahoo.co.uk>
158
159         * regex.cs: Fixed bug in split.
160
161 2002-05-08  Dan Lewis  <dihlewis@yahoo.co.uk>
162
163         * interpreter.cs: Moved to an array-based stack representation
164         for faster captures.
165
166         * match.cs, collections.cs: Decoupled capture representation from
167         interpreter internals.
168
169         * cache.cs: Changed Key type from struct to class for speed.
170
171 2002-04-06  Dan Lewis  <dihlewis@yahoo.co.uk>
172
173         * cache.cs: Object methods should be overridden with "override".
174
175 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
176
177         * RegexRunner.cs, RegexRunnerFactory.cs: MS support classes. Stubs
178         added for completeness.
179
180         * regex.cs, match.cs, collections.cs: Serializable attribute.
181
182 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
183
184         * regex.cs: Added static Matches and IsMatch methods.
185
186 2002-04-03  Dan Lewis  <dihlewis@yahoo.co.uk>
187
188         * ChangeLog: Added changelog.
189
190         * cache.cs: Fixed bug in MRUList.Evict.