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