Update of /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10552/src/ICSharpCode/SharpCvsLib/Misc Modified Files: CvsRoot.cs CvsRootParseException.cs PasswordScrambler.cs TraceUtil.cs UnsupportedProtocolException.cs WorkingDirectory.cs Log Message: Added an author attribute, updated author on each of the sub files in the library project. Index: CvsRoot.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/CvsRoot.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** CvsRoot.cs 1 Jan 2005 22:06:55 -0000 1.18 --- CvsRoot.cs 14 Jan 2005 09:09:44 -0000 1.19 *************** *** 29,33 **** // exception statement from your version. // - // <author>Clayton Harbour</author> #endregion --- 29,32 ---- *************** *** 36,39 **** --- 35,39 ---- using System.Text.RegularExpressions; + using ICSharpCode.SharpCvsLib.Attributes; using ICSharpCode.SharpCvsLib.Config; *************** *** 46,49 **** --- 46,51 ---- /// repository you are communicating with. /// </summary> + [Author("Mike Krueger", "mi...@ic...", "2001")] + [Author("Clayton Harbour", "cla...@sp...", "2003-2005")] public class CvsRoot { /// <summary> Index: PasswordScrambler.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/PasswordScrambler.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PasswordScrambler.cs 1 Nov 2004 21:23:31 -0000 1.6 --- PasswordScrambler.cs 14 Jan 2005 09:09:44 -0000 1.7 *************** *** 35,38 **** --- 35,40 ---- using log4net; + using ICSharpCode.SharpCvsLib.Attributes; + namespace ICSharpCode.SharpCvsLib.Misc { *************** *** 49,52 **** --- 51,56 ---- /// to use. If it does not recognize the method, it throws an exception. /// </summary> + [Author("Mike Krueger", "mi...@ic...", "2001")] + [Author("Clayton Harbour", "cla...@sp...", "2005")] public class PasswordScrambler { Index: WorkingDirectory.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/WorkingDirectory.cs,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** WorkingDirectory.cs 3 Dec 2004 08:47:28 -0000 1.24 --- WorkingDirectory.cs 14 Jan 2005 09:09:44 -0000 1.25 *************** *** 40,43 **** --- 40,44 ---- using log4net; + using ICSharpCode.SharpCvsLib.Attributes; using ICSharpCode.SharpCvsLib.FileSystem; using ICSharpCode.SharpCvsLib.Util; *************** *** 50,53 **** --- 51,56 ---- /// have to add for this is the password. /// </summary> + [Author("Mike Krueger", "mi...@ic...", "2001")] + [Author("Clayton Harbour", "cla...@sp...", "2003-2005")] public class WorkingDirectory { private Manager manager; Index: TraceUtil.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/TraceUtil.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TraceUtil.cs 5 Nov 2003 08:07:45 -0000 1.2 --- TraceUtil.cs 14 Jan 2005 09:09:44 -0000 1.3 *************** *** 29,34 **** // exception statement from your version. // - // Author: Clayton Harbour - // #endregion --- 29,32 ---- *************** *** 37,83 **** using log4net; ! namespace ICSharpCode.SharpCvsLib.Misc { ! ! /// <summary> ! /// The trace utility class logs a stack trace to the log4net file ! /// if DEBUG logging is enabled. This is used as an alternative ! /// to the .net trace mechanism. ! /// </summary> ! public class TraceUtil { ! private static readonly ILog LOGGER = ! LogManager.GetLogger (typeof (TraceUtil)); /// <summary> ! /// Create a new instance of the trace util. /// </summary> ! public TraceUtil () { ! } ! /// <summary> ! /// Log a debug message with a stack trace. ! /// </summary> ! /// <param name="message">The message to log with the stack ! /// trace.</param> ! public static void Debug (String message) { ! if (LOGGER.IsDebugEnabled) { ! System.Diagnostics.StackTrace trace = ! new System.Diagnostics.StackTrace (); ! String msg = ""; ! if (null != message) { ! msg = msg + "message=[" + message + "]"; } - msg = msg + "stackTrace=[" + trace.ToString () + "]"; - LOGGER.Debug (msg); } - } ! /// <summary> ! /// Log stack trace. ! /// </summary> ! public static void Debug () { ! TraceUtil.Debug (null); } } - } --- 35,85 ---- using log4net; ! using ICSharpCode.SharpCvsLib.Attributes; ! namespace ICSharpCode.SharpCvsLib.Misc { /// <summary> ! /// The trace utility class logs a stack trace to the log4net file ! /// if DEBUG logging is enabled. This is used as an alternative ! /// to the .net trace mechanism. /// </summary> ! [Author("Mike Krueger", "mi...@ic...", "2001")] ! [Author("Clayton Harbour", "cla...@sp...", "2003-2005")] ! public class TraceUtil { ! private static readonly ILog LOGGER = ! LogManager.GetLogger (typeof (TraceUtil)); ! /// <summary> ! /// Create a new instance of the trace util. ! /// </summary> ! public TraceUtil () { ! } ! ! /// <summary> ! /// Log a debug message with a stack trace. ! /// </summary> ! /// <param name="message">The message to log with the stack ! /// trace.</param> ! public static void Debug (String message) { ! if (LOGGER.IsDebugEnabled) { ! System.Diagnostics.StackTrace trace = ! new System.Diagnostics.StackTrace (); ! ! String msg = ""; ! if (null != message) { ! msg = msg + "message=[" + message + "]"; ! } ! msg = msg + "stackTrace=[" + trace.ToString () + "]"; ! LOGGER.Debug (msg); } } ! /// <summary> ! /// Log stack trace. ! /// </summary> ! public static void Debug () { ! TraceUtil.Debug (null); ! } } } Index: UnsupportedProtocolException.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/UnsupportedProtocolException.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** UnsupportedProtocolException.cs 1 Jan 2005 22:06:55 -0000 1.2 --- UnsupportedProtocolException.cs 14 Jan 2005 09:09:44 -0000 1.3 *************** *** 1,6 **** using System; ! namespace ICSharpCode.SharpCvsLib.Misc ! { /// <summary> /// The unsupported protocol exception is thrown when a client attempts to use --- 1,7 ---- using System; ! using ICSharpCode.SharpCvsLib.Attributes; ! ! namespace ICSharpCode.SharpCvsLib.Misc { /// <summary> /// The unsupported protocol exception is thrown when a client attempts to use *************** *** 8,11 **** --- 9,13 ---- /// library. /// </summary> + [Author("Clayton Harbour", "cla...@sp...", "2003-2005")] [Obsolete("Use ICSharpCode.SharpCvsLib.Exceptions.UnsupportedProtocolException.")] public class UnsupportedProtocolException : NotImplementedException{ Index: CvsRootParseException.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Misc/CvsRootParseException.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CvsRootParseException.cs 2 Jan 2005 22:21:38 -0000 1.4 --- CvsRootParseException.cs 14 Jan 2005 09:09:44 -0000 1.5 *************** *** 35,38 **** --- 35,40 ---- using System; + using ICSharpCode.SharpCvsLib.Attributes; + namespace ICSharpCode.SharpCvsLib.Misc { /// <summary> *************** *** 40,43 **** --- 42,46 ---- /// a root that is not understood by the server. /// </summary> + [Author("Clayton Harbour", "cla...@sp...", "2003-2005")] [Obsolete ("Use ICSharpCode.SharpCvsLib.Exceptions.CvsRootParseException.")] public class CvsRootParseException : ICSharpCode.SharpCvsLib.Exceptions.CvsRootParseException{ |