| 1 |
Version 5.3111: |
| 2 |
- Fix Makefile.PL warning |
| 3 |
- Fix deleting of inc during release process |
| 4 |
- Better fix for AutomatedTester warning |
| 5 |
|
| 6 |
Version 5.3110: |
| 7 |
- Fix test case for binary data |
| 8 |
- Updating META.yml |
| 9 |
|
| 10 |
Version 5.3109: |
| 11 |
- Switch to File::Slurper |
| 12 |
|
| 13 |
Version 5.3108: |
| 14 |
- Disable "check redirect to input file" feature on Windows, where apparently it |
| 15 |
doesn't work. |
| 16 |
|
| 17 |
Version 5.3107: |
| 18 |
- Trying once again to fix the compile test on windows |
| 19 |
|
| 20 |
Version 5.3106: |
| 21 |
- Check in standard tests, including one that skips the compile check on Windows |
| 22 |
- Attempt to be more compatible with CPAN testing, which apparently doesn't |
| 23 |
support symlinks |
| 24 |
|
| 25 |
Version 5.3105: |
| 26 |
- Add standard tests |
| 27 |
- Search headers of attachments, such as filename. Thanks Jim Diamond |
| 28 |
<[email protected]> for the suggestion. |
| 29 |
- Detect when someone accidentally makes STDOUT or STDERR also an input file. |
| 30 |
Thanks to Ta SA <[email protected]> for the feature suggestion. |
| 31 |
- Fix compatibility issue with newer versions of perl, which remove "." from |
| 32 |
@INC. |
| 33 |
|
| 34 |
Version 5.3104: Sat May 2 2015 |
| 35 |
- Prevent CPAN from indexing private-lib |
| 36 |
|
| 37 |
Version 5.3103: Apr 26 2015 |
| 38 |
- Clarify licensing terms |
| 39 |
- Don't install private Module::Install extension. Thanks to Paul Howarth |
| 40 |
<[email protected]> for the bug report in another module. |
| 41 |
https://rt.cpan.org/Ticket/Display.html?id=103482 |
| 42 |
- Move verbose testing to a private module, and implement it in a way that |
| 43 |
doesn't require editing the Makefile after it is generated. |
| 44 |
- Require File::Slurp instead of including it, to avoid potential problems |
| 45 |
like this: |
| 46 |
http://www.cpantesters.org/cpan/report/86a0145a-e52b-11e4-a1d1-8536eb4f9f07 |
| 47 |
- Miscellaneous fixes for Windows compatibility. This includes weaking the |
| 48 |
invalid mailbox test so that it only looks for output from grepmail, and not |
| 49 |
any "broken pipe" message from the OS. |
| 50 |
|
| 51 |
Version 5.3102: Sun Apr 12 2015 |
| 52 |
- Force the user to upgrade their Time::Local, to work around bugs in the |
| 53 |
stock version that came with old OSes like RHEL 5. |
| 54 |
http://www.cpantesters.org/cpan/report/61043eda-dd0e-11e4-abc4-b553e14af301 |
| 55 |
- Enable verbose testing for CPAN-testers |
| 56 |
- Consolidate issue tracking at rt.cpan.org |
| 57 |
|
| 58 |
Version 5.3101: Sat Apr 4 2015 |
| 59 |
- Add explicit include for Module::AutoInstall. Thanks to Paul Howarth |
| 60 |
<[email protected]> for the report. |
| 61 |
https://code.google.com/p/grepmail/issues/detail?id=1 |
| 62 |
- Improve the recursive.t test. |
| 63 |
https://code.google.com/p/grepmail/issues/detail?id=2 Thanks to Paul Howarth |
| 64 |
<[email protected]> for the bug report. |
| 65 |
- Add explicit "provides" to META.yml so that CPAN will allow me to upload |
| 66 |
this distribution. Version 5.3100 was rejected. Thanks to David Golden |
| 67 |
<[email protected]> for helping me to figure out the problem. |
| 68 |
|
| 69 |
Version 5.3100: Tue Mar 24 2015 |
| 70 |
- Move code to github |
| 71 |
- Fixed a bug where complex -E search patterns containing '\/' would fail to |
| 72 |
match emails properly. (Thanks to Cristian Ionescu-Idbohrn |
| 73 |
<[email protected]> for the bug report via Debian's bug |
| 74 |
tracker.) |
| 75 |
- Add POD test |
| 76 |
- Update tests to use Config{perlpath} for better compatibility with automated |
| 77 |
testing. |
| 78 |
- Prevent MakeMaker from recursing into any "old" directory |
| 79 |
- Fix t/invalid_date.t to work even when Date::Manip is not installed. |
| 80 |
- Fix t/nonexistent_mailbox.t -- broken STDIN does not cause $SIG{PIPE} |
| 81 |
- Dropped tzip support |
| 82 |
- Added lzip support. http://sourceforge.net/p/grepmail/patches/8/ Thanks to |
| 83 |
the anonymous contributor. |
| 84 |
- Added xz support. |
| 85 |
- Fix incompatibility with newer versions of Date::Manip. |
| 86 |
https://rt.cpan.org/Ticket/Display.html?id=54621. Thanks to Paul Howarth |
| 87 |
<[email protected]> for the report and patch. |
| 88 |
|
| 89 |
Version 5.3034: Sun Aug 16 2009 |
| 90 |
- Fixed man page year typo. Closes: Debian bug #428973 (Thanks to Joes Hess |
| 91 |
<[email protected]> for the patch) |
| 92 |
- Updated to the latest version of Module::Install |
| 93 |
- Moved hosting to Google Code |
| 94 |
- Added my old TODO to the distribution, adding a number of feature requests |
| 95 |
from SourceForge |
| 96 |
- Fixed a bug where grepmail would abort if the links traversed with -L caused |
| 97 |
a directory to be encountered more than once. |
| 98 |
- Fixed a bug in the -R test that would cause the test to fail when it should |
| 99 |
not. |
| 100 |
- Fixed uninitialized variable warnings for emails missing the Date:, |
| 101 |
Subject:, or From: headers (Thanks to Steven W. Orr <[email protected]> for |
| 102 |
the bug report.) |
| 103 |
|
| 104 |
Version 5.3033: Thu Mar 01 2007 |
| 105 |
- Improved the documentation for -Y. (Thanks to Justin Gombos |
| 106 |
<[email protected]> for the suggestion.) |
| 107 |
- Dropped tzip support in Mail::Mbox::MessageParser |
| 108 |
- Added -L flag to follow symbolic links. (Thanks to Peter Teuben |
| 109 |
<[email protected]> for prompting the idea.) |
| 110 |
- Fixed grepmail so that it works with Mail::Mbox::MessageParser 1.5000 |
| 111 |
(Thanks to Paul Howarth <[email protected]> for the bug report, and Alexey |
| 112 |
Tourbin for the fix.) |
| 113 |
- Fixed testspeed.pl to properly call report() instead of get_report() on new |
| 114 |
versions of Benchmark::Timer |
| 115 |
|
| 116 |
Version 5.3032: Tue Aug 2 2005 |
| 117 |
- Fixed backwards diff in test cases |
| 118 |
- Updated Mail::Mbox::MessageParser dependency to latest version, and updated |
| 119 |
test cases as well. (Thanks to Christoph Thiel <[email protected]> for the heads |
| 120 |
up.) |
| 121 |
|
| 122 |
Version 5.3031: Mon Jun 6 2005 |
| 123 |
- Fixed a bug that would cause the date_manip test to fail in some time zones. |
| 124 |
(Thanks to Kurt Roeckx <[email protected]> for the Debian bug report, and Joey |
| 125 |
Hess <[email protected]> for notifying me.) |
| 126 |
- Added a missing "use" statement in Test::Utils. |
| 127 |
- Improved date matching for mailboxes containing invalid dates. (Thanks to |
| 128 |
Steve Revilak <[email protected]> for the patch.) |
| 129 |
|
| 130 |
Version 5.3030: Tue Dec 21 2004 |
| 131 |
- Improved test failure reporting |
| 132 |
- Fixed version numbers, which were incompatible with some modules. (Thanks to |
| 133 |
Tassilo von Parseval <[email protected]> for the bug |
| 134 |
report) |
| 135 |
- Cleaned up code a bit |
| 136 |
|
| 137 |
Version 5.30.2: |
| 138 |
- Switched to Test::More for better test reporting |
| 139 |
|
| 140 |
Version 5.30.1: Thu Sep 16 2004 |
| 141 |
- Fixed Date::Manip parsing of single-point times such as "today". (Bug found |
| 142 |
by Marten van Wezel <[email protected]>) |
| 143 |
- Changed Makefile.PL to use Module::Install |
| 144 |
- Changed version numbering |
| 145 |
- Dropped Benchmark::Timer from the distribution, since the updated version |
| 146 |
has been released |
| 147 |
|
| 148 |
New in version 5.30: |
| 149 |
- Updated t/recursive.t to work better when there are version control |
| 150 |
directories in t/mailboxes/directory. (Thanks to Joey Hess |
| 151 |
<[email protected]> for the feature suggestion and initial patch.) |
| 152 |
- Updated t/invalid_mailbox.t to be more robust. (Thanks to an anonymous bug |
| 153 |
report on SourceForge.) |
| 154 |
- Fixed a bug in t/invalid_mailbox.t for Solaris. (Thanks to Jost Krieger |
| 155 |
<[email protected]> for the bug report.) |
| 156 |
- -F now works again (Thanks to Graham Gough <[email protected]> for the bug |
| 157 |
report.) |
| 158 |
- Changed incorrect "-h" to "--help" in two error messages. (Thanks to David |
| 159 |
Sewell <[email protected]> for catching this.) |
| 160 |
- Now correctly handles DOS-style line endings in mailboxes. (Thanks to Martin |
| 161 |
Hosken <[email protected]> for the initial patch.) Requires |
| 162 |
Mail::Mbox::MessageParser 1.20 or better now. |
| 163 |
- Changed single dates so that they are treated as inferred spans, instead of |
| 164 |
a single day. For example "2004" now means "between Jan 1 2004 and Jan 1 |
| 165 |
2005" instead of "between Jan 1 2004 and Jan 2 2004". (Thanks to Dan Pritts |
| 166 |
<[email protected]> for the feature suggestion.) |
| 167 |
|
| 168 |
New in version 5.23: |
| 169 |
- Updated test cases to run under Windows. |
| 170 |
- Fixed a bug in speed tests which would cause the grep implementation to |
| 171 |
fail. |
| 172 |
- Fixed incorrect output for emails without message bodies. (Thanks to Volker |
| 173 |
Kuhlmann <[email protected]> for the bug report.) |
| 174 |
- Fixed filename output for -n, -m and other situations when input comes from |
| 175 |
standard input. (Thanks to an anonymous submittor on SourceForge for an |
| 176 |
initial patch.) |
| 177 |
- Added -w flag to match word boundaries. (Thanks to Ed Avis |
| 178 |
<[email protected]> for the feature request.) |
| 179 |
- A warning is now issued and caching is disabled if -C is not specified and |
| 180 |
$HOME is not set (as might be the case when running grepmail in a cron job). |
| 181 |
(Thanks to Dr. Oliver Muth <[email protected]> for the bug report.) |
| 182 |
|
| 183 |
New in version 5.22: |
| 184 |
- X-Mailfolder header no longer has a line number when -n is used. (bugfix by |
| 185 |
Kevin Pfeiffer <[email protected]>) |
| 186 |
- New -B flag prints abbreviated headers (initial patch by Kevin Pfeiffer |
| 187 |
<[email protected]>) |
| 188 |
- Headers spanning multiple lines are now printed correctly in warnings and |
| 189 |
such. |
| 190 |
- Fixed a spurious warning which would be printed if caching was not enabled. |
| 191 |
- grepmail will now disable caching if the caching version of |
| 192 |
Mail::Mbox::MessageParser can not be loaded, instead of exiting. |
| 193 |
|
| 194 |
New in version 5.21: |
| 195 |
- Fixed line ending bugs under MS-DOS/Windows. |
| 196 |
|
| 197 |
New in version 5.20: |
| 198 |
- Added speed testing to the distribution |
| 199 |
- Fixed Makefile.PL so that test modules would not be installed. |
| 200 |
- Changed testing to use PERLRUN instead of FULLPERLRUN, which is not |
| 201 |
available with older versions of MakeMaker that ship with older versions of |
| 202 |
Perl. (Thanks to Ed Avis <[email protected]> for catching this.) |
| 203 |
- Fixed interactive installation problems. (Thanks to Joey Hess |
| 204 |
<[email protected]> for catching this (again).) |
| 205 |
- Fixed broken searching of $HOME/mail, $HOME/Mail, and $HOME/Mailbox |
| 206 |
directories when a mail folder can not be found. Changed $MAIL to $MAILDIR |
| 207 |
since $MAIL usually points to the user's inbox. (Bug found and initial patch |
| 208 |
by Peter Cordes <[email protected]>.) |
| 209 |
- Cache file permissions are now set to protect against prying eyes. (Patch by |
| 210 |
Joey Hess <[email protected]>) |
| 211 |
- The user can now specify the cache file location with the -C flag. |
| 212 |
- Fixed compatibility problems with perl 5.005_01 |
| 213 |
|
| 214 |
New in version 5.10: |
| 215 |
- Extracted mail parsing into the new Mail::Mbox::MessageParser module. |
| 216 |
- Fixed small performance loss bugs in short-circuit matching of headers which |
| 217 |
were introduced in the last version |
| 218 |
- Fixed some uses of uninitialized values (Originally reported by Ed Avis |
| 219 |
<[email protected]>.) |
| 220 |
- Improved performance a bit. |
| 221 |
- The Makefile.PL now uses the default values when run non-interactively. |
| 222 |
- Caching is now enabled by default. (It's no longer experimental.) Users can |
| 223 |
disable it during installation. |
| 224 |
- Date specifications without times (e.g. "today") are interpreted as midnight |
| 225 |
of the given day instead of the current time of that day. grepmail now |
| 226 |
relies on Date::Manip to handle this--users must upgrade Date::Manip to get |
| 227 |
this support. (Thanks to Reuben Thomas <[email protected]> for working with |
| 228 |
Sullivan Beck <[email protected]> to get TodayIsMidnight added to |
| 229 |
Date::Manip. Original bug report by Philip Douglass |
| 230 |
<[email protected]>) |
| 231 |
- Restructured test cases |
| 232 |
|
| 233 |
New in version 5.00: |
| 234 |
- grepmail is now orders of magnitude faster for mailboxes which have very |
| 235 |
large (>30MB) emails in them |
| 236 |
- "grep" is now used to find the start of emails, if it is installed. For |
| 237 |
mailboxes with large emails in them, this can speed things up by about 5x. |
| 238 |
- Reduced memory consumption by about 3 times. |
| 239 |
- -- now marks the end of options and the beginning of folders (Thanks to |
| 240 |
Reuben Thomas <[email protected]> for the idea.) |
| 241 |
- -f now reads patterns from a file like GNU grep does. (Feature suggestion by |
| 242 |
[email protected]) -j is now used for status |
| 243 |
- Added smail compatibility. (Thanks to Roy <[email protected]> for the patch.) |
| 244 |
- The "**" prefix on warnings has been changed to "grepmail:" |
| 245 |
- Date specifications without times (e.g. "today") are interpreted as midnight |
| 246 |
of the given day instead of the current time of that day. (Bugfix and |
| 247 |
initial patch by Reuben Thomas <[email protected]>.) |
| 248 |
- Fixed -i when used with -Y--it was always case sensitive. (Bugfix by Michael |
| 249 |
C. Toren <[email protected]>) |
| 250 |
- Updated t/functionality.t to avoid running gzip-related test cases when gzip |
| 251 |
is not installed on the system. |
| 252 |
- Improved some error messages so that they prepend "grepmail: " as they |
| 253 |
should |
| 254 |
- Cleaned up some warnings about ambiguous hash values (Thanks to Philip |
| 255 |
Douglass <[email protected]> for pointing them out in a bug report.) |
| 256 |
- Added a warning about the version of perl required for new pattern features |
| 257 |
(Thanks to Philip Douglass <[email protected]> for the bug report.) |
| 258 |
- -t flag is now -j |
| 259 |
- Fixed broken Gnus support |
| 260 |
- Improved test case for Gnus |
| 261 |
|
| 262 |
New in version 4.91: |
| 263 |
- Added missing dependency for Storable. |
| 264 |
- Storable now only necessary if you plan on using caching |
| 265 |
- Fixed a bug in test case 83 |
| 266 |
- Changed -s to support "<", ">", "<=", ">=" and "-". (Feature suggestion by |
| 267 |
Jens Schleusener <[email protected]>) |
| 268 |
|
| 269 |
New in version 4.90: |
| 270 |
- Made Mail::Folder::SlowReader object-oriented |
| 271 |
- Removed FastReader from distribution. (It's no longer faster! Also, I |
| 272 |
couldn't integrate it easily with the new object-oriented reader design.) |
| 273 |
- Fixed a bug where in some cases emails were not being converted to mbox |
| 274 |
format before being printed |
| 275 |
- Made searches involving header-related constraints a bit faster |
| 276 |
- Added missing documentation for -F flag |
| 277 |
- Added -f flag to search based on message status. (Feature suggestion by |
| 278 |
Richard D Alloway <[email protected]>) |
| 279 |
- Fixed a bug where -X and -Y flags after a pattern would not be processed |
| 280 |
- Added experimental caching capability, which is perhaps 5% slower the first |
| 281 |
time you run grepmail on a mail folder, and 10-20% faster on subsequent |
| 282 |
runs. The cache is stored in ~/.grepmail-cache. You must edit the grepmail |
| 283 |
file and set $USE_CACHING to true to use this feature. (Idea and initial |
| 284 |
patch by terry jones <[email protected]>) |
| 285 |
|
| 286 |
New in version 4.81: |
| 287 |
- Fixed incompatibilities with older (5.005_03) versions of Perl |
| 288 |
- Fixed test cases which fail on operating systems (shells?) which emit |
| 289 |
"Broken Pipe" to standard output. I'd rather break the pipe than have |
| 290 |
grepmail gobble megabytes of data when it can't handle it. |
| 291 |
- Added --version flag (patch by Gerald Pfeifer <[email protected]>) |
| 292 |
- Added documentation for -V flag. |
| 293 |
|
| 294 |
New in version 4.80: |
| 295 |
- Added prototype -E flag to support complex searches. (Thanks to Nelson Minar |
| 296 |
<[email protected]> for the original suggestion in Sep 2000, And terry jones |
| 297 |
<[email protected]> for seconding the idea.) |
| 298 |
- Added -F flag to force processing of files which grepmail determines are not |
| 299 |
mailboxes. (feature suggested by terry jones <[email protected]>) |
| 300 |
- Documentation updated to reflect that -B no longer exists. (By terry jones |
| 301 |
<[email protected]>) |
| 302 |
- The test to determine if a file is a mailbox was improved to adhere better |
| 303 |
to RFC 822, while still providing some flexibility. (Initial suggestion and |
| 304 |
patch by terry jones <[email protected]>) |
| 305 |
- Improved date extraction to also look at the 'From ' line when both the |
| 306 |
Received and Date headers fail. (patch by terry jones <[email protected]>) |
| 307 |
- Fixed a long-standing bug in which filenames of compressed mailboxes which |
| 308 |
contained special shell characters would cause problems. (Thanks to Jost |
| 309 |
Krieger <[email protected]> for giving me the kick in the pants |
| 310 |
to finally fix this.) |
| 311 |
- Fixed a long-standing bug in which grepmail would incorrectly report the |
| 312 |
filename of compressed mailboxes in error messages. (Thanks to Jost Krieger |
| 313 |
<[email protected]> for giving me the kick in the pants to |
| 314 |
finally fix this.) |
| 315 |
|
| 316 |
New in version 4.72: |
| 317 |
- 20% speed improvement in the Perl mailbox parser (By terry jones |
| 318 |
<[email protected]>) |
| 319 |
- Fixed a number of potential bugs in command line processing and date |
| 320 |
processing. (By terry jones <[email protected]>) |
| 321 |
- Cleaned up return values and use of quotes in the code. (By terry jones |
| 322 |
<[email protected]>) |
| 323 |
- Fixed a bug in -X signature processing (By terry jones <[email protected]>) |
| 324 |
- Modified anonymize_mailbox to anonymize To: and Subject: in the header. |
| 325 |
(Thanks to terry jones <[email protected]> for the idea.) |
| 326 |
- Fixed a bug in FastReader where emails less than 255 characters in size |
| 327 |
would occasionally cause a core dump. (Thanks to terry jones |
| 328 |
<[email protected]> for submitting a bug report and sample mailbox.) |
| 329 |
- Made "big" test mailboxes 4 times bigger for more meaningful speed tests |
| 330 |
|
| 331 |
New in version 4.71: |
| 332 |
- Fixed warning about SIGHUP on Windows. |
| 333 |
- Fixed -u functionality for emails without the Message-Id header. (Thanks to |
| 334 |
Felix E. Klee <[email protected]> for finding the bug.) NOTE: grepmail will |
| 335 |
use Digest::MD5 to compute a hash for the email header. If you don't have |
| 336 |
Digest::MD5, grepmail will just store the header. So, the default tradeoff |
| 337 |
is time for space. |
| 338 |
- Fixed a bug in the test script. (Thanks to Joey Hess <[email protected]> for |
| 339 |
finding and fixing the bug.) |
| 340 |
- Extended workaround for spurious warning about undefined variable to Perl |
| 341 |
5.8. (Thanks to Joey Hess <[email protected]> for reporting the ongoing |
| 342 |
heisenbug.) |
| 343 |
|
| 344 |
New in version 4.7: |
| 345 |
- Fixed signal handling to make grepmail easier to debug. Thanks to Ilya |
| 346 |
Zakharevich for providing the solution. |
| 347 |
- Fixed a possible performance problem in reading of emails (Perl |
| 348 |
implementation), and documented the settings in the README. |
| 349 |
- Expanded the pattern for matching the start of emails to allow different |
| 350 |
types of emails to be parsed. |
| 351 |
- Fixed a bug where -R was reported as not recognized. (Thanks to Nicholas |
| 352 |
Riley <[email protected]> for the bug report and fix.) |
| 353 |
- "anonymize_mailbox" utility included to help people submit bug reports |
| 354 |
- If a mailbox can not be found, grepmail now searches the $home/mail, |
| 355 |
$home/Mail, $home/Mailbox directories (or the directory specified by the |
| 356 |
MAIL environment variable). (Thanks to Michael Friendly <[email protected]> |
| 357 |
for the feature suggestion and initial patch.) |
| 358 |
- Added -X flag to allow the user to specify a pattern for the signature |
| 359 |
separator. (Thanks to Michael Friendly <[email protected]> for the feature |
| 360 |
suggestion.) |
| 361 |
- Added -Y flag to search specific headers. (Thanks to Terry Jones |
| 362 |
<[email protected]> for the idea to automatically wrap header lines as |
| 363 |
necessary.) |
| 364 |
|
| 365 |
New in version 4.60: |
| 366 |
- Removed -B flag and added -S flag. -B is now performed using -bS. |
| 367 |
- Added installation flags to suppress interactive installation. (Thanks to |
| 368 |
Joey Hess <[email protected]> for the problem report. He had to patch |
| 369 |
Makefile.PL for his Debian packaging.) |
| 370 |
- Fixed a slow implementation of searching for signatures that would cause |
| 371 |
grepmail to crawl for very large emails. Thanks to Joey Hess |
| 372 |
<[email protected]> for discovering the inefficiency. |
| 373 |
- Fixed a short-circuit which should have bypassed the search for signatures |
| 374 |
if -B was not specified. Thanks to Joey Hess <[email protected]> for finding |
| 375 |
the bug. |
| 376 |
- Implemented a new Perl parser which is 5% to 50% faster depending on how |
| 377 |
I/O-bound your system is. |
| 378 |
- Restructured the code a bit and improved detection of invalid arguments. |
| 379 |
|
| 380 |
New in version 4.51: |
| 381 |
- grepmail now dies gracefully when invalid patterns like 'strcpy(' are |
| 382 |
supplied. (It should be 'strcpy\('.) |
| 383 |
- Fixed a bug in attachment boundary matching which would cause the boundary |
| 384 |
match to fail if the boundary contained special pattern matching characters. |
| 385 |
(Thanks to Richard Everson <rme at users.sourceforge.net> for identifying |
| 386 |
the bug, and providing a sample email which demonstrates the problem.) |
| 387 |
- Added a check for Inline 0.41 or better during "perl Makefile.PL" when |
| 388 |
Mail::Folder::FastReader is selected to be installed. (Thanks to Brian L. |
| 389 |
Johnson <[email protected]> for the problem report.) |
| 390 |
- Fixed a bug where grepmail would fail to print matching emails which had |
| 391 |
signatures, and added a test case for it. This bug was introduced with -B |
| 392 |
support in version 4.49. (A *huge* thanks to Moritz Barsnick |
| 393 |
<[email protected]> for reporting the bug and doing the initial analysis of |
| 394 |
the cause.) |
| 395 |
- Modified Makefile.PL to ask whether the user wants FastReader regardless of |
| 396 |
whether they specified arguments to "make Makefile.PL". |
| 397 |
- Modified Makefile.PL to allow the user to interactively specify the |
| 398 |
installation path. |
| 399 |
- Fixed a typo in debugging output for emails without "Date:" headers. |
| 400 |
- Improved error messages. |
| 401 |
- Usage message now displays just the flags, --help shows a summary of their |
| 402 |
meanings as well. |
| 403 |
|
| 404 |
New in version 4.50: |
| 405 |
- Added X-Draft-From to support newer versions of Gnus (Thanks to Nevin Kapur |
| 406 |
<[email protected]> for the patch). |
| 407 |
|
| 408 |
New in version 4.49: |
| 409 |
- Fixed test cases to work around PATH modifications made by Date::Manip |
| 410 |
- Added -B to search the body but not the signature. (Thanks to Helmut |
| 411 |
Springer <[email protected]> for the feature request.) |
| 412 |
- Added LICENSE file. (Thanks to Janet Casey <[email protected]> for the |
| 413 |
reminder.) |
| 414 |
|
| 415 |
New in version 4.48: |
| 416 |
- Mail::Folder::FastReader migrated from XS to Inline. |
| 417 |
- -H flag added by Nevin Kapur <[email protected]> |
| 418 |
- Error messages are localized in test cases. (Thanks to cpan-testers and in |
| 419 |
particular Jost Krieger <[email protected]> for finding this |
| 420 |
bug and diagnosing it.) |
| 421 |
- Fixed a problem with timezones in the test cases. (Thanks to Roy Lanek |
| 422 |
<[email protected]> for helping me debug this.) |
| 423 |
- Added a check in the test cases for determining if the user's timezone is |
| 424 |
not recognized by Date::Manip. |
| 425 |
|
| 426 |
New in version 4.47: |
| 427 |
- Grepmail now converts Gnus emails into mbox emails before printing them. |
| 428 |
(Thanks to Johan Vromans <[email protected]> for supplying a patch and |
| 429 |
explaining the need for it. |
| 430 |
- Fixed a couple bugs in -M processing |
| 431 |
- -M is now 19% faster. (It's now only about 9% slower than without -M.) |
| 432 |
|
| 433 |
New in version 4.46: |
| 434 |
- Fixed a bug in -u message id processing. (Thanks go to an anonymous bug |
| 435 |
reporter on SourceForge.) |
| 436 |
- Added more workarounds to prevent warnings resulting from a bug in Perl 5.6 |
| 437 |
(Thanks to Joey Hess <[email protected]>) |
| 438 |
- Added -Z flag to tell grepmail not to use Mail::Folder::FastReader even if |
| 439 |
it is installed. |
| 440 |
- Fixed a bug introduced in version 4.44 where -m would not work unless used |
| 441 |
with -n. (Thanks to Imre Simon <[email protected]> for catching this.) |
| 442 |
- --help anywhere on the command line now causes the help to be printed, |
| 443 |
instead of only when used as the first argument. |
| 444 |
- Test script now exercises both the Mail::Folder::FastReader and perl mailbox |
| 445 |
implementations as appropriate. |
| 446 |
- Restructured code to separate out Perl mailbox implementation as |
| 447 |
Mail::Folder::SlowReader. (This module is embedded in the grepmail script.) |
| 448 |
|
| 449 |
New in version 4.45: |
| 450 |
- Added -n and -V to usage message. (Thanks to Wolfgang Rohdewald |
| 451 |
<[email protected]> for catching this.) |
| 452 |
- Added workarounds to prevent warnings resulting from a bug in Perl 5.6 |
| 453 |
- A blank line before the start of an email is not required now. This |
| 454 |
allows broken folders created by Netscape to be read. (Thanks to Jeremy |
| 455 |
Malcolm <[email protected]> for the bug report.) |
| 456 |
- Mail::FastReader is 8% faster. |
| 457 |
|
| 458 |
New in version 4.44: |
| 459 |
- execution with -M flag now 35% faster |
| 460 |
- Added a Mail::Folder::FastReader module which can cause grepmail to |
| 461 |
run 10-40% faster, depending on your system. Since this module is |
| 462 |
experimental, the installation script will allow you to not install |
| 463 |
the module. A C compiler is required. |
| 464 |
- "-----Original Message-----" now recognized as beginning an included |
| 465 |
message |
| 466 |
- Fixed a bug where errors would not be displayed if compressed data |
| 467 |
was piped to grepmail |
| 468 |
- Date::Parse is now only required if -d is used. (Date::Manip is |
| 469 |
still only required if you use complex date specfications.) (Thanks |
| 470 |
to Richard Stallman <[email protected]> for pointing this out.) |
| 471 |
- Added -n flag to print line numbers a la grep. (Thanks to Richard |
| 472 |
Stallman <[email protected]> for the suggestion) |
| 473 |
- Fixed a bug in debug output where the email subject was actually the |
| 474 |
sender |
| 475 |
- Fixed an undefined value in the printing of flag information |
| 476 |
- An ASCII file is now determined to be a mailbox if it has a line |
| 477 |
whose prefix is 'From' or 'X-From-Line:', and another line whose |
| 478 |
prefix is 'Received ', 'Date:', 'Subject:', 'X-Status:', or |
| 479 |
'Status:'. |
| 480 |
- Error exits now return 1 (Thanks to Wolfgang Rohdewald |
| 481 |
<[email protected]> for the bug report) |
| 482 |
- -V flag prints the version (Thanks to Wolfgang Rohdewald |
| 483 |
<[email protected]> for the feature request) |
| 484 |
- Restructured code: localized reading of the emails from the file, |
| 485 |
removed two functions |
| 486 |
|
| 487 |
New in version 4.43: |
| 488 |
- Fixed a bug in -r counting when used with -h. (Thanks to Andrew |
| 489 |
<[email protected]> for the bug report.) |
| 490 |
- Fixed a bug in the handling of included messages. (Thanks to Antoine |
| 491 |
Martin <[email protected]> for the bug report and suggestion |
| 492 |
for the fix.) |
| 493 |
|
| 494 |
New in version 4.42: |
| 495 |
- Added -a flag to use received date instead of sent date for -d matches. |
| 496 |
(Thanks to Michael Liljeblad <liljeblad at users.sourceforge.net> for the |
| 497 |
patch.) |
| 498 |
- Included emails are now ignored properly (Thanks to an anonymous submittor |
| 499 |
for the bug report and part of a patch |
| 500 |
https://sourceforge.net/bugs/?func=detailbug&bug_id=112159&group_id=2207) |
| 501 |
- If an email has no date, the -d switch now issues a warning and does not |
| 502 |
treat the email as a match (Thanks to David Blaine <blained at |
| 503 |
users.sourceforge.net> for the bug report.) |
| 504 |
- -d "" can be used to find emails without dates |
| 505 |
- Mailbox files are now detected as files using |
| 506 |
if ($buffer =~ /^(X-From-Line:|From) /im && $buffer =~ /^Subject: /im) |
| 507 |
rather than |
| 508 |
if ($buffer =~ /^(X-From-Line:|From) /im && $buffer =~ /^Date: /im) |
| 509 |
- Improved detection of binary files. (Thanks to Dan Sugalski |
| 510 |
<[email protected]> for the sample code.) |
| 511 |
- STDERR and STDOUT now checked separately during "make test" |
| 512 |
- Headers can now be in the format "Date:<tab>" in addition to "Date: " |
| 513 |
(Thanks to Benjamin Korvemaker <korvemaker at users.sourceforge.net> for the |
| 514 |
patch and concept.) |
| 515 |
|
| 516 |
New in version 4.41: |
| 517 |
- Support for Gnus-style mail files added (Thanks to Werner Bosse |
| 518 |
<[email protected]> for the patch.) |
| 519 |
- Test mail files tweaked to make the test cases work better across all time |
| 520 |
zones. (Thanks to Andreas Kutschera <[email protected]> for |
| 521 |
the patch.) |
| 522 |
- Added check for unparsable dates in email headers. |
| 523 |
- Fixed a Perl warning raised when date parsing fails. |
| 524 |
- Added instructions for getting the necessary modules to README. |
| 525 |
|
| 526 |
New in version 4.40: |
| 527 |
- Date::Parse and Date::Manip version unified -- Date::Parse is now required, |
| 528 |
and Date::Manip (if present) is used to parse complex dates. (Patch by |
| 529 |
Seth Cohn <[email protected]>, modified by David Coppit) |
| 530 |
|
| 531 |
New in version 4.31: |
| 532 |
- Distro has missing test cases for -u functionality. Doh! |
| 533 |
|
| 534 |
New in version 4.30: |
| 535 |
- Updated code to avoid warnings under Perl 5.6 (Thanks to Andreas Kutschera |
| 536 |
<[email protected]> for the bug report.) |
| 537 |
- Fixed a bug in the test script where bzip2, gzip, and tzip support would not |
| 538 |
be tested even though the programs were available. (Thanks to Andreas |
| 539 |
Kutschera <[email protected]> for the patch.) |
| 540 |
- Added standard --help flag (Patch by Seth Cohn <[email protected]>) |
| 541 |
- Added -u ("unique") flag, which ensures that no duplicate messages will be |
| 542 |
output. (A BIG thanks to Seth Cohn <[email protected]>.) |
| 543 |
|
| 544 |
New in version 4.23: |
| 545 |
- Updated the test cases to work better in timezones close to +0000 and +2300. |
| 546 |
(email if you have problems with tests 1 and 23. Thanks to Harald Krause |
| 547 |
<[email protected]> for first finding the bug, and Adam Huffman |
| 548 |
<[email protected]> for his help debugging it.) |
| 549 |
- Fixed a bug in the "ignore attachments" code |
| 550 |
|
| 551 |
New in version 4.22: |
| 552 |
- grepmail now behaves better when tzip, bzip2 or gunzip aren't present on the |
| 553 |
system. |
| 554 |
- The code has been restructured to compile more easily with perlcc. |
| 555 |
|
| 556 |
New in version 4.21: |
| 557 |
- Fixed a bug that would cause grepmail to runaway when a pipe following it |
| 558 |
was broken. (Thanks to Gerald Pfeifer <[email protected]> for the |
| 559 |
bug report) |
| 560 |
|
| 561 |
New in version 4.20: |
| 562 |
- grepmail development has been moved to SourceForge, and made public. Visit |
| 563 |
http://grepmail.sourceforge.net/ |
| 564 |
- Added -s flag, which limits matched emails to a given size |
| 565 |
- Restructured the code to be more robust with respect to feature interaction. |
| 566 |
(At a 5-10% slowdown cost.) |
| 567 |
- Fixed an uninitialized variable warning caused by emails without subjects in |
| 568 |
debug mode. |
| 569 |
|
| 570 |
New in version 4.11: |
| 571 |
- Fixed a bug where an ASCII file would not be recognized as a mailbox when |
| 572 |
the first couple emails did not have a "From:" line. (Thanks to Jeff Flowers |
| 573 |
<[email protected]>) |
| 574 |
- Added standard Perl testing. |
| 575 |
|
| 576 |
New in version 4.1: |
| 577 |
- Stripped auto-perl execution code, since it never works on all platforms. |
| 578 |
(Installation instructions modified to require the user to fix the #! line.) |
| 579 |
- Minor changes to allow grepmail to run without -w complaints. |
| 580 |
|
| 581 |
New in version 4.0: |
| 582 |
- Fixed a bug where shell characters needed to be escaped for compressed |
| 583 |
files. (Bug found by Richard Clamp <[email protected]> |
| 584 |
- Added #!/bin/sh as first line to make the rest compatible with csh/tcsh |
| 585 |
users. (Bug found by Ed Arnold <[email protected]>) |
| 586 |
|
| 587 |
New in version 3.9: |
| 588 |
- Took out specialization engine because there wasn't enough support to |
| 589 |
program in that style. |
| 590 |
- Offering 2 main versions now -- Date::Manip and Date::Parse |
| 591 |
- Added -R option, which causes grepmail to recurse any directories |
| 592 |
encountered. (Thanks to Emil Tiller <[email protected]> for the |
| 593 |
initial code.) |
| 594 |
- Fixed a small bug that would cause some attachments not to be identified. |
| 595 |
|
| 596 |
New in version 3.8: |
| 597 |
- Added a prototype engine to allow users to specialize grepmail at |
| 598 |
installation time. (See below) |
| 599 |
- Fixed buggy mailbox detection algorithm |
| 600 |
- Fixed bug in identification of email headers. |
| 601 |
- Fixed bug in parsing timezones of emails. (Thanks to Wolfgang Weisselberg |
| 602 |
<[email protected]>) |
| 603 |
- Fixed bug in handling of date specifications like "2 days ago" and "2 weeks |
| 604 |
ago" |
| 605 |
- Added -M switch, which causes grepmail to ignore non-text attachments. |
| 606 |
- Added "quiet mode", -q switch, which supresses warnings about directories, |
| 607 |
non-mailbox ASCII files, binary files that can't be decompressed, etc. |
| 608 |
- Restructured code a bit. Moved file and STDIN processing out of main. The |
| 609 |
whole email is now read before the match is made to the body, instead of |
| 610 |
trying to match the pattern while reading the body. (This simplifies the |
| 611 |
algorithms and makes -M support a lot easier, at the cost of increasing the |
| 612 |
required memory slightly.) Now uses ungetc to put the test characters used |
| 613 |
during file type detection back on the stream. |
| 614 |
|
| 615 |
New in version 3.7: |
| 616 |
- Added -D for debugging output |
| 617 |
- Now ignores ASCII files that don't look like mailboxes. Thanks to oak |
| 618 |
<[email protected]> for pointing this out. |
| 619 |
- Uses Date::Parse instead of Date::Manip, which results in faster execution |
| 620 |
time at the expense of less flexibility. (e.g. You can't do "12pm January 5 |
| 621 |
1997" any more) |
| 622 |
|
| 623 |
New in version 3.6: |
| 624 |
- No more temporary files! This addresses the security issues that a few |
| 625 |
people have sent me email about. The script may use slightly more memory, |
| 626 |
depending on the size of the largest email. (Email is now buffered as it is |
| 627 |
read, and the whole buffer is printed when a match occurs. This is in |
| 628 |
contrast to storing the file pointer and seeking back to the start of the |
| 629 |
email.) The script is substantially faster for large amounts of data piped |
| 630 |
as STDIN. Many thanks go to Joey Hess (<[email protected]>), who supplied |
| 631 |
insights and contributions toward making this release happen, especially the |
| 632 |
buffering code. |
| 633 |
|
| 634 |
New in version 3.5: |
| 635 |
- grepmail will not try to decompress piped input that is empty. |
| 636 |
- Temporary files are now placed in the user's home directory to help avoid |
| 637 |
privacy attacks (or in the directory specified by the TMPDIR environment |
| 638 |
variable, if it exists). |
| 639 |
- Fixed a bug that would occasionally leave a tempfile around. |
| 640 |
|
| 641 |
New in version 3.4.1: |
| 642 |
- Fixed a bug that added an extra line to the start of output. (Thanks to |
| 643 |
Moritz Barsnick <[email protected]> for helping to find this.) |
| 644 |
|
| 645 |
New in version 3.4: |
| 646 |
- Added tzip support. (thanks to Marc Lehmann <[email protected]>) |
| 647 |
- Reordered flags to better match grep. |
| 648 |
- Changed command line syntax again. (Last time, I hope.) |
| 649 |
|
| 650 |
New in version 3.3: |
| 651 |
- Added bzip2 support. (thanks to Josh Plautz <[email protected]>). |
| 652 |
- Improved error checking on piped binary input. |
| 653 |
- Added debugging code. |
| 654 |
|
| 655 |
New in version 3.2: |
| 656 |
- Added TMPFILE environment variable support, and a signal handler. (thanks |
| 657 |
to Ulli Horlacher (<[email protected]>). |
| 658 |
- Fixed a bug where the last paragraph of the last email in a mailbox would |
| 659 |
not be printed on Linux. (How's that for obscure? Thanks to Eli Criffield |
| 660 |
<[email protected]> for discovering it.) |
| 661 |
|
| 662 |
New in version 3.1: |
| 663 |
- Modified the decompression to be more compatible with older versions of gzip. |
| 664 |
- Improved error checking so that "grepmail -h" prints a usage message. |
| 665 |
- Added -m flag, which causes an "X-Mailfolder" line to be added to the |
| 666 |
header, thereby showing which folder contained the message. (by Ulli |
| 667 |
Horlacher <[email protected]>). |
| 668 |
- Improved error checking on flags. |
| 669 |
- Changed "zcat" to "gunzip -c" to help with backwards compatibility with older |
| 670 |
versions of gzip (thanks to Eugene Kim <[email protected]>). |
| 671 |
|
| 672 |
New in version 3.0: |
| 673 |
- -h and -b can be used together. |
| 674 |
- Rewrote the ProcessMailFile to run 2 to 3 times faster, and use less memory. |
| 675 |
- Correctly diagnoses directories as such (by Gerald Pfeifer |
| 676 |
<[email protected]>). |
| 677 |
|
| 678 |
New in version 2.1: |
| 679 |
- Added -l,-r, and -e, as suggested by Reinhard Max <[email protected]>. |
| 680 |
- Now uses about 1/3 the memory, and is a little faster. |
| 681 |
|
| 682 |
New in version 2.0.1: |
| 683 |
- Added POD documentation at the end of the script (thanks, Jeffrey |
| 684 |
Haemer <[email protected]>). |
| 685 |
- -h for headers only -b for body only |
| 686 |
|
| 687 |
New in version 1.9: |
| 688 |
- "Ignore empty files" by Gerald Pfeifer <[email protected]>. |
| 689 |
- Emails without dates are now automatically output no matter what the |
| 690 |
date specification is. (Better safe than sorry!) |
| 691 |
|
| 692 |
New in version 1.7: |
| 693 |
- Sped up by Andrew Johnson. It no longer looks for dates unless the email |
| 694 |
matches the search string. |
| 695 |
|
| 696 |
New in version 1.6: |
| 697 |
- Removed use of Compress::Zlib because it was 30% slower, complicated the |
| 698 |
code, and because any user with gzip'd mail has zcat... |
| 699 |
|
| 700 |
New in version 1.5: |
| 701 |
- Andrew Johnson <[email protected]> fixed a couple of bugs. |
| 702 |
|
| 703 |
New in version 1.4: |
| 704 |
- Incorporated conditional loading of the date module (submitted by Andrew |
| 705 |
Johnson <[email protected]> Many thanks!). |
| 706 |
- compress::Zlib used instead of shelling out to gunzip (submitted by Andrew |
| 707 |
Johnson <[email protected]> Many thanks!). |
| 708 |
- Some bug fixes (submitted by Andrew Johnson <[email protected]> |
| 709 |
Many thanks!). |
| 710 |
- Also restructured the code a bit. |
| 711 |
|
| 712 |
New in version 1.3: |
| 713 |
- Made it pipeable so you can do: grepmail <pattern> file | grepmail <pattern> |
| 714 |
|
| 715 |
New in version 1.2: |
| 716 |
- Restructured the code a bit. |
| 717 |
|
| 718 |
New in version 1.1: |
| 719 |
- Support for dates. |
| 720 |
|
| 721 |
New in version 1.0: |
| 722 |
- Initial version, with -v -i, and gzip support |