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