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