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