various minor changes (adding missing id's to sections, changed some phrases, ...)
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 1 Sep 2004 13:50:02 +0000 (13:50 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 1 Sep 2004 13:50:02 +0000 (13:50 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11875 f5534014-38df-0310-8fa8-9805f1628bb7

docbook/developer-guide.xml
docbook/dg-src/EDG_chapter_dissection.xml
docbook/dg-src/EDG_chapter_env_intro.xml
docbook/dg-src/EDG_chapter_libraries.xml
docbook/dg-src/EDG_chapter_sources.xml
docbook/dg-src/EDG_chapter_tools.xml

index 78d75a08f511adb4e8e1f0b9c3238afc70369db1..90b2416f1850e6cab42282c28a1f9690834bb939 100644 (file)
@@ -87,14 +87,20 @@ FILE SECTION
 <title>Ethereal Build Environment</title>
 <partintro>
 <para>
-This is the first of two parts:
+<command>Part I. Ethereal Build Environment</command>
 </para>
 <para>
-<command>Part I. Ethereal Build Environment</command>
+<command>The first part describes how to set up the tools, libraries and 
+source needed to generate Ethereal, and how to do some typical development 
+tasks.</command>
 </para>
 <para>
 Part II. Ethereal Development
 </para>
+<para>
+The second part describes how the Ethereal sources are structured and how 
+to change the sources (e.g. adding a new dissector).
+</para>
 </partintro>
 &EnvIntroduction;
 &Tools;
@@ -102,17 +108,25 @@ Part II. Ethereal Development
 &Sources;
 </part>
 <part id="PartDevelopment" label="II">
-<title>Ethereal Development</title>
+<title>Ethereal Development (incomplete)</title>
 <partintro>
-<para>
+<!--<para>
 This is the second of two parts:
-</para>
+</para>-->
 <para>
 Part I. Ethereal Build Environment
 </para>
 <para>
+The first part describes how to set up the tools, libraries and source needed 
+to generate Ethereal, and how to do some typical development tasks.
+</para>
+<para>
 <command>Part II. Ethereal Development</command>
 </para>
+<para>
+<command>The second part describes how the Ethereal sources are structured and how 
+to change the sources (e.g. adding a new dissector).</command>
+</para>
 </partintro>
 &BuildIntroduction;
 &Dissection;
index f315cfaad522f1d519ef525c05ce69c54e3ddab0..606701ef719a9785a425b9496061b8d17031056c 100644 (file)
@@ -4,14 +4,14 @@
 <chapter id="ChapterDissection">\r
   <title>Packet dissection</title>\r
   \r
-  <section id="ChDissWorks">\r
+  <section id="ChDissectWorks">\r
        <title>How it works</title>\r
        <para>\r
        XXX - well, how does it work?\r
        </para>\r
   </section>\r
 \r
-  <section id="ChDissAdd">\r
+  <section id="ChDissectAdd">\r
        <title>Adding a basic dissector</title>\r
        <para>\r
        The steps to add a new dissector (including some skeleton code) can be \r
@@ -19,7 +19,7 @@
        </para>\r
   </section>\r
 \r
-  <section id="ChDissConversation">\r
+  <section id="ChDissectConversation">\r
        <title>How to use conversations</title>\r
        <para>\r
        Some info about how to use conversations in a dissector can be \r
index 83e70b2502fbc71a5040cfa37d0f81f1580f8711..0c40a90c3c068b7f05b7fd0666b886671a7d42b4 100644 (file)
   <section id="ChIntroWhatIs">
     <title>What is <application>Ethereal?</application></title>
     <para>
-       Well, if you want to develop some things into Ethereal, you might already 
+       Well, if you want to start Ethereal development, you might already 
        know what Ethereal is doing. If not, please have a look at the 
        <ulink url="&EtherealUsersGuidePage;">Ethereal User's Guide</ulink>, 
-       which will explain what Ethereal is doing and a lot more general 
-       information about it.
+       which will provide a lot of general information about it.
     </para>
                
   </section>
@@ -34,7 +33,7 @@
     <para>
        As Ethereal is developed in a platform independant way and uses libraries 
        which are available for a lot of different platforms (such as the GTK+ 
-       GUI library), it's available on a wide variety of platforms.
+       GUI library), it's available on a such a wide variety of platforms.
     </para>
     <para>
       If a binary package is not available for your platform, you should 
       There have also been a large number of people who have contributed 
       protocol dissectors to Ethereal, and it is expected that this will 
       continue.  You can find a list of the people who have contributed 
-      code to Ethereal by checking the about dialog box of Ethereal, or at 
-         the <ulink url="&EtherealAuthorsPage;">authors</ulink> page on the 
-      Ethereal web site.
+      code to Ethereal by checking the about dialog box of Ethereal, or have 
+         a look at the <ulink url="&EtherealAuthorsPage;"/> page on the Ethereal 
+         web site.
     </para>
     <para>
        The 
        will be sufficient for Ethereal development in almost any case.
     </para>
     <para>
-       So unless you are going to change the development process of Ethereal in 
+       So unless you are going to change the development process of Ethereal 
        itself, you won't come in touch with any other programming language than 
        ANSI C (such as perl or python, which are used only in the Ethereal build 
        process).
        <varlistentry><term><command>ethereal-users</command></term>
          <listitem>
            <para>
-             This list is for users of Ethereal.  People post 
+             This list is for users of Ethereal. People post 
              questions about building and using Ethereal, others (hopefully) 
                  provide answers. 
            </para>
        <varlistentry><term><command>ethereal-dev</command></term>
          <listitem>
            <para>
-             This list is for Ethereal developers. If you want to start 
-             developing a protocol dissector, join this list.
+             This list is for Ethereal developers. People post questions about 
+                 the development of Ethereal, others (hopefully) provide answers. 
+                 If you want to start developing a protocol dissector, join this list.
+           </para>
+         </listitem>
+       </varlistentry>
+       <varlistentry><term><command>ethereal-cvs</command></term>
+         <listitem>
+           <para>
+             This list is for Ethereal developers. Everytime a change to the SVN 
+                 repository is checked in, a mail to this mailing list is generated.
+                 If you want to be notified about all the changes to the SVN 
+                 repository, join this list. Details about the SVN repository can be 
+                 found in <xref linkend="ChSrcSVNServer"/>.
            </para>
          </listitem>
        </varlistentry>
index 980c105b77339e5a055f8fd7c130ec47c1be4c07..7ead5009caafae62c3b220a718fb1501f4b2197c 100644 (file)
@@ -4,7 +4,7 @@
 <chapter id="ChapterLibraries">
   <title>Libraries</title>
   
-  <section>
+  <section id="ChLibIntro">
        <title>Introduction</title>
        <para>
        Several libraries are needed to build / run Ethereal. Most of the
        libraries.
        </para>
        
-       <section>
+       <section id="ChLibsUnixGTK">
        <title>Unix: ...</title>
        <para>
        Unix: <ulink url="http://www.gtk.org"/>
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWin32GTK">
        <title>Win32 native: ...</title>
        <para>
        Win32 native: <ulink url="http://www.gimp.org/%7Etml/gimp/win32/downloads.html"/>
        "Various tools relating to the Simple Network Management Protocol"
        </para>
        
-       <section>
+       <section id="ChLibsUnixSNMP">
        <title>Unix: Net SNMP</title>
        <para>
        Unix: XXX: where to find the right binaries?
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWin32SNMP">
        <title>Win32 native: Net SNMP</title>
        <para>
        Win32 native: XXX: where to find the right binaries?
 utilities."
        </para>
        
-       <section>
+       <section id="ChLibsUnixADNS">
        <title>Unix: GNU ADNS</title>
        <para>
        Unix: XXX: where to find the right binaries?
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWin32ADNS">
        <title>Win32 native: GNU ADNS</title>
        <para>
        Win32 native: <ulink url="http://adns.jgaa.com/"/>
@@ -166,14 +166,14 @@ utilities."
        "Perl compatible regular expressions"
        </para>
        
-       <section>
+       <section id="ChLibsUnixPCRE">
        <title>Unix: PCRE</title>
        <para>
        Unix: XXX: where to find the right binaries?
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWin32PCRE">
        <title>Win32 native: PCRE</title>
        <para>
        Win32 native: <ulink url="http://gnuwin32.sourceforge.net/packages/pcre.htm"/>
@@ -193,14 +193,14 @@ utilities."
        hardware and operating system."
        </para>
 
-       <section>
+       <section id="ChLibsUnixZlib">
        <title>Unix: zlib</title>
        <para>
        Unix: XXX: where to find the right binaries?
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWin32Zlib">
        <title>Win32 native: zlib</title>
        <para>
        Win32 native: <ulink url="http://www.gzip.org/zlib/"/>
@@ -210,20 +210,20 @@ utilities."
   </section>
   
   
-  <section id="ChLibsWinpPcap">
+  <section id="ChLibsPcap">
        <title>libpcap/WinPcap (optional)</title>
        <para>
        "packet capture library"
        </para>
        
-       <section>
+       <section id="ChLibsLibpcap">
        <title>Unix: libpcap</title>
        <para>
        Unix: XXX
        </para>
        </section>
 
-       <section>
+       <section id="ChLibsWinpPcap">
        <title>Win32 native: WinPcap</title>
        <para>
        "Windows packet capture library"
@@ -237,25 +237,15 @@ utilities."
 
 
   <section id="ChLibsWimp">
-       <title>Win32: GTK WIMP (optional)</title>
+       <title>Win32: GTK WIMP (optional) for GTK 2.x only</title>
        <para>
        "GTK-Wimp ("Windows impersonator") is a GTK theme that blends well into
        the Windows desktop environment."
        </para>
-
-       <section>
-       <title>Unix: -</title>
-       <para>
-       </para>
-       </section>
-
-       <section>
-       <title>Win32 native: WIMP (for GTK2.x only)</title>
        <para>
        Wimp is only available for the GTK2.x versions at: 
-       <ulink url="http://gtk-wimp.sourceforge.net/"/>
+       <ulink url="http://gtk-wimp.sourceforge.net/"/>.
        </para>
-       </section>
 
   </section>
 
index a1933b79a9755a1f9850a374686d99355d4b8e55..05686d5e4c2923f41175e8c214dd8d27177bb6ee 100644 (file)
        track of the changes made to the source code.
        </para>
        <para>
-       The svn server makes it possible to get the source files from any previous 
-       release, see which person changed a specific piece of code, and a lot more 
-       things related to the history of the Ethereal source code development.
+       Using the SVN repository you can:
+       <itemizedlist>
+       <listitem><para>
+       keep your private sources uptodate with very little effort
+       </para></listitem>
+       <listitem><para>
+       get a mail notification if someone changes the latest sources
+       </para></listitem>
+       <listitem><para>
+       get the source files from any previous release (or any other point in time)
+       </para></listitem>
+       <listitem><para>
+       have a quick look at the sources using a web interface
+       </para></listitem>
+       <listitem><para>
+       see which person changed a specific piece of code
+       </para></listitem>
+       <listitem><para>
+       ... and a lot more things related to the history of the Ethereal source 
+       code development
+       </para></listitem>
+       </itemizedlist>
        </para>
        <para>
-       There are several ways to have a look at and obtain the sources from this 
-       server. Please note that the anonymous SVN repository is separate from 
+       For further reference about subversion, have a look at the homepage of the 
+       subversion project: <ulink url="http://subversion.tigris.org/"/>. There 
+       is a book about it available at: <ulink url="http://svnbook.red-bean.com/"/>.
+       </para>
+       <para>
+       Please note that the anonymous SVN repository is separate from 
        the main repository. It may take several minutes for committed changes to 
        appear in the anonymous repository. XXX - be more specific here.
        </para>
        CVS in the Ethereal documentation and source files.
        </para>
        </tip>
-       <para>
-       For further reference about subversion, have a look at the homepage of the 
-       subversion project: <ulink url="http://subversion.tigris.org/"/>. There 
-       is a book about it available at: <ulink url="http://svnbook.red-bean.com/"/>.
-       </para>
   </section>
        
   <section id="ChSrcQuickLook">
@@ -666,9 +684,11 @@ diff -ur ../ethereal-0.10.6/epan/dissectors/packet-dcerpc.c ./epan/dissectors/pa
        If they're relative to a higher-level directory, you'd replace 0 with the 
        number of higher-level directories in the path, e.g. if the names are 
        "ethereal.orig/prefs.c" and "ethereal.mine/prefs.c", you'd run it with:
+       </para>
        <para>
     <userinput>patch -p1 &lt;new.diff</userinput>
        </para>
+       <para>
        If they're relative to a <command>subdirectory</command> of the top-level 
        directory, you'd run "patch" in <command>that</command> directory and run 
        it with "-p0".
index 53a24d2a4ae5e8017fca00cbda0b49895eb1d6ad..009aad075ac5c7dc5fadcf43a2c9fa2e08b5d006 100644 (file)
@@ -96,7 +96,7 @@
        The bash shell is needed to run several shell scripts.
        </para>
        
-       <section>
+       <section id="ChToolsGNUBash">
        <title>Unix: GNU bash</title>
        <para>
        The bash is available for most of the unix-like platforms and as the 
@@ -118,7 +118,7 @@ Copyright (C) 2002 Free Software Foundation, Inc.]]>
        </para>
        </section>
        
-       <section>
+       <section id="ChToolsWin32Bash">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native bash implementation.
@@ -130,8 +130,7 @@ Copyright (C) 2002 Free Software Foundation, Inc.]]>
        <section id="ChToolsCompiler">
        <title>C compiler</title>
        
-       <section>
-
+       <section id="ChToolsGCC">
        <title>Unix: GCC (GNU compiler collection)</title>
        <note><title>Win32 Note!</title>
        <para>
@@ -162,7 +161,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        </para>
        </section>
         
-       <section>
+       <section id="ChToolsMSVC6">
        <title>Win32 native: Microsoft Visual Studio version 6 C compiler</title>
        <para>
        <note><title>Note!</title>
@@ -195,13 +194,13 @@ Verwendung: cl [ Option... ] Dateiname... [ /link Linker-Option... ]]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsMSVC7">
        <title>Win32 native: Microsoft Visual Studio .NET (and alike) C compilers
        </title>
        <para>
        <warning><title>Warning!</title>
        <para>
-       The more recent "Microsoft Visual Studio .NET" C compiler currently cannot 
+       The recent "Microsoft Visual Studio .NET" C compiler(s) currently cannot 
        be used to compile Ethereal!!!
        </para>
        </warning>
@@ -219,7 +218,7 @@ Verwendung: cl [ Option... ] Dateiname... [ /link Linker-Option... ]]]>
        Microsoft Visual C++ Toolkit 2003, freely available at: <ulink url="http://msdn.microsoft.com/visualc/vctoolkit2003/"/>
        </para></listitem>
        </itemizedlist>
-       All containing version 7 or later C compiler.
+       All containing version 7 or later of Microsoft's C compiler.
        </para>
        <para>
        It is reported that this compiler requires to ship a MSVCRT70.dll together 
@@ -229,10 +228,10 @@ Verwendung: cl [ Option... ] Dateiname... [ /link Linker-Option... ]]]>
        </para>
        <para>
        Example why this hurts: A dependant library might try to open a file using 
-       functions in MSVCRT.dll which creates a file handle and internally keeps 
+       functions in MSVCRT.dll which creates an internal file handle and keeps 
        information about that file. When Ethereal tries to read data from that 
-       file, it uses the functions from MSVCRT70.dll, which doesn't know about
-       that previously opened file and returns an error code.
+       file, it uses the functions from MSVCRT70.dll, which doesn't know anything 
+       about that previously opened file and returns an error code.
        </para>
        <para>
        There where also attempts to bring the compiler to use only the old 
@@ -245,7 +244,7 @@ Verwendung: cl [ Option... ] Dateiname... [ /link Linker-Option... ]]]>
        <note><title>Note!</title>
        <para>
        This isn't an Ethereal specific problem. Any software project trying to use
-       the new C compiler will have the problems described above!
+       the version 7 C compiler will have the problems described above!
        </para>
        </note>
        </section>
@@ -255,7 +254,7 @@ Verwendung: cl [ Option... ] Dateiname... [ /link Linker-Option... ]]]>
        <section id="ChToolsMake">
        <title>make</title>
 
-       <section>
+       <section id="ChToolsGNUmake">
        <title>Unix: GNU make</title>
        <note><title>Win32 Note!</title>
        <para>
@@ -286,7 +285,7 @@ PARTICULAR PURPOSE.]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsNmake">
        <title>Win32 native: nmake</title>
        <para>
        nmake is part of the Microsoft Visual Studio suite, see comment above.
@@ -331,7 +330,7 @@ Stop.]]]>
        fine.
        </para>
 
-       <section>
+       <section id="ChToolsUnixPython">
        <title>Unix: python</title>
        <para>
        Python is available for most of the unix-like platforms and as the 
@@ -354,7 +353,7 @@ Stop.]]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Python">
        <title>Win32 native: python</title>
        <para>
        Have a look at <ulink url="http://python.org/download/"/>
@@ -375,7 +374,7 @@ Stop.]]]>
        Perl is used to XXX. Perl version XXX and above should be working fine.
        </para>
 
-       <section>
+       <section id="ChToolsUnixPerl">
        <title>Unix: perl</title>
        <para>
        Perl is available for most of the unix-like platforms and as the 
@@ -406,7 +405,7 @@ Internet, point your browser at http://www.perl.com/, the Perl Home Page.]]>
 
        </section>
 
-       <section>
+       <section id="ChToolsWin32Perl">
        <title>Win32 native: perl</title>
        <para>
        A native Win32 perl package can be obtained from 
@@ -446,7 +445,7 @@ Built 18:08:02 Feb  4 2003
        process uses this to stamp version strings into various places.
        </para>
 
-       <section>
+       <section id="ChToolsUnixSed">
        <title>Unix: sed</title>
        <para>
        Sed is available for most of the unix-like platforms and as the 
@@ -471,7 +470,7 @@ to the extent permitted by law.]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Sed">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native sed implementation.
@@ -486,7 +485,7 @@ to the extent permitted by law.]]>
        Bison is a free implementation of yacc.
        </para>
 
-       <section>
+       <section id="ChToolsUnixYacc">
        <title>Unix: bison</title>
        <para>
        Bison is available for most of the unix-like platforms and as the 
@@ -512,7 +511,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Yacc">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native yacc/bison 
@@ -527,8 +526,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        <para>
        Flex is a free implementation of lexx.
        </para>
-       <section>
        
+       <section id="ChToolsUnixLexx">
        <title>Unix: flex</title>
        <para>
        Flex is available for most of the unix-like platforms and as the 
@@ -549,7 +548,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Lexx">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native lexx/flex 
@@ -584,7 +583,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        use the subversion client.
        </para>
 
-       <section>
+       <section id="ChToolsUnixSVN">
        <title>Unix: svn</title>
        <para>
        SVN is available for most of the unix-like platforms and as the 
@@ -612,7 +611,7 @@ This product includes software developed by CollabNet (http://www.Collab.Net/).
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsTortoiseSVN">
        <title>Win32 native: TortoiseSVN</title>
        <para>
        A good subversion client for Win32 can be found at: 
@@ -642,7 +641,7 @@ This product includes software developed by CollabNet (http://www.Collab.Net/).
        use the diff tool.
        </para>
 
-       <section>
+       <section id="ChToolsGNUDiff">
        <title>Unix: GNU diff</title>
        <para>
        Diff is available for most of the unix-like platforms and as the 
@@ -669,7 +668,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Diff">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native diff implementation.
@@ -698,7 +697,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]]>
        to use the patch tool.
        </para>
 
-       <section>
+       <section id="ChToolsUnixPatch">
        <title>Unix: patch</title>
        <para>
        Patch is available for most of the unix-like platforms and as the 
@@ -728,7 +727,7 @@ written by Larry Wall and Paul Eggert]]>
        </para>
        </section>
 
-       <section>
+       <section id="ChToolsWin32Patch">
        <title>Win32 native: -</title>
        <para>
        The authors don't know of any working win32 native patch implementation.