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