# HG changeset patch # User Carl Byington # Date 1210953657 25200 # Node ID 1bd4491cf8ffb3f26c80a6dd20e6e9e9d137a595 # Parent b12f4e50e2e8fca452d0d4c74a026c35a25c2bf9 fix documentation of 8 byte backpointers diff -r b12f4e50e2e8 -r 1bd4491cf8ff ChangeLog --- 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 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) =============================== diff -r b12f4e50e2e8 -r 1bd4491cf8ff NEWS --- 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 for 64 bit compile. +0.6.9 2008-05-16 Patch from Joachim Metz 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. diff -r b12f4e50e2e8 -r 1bd4491cf8ff libpst.spec.in --- 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 - 0.6.9 +* Fri May 16 2008 Carl Byington - 0.6.9 - Patch from Joachim Metz for 64 bit compile. +- Fix pst format documentation for 8 byte backpointers. * Wed Mar 05 2008 Carl Byington - 0.6.8 - Initial version of pst2dii to convert to Summation dii load file format diff -r b12f4e50e2e8 -r 1bd4491cf8ff regression/regression-tests.bash --- 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 diff -r b12f4e50e2e8 -r 1bd4491cf8ff xml/libpst.in --- 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 @@ - 2008-02-23 + 2008-05-16 @@ -226,7 +226,7 @@ - 2008-02-23 + 2008-05-16 @@ -329,7 +329,7 @@ - 2008-02-23 + 2008-05-16 @@ -504,7 +504,7 @@ - 2008-02-23 + 2008-05-16 @@ -628,7 +628,7 @@ - 2008-02-23 + 2008-05-16 @@ -762,7 +762,7 @@ - 2008-02-23 + 2008-05-16 @@ -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 ]]> @@ -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 ]]> @@ -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 ]]> @@ -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 ]]> @@ -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 ]]> @@ -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 ]]> 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 ]]> @@ -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 ]]> The itemCount specifies the number of 32 byte records that