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