* RegexRunner.cs: marked TODO, added missing protected internal
[mono.git] / mcs / class / System / System.Text.RegularExpressions / ChangeLog
1 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
2
3         * RegexRunner.cs: marked TODO, added missing protected internal
4         fields, throw NotImplementedException in all methods
5
6 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
7
8         * RegexRunnerFactory.cs: removed comment, no longer throw exception
9         from ctor
10         * regex.cs: fixed public API signature by renaming protected 
11         internal fields and adding destructor, added MonoTODO attribute to
12         fields and method that are not yet implemented, changed not 
13         implemented methods to throw NotImplementedException instead of
14         Exception, fixed names of field that are serialized
15
16 2004-06-06  Jambunathan K <kjambunathan@novell.com>
17         
18         * parser.cs: Fixed issues with Regex.Unescape() identified as part of
19         debugging bug #58256. The original problem reported was about
20         inconsistency between the way we treat replacement patterns and the 
21         way microsoft treats the replacement patterns in Regex.Replace(). MS
22         implementation is buggy and doesn't honour escape sequences in the
23         replacement patterns, even though the SDK claims otherwise.
24
25         
26 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
27
28         * syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
29         emitting a Category.All if both a category and its negated value are
30         present.
31
32 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
33
34         * syntax.cs: reverting my previous patch. It causes bigger problems.
35
36 2004-05-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
37
38         * category.cs: added LastValue field to mark the end of enum Category.
39         * syntax.cs: in CharacterClass, use Category.LastValue to get the size
40         of the array needed. Use a BitArray instead of bool[].
41         In AddCategory(), don't set the opposite category as false. Fixes
42         bug #59150. All tests pass.
43
44 2004-05-25  Jackson Harper  <jackson@ximian.com>
45
46         * parser.cs: Allow creating a regular expression using {,n} as the
47         specified. The min bounds is set to -1, I am not completely sure
48         if that is what it is supposed to be but MS does not set it to 0
49         based on testing. Patch by dave-gnome-bugs@earth.li. Fixes bug #56761.
50
51 2004-05-12  Dick Porter  <dick@ximian.com>
52
53         * regex.cs: 
54         * quicksearch.cs: 
55         * RegexRunnerFactory.cs: 
56         * RegexRunner.cs: More public API difference fixes.
57
58         * GroupCollection.cs: 
59         * MatchCollection.cs: 
60         * CaptureCollection.cs: Moved GroupCollection, MatchCollection and
61         CaptureCollection so that they no longer inherit from the
62         non-standard RegexCollectionBase class.  Fixes the API difference.
63
64 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
65
66         * arch.cs:
67         * compiler.cs:
68         * interpreter.cs:
69         * parser.cs:
70         * syntax.cs:
71         Patch by Eric Durand Tremblay.
72         1) Capture inner group when named.
73         2) Resolved parse error caused by not capturing inner group
74         3) Resolved incorrect capture group
75         4) Now, not capturing anything when unnamed ( correct behavior)
76
77
78 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
79
80         * arch.cs:
81         * compiler.cs:
82         * interpreter.cs:
83         * parser.cs:
84         * syntax.cs: converted to unix line endings.
85
86 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
87
88         * collections.cs: In the indexer, return an empty group if the requested
89         group is not found.
90         * match.cs: Added default constructor for Group.
91         
92 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * parser.cs: fixed group numbering.
95
96 2004-03-22  Jackson Harper  <jackson@ximian.com>
97
98         * parser.cs: Use the group number as the name in mapping. Patch by
99         Gert Driesen.
100         * regex.cs: Fix off by one error. Patch by Gert Driesen.
101
102 2004-03-17  Francois Beauchemin <beauche@softhome.net>
103         * syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs : 
104                 Revised support for RigthToLeft. 
105                 quicksearch has now an reverse option.          
106                 This fixes bug #54537 
107  
108         * regex.cs, compiler.cs :
109                 Some code to support CILCompiler.               
110         * regex.cs : 
111                 Added some undocumented of MS.
112  
113 2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
114
115         * parser.cs: allow a @"\0" escape sequence. Fixes bug #54797.
116
117 2004-02-01  Miguel de Icaza  <miguel@ximian.com>
118
119         * syntax.cs, interval.cs: Applied patch from Marco Cravairo
120         through Francois Beauchemin who reviewed on the mailing list.
121         This fixes bug #45976
122
123 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
124
125         * parser.cs: an opening brace without a
126         quantifier do not cause a parse error. Fixes bug #52924.
127
128 2004-01-07  Lluis Sanchez Gual <lluis@ximian.com>
129
130         * regex.cs: In Split(), if the last match is at the end of the string, 
131         an empty string must be added to the array of results.
132
133 2003-12-15  Sanjay Gupta <gsanjay@novell.com>
134         * match.cs: Check for null value before Substring method call.  
135         Fixes bug #52034.
136
137 2003-11-21  Juraj Skripsky <js@hotfeet.ch>
138
139         * quicksearch.cs: Create and use hashtable only for "long" search 
140         strings. 
141
142         (Search): Use simple scan for a single-character search strings.
143         
144         (GetChar): Simplify case sensitivity handling.
145
146 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * interpreter.cs: when evaluating a degenerate match, restore the
149         RepeatContext if fail. Fixes bug #42529.
150
151 2003-11-22  Jackson Harper <jackson@ximian.com>
152
153         * regex.cs: Add CultureInvariant flag to RegexOptions.
154         
155 2003-11-20  Juraj Skripsky <js@hotfeet.ch>
156
157         * quicksearch.cs: Use a hashtable instead of an array for the
158         shift table to improve the memory usage.  
159
160 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
161
162         * regex.cs:
163         (Split): include capture groups in the results, if any. Fixes bug
164         #51146.
165
166 2003-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
167
168         * regex.cs: patch from Eric Lindvall <eric@5stops.com> that fixes bug
169         #44830.
170
171 2003-03-05  Miguel de Icaza  <miguel@ximian.com>
172
173         * category.cs (CategoryUtils.CategoryFromName): Use StartsWith
174         ("Is") instead of a substring for (0,2) which was throwing an
175         exception causing Category.None to be returned
176
177 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
178
179         * collections.cs: fixed bug #30091.
180
181 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
182
183         * regex.cs: fixed little mistake (closes #35860).
184
185 2002-11-12 Jackson Harper <jackson@latitudegeo.com>
186
187         * arch.cs compiler.cs regex.cs: Added mapping attribute to MachineFactories
188
189 2002-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * parser.cs: detect illegal \ at end of pattern. Fixes 31334.
192
193 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * parser.cs: applied fix from Tim Haynes (thaynes@openlinksw.com) to
196         solve bug #32807. Also modified GetMapping to return the same as MS.
197
198 2002-08-28  Juli Mallett  <jmallett@FreeBSD.org>
199
200         * arch.cs, compiler.cs: Give the interpreter machine a property
201         for the retrieval of the group count.
202
203         * regex.cs: Use the new GroupCount property of the factory to
204         initialise the current group count, and restructure code to compile
205         the pattern only the first time it is needed (essentially backing
206         out the previous revision of regex.cs, to use the new code.)
207
208 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
209
210         * regex.cs: Added the ctr for ISerializable implementation and
211         implemented the GetObjectData function.
212
213 2002-07-30  Juli Mallett  <jmallett@FreeBSD.org>
214
215         * regex.cs: Fixed bug where the expression would not be
216         re-evaluated for grouping purposes when factory caches were
217         used, resulting in no groups being recognised after one call
218         with a given pattern and no change in options.
219
220 2002-05-13  Dan Lewis  <dihlewis@yahoo.co.uk>
221
222         * regex.cs: Fixed bug in split.
223
224 2002-05-08  Dan Lewis  <dihlewis@yahoo.co.uk>
225
226         * interpreter.cs: Moved to an array-based stack representation
227         for faster captures.
228
229         * match.cs, collections.cs: Decoupled capture representation from
230         interpreter internals.
231
232         * cache.cs: Changed Key type from struct to class for speed.
233
234 2002-04-06  Dan Lewis  <dihlewis@yahoo.co.uk>
235
236         * cache.cs: Object methods should be overridden with "override".
237
238 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
239
240         * RegexRunner.cs, RegexRunnerFactory.cs: MS support classes. Stubs
241         added for completeness.
242
243         * regex.cs, match.cs, collections.cs: Serializable attribute.
244
245 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
246
247         * regex.cs: Added static Matches and IsMatch methods.
248
249 2002-04-03  Dan Lewis  <dihlewis@yahoo.co.uk>
250
251         * ChangeLog: Added changelog.
252
253         * cache.cs: Fixed bug in MRUList.Evict.