replaced tabs to spaces
tho [Fri, 22 Feb 2008 10:18:35 +0000 (10:18 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@706 270642c3-0616-0410-b53a-bc976706d245

25 files changed:
Doxyfile
Examples/RateStuffer/Doxyfile
Examples/Sniffer/Doxyfile
HowTos/NewPacket/Doxyfile
PPI/Doxyfile
Packets/DefaultBundle/Doxyfile
Packets/Doxyfile
Packets/MPEGDVBBundle/Doxyfile
Scheduler/Doxyfile
Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh
Socket/Protocols/INet/ConnectedUDPSocketHandle.hh
Socket/Protocols/INet/RawINetSocketHandle.hh
Socket/Protocols/Raw/PacketSocketHandle.hh
Utils/Logger/Doxyfile
Utils/Logger/Target.hh
admin/build.sh
doclib/dot
doclib/dot-munge.pl
doclib/filter.pl
doclib/fix-links.py
doclib/search_functions.php
doclib/senf.css
find-sources.sh
run-test-gdb.sh
senfscons/functions.xsl

index 2aee5f4..c671589 100644 (file)
--- a/Doxyfile
+++ b/Doxyfile
@@ -8,9 +8,9 @@ GENERATE_XML = NO
 GENERATE_TAGFILE = doc/overview.tag
 
 TAGFILES = \
-       "$(TOPDIR)/PPI/doc/PPI.tag" \
-       "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/PPI/doc/PPI.tag" \
+    "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
index 255693d..a9ffe3f 100644 (file)
@@ -5,8 +5,8 @@ ALPHABETICAL_INDEX = NO
 EXAMPLE_PATH = .
 
 TAGFILES = \
-       "$(TOPDIR)/PPI/doc/PPI.tag" \
-       "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/PPI/doc/PPI.tag" \
+    "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
index ff66a7c..b091ca8 100644 (file)
@@ -4,10 +4,9 @@ PROJECT_NAME = Sniffer
 EXAMPLE_PATH = .
 
 TAGFILES = \
-       "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag" \
+    "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag" \
     "$(TOPDIR)/doc/overview.tag"
-       
\ No newline at end of file
index 2db633e..ea46e15 100644 (file)
@@ -4,9 +4,9 @@ PROJECT_NAME = NewPacket
 EXAMPLE_PATH = .
 
 TAGFILES = \
-       "$(TOPDIR)/PPI/doc/PPI.tag" \
-       "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/PPI/doc/PPI.tag" \
+    "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
index f3257c5..276da6c 100644 (file)
@@ -6,7 +6,7 @@ RECURSIVE = Yes
 SHOW_DIRECTORIES = Yes
 
 TAGFILES = \
-       "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/Scheduler/doc/Scheduler.tag" \
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
index 49d702b..56fde27 100644 (file)
@@ -6,7 +6,6 @@ INPUT = .
 ALPHABETICAL_INDEX = NO
 
 TAGFILES = \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag" 
-
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag" 
index 8897c7f..e6c18b9 100644 (file)
@@ -6,5 +6,5 @@ INPUT = .
 EXAMPLE_PATH = . DefaultBundle
 
 TAGFILES = \
-       "$(TOPDIR)/Utils/doc/Utils.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" 
+    "$(TOPDIR)/Utils/doc/Utils.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" 
index e67ad83..02bc421 100644 (file)
@@ -6,8 +6,8 @@ INPUT = .
 ALPHABETICAL_INDEX = NO
 
 TAGFILES = \
-       "$(TOPDIR)/Packets/doc/Packets.tag" \
-       "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/Packets/doc/Packets.tag" \
+    "$(TOPDIR)/Packets/DefaultBundle/doc/DefaultBundle.tag" \
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
 
index a189e8d..bba9b50 100644 (file)
@@ -5,5 +5,5 @@ GENERATE_TAGFILE = doc/Scheduler.tag
 ALPHABETICAL_INDEX = NO
 
 TAGFILES = \
-       "$(TOPDIR)/Socket/doc/Socket.tag" \
-       "$(TOPDIR)/Utils/doc/Utils.tag"
+    "$(TOPDIR)/Socket/doc/Socket.tag" \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
index eecde8e..00c2efe 100644 (file)
@@ -77,7 +77,7 @@ namespace senf {
         : public ConcreteSocketProtocol<ConnectedRawV4Socket_Policy, ConnectedRawV4SocketProtocol>,
           public RawINetSocketProtocol,
           public BSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public AddressableBSDSocketProtocol
     {
     public:
@@ -145,7 +145,7 @@ namespace senf {
         : public ConcreteSocketProtocol<ConnectedRawV6Socket_Policy, ConnectedRawV6SocketProtocol>,
           public RawINetSocketProtocol,
           public BSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public AddressableBSDSocketProtocol
     {
     public:
index f1b9106..cfc205c 100644 (file)
@@ -80,7 +80,7 @@ namespace senf {
         : public ConcreteSocketProtocol<ConnectedUDPv4Socket_Policy, ConnectedUDPv4SocketProtocol>,
           public UDPSocketProtocol,
           public BSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public AddressableBSDSocketProtocol
     {
     public:
@@ -139,7 +139,7 @@ namespace senf {
         : public ConcreteSocketProtocol<ConnectedUDPv6Socket_Policy, ConnectedUDPv6SocketProtocol>,
           public UDPSocketProtocol,
           public BSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public AddressableBSDSocketProtocol
     {
     public:
index 363b38e..4be6a44 100644 (file)
@@ -78,7 +78,7 @@ namespace senf {
           public RawINetSocketProtocol,
           public BSDSocketProtocol,
           public AddressableBSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public INet4MulticastSocketProtocol
     {
     public:
@@ -145,7 +145,7 @@ namespace senf {
           public RawINetSocketProtocol,
           public BSDSocketProtocol,
           public AddressableBSDSocketProtocol,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public INet6MulticastSocketProtocol
     {
     public:
index 56aaadb..51f85c8 100644 (file)
@@ -76,7 +76,7 @@ namespace senf {
      */
     class PacketSocketProtocol
         : public ConcreteSocketProtocol<Packet_Policy, PacketSocketProtocol>,
-         public DatagramSocketProtocol,
+          public DatagramSocketProtocol,
           public BSDSocketProtocol
     {
     public:
index 15f2a11..43aa66a 100644 (file)
@@ -3,3 +3,6 @@
 PROJECT_NAME = Logger
 GENERATE_TAGFILE = doc/Logger.tag
 ALPHABETICAL_INDEX = NO
+
+TAGFILES = \
+    "$(TOPDIR)/Utils/doc/Utils.tag"
\ No newline at end of file
index cbb72c5..3d1f055 100644 (file)
@@ -428,9 +428,9 @@ namespace log {
         virtual boost::posix_time::ptime operator()() const;
     };
 
-    /** \brief Change log message time source
+    /** \brief Change %log message time source
 
-        Set the log message time source to \a source. The logging library will take ownership of \e
+        Set the %log message time source to \a source. The logging library will take ownership of \e
         source and will take care to free it, if necessary.
 
         Since the time source class will in almost all cases be default constructible, see the
@@ -440,9 +440,9 @@ namespace log {
      */
     void timeSource(std::auto_ptr<TimeSource> source);
 
-    /** \brief Change log message time source
+    /** \brief Change %log message time source
 
-        Set the log message time source to (an instance of) \a Source.  \a Source must be default
+        Set the %log message time source to (an instance of) \a Source.  \a Source must be default
         constructible, otherwise use the non-template senf::log::timeSource() overload.
 
         \ingroup config
index cd69e9b..da3706f 100755 (executable)
@@ -45,18 +45,18 @@ fi
 
 echo -n '# Upload started at '; date --utc
 rsync -rzv --del --delete-excluded \
-       --filter="- .svn" \
-       --filter="- linklint" \
-       --filter="- debian" \
-       --filter="+ */" \
-       --filter="+ *.html" \
-       --filter="+ *.css" \
-       --filter="+ *.png" \
-       --filter="+ *.php" \
-       --filter="+ *.idx" \
-       --filter="+ *.log" \
-       --filter="- *" \
-       . g0dil@shell.berlios.de://home/groups/senf/htdocs/src
+    --filter="- .svn" \
+    --filter="- linklint" \
+    --filter="- debian" \
+    --filter="+ */" \
+    --filter="+ *.html" \
+    --filter="+ *.css" \
+    --filter="+ *.png" \
+    --filter="+ *.php" \
+    --filter="+ *.idx" \
+    --filter="+ *.log" \
+    --filter="- *" \
+    . g0dil@shell.berlios.de://home/groups/senf/htdocs/src
 echo -n '# Upload completed at '; date --utc
 
 exec >/dev/null 2>&1
index d0ccf86..d181567 100755 (executable)
@@ -6,9 +6,9 @@ sed -i -e 's/rankdir=LR/rankdir=TB/' "$1"
 
 case "$2" in
     -Tpng:gd)
-       first="$1"; shift; shift
-       set -- "$first" "-Tpng" "$@"
-       ;;
+    first="$1"; shift; shift
+    set -- "$first" "-Tpng" "$@"
+    ;;
     *)
 esac
 
@@ -18,28 +18,28 @@ dot "$@"
 
 case "$4" in
     *.png)
-       if [ -r "$4" ]; then
-           size="`pngtopnm "$4" | sed -n -e '2p'`"
-           width_a="${size% *}"
-           height_a="${size#* }"
-           if [ $width_a -gt 800 ]; then
-               for file in "${1%.dot}".*; do
-                   cp "$file" "$file.a"
-               done
-               sed -e 's/rankdir=LR/rankdir=TB/' -e t -e 's/rankdir=TB/rankdir=LR/' "$1.a" > "$1"
-               dot "$@"
-               size="`pngtopnm "$4" | sed -n -e '2p'`"
-               width_b="${size% *}"
-               height_b="${size#* }"
-               if [ $width_a -lt $width_b ]; then
-                   for file in "${1%.dot}".*.a; do
-                       mv "$file" "${file%.a}"
-                   done
-               else
-                   rm "${1%.dot}".*.a
-               fi
-           fi
-       fi
-       ;;
+    if [ -r "$4" ]; then
+        size="`pngtopnm "$4" | sed -n -e '2p'`"
+        width_a="${size% *}"
+        height_a="${size#* }"
+        if [ $width_a -gt 800 ]; then
+            for file in "${1%.dot}".*; do
+                cp "$file" "$file.a"
+            done
+            sed -e 's/rankdir=LR/rankdir=TB/' -e t -e 's/rankdir=TB/rankdir=LR/' "$1.a" > "$1"
+            dot "$@"
+            size="`pngtopnm "$4" | sed -n -e '2p'`"
+            width_b="${size% *}"
+            height_b="${size#* }"
+            if [ $width_a -lt $width_b ]; then
+                for file in "${1%.dot}".*.a; do
+                mv "$file" "${file%.a}"
+                done
+            else
+                rm "${1%.dot}".*.a
+            fi
+        fi
+    fi
+    ;;
     *)  ;;
 esac
index 6214e48..263b44e 100755 (executable)
@@ -20,15 +20,15 @@ if (/label=\"([^"]{48,})\"/) {                              #"])){ # To make ema
 
     # If at least one break is in there ...
     if ($label=~/\\r/) {
-       # If it's a pathname, make all but the last line flush left
-       # Otherwise only make first line flush left
-       if ($label=~m{/}) {
-           $label=~s/\\r(\\ )*/\\ \\ \\ \\ \\ \\ \\ \\ \\l/g;
-           # Re-add blanks before last line
-           $label=~s/^.*\\l/$&\\ \\ \\ \\ \\ \\ \\ \\ /;
-       } else {
-           $label=~s/\\r/\\ \\ \\ \\ \\ \\ \\ \\ \\l/;
-       }
+    # If it's a pathname, make all but the last line flush left
+    # Otherwise only make first line flush left
+    if ($label=~m{/}) {
+        $label=~s/\\r(\\ )*/\\ \\ \\ \\ \\ \\ \\ \\ \\l/g;
+        # Re-add blanks before last line
+        $label=~s/^.*\\l/$&\\ \\ \\ \\ \\ \\ \\ \\ /;
+    } else {
+        $label=~s/\\r/\\ \\ \\ \\ \\ \\ \\ \\ \\l/;
+    }
         # Make last line flush right
         $label.="\\r";
     }
index 6a022e2..14ad930 100755 (executable)
@@ -2,7 +2,7 @@
 
 BEGIN {
     ($topdir=$0) =~ s{doclib/.*$}{};
-                     print $topdir,"\n";
+    print $topdir,"\n";
 }
 
 s/\s*$//;
index 27ee4d5..2fe5db6 100644 (file)
@@ -232,8 +232,7 @@ class LinkFixer:
     
 (opts, args) = getopt.getopt(sys.argv[1:], "vs:")
 if len(args) != 2:
-    sys.stderr.write("""Usage:
-       fix-links.py [-s skip-dir]... <errrorX.txt> <errorAX.txt>
+    sys.stderr.write("""Usage: fix-links.py [-s skip-dir]... <errrorX.txt> <errorAX.txt>
 
 Process the 'errorX.txt' and 'errorAX.txt' files as generated by
 'linklint': Check all invalid links and try to find the correct
index d78c6a7..9a05010 100644 (file)
@@ -318,7 +318,7 @@ function search()
   $files = array();
   $j=0;
   for ($i=0; $i<sizeof($paths); $i++) {
-       if (!($f=@fopen($paths[$i]."search.idx","rb"))) 
+    if (!($f=@fopen($paths[$i]."search.idx","rb"))) 
     {
       die("Error: Search index file could NOT be opened!");
       continue;
index c11bc75..5ca92c1 100644 (file)
@@ -255,9 +255,9 @@ table.packet {
         border: 1px solid #AAAAAA;
         padding: 2px;
         border-spacing: 0;
-               white-space: nowrap;
-               text-align: center;
-               table-layout: fixed; 
+        white-space: nowrap;
+        text-align: center;
+        table-layout: fixed; 
 }
 
 table.packet td,th {
@@ -269,7 +269,7 @@ table.packet td,th {
 table.packet th {
         background-color: white;
         text-align: left;
-               font-weight: normal;
+        font-weight: normal;
         padding: 0px;
 }
 
@@ -486,14 +486,14 @@ table.members td:first-child {
 }
 
 div.toc {
-       width: 25%;
+        width: 25%;
         margin: 10px 0px;
 }
 
 div.toc ol {
         padding: 0px;
         margin: 0pt 0pt 0pt 40px;
-       list-style-type: decimal;
+        list-style-type: decimal;
 }
 
 div.toc li {
index 9797c70..268aede 100755 (executable)
@@ -2,7 +2,7 @@
 
 if [ -z "$1" ]; then
     echo "Usage:"
-    echo "     $0 [-c] <commands>"
+    echo "  $0 [-c] <commands>"
     echo
     echo "-c Only list C/C++ source files"
     echo
@@ -20,18 +20,17 @@ fi
 set -f
 
 find . \
-       -name .svn -prune -o \
-       -name doc -prune -o \
-       -name debian -prune -o \
-       -name "*.a" -o \
-       -name "*.o" -o \
-       -name "*~" -o \
-       -name "#*#" -o \
-       -name "*.pyc" -o \
-       -name .test.bin -o \
-       -name "*.stamp" -o \
-       -name ".sconsign*" -o \
-       -name "semantic.cache" -o \
-       -name "all_includes.hh" -o \
+    -name .svn -prune -o \
+    -name doc -prune -o \
+    -name debian -prune -o \
+    -name "*.a" -o \
+    -name "*.o" -o \
+    -name "*~" -o \
+    -name "#*#" -o \
+    -name "*.pyc" -o \
+    -name .test.bin -o \
+    -name "*.stamp" -o \
+    -name ".sconsign*" -o \
+    -name "semantic.cache" -o \
+    -name "all_includes.hh" -o \
     -type f $cond \( "$@" \)
-
index 7fa122a..fd75fa8 100755 (executable)
@@ -67,15 +67,15 @@ gdb -batch -x .run-test-gdb.cmd ./.test.bin 2>&1 | perl -e '
         if (/: fatal error in /) {
           print "\n";
           for (@l[1..$#l]) {
-             last if /^#[0-9]+ +0x[0-9a-f]+ in boost::unit_test::ut_detail::invoker/;
-             if ($silent) {
-              unless (/at \/usr\/lib\/gcc\//) {
-                print;
-                $silent=0;
-              }
-             } else {
-               print unless /in \?\?/;
-               $silent=1 if /__gnu_debug::/;
+            last if /^#[0-9]+ +0x[0-9a-f]+ in boost::unit_test::ut_detail::invoker/;
+            if ($silent) {
+              unless (/at \/usr\/lib\/gcc\//) {
+                print;
+                $silent=0;
+              }
+            } else {
+              print unless /in \?\?/;
+              $silent=1 if /__gnu_debug::/;
              }
           }
           print;
index f0c5c4d..b711cc3 100644 (file)
@@ -8,7 +8,7 @@
   extension-element-prefixes="str exsl func">\r
   \r
 <func:function name="str:split">\r
-       <xsl:param name="string" select="''" />\r
+  <xsl:param name="string" select="''" />\r
   <xsl:param name="pattern" select="' '" />\r
   <xsl:choose>\r
     <xsl:when test="not($string)">\r