File: CHANGES

package info (click to toggle)
libmail-mbox-messageparser-perl 1.5002-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 1,328 kB
  • ctags: 339
  • sloc: perl: 5,537; makefile: 2
file content (251 lines) | stat: -rw-r--r-- 13,747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
Version 1.5002: Sun Aug 9 2009
- Disabled the grep interface, which has had some tricky bugs that I don't
	have time to figure out.
- Fixed infinite loop that occurred for emails of less than 200 characters.
	(Thanks to Julian Ladisch <bitcard.org-prt@ladisch.de> for the bug report.)
- Updated Makefile.PL to be compatible with versions of Module::Install >
	0.88.
- Instead of returning an error for an empty mailbox, a valid mailbox is
	returned that will immediately fail the end_of_mailbox check. This should
	simplify people's code. (Thanks to Daniel Maher <dma@witbe.net> for a bug
	report that suggested this change in semantics.)
- More updates for the missing "m" modifier issue exposed by Perl 5.10.
	(Thanks to Tom Callawa <tcallawa@redhat.com> for the bug report, and Andreas
	K├Ânig <andreas.koenig@anima.de> for the patch.)
- Added some debugging information for the "cache data not validated" error.
	Hopefully this will help catch the bug in the act.

Version 1.5001: Sun Jul 20 2008
- Added the missing "m" modifier to a number of regular expressions. A change
	in Perl 5.10 exposed this issue. (Thanks to Anicka Bernathova
	<anicka@suse.cz> for the patch.)
- Fixed an off-by-one error that would sometimes cause warnings about
	undefined values.
- Added a hack to Makefile.PL to force Module::AutoInstall to be included for
	Module::Install::CheckOptional.
- Fixed a problem in the PREOP rewriting that would cause it to fail on
	Windows.

Version 1.5000: Thu Jan 11 2007
- The Cache and Grep implementations now detect when changes have occurred to
  the file being parsed, and automatically invalidate their cache values and
  revert to the Perl implementation. NOTE: This works well for appending to
  the mailbox, but undefined behavior occurs if modifications are made to the
  mailbox at locations earlier than the current position. (Thanks to Armin
  Obersteiner <armin@xos.net> for the feature suggestion.)
- Changed the reset test so that it doesn't create output with inconsistent
  line endings in the case of a dos mailbox.
- Fixed a bug where occasionally the reading of the next email will go into an
  infinite loop when reading from standard input. (Thanks to
  <hpeberhard@users.sourceforge.net> for the bug report and sample input.)
- read_next_email now returns undef on end of file. (Thanks to Lucas Nussbaum
  <lucas@lucas-nussbaum.net> for first reporting the bug. Thanks to Stephen
  Gran <sgran@debian.org>, Frank Lichtenheld <djpig@debian.org>, Steinar
  H. Gunderson <sgunderson@bigfoot.com>, Christian Hammers <ch@debian.org>,
  gregor herrmann <gregor+debian@comodo.priv.at>, and Joey Hess
  <joeyh@debian.org> for their efforts to fix or work around the bug. Finally,
  thanks to Tassilo von Parseval <Tassilo.von.Parseval@rwth-aachen.de> for
  (mis)using the module in an intuitive way that prompted the solution.)
- Simplified code by removing end_of_file attribute of parser objects.

Version 1.4005: Thu Aug 24 2006
- Fixed a bug where emails with a line near the end that start with "From "
  would cause the Grep implementation to go into an infinite loop. (Thanks to
  Volker Kuhlmann <VolkerKuhlmann@gmx.de> for the bug report.)
- Fixed some minor coding style issues.

Version 1.4004: Tue Jul 11 2006
- Fixed a bug where, when emails are incomplete, the Perl parser would cache
  incorrect information, causing the Cache implementation to go into an
  infinite loop when it tried to use the invalid information.
- Improved the behavior for multi-part emails that lack a valid ending
  boundaries. Instead of treating the rest of the mailbox as part of the
  email, the Perl and Grep parsers now find the end of the email using (1) a
  Content-Length header if it is present, or (2) the next valid "^From " line
  after the email's header. (Many thanks to Volker Kuhlmann
  <VolkerKuhlmann@gmx.de>, Eduard Bloch <edi@gmx.de>, and Joey Hess
  <joeyh@debian.org> for their efforts to track down the cause of the bug.
  Special thanks to Volker for suggesting the right behavior. :)
- Simplified the code some

Version 1.4003: Sun May 21 2006
- Fixed a bug where multi-part emails having boundaries containing characters
  like " " and "+" would cause the remainder of the mailbox to be treated as
  part of the email with the boundary. (Thanks to Volker Kuhlmann
  <VolkerKuhlmann@gmx.de> for first reporting the bug, and thanks to Joey Hess
  <joeyh@debian.org> for the bugfix.)
- Fixed a previously unrevealed fault in the mailbox for the separators test.
  (The last message's separator wasn't used correctly.)

Version 1.4002: Thu Feb  9 2006
- Dropped tzip support. The program seems poorly supported and buggy. (I can't
  get it to run right on Mac, for example.)
- An invalid cache is detected and overwritten. This can occur if one changes
  architectures, or if the cache is otherwise corrupted. (Thanks to Volker
  Kuhlmann <VolkerKuhlmann@gmx.de> for the feature suggestion.)
- Fixed a major memory consumption bug in the Perl implementation, where the
  read buffer would grow exponentially. This caused the module to use memory
  proportional to the size of the mailbox, rather than the size of the largest
  email. (Thanks to David Cantrell <david@cantrell.org.uk> for the bug
  report.)

Version 1.4001: Tue Aug 2 2005
- Fixed a bug where emails involving time zones of length more than 3
  characters (e.g. "WETDST") would not be processed correctly.  (Thanks to
  Hans F. Nordhaug <Hans.F.Nordhaug@hiMolde.no> for the bug report.)
- Fixed some undefined value warnings for some test cases.
- Fixed a bug where mailboxes having emails with rfc822 attachments would not
  be parsed correctly

Version 1.4000: Thu Jul 7 2005
- Fixed a long-standing bug in the parsing of mail messages containing mail
  attachments. (Thanks to Brian May <bam@debian.org> for the bug report.)
- Dropped X-From-Line support for two reasons: (1) it seems to have
  disappeared from newer versions of Gnus, and (2) this module is for mbox
  format. (Thanks to Brian May <bam@debian.org> for prompting this.)
- Changed the mail parsing so that a blank line *must* separate mail messages,
  as per mail(5) (http://www.qmail.org/man/man5/mbox.html). Lack of a blank
  line will cause the second email to be considered to be part of the
  preceding email.

Version 1.3001: Mon Jun 6 2005
- Changed the testing code to use a more aggressive technique for clearing any
  existing cache, even if it is not readable.
- Fixed a problem with the grep implementation where locale settings (LC_ALL,
  LC_COLLATE, LANG, LC_CTYPE, LC_MESSAGES) would cause it to fail. (Thanks to
  Joey Hess <joey@kitenet.net> for the bug report.)

Version 1.3000: Mon Mar 14 2005
- Merged the internal caches used by the different mailbox parser
  implementations. This allows sharing of caching information. NOTE: Tighter
  integration of the classes means that you can no longer instantiate any of
  the implementations directly; you must use Mail::Mbox::MessageParser only.
- Fixed goofy version dependency for Benchmark::Timer.
- Fixed improper identification of mailboxes whose first email has a body
  containing a large number of foreign characters. (Thanks to Nigel Horne
  <njh@bandsman.co.uk> for the bug report and sample data.)
- Fixed a spurious warning in a test case. (Thanks to Nigel Horne
  <njh@bandsman.co.uk> for the bug report.)
- Fixed a test code bug that would cause some failed tests to incorrectly
  pass.
- Fixed a bug where emails with attachments would cause the mailbox parser to
  enter an infinite loop. (Thanks once again to Joey Hess <joey@kitenet.net>
  for the excellent bug report.)
- Fixed a bug where the cache would not be saved to disk when the file was
  finished being read.
- Fixed a bug in the test cases where some differences in test output would
  not be detected.
- Fixed a bug in Mbox::Mail::MessageParser::Grep that would cause it to
  improperly identify separate emails in a mailbox if the "From " line looked
  like "From klopp Mon Jan  5 08:50:15 +0100 2004". (Thanks to Frederic Klopp
  <klopp@math.univ-paris13.fr>" for the bug report and sample mailbox.)

Version 1.2130: Tue Dec 21 2004
- Fixed version numbers, which were incompatible with some modules. (Thanks to
  Tassilo von Parseval <tassilo.von.parseval@rwth-aachen.de> for the bug
  report)

Version 1.21.2:
- Fixed a dependency version error for Benchmark::Timer
- Switched to Test::More for better error reporting
- Improved test failure reporting
- Fixed a bug where messages embedded in other messages as RFC 822 attachments
  would be treated as separate emails. (Thanks to Will Fiveash
  <william.fiveash@sun.com> for the bug report.)
- Moved all configuration data to M::M::MP::Config

Version 1.21.1: Thu Sep 16 2004
- Fixed broken dependency specification in Makefile.PL
- Removed Module::Install extension dependency code from Makefile.PL. (Not
  needed with fixed extensions.)

Version 1.21.0: Wed Sep 15 2004
- Fixed missing file warnings from "make distcheck" resulting from a
  workaround for a MakeMaker bug. (Thanks to Ed Avis <ed.avis@kbcfp.com> for
  the bug report.)
- Dropped force_processing in M::M::Grep (all files treated as text), since
  M::MessageParser detects file types. This fixes a Perl warning issued when
  force_processing is false and M::MessageParser determines that the file is
  text, but it contains a binary character. (Thanks to Jason Brunette 
  <jbrunette@users.sourceforge.net> for the bug report.)
- Updated Makefile.PL to use Module::Install

Version 1.20:
- More robust use of GNU grep to find emails on DOS systems (Thanks to Martin
  Hosken <martin_hosken@sil.org> for the initial patch)
- Fixed an uninitialized value warning in Cache.pm
- Made everything work with DOS-style line endings. Added endline() function
  to return the detected line ending

Version 1.15:
- Now keeps reading the first paragraph until a maximum number of bytes have
  been read. This should help people who use MUAs that add a lot of extra
  header information to the first email in a mailbox. (Thanks to Graham Gough
  <graham@cs.man.ac.uk> for pointing out the problem with VM under Emacs.)

Version 1.14:
- At installation, you no longer have to provide a full path to the external
  programs. (Thanks to Ed Avis <ed.avis@kbcfp.com> for the suggestion.)
- Fixed _print_debug_information so that it prints the values of options
  correctly. (Thanks to Jason Brunette <jbrunette@users.sourceforge.net> for
  the great bug report.)
- Fixed a file handle leak when processing non-mailbox files. (Thanks to Jason
  Brunette <jbrunette@users.sourceforge.net> for the great bug report.)

Version 1.13:
- Fixed portability issues for Windows. (It should now work under the normal
  Windows command shell.) Note that this requires the use of a temporary file
  for decompression of file handles on Windows--a minor security risk.
- Makefile.PL version detection for GNU grep now works correctly for version
  numbers which end with letters. (Thanks to David Dyck <david.dyck@fluke.com>
  for the bug report.)
- Fixed typo bugs in a couple test cases.

Version 1.12:
- Added "perl Makefile.PL" version checks for external programs like grep.
  (Suggestion by David N. Blank-Edelman <dnb@ccs.neu.edu>)
- Fixed a typo in the documented synopsis (Thanks to Christophe Nowicki
  <nowick_c@epita.fr> for the report.)
- Implemented a portable ungetc version of FileHandle, and changed this module
  to use it instead of IO::String. This will hopefully fixed the
  system-dependent bugs in the last release. (Thanks to David N.
  Blank-Edelman <dnb@ccs.neu.edu> for providing a test environment.)
- Improved compatibility with Windows. (Cygwin works, but we're still not
  there yet for Windows command shell.)
- Streamlined installation for cases where caching is not enabled in
  Mail::Mbox::MessageParser.

Version 1.11:
- Added test cases with spaces in the mailbox names. (Thanks to Johan Ekenberg
  <johan@fsdata.se> for finding the bug and submitting a partial patch.)
- Fixed line ending bugs for MS-DOS/Windows (Tests now pass under cygwin)
- Fixed mailbox detection problem with mailboxes whose first email is a
  pseudo-email used to store mailbox state information. (Thanks to Johan
  Ekenberg <johan@fsdata.se> for the bug report.)
- Fixed a bug on freebsd where mailboxes of size less than 2000 bytes would be
  incorrectly processed. (This fix is a less-than-optimal one which requires
  IO::String. I may later get the gumption to do it right using PerlIO::var)

Version 1.10:
- Testing modules are no longer (accidentally) installed.
- External programs are now queried during installation instead of just using
  whatever is in your path (a security risk). (Thanks to David N.
  Blank-Edelman <dnb@ccs.neu.edu> for the bug report.)
- Changed testing to use PERLRUN instead of FULLPERLRUN, which is not
  available with older versions of MakeMaker that ship with older versions of
  Perl. (Thanks to Ed Avis <ed.avis@kbcfp.com> for catching this.)
- Cache file permissions are now set to protect against prying eyes. (Patch by
  Joey Hess <joey@kitenet.net>)
- Improved speed testing.
- Added support for opening of files, and decompressing files or filehandles.
- Restructured test cases.
- Fixed a bug in _PUT_BACK_STRING which would cause major failures on Solaris.
- Fixed compatibility problems with perl 5.005_01
- Fixed grep implementation for filenames with spaces in them. (Thanks to
  Johan Ekenberg <johan@fsdata.se> for the bug report and patch.)
- Added "force_processing" option to force processing of files even if they
  look to be binary or non-mailboxes.

Version 1.00:
- Initial version, with caching and grep support. Code taken from version 5.00
  of grepmail