+2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * System.Web.dll.sources: removed unused/obsolete files from
+ System.Web.Util.
+
2004-02-09 Jackson Harper <jackson@ximian.com>
* System.Web.dll.sources: Remove System.Web.Caching.Watcher from
+2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * FileAction.cs:
+ * FileChangeEventHandler.cs:
+ * FileChangedEventArgs.cs:
+ * FileChangesMonitor.cs:
+ * FilePathParser.cs: removed unused/obsolete files.
+
2004-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UrlUtils.cs: fixed MakeRelative. nGallery goes one step further.
+++ /dev/null
-//
-// System.Web.Util.FileAction.cs
-//
-// Authors:
-// Gaurav Vaish (my_scripts2001@yahoo.com, gvaish@iitk.ac.in)
-//
-// (c) Gaurav Vaish 2001
-//\r
-\r
-namespace System.Web.Util\r
-{\r
- internal enum FileAction\r
- {\r
- Overwhleming,\r
- Added,\r
- Removed,\r
- Modifiled,\r
- RenamedOldName,\r
- RenamedNewName,\r
- Error = 0x7FFFFFFF\r
- }\r
-}\r
+++ /dev/null
-//
-// System.Web.Util.FileChangeEventHandler.cs
-//
-// Authors:
-// Gaurav Vaish (my_scripts2001@yahoo.com, gvaish@iitk.ac.in)
-//
-// (c) Gaurav Vaish 2001
-//\r
-\r
-namespace System.Web.Util\r
-{\r
- internal delegate void FileChangeEventHandler(object sender, int method);\r
-}\r
+++ /dev/null
-/**\r
- * Namespace: System.Web.Util\r
- * Class: FileChangedEventArgs\r
- *\r
- * Author: Gaurav Vaish\r
- * Maintainer: gvaish@iitk.ac.in\r
- * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>\r
- * Implementation: yes\r
- * Status: ??%\r
- *\r
- * (C) Gaurav Vaish (2001)\r
- */\r
-\r
-namespace System.Web.Util\r
-{\r
- internal class FileChangedEventArgs : EventArgs\r
- {\r
- private string filename;\r
- private FileAction action;\r
-\r
- public void FileChangedEvent(FileAction action, string file)\r
- {\r
- this.action = action;\r
- this.filename = file;\r
- }\r
-\r
- public string FileName\r
- {\r
- get\r
- {\r
- return filename;\r
- }\r
- }\r
-\r
- public FileAction Action\r
- {\r
- get\r
- {\r
- return action;\r
- }\r
- }\r
- }\r
-}\r
+++ /dev/null
-/**\r
- * \r
- * Namespace: System.Web.Util\r
- * Class: FileChangesMonitor\r
- * \r
- * Author: Gaurav Vaish\r
- * Maintainer: gvaish@iitk.ac.in\r
- * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>\r
- * Implementation: yes\r
- * Status: ??%\r
- *\r
- * \r
- * (C) Gaurav Vaish (2001)\r
- */\r
-\r
-using System;\r
-using System.IO;\r
-using System.Web;\r
-using System.Runtime.InteropServices;\r
-using System.Collections;\r
-using System.Threading;\r
-\r
-namespace System.Web.Util\r
-{\r
- internal class FileChangesMonitor\r
- {\r
- private static string BIN = "bin";\r
- private static string BINDIR = "bin/";\r
- private static int MAXLEN = 260;\r
- \r
- private FileChangeEventHandler cbRename;\r
- private NativeFileChangeEventHandler cbSubDirs;\r
- \r
- private int monitoredSubdirs;\r
- private string rootDir;\r
- private Hashtable allDirs;\r
- private GCHandle rootcbSubDirs;\r
- \r
- private ReaderWriterLock rwLock;\r
- \r
- public FileChangesMonitor()\r
- {\r
- allDirs = new Hashtable(WebHashCodeProvider.Default, WebEqualComparer.Default);\r
- rwLock = new ReaderWriterLock();\r
- }\r
- \r
- /// <param name="file">Name of the file</param>\r
- /// <param name="mTime">Last modification date</param>\r
- /// <param name="length">Legnth of the file</param>\r
- [MonoTODO]\r
- public void GetFileAttributes(string file, out DateTime mTime, long length)\r
- {\r
- if(!Path.IsPathRooted(file))\r
- {\r
- throw new HttpException(HttpRuntime.FormatResourceString("Path_must_be_rooted"));\r
- }\r
- // TODO: finish this\r
- mTime = DateTime.Now;\r
- throw new NotImplementedException();\r
- }\r
- }\r
-}\r
+++ /dev/null
-/**\r
- * Namespace: System.Web.Util\r
- * Class: FilePathParser\r
- *\r
- * Author: Gaurav Vaish\r
- * Maintainer: gvaish@iitk.ac.in\r
- * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>\r
- * Implementation: yes\r
- * Status: ??%\r
- *\r
- * (C) Gaurav Vaish (2001)\r
- */\r
-using System.IO;\r
-\r
-namespace System.Web.Util\r
-{\r
- internal class FilePathParser\r
- {\r
- private static char[] pathSeparators = {\r
- Path.DirectorySeparatorChar,\r
- Path.AltDirectorySeparatorChar\r
- };\r
- \r
- private string dirName;\r
- private string fileName;\r
- private string shortDirName;\r
- private string shortFileName;\r
- \r
- private bool exists;\r
- \r
- [MonoTODO]\r
- public FilePathParser(string path, bool isFile, bool getShortNames)\r
- {\r
- path = path.Trim();\r
- if(Path.GetPathRoot(path).Length < path.Length)\r
- {\r
- path = path.TrimEnd(pathSeparators);\r
- }\r
- if(!isFile)\r
- {\r
- dirName = GetBaseDirOrRoot(path);\r
- } else\r
- {\r
- dirName = path;\r
- }\r
- if(getShortNames)\r
- {\r
- if(!Directory.Exists(dirName))\r
- {\r
- dirName = null;\r
- return;\r
- }\r
- shortDirName = GetShortPathName(dirName);\r
- if(shortDirName==null)\r
- {\r
- dirName = null;\r
- return;\r
- }\r
- if(shortDirName == dirName)\r
- {\r
- shortDirName = null;\r
- } else\r
- {\r
- throw new NotImplementedException();\r
- }\r
- }\r
- }\r
- \r
- public static string GetBaseDirOrRoot(string file)\r
- {\r
- string bDir = Path.GetDirectoryName(file);\r
- return ( bDir!=null ? bDir : Path.GetPathRoot(file));\r
- }\r
- \r
- [MonoTODO("Native_Call_Required")]\r
- public static string GetShortPathName(string path)\r
- {\r
- //TODO: Native calls required, it's in kernel32.dll for windows\r
- throw new NotImplementedException();\r
- }\r
- }\r
-}\r
System.Web.Util/AltSerialization.cs
System.Web.Util/ApacheVersionInfo.cs
System.Web.Util/DataSourceHelper.cs
-System.Web.Util/FileAction.cs
-System.Web.Util/FileChangeEventHandler.cs
-System.Web.Util/FileChangedEventArgs.cs
-System.Web.Util/FileChangesMonitor.cs
-System.Web.Util/FilePathParser.cs
System.Web.Util/ICalls.cs
System.Web.Util/IISVersionInfo.cs
System.Web.Util/NativeFileChangeEventHandler.cs