2009-01-27 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Util / ChangeLog
1 2009-01-27  Marek Habersack  <mhabersack@novell.com>
2
3         * SearchPattern.cs: added
4
5 2009-01-22  Marek Habersack  <mhabersack@novell.com>
6
7         * FileUtils.cs: added two conditionally compiled methods (they
8         require DEVEL to be defined) which output lines to a log file.
9
10 2008-12-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
11
12         * UrlUtils.cs: use Replace (char, char).
13
14 2008-08-19  Marek Habersack  <mhabersack@novell.com>
15
16         * UrlUtils.cs: fail gracefully if the path passed to GetSessionId
17         is null.
18
19 2008-07-29  Marek Habersack  <mhabersack@novell.com>
20
21         * UrlUtils.cs: fixed a typo in HasSessionId which made it always
22         return False. Fixes bug #397418
23
24 2008-06-27  Robert Jordan  <robertj@gmx.net>
25
26         * TimeUtil.cs (ToUtcTimeString): convert using the invariant
27         culture. Fixes bug #404083. Contributed by
28         Hubert FONGARNAND <informatique.internet@fiducial.fr>.
29
30 2008-06-16  Marek Habersack  <mhabersack@novell.com>
31
32         * UrlUtils.cs: optimize string usage (do not compare against "").
33
34 2008-06-16  Noam Lampert  <noaml@mainsoft.com>
35
36         * UrlUtils.cs: Fixed some bugs in Canonize method. Add several tests
37
38 2008-06-04  Marek Habersack  <mhabersack@novell.com>
39
40         * UrlUtils.cs: added internal method HasSessionId
41
42 2007-12-12  Marek Habersack  <mhabersack@novell.com>
43
44         * SettingsMappingManager.cs: use the 'settings.map.config' name
45         for the application-specific mapper configuration. This ensures
46         that the file won't be downloadable on systems which don't support
47         the mapping feature without the need to add the extra handler
48         entry to the app's Web.config file. Thanks to Joe Audette for the
49         idea.
50
51 2007-12-11  Marek Habersack  <mhabersack@novell.com>
52
53         * SettingsMappingManager.cs: made the class public - it is
54         required for user-defined mappers to work.
55         Added a new property, Platform, which specifies the platform we're
56         running on. Platform check is now done only on initialization
57         time.
58         LoadMappings considers only the mappings which apply to the
59         current platform. Other entries are not loaded.
60
61         * SettingsMapping.cs: made the class public.
62         
63         * SettingsMappingWhat.cs: made the class public.
64
65         * ISectionSettingsMapper.cs: made the interface public.
66         
67 2007-12-08  Marek Habersack  <mhabersack@novell.com>
68
69         * SerializationHelper.cs: added - serialization helper for the
70         Sqlite Profile Provider.
71
72         * RoleManagerSectionMapper.cs: added - section settings mapper for
73         the RoleManager section.
74
75         * MembershipSectionMapper.cs: added - section settings mapper for
76         the Membership section.
77
78         * ISectionSettingsMapper.cs: added - interface definition for
79         section settings mappers.
80
81         * SettingsMappingWhat.cs: added - describes a single 'what' tag
82         instance inside the mapper definition in the settings.map file.
83
84         * SettingsMapping.cs: added - represents a single mapper entry in
85         the settings.map file.
86
87         * SettingsMappingManager.cs: added - manages settings mapping as
88         defined in the settings.map file.
89
90 2006-08-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
91
92         * UrlUtils.cs: optimized string.Replace in RemoveDoubleSlashes
93
94 2007-03-21  Konstantin Triger <kostat@mainsoft.com>
95
96         AltSerialization.cs: refactoring for Serialize/Deserialize functionality.
97
98 2007-03-18  Marek Habersack  <mhabersack@novell.com>
99
100         * UrlUtils.cs: GetDirectory always returns a path with trailing
101         slash.
102
103 2007-03-16  Marek Habersack  <mhabersack@novell.com>
104
105         * UrlUtils.cs: make sure the trailing slash is present.
106
107 2007-03-05  Marek Habersack  <mhabersack@novell.com>
108
109         * UrlUtils.cs: Make sure GetDirectory returns a directory with the
110         trailing slash.
111
112 2007-01-30  Adar Wesley <adarw@mainsoft.com>
113
114         * UrlUtils.cs: fixed GetFile to throw right exception
115
116 2007-01-20  Miguel de Icaza  <miguel@novell.com>
117
118         * FileUtils.cs (CreateTemporaryFile): Remove unused variable.
119
120 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
121
122         * StrUtils.cs: added new helper method EscapeQuotesAndBackslashes
123
124 2006-11-13  Marek Habersack  <grendello@gmail.com>
125
126         * FileUtils.cs: Added a utility class for temporary file creation
127         (and possibly other future common file operations)
128
129 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
130
131         * DataSourceResolver.cs: corrected exceptions type in 
132         ResolveDataSource
133
134 2006-02-01  Chris Toshok  <toshok@ximian.com>
135
136         * WebEncoding.cs: CONFIGURATION_2_0 => NET_2_0, and use GetSection
137         instead of GetWebApplicationSection.
138
139 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140
141         * UrlUtils.cs: more than one consecutive slash are turned into one.
142
143 2006-01-26  Chris Toshok  <toshok@ximian.com>
144
145         * WebEncoding.cs: rework this so we cache the section, and so we
146         swallow exceptions based on a broken configuration.
147
148 2006-01-09  Konstantin Triger <kostat@mainsoft.com>
149
150         AltSerialization.cs: under TARGET_JVM: merging /main/4
151
152 2005-11-28  Chris Toshok  <toshok@ximian.com>
153
154         * WebEncoding.cs (FileEncoding, ResponseEncoding,
155         RequestEncoding): CONFIGURATION_2_0 work.
156
157 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * UrlUtils.cs: fix GetFile to work with '/blah'.
160
161 2005-09-11  Sebastien Pouliot  <sebastien@ximian.com>
162
163         * IWebObjectFactory.cs: New. 2.0 interface.
164         * IWebPropertyAccessor.cs: New. 2.0 interface.
165         * Transactions.cs: Added [Link|Inheritance]Demand for Minimal.
166         * WorkItem.cs: Added [Link|Inheritance]Demand for Minimal. Added 
167         Demand for UnmanagedCode on the static Post method,
168
169 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170
171         * UrlUtils.cs: removed 2 unused methods. IsRelativeUrl returns false if
172         there's a colon in the string, assuming it's the beginning of the ://
173         after the schema.
174
175 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
176
177         * DataSourceHelper.cs: Obsolete
178
179         * DataSourceResolver.cs: Moved from DataSourceHelper.
180
181 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
182
183         * DataSourceHelper.cs: Helper method used for data binding.
184
185 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186
187         * UrlUtils.cs: (Combine) if the base path is "~", expand it.
188
189 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * StrUtils.cs: new string utilities.
192
193 2005-05-09  Ben Maurer  <bmaurer@ximian.com>
194
195         * UrlUtils.cs (Reduce): a more efficient impl that avoids an
196         arraylist, making an arraylist into an array, and a replace
197         operation.
198
199 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200
201         * UrlUtils.cs: made (Insert|Get|Remove)SessionId use the appRoot +
202         SessionID + vpath format.
203
204 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * UrlUtils.cs: don't pass double slash when the path begins with a
207         tilde. Fixes bug #61654.
208
209 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
210
211         * UrlUtils.cs:
212         (GetFile): not public, and fixed to really return just the file name.
213         (InsertSessionId): ensure that the directory ends with a "/". This
214         fixes cookieless sessions.
215         (RemoveSessionId): don't return "/" twice.
216
217         Fixed bug #59051.
218
219 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
220
221         * UrlUtils.cs: respect trailing slashes. Fixes bug #56802.
222
223 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
224
225         * UrlUtils.cs: no more ^Ms.
226
227 2004-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
228
229         * UrlUtils.cs: MakeRelative was returning null for virtual paths without
230         directory.
231
232 2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
233
234         * FileAction.cs:
235         * FileChangeEventHandler.cs:
236         * FileChangedEventArgs.cs:
237         * FileChangesMonitor.cs:
238         * FilePathParser.cs: removed unused/obsolete files.
239
240 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
241
242         * UrlUtils.cs: fixed MakeRelative. nGallery goes one step further.
243
244 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
245
246         * UrlUtils.cs: small fix from George Kodinov for Combine when ~ is used. 
247
248 2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
249
250         * UrlUtils.cs: ~ is not always /. Fixed.
251
252 2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * UrlUtils.cs:
255         (Combine): handle subdirectories and tilde. Fixes bug 54231.
256
257 2004-02-01  Alon Gazit <along@mainsoft.com>
258
259         * UrlUtils.cs: little fix in GetDirectory ().
260
261 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
262
263         * TransactedCallback.cs:
264         * WorkItemCallback.cs:
265         * WorkItem.cs:
266         * Transactions.cs: Added and stubbed/ implemented
267
268 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
269
270         * WebEqualComparer.cs:
271         * WebHashCodeProvider.cs:
272         * FileAction.cs:
273         * FileChangeEventHandler.cs:
274         * NativeFileChangeEventHandler.cs: Monostyled header, internalized
275
276 2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
277
278         * UrlUtils.cs: make reduce not to throw an exception for '../'. Fixes
279         bug #52599.
280
281 2003-12-03  Jackson Harper <jackson@ximian.com>
282
283         * UrlUtils.cs: Some methods for working with session ids in urls.
284         
285 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * WebEncoding.cs: use the Default encoding when the globalization
288         configuration is not available.
289
290 2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
291
292         * UrlUtils.cs: don't forget basePath when relative path is not rooted.
293         Fixes bug #51522.
294
295 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
296
297         * UrlUtils.cs: fix bug introduced with last change that makes relative
298         paths fail. Closes bug #51448.
299
300 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * UrlUtils.cs: fixed Combine() handling of ~.
303
304 2003-11-25  Jackson Harper <jackson@ximian.com>
305
306         * AltSerialization.cs: Utility methods for optimized serializing.
307         
308 2003-11-13  Jackson Harper  <jackson@ximian.com>
309
310         * TimeUtil.cs: Utility methods for dealing with time.
311         
312 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
313
314         * UrlUtils.cs: new function to do the app mapping, but make
315         it return a physical path.
316
317 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
318
319         * UrlUtils.cs: add a new function for mapping app absolute
320         paths to virual paths (ie, ~/blah/ to /application/root/blah/)
321
322 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
323
324         * WebEncoding.cs: added properties to access configuration files
325         encoding.
326
327 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
328
329         * ICalls.cs: holds a couple of icalls.
330
331 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
332
333         * UrlUtils.cs: made Reduce work when a "/" is passed.
334
335 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
336
337         * UrlUtils.cs: fixed Combine and reworked Reduce.
338
339 2003-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
340
341         * UrlUtils.cs: another little fix in Combine ().
342
343 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
344
345         * UrlUtils.cs: fixed Combine ().
346
347 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
348
349         * UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.
350
351 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
352
353         * PathUtil.cs: removed.
354         * UrlUtils.cs: fixed Combine to handle '~'.
355
356 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
357
358         * PathUtil.cs: some path handling methods that are not available in
359         System.IO.Path.
360
361 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
362
363         * DataSourceHelper.cs       : Fresh implementation. Moved from
364                               System.Web.UI.WebControls.DataGrid
365                               ::ResolveData(object, string).
366
367 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
368
369         * WebTrace.cs: fixed namespace.
370
371         * WebEncoding.cs: new class that holds the default encoding for
372         System.Web.
373
374 2002-01-03  Nick Drochak  <ndrochak@gol.com>
375
376         * FileChangesMonitor.cs: remove redundant using statement; use int
377         for MAXLEN; capitalize correctly 'WebHashCodeProvider';
378         fix typo rsLock -> rwLock; Change IsRooted to IsPathRooted;
379         set out parameter value where needed
380         * FilePathParser.cs: qualify method GetPathRoot() with 'Path.'
381         * IISVersionInfo.cs: initialize static member to avoid compile error.
382         * WebEqualComparer.cs: static member defC shouldn't be readonly;
383         the string comparer had some typos (fixed)
384         * WebHashCodeProvider.cs: needed System.Globalization; static member
385         defHcp shouldn't be readonly; remove double equal typo.
386
387 2002-01-02  Nick Drochak  <ndrochak@gol.com>
388
389         * FileAction.cs: Use 0x7FFFFFFF as enum value for error.  0xFFFFFFFF
390         is too big for Int32.
391         * FileChangeEventHandler.cs: put missing 'void' return type on delegate
392         FileChangeEventHandler()
393         * FileChangedEventArgs.cs: ditto for FileChangedEvent()
394         * NativeFileChangeEventHandler.cs: ditto for NativeFileChangeEventHandler()
395         * FileChangesMonitor.cs: add needed namespaces and comment out imcomplete
396         code.
397
398 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
399
400         * ApacheVersionInfo.cs     - Dummy class, for later use.
401         * FileAction.cs:
402         * FileChangeEventHandler.cs:
403         * FileChangeEventArgs.cs:
404         * FileChangesMonitor.cs:
405         * NativeFileChangeEventHandler.cs
406                                    - To be used in System.Web/Http* classes.
407                                      Initially needed for HttpRuntime
408         * IISVersionInfo.cs        - Some useful methods
409
410
411 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
412
413         * UrlUtils.cs              - Added functions Combine and Reduce
414
415 2001-12-16  Miguel de Icaza  <miguel@ximian.com>
416
417         * DataSourceHelper.cs, UrlUtils.cs: Set the correct namespace. 
418
419 2001-11-30
420                 Gaurav Vaish <gvaish@iitk.ac.in>
421         * DataSourceHelper.cs      - Resolving DataSource objects
422
423 2001-11-09
424                 Gaurav Vaish <gvaish@iitk.ac.in>
425         * UrlUtil.cs               - Some basic functions
426
427 2001-11-08
428                 Gaurav Vaish <gvaish@iitk.ac.in>
429         * Namespace    - Created the namespace for commonly used,
430                            otherwise not available functions