Mercurial > libpst
annotate ChangeLog @ 48:f66078abed38
more fixes for 64 bit format
author | carl |
---|---|
date | Fri, 18 Jan 2008 15:07:12 -0800 |
parents | 5fb8d997feed |
children | 17654fbdf76b |
rev | line source |
---|---|
48 | 1 LibPST 0.6.4 (2008-01-18) |
2 =============================== | |
3 | |
4 * More fixes for Outlook 2003 64 bit parsing. We observed cases of | |
5 compressed RTF bodies (type 0x1009) with zero length. | |
6 * Document type 0x0101 descriptor blocks and try to process them. | |
7 This is still not correct. | |
8 * Fix large file support - we need to include config.h before any | |
9 standard headers. | |
10 | |
47 | 11 LibPST 0.6.3 (2008-01-13) |
12 =============================== | |
13 | |
14 * More type consistency issues found by splint. | |
15 | |
46 | 16 LibPST 0.6.2 (2008-01-12) |
17 =============================== | |
18 | |
19 * More fixes for Outlook 2003 64 bit parsing. | |
20 * All buffer sizes changed to size_t, all file offsets changed to off_t, | |
21 all function names start with pst_, many other type consistency issues | |
22 found by splint. Many changes to #llx in debug printing for 64 bit items. | |
47 | 23 All id values are now uint64_t. |
46 | 24 |
43 | 25 LibPST 0.6.1 (2008-01-06) |
26 =============================== | |
27 | |
28 * Outlook 2003 64 bit parsing. Some documentation from Alexander Grau | |
29 <alexandergrau@gmx.de> and patches from Sean Loaring <sloaring@tec-man.com>. | |
30 * fix from Antonio Palama <palama@inwind.it> for email items | |
31 that happen to have item->contact non null, and were being processed | |
32 as contacts. | |
33 * Add large file support so we can read .pst files larger than 2gb. | |
34 * Change lspst to be similar to readpst, properly using recursion to walk | |
35 the tree, and testing item types. Add a man page for lspst. | |
36 | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
37 LibPST 0.5.12 (2007-10-02) |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
38 =============================== |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
39 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
40 * security fix from Brad Hards <bradh@frogmouth.net> for buffer |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
41 overruns in liv-zemple decoding for corrupted or malicious pst files. |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
40
diff
changeset
|
42 |
40 | 43 LibPST 0.5.11 (2007-08-24) |
44 =============================== | |
45 | |
46 * fix from Stevens Miller <smiller@novadatalabs.com> | |
47 for unitialized variable. | |
48 | |
39 | 49 LibPST 0.5.10 (2007-08-20) |
50 =============================== | |
51 | |
52 * fix yet more valgrind errors - finally have a clean memory check. | |
53 * restructure readpst.c for proper recursive tree walk. | |
54 * buffer overrun test was backwards, introduced at 0.5.6 | |
55 * fix broken email attachments, introduced at 0.5.6 | |
56 | |
38 | 57 LibPST 0.5.9 (2007-08-12) |
58 =============================== | |
59 | |
60 * fix more valgrind errors. | |
61 | |
37 | 62 LibPST 0.5.8 (2007-08-10) |
63 =============================== | |
64 | |
65 * fix more valgrind errors. lzfu_decompress needs to return the | |
66 actual buffer size, since the lz header overestimates the size. | |
67 This caused base64_encode to encode undefined bytes into the | |
68 email attachment. | |
69 | |
36 | 70 LibPST 0.5.7 (2007-08-09) |
71 =============================== | |
72 | |
73 * fix valgrind errors, using uninitialized data. | |
74 * improve debug logging and readpstlog for indented listings. | |
75 * cleanup documentation. | |
76 | |
35 | 77 LibPST 0.5.6 (2007-07-15) |
78 =============================== | |
79 | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
80 * Fix to allow very small pst files with only one node in the |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
81 tree. We were mixing signed/unsigned types in comparisons. |
35 | 82 * More progress decoding the basic structure 7c blocks. Many |
83 four byte values may be ID2 indices with data outside the buffer. | |
84 * Start using doxygen to generate internal documentation. | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
85 |
31 | 86 LibPST 0.5.5 (2007-07-10) |
87 =============================== | |
88 | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
89 * merge the following changes from Joe Nahmias version: |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
90 * Lots of memory fixes. Thanks to Nigel Horne for his assistance |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
91 tracking these down! |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
92 * Fixed creation of vCards from contacts, thanks to Nigel Horne for |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
93 his help with this! |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
94 * fix for MIME multipart/alternative attachments. |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
95 * added -c options to readpst manpage. |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
96 * use 8.3 attachment filename if long filename isn't available. |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
97 * new -b option to skip rtf-body.rtf attachments. |
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
98 * fix format of From header lines in mbox files. |
43 | 99 * Add more appointment fields, thanks to Chris Halls for tracking |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
100 them down! |
31 | 101 |
102 | |
30 | 103 LibPST 0.5.4 (2006-02-25) |
104 =============================== | |
105 | |
106 * patches from Arne, adding MH mode, remove leading zeros | |
107 from the generated numbered filenames starting with one | |
108 rather than zero. Miscellaneous code cleanup. | |
109 | |
110 * document the "7c" descriptor block format. | |
111 | |
24 | 112 LibPST 0.5.3 (2006-02-20) |
16 | 113 =============================== |
114 | |
24 | 115 * switch to gnu autoconf/automake. This breaks the MS VC++ projects |
116 since the source code is now in the src subdirectory. | |
117 | |
16 | 118 * documentation switched to xml, building man pages and html |
119 from the master xml copy. | |
120 | |
24 | 121 * include rpm .spec file for building src and binary rpms. |
122 | |
16 | 123 |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
11
diff
changeset
|
124 LibPST 0.5.2 (2006-02-18) |
11 | 125 =============================== |
126 | |
127 * Added pst2ldif to convert the contacts to ldif format for import | |
128 into ldap databases. | |
129 | |
130 * Major changes to libpst.c to properly use the node depth values | |
131 from the b-tree nodes. We also use the item count values in the nodes | |
132 rather than trying to guess how many items are active. | |
133 | |
134 * Cleanup whitespace - using tabs for every four columns. | |
135 | |
136 | |
3 | 137 LibPST 0.5.1 (17 November 2004) |
138 =============================== | |
139 | |
140 Well, alot has happened since the last release of libpst. | |
141 | |
142 Release / Management: | |
143 | |
11 | 144 * The project has forked! The new maintainer is Joseph Nahmias. |
145 * We have changed hosting sites, thanks to sourceforge for hosting | |
146 to this point. From this point forward we will be using | |
147 alioth.debian.org. | |
148 * The project is now using SubVersioN for source control. You can | |
149 get the latest code by running: | |
150 svn co svn://svn.debian.org/svn/libpst/trunk . | |
151 * See | |
152 <http://lists.alioth.debian.org/pipermail/libpst-devel/2004-November/000000.html> | |
153 for more information. | |
3 | 154 |
155 Code Changes: | |
156 | |
11 | 157 * Added lspst program to list items in a PST. Still incomplete. |
158 * Added vim folding markers to readpst.c | |
159 * avoid the pseudo-prologue that MS prepends to the email headers | |
160 * fix build on msvc, since it doesn't have sys/param.h | |
161 * Re-vamped Makefile: | |
162 * Only define CFLAGS in Makefileif missing | |
163 * fixed {un,}install targets in Makefile | |
164 * Fixed up build process in Makefile | |
165 * Added mozilla conversion script from David Binard | |
166 * Fixed bogus creation of readpst.log on every invocation | |
167 * escaped dashes and apostrophe in manpages | |
168 * Updated TODO | |
169 * added manpages from debian pkg | |
170 * fix escaped-string length count to consider '\n', | |
171 thanks to Paul Bakker <bakker@fox-it.com>. | |
172 * ensure there's a blank line between header and body | |
173 patch from <johnh@aproposretail.com> (SourceForge #890745). | |
174 * Apply accumulated endian-related patches | |
175 * Removed unused files, upstream's debian/ dir | |
3 | 176 |
177 -- Joe Nahmias <joe@nahmias.net> | |
178 | |
179 LibPST v0.5 | |
180 =========== | |
181 | |
182 It is with GREAT relief that I bring you version 0.5 of the LibPST tools! | |
183 | |
184 Through great difficulties, this tool has survived and expanded to become even | |
185 better. | |
186 | |
187 The changes are as follows: | |
188 * RTF support. We can now decompress RTF bodies in emails, and are saved as attachments | |
189 * Better support in reading the indexes. Fixed many bugs with them | |
190 * Improved reliability. "Now we are getting somewhere!" | |
191 * Improved compiling. Hopefully we won't be hitting too many compile errors now. | |
192 * vCard handling. Contacts are now exported as vCard entries. | |
193 * vEvent handling. Support has begun on exporting Calendar entries as events | |
194 * Support for Journal entries has also begun | |
195 | |
196 If you have any problems with this release, don't hesitate to contact me. | |
197 | |
198 These changes come to you, as always, free under the GPL license!! What a wonderful | |
199 thing it is. It does mean that you can write your own program off of this library | |
200 and distribute it also for free. However, anyone with commercial interests for | |
201 developing applications they will be charging for are encouraged to get in touch | |
202 with me, as I am sure we can come to some arrangement. | |
203 | |
204 Dave Smith | |
205 <dave.s@earthcorp.com> | |
206 | |
207 LibPST v0.4.3 | |
208 ============= | |
209 | |
210 Bug fix release. No extra functionality | |
211 | |
212 Dave Smith | |
213 <dave.s@earthcorp.com> | |
214 | |
215 LibPST v0.4.2 | |
216 ============= | |
217 | |
218 The debug system has had an overhaul. The debug messages are no longer | |
219 printed to the screen when they are enabled. They are dumped to a | |
220 binary file. There is another utility called "readlog" that I have | |
221 written to handle these log files. It should make it easier to | |
222 selectively view bits of a log file. It also shows the position that | |
223 the log message was printed from. | |
224 | |
225 There is a new switch in readpst. It is -d. It enables the user to | |
226 specify the log file which the binary log is written to. If the switch | |
227 isn't used, the default file of "readpst.log" is used. | |
228 | |
229 The code is now Visual C++ compatible. It has compiled on Visual C++ | |
230 .net Standard edition, and produces the readpst.exe file. Use the project | |
231 file included in this distribution. | |
232 | |
233 There have been minor improvements elsewhere too. | |
234 | |
235 | |
236 LibPST v0.4.1 | |
237 ============= | |
238 | |
239 Fixed a couple more bugs. Is it me or do bugs just insert themselves | |
240 in random, hard to find places! | |
241 | |
242 Cured a few problems with regard to emails with multiple embeded | |
243 items. They are not fully re-created using Mime-types, but are | |
244 accessible with the -S switch (which saves everything as seperate | |
245 items) | |
246 | |
247 Fixed a problem reading the first index. Back sliders are now | |
248 detected. (ie when the value following the current one is smaller, not | |
249 bigger!) | |
250 | |
251 Added some error messages when we try and read outside of the PST | |
252 file, this was causing a few problems before, cause the return value | |
253 wasn't always checked, so it was possible to be reading random data, | |
254 and trying to make sense of it! | |
255 | |
256 Anyway, if you find any problems, don't hesitate to mail me | |
257 | |
258 Dave Smith | |
259 <dave.s@earthcorp.com> | |
260 | |
261 LibPST v0.4 | |
262 =========== | |
263 | |
264 Fixed a nasty bug that occasionally corrupted attachments. Another bug | |
265 with regard to reading of indexes (also occasional). | |
266 | |
267 Another output method has been added which is called "Seperate". It is | |
268 activated with the -S switch. It operates in the following manor: | |
269 | |
270 |--Inbox-->000000 | |
11 | 271 | 000001 |
272 | 000002 | |
3 | 273 |--Sentmail-->0000000 |
11 | 274 | 0000001 |
275 | 0000002 | |
3 | 276 |
277 All the emails are stored in seperate files counting from 0 upwards, | |
278 in a folder named as the PST folder. | |
279 | |
280 When an email has an attachment, it is saved as a seperate file. The | |
281 filename for the attachment is made up of 2 parts, the first is the | |
282 email number to which it belongs, the second is its filename. | |
283 | |
284 The should now be runnable on big-endian machines, if the define.h | |
285 file is first modified. The #define LITTLE_ENDIAN must be commented | |
286 out, and the #define BIG_ENDIAN must be uncommented. | |
287 | |
288 More verbose error messages have been added. Apparently people got | |
289 confused when the program stopped for no visible reason. This has now | |
290 been resolved. | |
291 | |
292 Thanks for the continued support of all people involved. | |
293 | |
294 Dave Smith | |
295 <dave.s@earthcorp.com> | |
296 | |
297 Libpst v0.3.4 | |
298 ============= | |
299 | |
300 Several more fixes. An Infinite loop and incorrect interpreting of | |
301 item index attributes. Work has started on making the code executable | |
302 on big endian CPUs. At present it should work with Linux on these | |
303 CPUs, but I would appreciate it if you could provide feedback with | |
304 regard to it's performance. I am also working with some other people | |
305 at make it operate on Solaris. | |
306 | |
307 A whole load more items are now recognized by the Item records. With | |
308 more items in Emails and Folders. I haven't got to the Contacts yet. | |
309 | |
310 Anyway, this is what I would call a minor feature enhancment and | |
311 bugfix release. | |
312 | |
313 Dave Smith | |
314 <dave.s@earthcorp.com> | |
315 | |
316 LibPST v0.3.3 | |
317 ============= | |
318 | |
319 Fixed several items. Mainly memory leaks. Loads of them! oops.. | |
320 | |
321 I have added a new program, mainly of debugging, which when passed | |
11 | 322 an ID value and a pst file, will extract and decrypt that ID from |
3 | 323 the pst file. I don't see it being a huge attraction, or of much use |
324 to most people, but it is another example of writing an application | |
325 to use the libpst interface. | |
326 | |
327 Another fix was in the reading of the item index. This has hopefully | |
328 now been corrected. The result of this bug was that not all the emails | |
329 in a folder were converted. Hopefully you should have more luck now. | |
330 | |
331 Dave Smith | |
332 <dave.s@earthcorp.com> | |
333 | |
334 LibPST v0.3.2 | |
335 ============= | |
336 | |
337 Quick bugfix release. There was a bug in the decryption of the basic | |
338 encryption that outlook uses. One byte, 0x6c, was incorrectly decrypted | |
339 to 0x6c instead of 0xcd. This release fixes this bug. Sorry... | |
340 | |
341 | |
342 LibPST v0.3.1 | |
343 ============= | |
344 | |
345 Minor improvements. Fixed bug when linking multiple blocks together, | |
346 so now the linking blocks are not "encrypted" when trying to read | |
347 them. | |
348 | |
349 | |
350 LibPST v0.3 | |
351 =========== | |
352 | |
353 A lot of bug fixing has been done for this release. Testing has been | |
354 done on the creation of the files by readpst. Better handling of | |
355 large binaries being extracted from the PST file has been implemented. | |
356 | |
357 Quite a few reports have come in about not being able to compile on | |
358 Darwin. This could be down to using macros with variable parameter | |
359 lists. This has now been changed to use C functions with variable | |
360 parameters. I hope this fixes a lot of problems. | |
361 | |
362 Added support for recreating the folder structure into normal | |
363 directories. For Instance: | |
364 | |
365 Personal Folders | |
366 |-Inbox | |
367 | |-Jokes | |
368 | |-Meetings | |
369 |-Send Items | |
370 | |
371 each folder containing an mbox file with the correct emails for that | |
372 folder. | |
373 | |
374 Dave Smith | |
375 <dave.s@earthcorp.com> | |
376 | |
377 | |
378 LibPST v0.3 beta1 | |
379 ================= | |
380 | |
381 Again, a shed load of enhancements. More work has been done on the | |
382 mime creation. A bug has been fixed that was letting part of the | |
11 | 383 attachments that were created disappear. |
3 | 384 |
385 A major enhancement is that "compressible encryption" support has been | |
386 added. This was an incredibly simple method to use. It is basically a | |
387 ceasar cipher. It has been noted by several users already that the PST | |
388 password that Outlook uses, serves *no purpose*. It is not used to | |
389 encrypt the PST, it is mearly stored there. This means that the | |
390 readpst application is able to convert PST files without knowing the | |
391 password. Microsoft have some explaning to do! | |
392 | |
393 Output files are now not overwritten if they already exist. This means | |
394 that if you have two folders in your PST file named "fred", the first | |
395 one encountered will be named "fred" and the second one will be named | |
396 "fred00000001". As you can see, there is enough room there for many | |
397 duplicate names! | |
398 | |
399 Output filenames are now restricted. Any "/" or "\" characters in the | |
400 name are replaced with "_". If you find that there are any other | |
401 characters that need to be changed, could you please make me aware! | |
402 | |
403 Thanks to Berry Wizard for help with supporting the encryption. | |
404 | |
405 Thanks to Auke Kok, Carolus Walraven and Yogesh Kumar Guatam for providing debugging | |
406 information and testing. | |
407 | |
408 Dave Smith | |
409 <dave.s@earthcorp.com> | |
410 | |
411 | |
412 LibPST v0.2 beta1 | |
413 ================= | |
414 | |
415 Hello once more... | |
416 | |
417 Attachments are now re-created in mime format. The method is very | |
418 crude and could be prone to over generalisation. Please test this | |
419 version, and if attachments are not recreated correctly, please send | |
420 me the email (complete message source) of the original and | |
421 converted. Cheers. | |
422 | |
423 I hope this will work for everyone who uses this program, but reality | |
424 can be very different! | |
425 | |
426 Let us see how it goes... | |
427 | |
428 Dave Smith | |
429 <dave.s@earthcorp.com> | |
430 | |
431 LibPST v0.2 alpha1 | |
432 =========== | |
433 | |
434 Hello! | |
435 | |
436 Some improvements. The internal code has been changed so that | |
437 attachments are now processed and loaded into the structures. The | |
438 readpst program is not finished yet. It needs to convert these binary | |
439 structs into mime data. At present it just saves them to the current | |
440 directory, overwriting any previous files with the attachment name. | |
441 | |
11 | 442 Improvements over previous version: |
3 | 443 * KMail output is supported - if the "-k" flag is specified, all the |
444 directory hierarchy is created using the KMail standard | |
445 * Lots of bugs and memory leaks fixed | |
446 | |
447 | |
448 Usage: | |
449 | |
450 ReadPST v0.2alpha1 implementing LibPST v0.2alpha1 | |
451 Usage: ./readpst [OPTIONS] {PST FILENAME} | |
452 OPTIONS: | |
453 -h - Help. This screen | |
454 -k - KMail. Output in kmail format | |
455 -o - Output Dir. Directory to write files to. CWD is changed *after* opening pst file | |
456 -V - Version. Display program version | |
457 | |
458 If you want to view lots of debug output, modify a line in "define.h" | |
459 from "//#define DEBUG_ALL" to "#define DEBUG_ALL". It would then be | |
460 advisable to pipe all output to a log file: | |
461 | |
462 ./readpst -o out pst_file &> logfile | |
463 | |
464 Dave Smith | |
465 | |
466 LibPST v0.1 | |
467 =========== | |
468 | |
469 Hi Folks! | |
470 | |
471 This has been a long, hard slog, but I now feel that I have got | |
472 somewhere useful. The included program "main" is able to read an | |
473 Outlook PST file and dump the emails into mbox files, separating each | |
474 folder into a different mbox file. All the mbox files are stored in | |
475 the current directory and no attempt is yet made to organise these | |
476 files into a directory hierarchy. This would not be too difficult to | |
477 achieve though. | |
478 | |
479 Email attachments are not yet handled, neither are Contacts. | |
480 | |
481 There is no pretty interface yet, but you can convert a PST file in | |
482 the following manner | |
483 | |
484 ./main {path to PST file} | |
485 | |
486 This is very much a work in progress, but I thought I should release | |
487 this code so that people can lose their conception that outlook files | |
488 will never be converted to Linux. | |
489 | |
490 I am intending that the code I am writing will be developed into | |
491 greater applications to provide USEFUL tools for accessing and | |
492 converting PST files into a variety of formats. | |
493 | |
494 One point I feel I should make is that Outlook, by default, creates | |
495 "Compressible Encryption" PST files. I have not, as yet, attempted to | |
496 write any decryption routines, so you will not be able to convert | |
497 these files. However, if you create a new PST file and choose not to | |
498 make an encrypted one, you can copy all your emails into this new one | |
499 and then convert the unencrypted one. | |
500 | |
501 I hope you enjoy, | |
502 | |
503 Dave Smith | |
504 | |
505 : vim: set tw=72 sw=4 ts=4: |