Spell checked (ouch). A few small clarifications on docs locations.
authorhal9 <hal9@users.sourceforge.net>
Fri, 12 Apr 2002 01:56:39 +0000 (01:56 +0000)
committerhal9 <hal9@users.sourceforge.net>
Fri, 12 Apr 2002 01:56:39 +0000 (01:56 +0000)
doc/webserver/developer-manual/coding.html
doc/webserver/developer-manual/copyright.html
doc/webserver/developer-manual/documentation.html
doc/webserver/developer-manual/index.html
doc/webserver/developer-manual/newrelease.html
doc/webserver/developer-manual/quickstart.html

index 2e1d879..d20b062 100644 (file)
@@ -224,7 +224,7 @@ CLASS="EMPHASIS"
 ></P
 ><P
 >If you are trying to add a small logic comment and do not
-    wish to "disrubt" the flow of the code, feel free to use a 1
+    wish to "disrupt" the flow of the code, feel free to use a 1
     line comment which is NOT on the same line as the code.</P
 ></DIV
 ><DIV
@@ -432,7 +432,7 @@ CLASS="EMPHASIS"
 >Explanation:</I
 ></P
 ><P
->Use all lowercase, and seperate words via an underscore
+>Use all lowercase, and separate words via an underscore
     ('_'). Do not start an identifier with an underscore. (ANSI C
     reserves these for use by the compiler and system headers.) Do
     not use identifiers which are reserved in ANSI C++. (E.g.
@@ -489,7 +489,7 @@ CLASS="EMPHASIS"
 >Explanation:</I
 ></P
 ><P
->Use all lowercase, and seperate words via an underscore
+>Use all lowercase, and separate words via an underscore
     ('_'). Do not start an identifier with an underscore. (ANSI C
     reserves these for use by the compiler and system headers.) Do
     not use identifiers which are reserved in ANSI C++. (E.g.
@@ -780,14 +780,14 @@ CLASS="EMPHASIS"
 >Note:</I
 > In the special case that the if-statement is
     inside a loop, and it is trivial, i.e. it tests for a
-    condidtion that is obvious from the purpose of the block,
+    condition that is obvious from the purpose of the block,
     one-liners as above may optically preserve the loop structure
     and make it easier to read.</P
 ><P
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> developer-discrection.</P
+> developer-discretion.</P
 ><P
 ><I
 CLASS="EMPHASIS"
@@ -910,7 +910,7 @@ CLASS="EMPHASIS"
 ><I
 CLASS="EMPHASIS"
 >Note:</I
-> The former is readable and consice. The later
+> The former is readable and concise. The later
     is wordy and inefficient. Please assume that any developer new
     to the project has at least a "good" knowledge of C/C++. (Hope
     I do not offend by that last comment ... 8-)</P
@@ -1054,9 +1054,9 @@ CLASS="EMPHASIS"
 CLASS="EMPHASIS"
 >Note:</I
 > Use 1 blank line before the closing brace and 2
-    lines afterwards. This makes the end of function standout to
+    lines afterward. This makes the end of function standout to
     the most casual viewer. Although function comments help
-    seperate functions, this is still a good coding practice. In
+    separate functions, this is still a good coding practice. In
     fact, I follow these rules when using blocks in "for", "while",
     "do" loops, and long if {} statements too. After all whitespace
     is free!</P
@@ -1064,7 +1064,7 @@ CLASS="EMPHASIS"
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> developer-discrection on the number of blank
+> developer-discretion on the number of blank
     lines. Enforced is the end of function comments.</P
 ></DIV
 ><DIV
@@ -1180,7 +1180,7 @@ CLASS="EMPHASIS"
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> developer-discrection if and only if the
+> developer-discretion if and only if the
     variable is assigned a value "shortly after" declaration.</P
 ></DIV
 ></DIV
@@ -1446,7 +1446,7 @@ CLASS="EMPHASIS"
 >Note:</I
 > Please! do not add "-I." to the Makefile
     without a _very_ good reason. This duplicates the #include
-    "file.h" behaviour.</P
+    "file.h" behavior.</P
 ></DIV
 ><DIV
 CLASS="SECT3"
@@ -1581,12 +1581,12 @@ CLASS="EMPHASIS"
 > If you declare "file_list xyz;" (without the
     pointer), then including the proper header file is necessary.
     If you only want to prototype a pointer, however, the header
-    file is unneccessary.</P
+    file is unnecessary.</P
 ><P
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> Use with discrection.</P
+> Use with discretion.</P
 ></DIV
 ></DIV
 ><DIV
@@ -1659,7 +1659,7 @@ CLASS="PROGRAMLISTING"
 
    default :
       log_error( ... );
-      ... anomly code goes here ...
+      ... anomaly code goes here ...
       continue; / break; / exit( 1 ); / etc ...
 
 } /* end switch( hash_string( cmd ) ) */</PRE
@@ -1679,7 +1679,7 @@ CLASS="EMPHASIS"
 CLASS="EMPHASIS"
 >Another Note:</I
 > This is not so much a readability issue
-    as a robust programming issue. The "anomly code goes here" may
+    as a robust programming issue. The "anomaly code goes here" may
     be no more than a print to the STDERR stream (as in
     load_config). Or it may really be an ABEND condition.</P
 ><P
@@ -1831,7 +1831,7 @@ CLASS="EMPHASIS"
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> developer-discrection.</P
+> developer-discretion.</P
 ></DIV
 ><DIV
 CLASS="SECT3"
@@ -1847,7 +1847,7 @@ CLASS="EMPHASIS"
 >Explanation:</I
 ></P
 ><P
->Create a local stuct (on the stack) if the variable will
+>Create a local struct (on the stack) if the variable will
     live and die within the context of one function call.</P
 ><P
 >Only "malloc" a struct (on the heap) if the variable's life
@@ -1866,7 +1866,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >If a function creates a struct and stores a pointer to it in a
-list, then it should definately be allocated via `malloc'.</PRE
+list, then it should definitely be allocated via `malloc'.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -1892,7 +1892,7 @@ CLASS="EMPHASIS"
     responsible for ensuring that deletion is timely (i.e. not too
     soon, not too late). This is known as "low-coupling" and is a
     "good thing (tm)". You may need to offer a
-    free/unload/destuctor type function to accomodate this.</P
+    free/unload/destuctor type function to accommodate this.</P
 ><P
 ><I
 CLASS="EMPHASIS"
@@ -1924,7 +1924,7 @@ CLASS="EMPHASIS"
 ><I
 CLASS="EMPHASIS"
 >Status:</I
-> developer-discrection. The "main" use of this
+> developer-discretion. The "main" use of this
     standard is for allocating and freeing data structures (complex
     or nested).</P
 ></DIV
@@ -1962,7 +1962,7 @@ CLASS="SECT3"
 ><A
 NAME="S45"
 >5.7.10. "Uncertain" new code and/or changes to
-    exitinst code, use FIXME</A
+    existing code, use FIXME</A
 ></H3
 ><P
 ><I
@@ -1971,11 +1971,11 @@ CLASS="EMPHASIS"
 ></P
 ><P
 >If you have enough confidence in new code or confidence in
-    your changes, but are not *quite* sure of the reprocussions,
+    your changes, but are not *quite* sure of the repercussions,
     add this:</P
 ><P
 >/* FIXME: this code has a logic error on platform XYZ, *
-    attempthing to fix */ #ifdef PLATFORM ...changed code here...
+    attempting to fix */ #ifdef PLATFORM ...changed code here...
     #endif</P
 ><P
 >or:</P
@@ -1993,7 +1993,7 @@ CLASS="EMPHASIS"
 >Note:</I
 > If you make it clear that this may or may not
     be a "good thing (tm)", it will be easier to identify and
-    include in the project (or conversly exclude from the
+    include in the project (or conversely exclude from the
     project).</P
 ></DIV
 ></DIV
@@ -2019,7 +2019,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->const char FILENAME_rcs[] = "$Id: developer-manual.sgml,v 1.28 2002/04/08 22:59:26 hal9 Exp $";
+>const char FILENAME_rcs[] = "$Id: developer-manual.sgml,v 1.31 2002/04/11 09:32:52 oes Exp $";
 /*********************************************************************
  *
  * File        :  $Source$
@@ -2079,7 +2079,7 @@ CLASS="EMPHASIS"
 >Note:</I
 > The formfeed character that is present right
     after the comment flower box is handy for (X|GNU)Emacs users to
-    skip the verbige and get to the heart of the code (via
+    skip the verbiage and get to the heart of the code (via
     `forward-page' and `backward-page'). Please include it if you
     can.</P
 ><P
@@ -2097,7 +2097,7 @@ WIDTH="100%"
 CLASS="PROGRAMLISTING"
 >#ifndef _FILENAME_H
 #define _FILENAME_H
-#define FILENAME_H_VERSION "$Id: developer-manual.sgml,v 1.28 2002/04/08 22:59:26 hal9 Exp $"
+#define FILENAME_H_VERSION "$Id: developer-manual.sgml,v 1.31 2002/04/11 09:32:52 oes Exp $"
 /*********************************************************************
  *
  * File        :  $Source$
index 152577b..3e822d8 100644 (file)
@@ -78,7 +78,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN940"
+NAME="AEN957"
 >10.1. Copyright</A
 ></H2
 ><P
@@ -88,12 +88,14 @@ CLASS="APPLICATION"
 > is free software; you can
  redistribute it and/or modify it under the terms of the GNU General Public
  
+
  License as published by the Free Software Foundation; either version 2 of the
  License, or (at your option) any later version.</P
 ><P
 > This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  more details, which is available from the Free Software Foundation, Inc, 59
  Temple Place - Suite 330, Boston, MA  02111-1307, USA.</P
 ><P
@@ -110,7 +112,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN947"
+NAME="AEN964"
 >10.2. History</A
 ></H2
 ><P
index 1112292..efa7447 100644 (file)
@@ -74,7 +74,7 @@ NAME="DOCUMENTATION"
 >4. Documentation Guidelines</A
 ></H1
 ><P
->    All formal documents are maintained in docbook SGML and located in the
+>    All formal documents are maintained in Docbook SGML and located in the
     <TT
 CLASS="COMPUTEROUTPUT"
 >doc/source/*</TT
@@ -149,7 +149,7 @@ CLASS="FILENAME"
 CLASS="FILENAME"
 >INSTALL</TT
 >) are maintained as plain text files in the
-     toplevel source directory. At least for the time being.
+     top-level source directory. At least for the time being.
     </P
 ><P
 >     Packagers are encouraged to include this documentation. For those without
@@ -224,6 +224,27 @@ CLASS="COMPUTEROUTPUT"
 ></OL
 >
   </P
+><P
+>   Finished docs should be occasionally submitted to CVS
+   (<TT
+CLASS="FILENAME"
+>doc/webserver/*/*.html</TT
+>) so that those without 
+   the ability to build them locally, have access to them if needed.
+   This is especially important just prior to a new release! Please
+   do this <I
+CLASS="EMPHASIS"
+>after</I
+> the <TT
+CLASS="LITERAL"
+>$VERSION</TT
+> and
+   other release specific data in <TT
+CLASS="FILENAME"
+>configure.in</TT
+> has been
+   updated (this is done just prior to a new release).
+  </P
 ><DIV
 CLASS="SECT2"
 ><H2
@@ -365,7 +386,7 @@ CLASS="EMPHASIS"
 ><TD
 >  <I
 CLASS="EMPHASIS"
->&#60;literallayout&#62;&#60;/literllayout&#62;</I
+>&#60;literallayout&#62;&#60;/literallayout&#62;</I
 >, like 
   <TT
 CLASS="LITERAL"
@@ -377,7 +398,7 @@ CLASS="LITERAL"
 ><TD
 >  <I
 CLASS="EMPHASIS"
->&#60;itemizedlist&#62;&#60;/itemizdelist&#62;</I
+>&#60;itemizedlist&#62;&#60;/itemizedlist&#62;</I
 >, list with bullets.
  </TD
 ></TR
@@ -516,13 +537,14 @@ CLASS="LITERALLAYOUT"
 ><LI
 ><P
 >     We have an international audience. Refrain from slang, or English 
-     idiosyncrasies (too many to list :).
+     idiosyncrasies (too many to list :). Humor also does not translate 
+     well sometimes.
    </P
 ></LI
 ><LI
 ><P
 >    Try to keep overall line lengths in source files to 80 characters or less
-    for obvious reasons. This is not always possible, with lenghty URLs for
+    for obvious reasons. This is not always possible, with lengthy URLs for
     instance.
    </P
 ></LI
@@ -573,7 +595,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN179"
+NAME="AEN185"
 >4.3. Privoxy Custom Entities</A
 ></H2
 ><P
@@ -629,7 +651,7 @@ CLASS="APPLICATION"
 ><UL
 ><LI
 ><P
->    Re-cyclable <SPAN
+>    Re- <SPAN
 CLASS="QUOTE"
 >"boilerplate"</SPAN
 > text entities are defined like:
@@ -678,7 +700,7 @@ CLASS="APPLICATION"
 > 
     version string, e.g. <SPAN
 CLASS="QUOTE"
->"2.9.13"</SPAN
+>"2.9.14"</SPAN
 >.
    </TD
 ></TR
@@ -690,13 +712,13 @@ CLASS="EMPHASIS"
 >: the project status, either 
     <SPAN
 CLASS="QUOTE"
->"ALPHA"</SPAN
+>"alpha"</SPAN
 >, <SPAN
 CLASS="QUOTE"
->"BETA"</SPAN
+>"beta"</SPAN
 >, or <SPAN
 CLASS="QUOTE"
->"STABLE"</SPAN
+>"stable"</SPAN
 >.
    </TD
 ></TR
@@ -711,7 +733,7 @@ CLASS="QUOTE"
 >"not stable"</SPAN
 > releases (e.g. <SPAN
 CLASS="QUOTE"
->"BETA"</SPAN
+>"beta"</SPAN
 >).
    </TD
 ></TR
index b2fcbfc..0d67720 100644 (file)
@@ -49,7 +49,7 @@ CLASS="ORGNAME"
 ></DIV
 ><P
 CLASS="PUBDATE"
->$Id: developer-manual.sgml,v 1.28 2002/04/08 22:59:26 hal9 Exp $<BR></P
+>$Id: developer-manual.sgml,v 1.31 2002/04/11 09:32:52 oes Exp $<BR></P
 ><DIV
 ><DIV
 CLASS="ABSTRACT"
@@ -115,7 +115,12 @@ HREF="http://www.privoxy.org/developer-manual/"
 TARGET="_top"
 >http://www.privoxy.org/developer-manual/</A
 >.
- Please see the Contact section on how to contact the developers.</P
+ Please see <A
+HREF="contact.html"
+TARGET="_top"
+>the Contact section</A
+> 
+ on how to contact the developers.</P
 ><P
 ></P
 ></DIV
@@ -165,7 +170,7 @@ CLASS="APPLICATION"
 ></DT
 ><DT
 >4.3. <A
-HREF="documentation.html#AEN179"
+HREF="documentation.html#AEN185"
 >Privoxy Custom Entities</A
 ></DT
 ></DL
@@ -440,7 +445,7 @@ HREF="coding.html#S44"
 >5.7.10. <A
 HREF="coding.html#S45"
 >"Uncertain" new code and/or changes to
-    exitinst code, use FIXME</A
+    existing code, use FIXME</A
 ></DT
 ></DL
 ></DD
@@ -564,12 +569,12 @@ HREF="copyright.html"
 ><DL
 ><DT
 >10.1. <A
-HREF="copyright.html#AEN940"
+HREF="copyright.html#AEN957"
 >Copyright</A
 ></DT
 ><DT
 >10.2. <A
-HREF="copyright.html#AEN947"
+HREF="copyright.html#AEN964"
 >History</A
 ></DT
 ></DL
index 9e364c9..1a11094 100644 (file)
@@ -4,7 +4,8 @@
 >Releasing a new version</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.60"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><LINK
 REL="HOME"
 TITLE="Privoxy Developer Manual"
 HREF="index.html"><LINK
@@ -73,7 +74,7 @@ NAME="NEWRELEASE"
 >8. Releasing a new version</A
 ></H1
 ><P
->      To minimize trouble with distribution contents, webpage
+>      To minimize trouble with distribution contents, web-page
        errors and the like, we strongly encourage you
        to follow this section if you prepare a new release of
        code or new pages on the webserver.
@@ -130,7 +131,7 @@ CLASS="QUOTE"
 CLASS="FILENAME"
 >configure.in</TT
 > in
-         CVS. Also, inrease or reset the RPM release number in
+         CVS. Also, increase or reset the RPM release number in
          <TT
 CLASS="FILENAME"
 >configure.in</TT
@@ -153,8 +154,11 @@ CLASS="FILENAME"
 ></LI
 ><LI
 ><P
->        If the default actionsfile has changed since last release,
-        bump up its version info in this line:
+>        If the default <TT
+CLASS="FILENAME"
+>actionsfile</TT
+> has changed since last
+        release, bump up its version info in this line:
        </P
 ><P
 > 
@@ -206,14 +210,14 @@ CLASS="COMMAND"
         <SPAN
 CLASS="QUOTE"
 >"tarball"</SPAN
-> release. This is built with the
-        <SPAN
+> release, as required by the GPL. This is built
+        with the <SPAN
 CLASS="QUOTE"
 >"<B
 CLASS="COMMAND"
 >make tarball-dist</B
 >"</SPAN
-> Makefile 
+> Makefile
         target, and then can be uploaded with 
         <SPAN
 CLASS="QUOTE"
@@ -238,10 +242,10 @@ NAME="NEWRELEASE-WEB"
 ></H2
 ><P
 >      All files must be group-readable and group-writable (or no one else
-       will be able to change them). To update the webserver, create any
+       will be able to change them)! To update the webserver, create any
        pages locally in the <TT
 CLASS="FILENAME"
->doc/webserver</TT
+>doc/webserver/*</TT
 > directory (or
        create new directories under <TT
 CLASS="FILENAME"
@@ -265,6 +269,9 @@ CLASS="PROGRAMLISTING"
 >
        </P
 ><P
+>      This will do the upload to the webserver (www.privoxy.org).      
+     </P
+><P
 >      Note that <SPAN
 CLASS="QUOTE"
 >"<B
@@ -293,10 +300,32 @@ CLASS="FILENAME"
 > and
        <TT
 CLASS="FILENAME"
->doc/webserver/man-page</TT
+>doc/webserver/index.html</TT
 > automatically.
+     (<TT
+CLASS="FILENAME"
+>doc/webserver/man-page/privoxy-man-page.html</TT
+>
+     is created by a separate Makefile target, <SPAN
+CLASS="QUOTE"
+>"<B
+CLASS="COMMAND"
+>make
+     man</B
+>"</SPAN
+>, due to dependencies on some obscure perl scripts. 
+     See comments in <TT
+CLASS="FILENAME"
+>GNUmakefile</TT
+>.)
       </P
 ><P
+> 
+      Someone should also commit these to CVS so that packagers without the
+      ability to build docs locally, have access to them. This is a separate
+      step, and should also be done before each official release.
+     </P
+><P
 >      Please do NOT use any other means of transferring files to the
       webserver. <SPAN
 CLASS="QUOTE"
@@ -388,7 +417,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make suse-upload or make redhat-upload
+>  make suse-upload (or make redhat-upload)
        </PRE
 ></TD
 ></TR
index 7f0a9f1..08fecf2 100644 (file)
@@ -89,7 +89,7 @@ following guidelines for changing stuff in the code. If it is
 TYPE="1"
 ><LI
 ><P
->              A bugfix / clean-up / cosmetic thing: shoot
+>              A bug-fix / clean-up / cosmetic thing: shoot
                        </P
 ></LI
 ><LI