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