Reapply changes missed during the previous merge (duh ...)
g0dil [Mon, 16 Jul 2007 12:24:38 +0000 (12:24 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@314 270642c3-0616-0410-b53a-bc976706d245

48 files changed:
Packets/Packet.cc
Packets/Packet.cci
Packets/Packet.ct
Packets/Packet.cti
Packets/Packet.hh
Packets/Packet.test.cc
Packets/PacketData.cc
Packets/PacketData.cci
Packets/PacketData.cti
Packets/PacketData.hh
Packets/PacketData.test.cc
Packets/PacketImpl.cc
Packets/PacketImpl.cci
Packets/PacketImpl.cti
Packets/PacketImpl.hh
Packets/PacketImpl.test.cc
Packets/PacketInterpreter.cc
Packets/PacketInterpreter.cci
Packets/PacketInterpreter.ct
Packets/PacketInterpreter.cti
Packets/PacketInterpreter.hh
Packets/PacketInterpreter.test.cc
Packets/PacketParser.cci
Packets/PacketParser.cti
Packets/PacketParser.hh
Packets/PacketParser.ih
Packets/PacketParser.test.cc
Packets/PacketRegistry.cc
Packets/PacketType.cci
Packets/PacketType.cti
Packets/PacketType.hh
Packets/PacketTypes.hh
Packets/ParseArray.ct
Packets/ParseArray.cti
Packets/ParseArray.hh
Packets/ParseArray.ih
Packets/ParseArray.test.cc
Packets/ParseVec.ct
Packets/ParseVec.cti
Packets/ParseVec.hh
Packets/ParseVec.test.cc
Packets/main.test.hh
Utils/intrusive_refcount.cti
Utils/pool_alloc_mixin.cti
Utils/pool_alloc_mixin.hh
Utils/singleton.cti
Utils/singleton.hh
find-sources.sh

index aed46e7..02cc5ec 100644 (file)
@@ -70,4 +70,5 @@ prefix_ senf::Packet senf::Packet::checkLast()
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index a65c653..02e5772 100644 (file)
@@ -158,4 +158,5 @@ prefix_ senf::PacketInterpreterBase::ptr senf::Packet::ptr()
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index e840389..e293a5e 100644 (file)
@@ -68,4 +68,5 @@ prefix_ OtherPacket senf::Packet::findPrev(NoThrow_t)
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index c17dc6f..532c3b0 100644 (file)
@@ -296,4 +296,5 @@ senf::ConcretePacket<PacketType>::ptr()
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index f4bc724..ae2c66e 100644 (file)
@@ -236,4 +236,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 7331b99..60b2bd2 100644 (file)
@@ -242,4 +242,5 @@ BOOST_AUTO_UNIT_TEST(concretePacket)
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 9abdf04..8751951 100644 (file)
@@ -52,4 +52,6 @@ prefix_ void senf::PacketData::resize(size_type n, byte v)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 6a62bb0..9a687cf 100644 (file)
@@ -224,4 +224,6 @@ prefix_ senf::PacketData::iterator senf::safe_data_iterator::i()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 2e10568..ffe2417 100644 (file)
@@ -51,4 +51,6 @@ insert(iterator pos, InputIterator f, InputIterator l,
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index f1de179..e7dae96 100644 (file)
@@ -177,4 +177,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 4354b9a..e9e3f3a 100644 (file)
@@ -137,4 +137,6 @@ BOOST_AUTO_UNIT_TEST(safePacketIterator)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index dd78bb7..e4db066 100644 (file)
@@ -122,4 +122,6 @@ prefix_ void senf::detail::PacketImpl::updateIterators(PacketData * self, iterat
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index d8dd2cb..f2293a8 100644 (file)
@@ -195,4 +195,6 @@ prefix_ senf::detail::PacketImpl::Guard::~Guard()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index aae7612..2e3fada 100644 (file)
@@ -56,4 +56,6 @@ prefix_ senf::detail::PacketImpl::PacketImpl(InputIterator first, InputIterator
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 7ba7cb0..39ccd47 100644 (file)
@@ -126,4 +126,6 @@ namespace detail {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 0c62174..83e5373 100644 (file)
@@ -207,4 +207,6 @@ BOOST_AUTO_UNIT_TEST(packetImpl_interpreters)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 5ab83d8..7cd389a 100644 (file)
@@ -101,4 +101,6 @@ prefix_  senf::PacketInterpreterBase::Factory::~Factory()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 5d6a51e..94e7c29 100644 (file)
@@ -182,4 +182,6 @@ prefix_ void senf::PacketInterpreterBase::releaseImpl()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 3f72638..b2f455b 100644 (file)
@@ -361,4 +361,6 @@ const typename senf::PacketInterpreter<PacketType>::FactoryImpl
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index a0748b7..19dc086 100644 (file)
@@ -225,4 +225,6 @@ senf::PacketInterpreter<PacketType>::parser_p()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 7e5f522..d49510f 100644 (file)
@@ -359,4 +359,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index b71bf33..c26dc07 100644 (file)
@@ -301,4 +301,6 @@ BOOST_AUTO_UNIT_TEST(packetInterpreter_factory)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index d18cf3a..173e54e 100644 (file)
@@ -96,4 +96,6 @@ prefix_ senf::PacketParserBase::data_iterator senf::PacketParserBase::end()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 9b885e5..826f066 100644 (file)
@@ -138,4 +138,6 @@ prefix_ bool senf::SafePacketParser<Parser>::boolean_test()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index cd45e47..e5eee77 100644 (file)
@@ -425,4 +425,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 0c6131e..9acee0f 100644 (file)
@@ -80,4 +80,5 @@ namespace detail {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 9f115cb..5db0e60 100644 (file)
@@ -120,4 +120,6 @@ BOOST_AUTO_UNIT_TEST(safePacketParser)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 6b4956c..09a6af8 100644 (file)
@@ -44,4 +44,6 @@ prefix_  senf::PkReg_Entry::~PkReg_Entry()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 9ef4a5a..4e37767 100644 (file)
@@ -78,4 +78,6 @@ prefix_ void senf::PacketTypeBase::dump(packet p, std::ostream & os)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index aa610d8..4f01389 100644 (file)
@@ -115,4 +115,6 @@ prefix_ void senf::PacketTypeMixin<Self,void>::init(Packet p)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 88ea3bd..8e46eec 100644 (file)
@@ -284,4 +284,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 5a89c1a..980c183 100644 (file)
@@ -84,4 +84,6 @@ namespace test {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index f893f01..411b077 100644 (file)
@@ -54,4 +54,5 @@ prefix_ void senf::Parse_Array<elements,ElementParser>::init()
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 8631811..901b51a 100644 (file)
@@ -165,4 +165,5 @@ prefix_ void senf::detail::Parse_Array_iterator<ElementParser>::advance(int n)
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 851486a..1e98a71 100644 (file)
@@ -75,4 +75,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 7ea3d50..9aa344b 100644 (file)
@@ -74,4 +74,5 @@ private:
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index fdef965..8dc19ae 100644 (file)
@@ -107,4 +107,5 @@ BOOST_AUTO_UNIT_TEST(parseArray_test)
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 9aaefbe..de1f131 100644 (file)
@@ -118,4 +118,5 @@ prefix_ void senf::Parse_Vector_Container<ElementParser,Sizer>::resize(size_type
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 66c6a93..b50e50b 100644 (file)
@@ -391,4 +391,5 @@ prefix_ void senf::Parse_Vector_Container<ElementParser,Sizer>::setSize(size_typ
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 373903e..21239e8 100644 (file)
@@ -211,4 +211,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index ffb22ca..35079a7 100644 (file)
@@ -185,4 +185,5 @@ BOOST_AUTO_UNIT_TEST(parseVec_wrapper)
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End:
index f7d6f79..470fc57 100644 (file)
@@ -64,4 +64,6 @@ namespace test {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index bf3c744..7b50655 100644 (file)
@@ -66,4 +66,6 @@ prefix_ senf::intrusive_refcount_t<Self>::intrusive_refcount_t()
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 6139961..a163146 100644 (file)
@@ -81,4 +81,6 @@ prefix_ unsigned long senf::pool_alloc_mixin<Self>::allocCounter(long delta)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index fc1a232..6154873 100644 (file)
@@ -104,4 +104,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index 02c07dc..1f3b5c0 100644 (file)
@@ -62,4 +62,6 @@ typename senf::singleton<Self>::force_creation senf::singleton<Self>::create_;
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index d95b518..ade1fa3 100644 (file)
@@ -104,4 +104,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End:
index df2080b..b28c390 100755 (executable)
@@ -1,4 +1,21 @@
-#!/bin/sh
+#!/bin/sh -e
+
+if [ -z "$1" ]; then
+    echo "Usage:"
+    echo "     $0 [-c] <commands>"
+    echo
+    echo "-c Only list C/C++ source files"
+    echo
+    echo "<commands> are any find commands (which should contain a -print somewhere)"
+    echo "which are matched for any file fond"
+    exit 1
+fi
+
+cond=""
+if [ "$1" = "-c" ]; then
+    shift
+    cond='( -name *.h -o -name *.hh -o -name *.ih -o -name *.c -o -name *.cc -o -name *.cci -o -name *.ct -o -name *.cti )'
+fi
 
 find . \
        -name .svn -prune -o \
@@ -11,5 +28,5 @@ find . \
        -name .test.bin -o \
        -name "*.stamp" -o \
        -name ".sconsign*" -o \
-       -type f \( "$@" \)
+    -type f $cond \( "$@" \)