changeset 71:1bd4491cf8ff stable-0-6-9

fix documentation of 8 byte backpointers
author Carl Byington <carl@five-ten-sg.com>
date Fri, 16 May 2008 09:00:57 -0700
parents b12f4e50e2e8
children c21e9c001256
files ChangeLog NEWS libpst.spec.in regression/regression-tests.bash xml/libpst.in
diffstat 5 files changed, 37 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun May 11 10:04:33 2008 -0700
+++ b/ChangeLog	Fri May 16 09:00:57 2008 -0700
@@ -1,9 +1,10 @@
-LibPST 0.6.9 (2008-05-11)
+LibPST 0.6.9 (2008-05-161)
 ===============================
         * Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit
-	compile
-	* Signed/unsigned cleanup from 'CFLAGS=-Wextra ./configure'
+	compile.
+	* Signed/unsigned cleanup from 'CFLAGS=-Wextra ./configure'.
 	* Reindent vbuf.c to make it readable.
+	* Fix pst format documentation for 8 byte backpointers.
 
 LibPST 0.6.8 (2008-03-05)
 ===============================
--- a/NEWS	Sun May 11 10:04:33 2008 -0700
+++ b/NEWS	Fri May 16 09:00:57 2008 -0700
@@ -1,4 +1,4 @@
-0.6.9   2008-05-11 Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit compile.
+0.6.9   2008-05-16 Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit compile.
 0.6.8   2008-03-05 Initial version of pst2dii to convert to Summation dii load file format.
 0.6.7   2008-02-16 Ignore unknown attachments on some read messages; autoconf cleanup.
 0.6.6   2008-01-31 Code cleanup, switch from cvs to mercurial source control.
--- a/libpst.spec.in	Sun May 11 10:04:33 2008 -0700
+++ b/libpst.spec.in	Fri May 16 09:00:57 2008 -0700
@@ -47,8 +47,9 @@
 
 
 %changelog
-* Sun May 11 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.9
+* Fri May 16 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.9
 - Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit compile.
+- Fix pst format documentation for 8 byte backpointers.
 
 * Wed Mar 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.8
 - Initial version of pst2dii to convert to Summation dii load file format
--- a/regression/regression-tests.bash	Sun May 11 10:04:33 2008 -0700
+++ b/regression/regression-tests.bash	Fri May 16 09:00:57 2008 -0700
@@ -8,18 +8,20 @@
     mkdir output$i
 done
 
-hash=$(md5sum ams.pst)
-pre="$hash
-bates-"
-$val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "$pre" -o output1 -O mydii -d dumper ams.pst
-      ../src/readpstlog -f I dumper >ams.log
-$val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output2 -O mydii2 -d dumper sample_64.pst
-      ../src/readpstlog -f I dumper >sample_64.log
-$val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output3 -O mydii3 -d dumper test.pst
-      ../src/readpstlog -f I dumper >test.log
-      ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output4 -O mydii4 -d dumper big_mail.pst
-      ../src/readpstlog -f I dumper >big_mail.log
-exit
+if [ "$1" == "dii" ]; then
+    hash=$(md5sum ams.pst)
+    pre="$hash
+    bates-"
+    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "$pre" -o output1 -O mydii -d dumper ams.pst
+          ../src/readpstlog -f I dumper >ams.log
+    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output2 -O mydii2 -d dumper sample_64.pst
+          ../src/readpstlog -f I dumper >sample_64.log
+    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output3 -O mydii3 -d dumper test.pst
+          ../src/readpstlog -f I dumper >test.log
+          ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output4 -O mydii4 -d dumper big_mail.pst
+          ../src/readpstlog -f I dumper >big_mail.log
+    exit
+fi
 
 $val  ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err  2>&1
 $val  ../src/readpst -cv    -o output1 ams.pst                       >out1.err 2>&1
--- a/xml/libpst.in	Sun May 11 10:04:33 2008 -0700
+++ b/xml/libpst.in	Fri May 16 09:00:57 2008 -0700
@@ -33,7 +33,7 @@
 
     <refentry id="readpst.1">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -226,7 +226,7 @@
 
     <refentry id="lspst.1">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -329,7 +329,7 @@
 
     <refentry id="readpstlog.1">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -504,7 +504,7 @@
 
     <refentry id="pst2ldif.1">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -628,7 +628,7 @@
 
     <refentry id="pst2dii.1">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -762,7 +762,7 @@
 
     <refentry id="pst.5">
         <refentryinfo>
-            <date>2008-02-23</date>
+            <date>2008-05-16</date>
         </refentryinfo>
 
         <refmeta>
@@ -966,6 +966,7 @@
 
 01f0  itemCount       [1 byte]  0x02       in this case
 01f1  maxItemCount    [1 byte]  0x29       constant
+01f2  itemSize        [1 byte]  0x0c       constant
 01f3  nodeLevel       [1 byte]  0x02       in this case
 01f8  backPointer     [4 bytes] 0x021eb4   in this case
 ]]></literallayout>
@@ -1036,6 +1037,7 @@
 
 01e8  itemCount       [1 byte]  0x02       in this case
 01e9  maxItemCount    [1 byte]  0x14       constant
+01ea  itemSize        [1 byte]  0x18       constant
 01eb  nodeLevel       [1 byte]  0x01       in this case
 01f8  backPointer     [8 bytes] 0x00008a   in this case
 ]]></literallayout>
@@ -1106,6 +1108,7 @@
 
 01f0  itemCount       [1 byte]  0x1f       in this case
 01f1  maxItemCount    [1 byte]  0x29       constant
+01f2  itemSize        [1 byte]  0x0c       constant
 01f3  nodeLevel       [1 byte]  0x00       defines a leaf node
 01f8  backPointer     [4 bytes] 0x01675a   in this case
 ]]></literallayout>
@@ -1179,6 +1182,7 @@
 
 01e8  itemCount       [1 byte]  0x10       in this case
 01e9  maxItemCount    [1 byte]  0x14       constant
+01ea  itemSize        [1 byte]  0x18       constant
 01eb  nodeLevel       [1 byte]  0x00       defines a leaf node
 01f8  backPointer     [8 bytes] 0x000088   in this case
 ]]></literallayout>
@@ -1252,6 +1256,7 @@
 
 01f0  itemCount       [1 byte]  0x02       in this case
 01f1  maxItemCount    [1 byte]  0x29       constant
+01f2  itemSize        [1 byte]  0x0c       constant
 01f3  nodeLevel       [1 byte]  0x02       in this case
 01f8  backPointer     [4 bytes] 0x021ebc   in this case
 ]]></literallayout>
@@ -1322,8 +1327,9 @@
 
 01e8  itemCount       [1 byte]  0x03       in this case
 01e9  maxItemCount    [1 byte]  0x14       constant
+01ea  itemSize        [1 byte]  0x18       constant
 01eb  nodeLevel       [1 byte]  0x01       in this case
-01f8  backPointer     [4 bytes] 0x000083   in this case
+01f8  backPointer     [8 bytes] 0x000083   in this case
 ]]></literallayout>
             <para>
                 The itemCount specifies the number of 24 byte records that
@@ -1381,6 +1387,7 @@
 
 01f0  itemCount       [1 byte]  0x10       in this case
 01f1  maxItemCount    [1 byte]  0x1f       constant
+01f2  itemSize        [1 byte]  0x10       constant
 01f3  nodeLevel       [1 byte]  0x00       in this case
 01f8  backPointer     [4 bytes] 0x021eae   in this case
 ]]></literallayout>
@@ -1437,8 +1444,9 @@
 
 01e8  itemCount       [1 byte]  0x0e       in this case
 01e9  maxItemCount    [1 byte]  0x0f       constant
+01ea  itemSize        [1 byte]  0x20       constant
 01eb  nodeLevel       [1 byte]  0x00       defines a leaf node
-01f8  backPointer     [4 bytes] 0x000077   in this case
+01f8  backPointer     [8 bytes] 0x000077   in this case
 ]]></literallayout>
             <para>
                 The itemCount specifies the number of 32 byte records that