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