==== version history of Log::Report version 0.27: Fri May 28 15:37:44 CEST 2010 Fixes: - turn autoflush on for FILE dispatcher. Found by [Robin V.] - Test::More 0.95_01 changes is() w.r.t. overloading... broken tests. rt.cpan.org#57703 [Slaven Rezic] version 0.26: Mon Feb 15 10:08:23 CET 2010 Changes: - default of 'syntax' changed from 'REPORT' to 'SHORT'. Improvements: - fixes in dispatcher doc "mode" table. - document use of ::Exception::throw a bit better. - more useful error when parameter list has odd length. version 0.25: Thu Jul 16 12:18:51 CEST 2009 Improvements: - new method Log::Report::Exception::toString(), also overloaded for stringification. version 0.24: Mon Apr 27 10:02:12 CEST 2009 Fixes: - default language switching broken. - fix t/50file.t in Dutch environment [Peter de Vos] version 0.23: Fri Apr 24 16:18:12 CEST 2009 Fixes: - remember global mode, for dispatchers started later. - let try() use dispatcher mode, not to loose trace etc. - resolve complaint on exit. Improvements: - when an empty list has to be expanded, it will show '(none)' - require Sys::Syslog 0.27 version 0.22: Mon Jan 26 09:05:55 CET 2009 Fixes: - do not use /bin/pwd in t/pod.t, because it fails on Windows [Serguei Trouchelle] - translate long Windows locales into short rt.cpan.org#41943 [Serguei Trouchelle] version 0.21: Wed Jan 21 10:31:48 CET 2009 Fixes: - avoid recursion when locale setting is not understood. rt.cpan.org#41943 [Serguei Trouchelle] Improvements: - add Log::Report::needs() for convenience version 0.20: Thu Dec 11 14:18:15 CET 2008 Fixes: - dispatcher does not convert output to a default charset, because the optimal default cannot be established on most platforms. version 0.19: Mon Nov 24 12:52:34 CET 2008 Fixes: - fix for Test::More interface change in 0.86. - be strict on the character-set of the messages which are written, by default in UTF-8. (LC_CTYPE for the File dispatcher if available) Improvements: - work around missing LC_MESSAGES on old perls [Toby Corkindale] - few improvements in main SYNOPSIS - removed ::Dispatcher::File setting of encoding in binmode, in favor of explicit (internal) encoding for all dispatched messages. - require Encode 2.00+ - test do not say 'ERROR' but 'WARNING' in t/04setlocale.t when the setlocale() call does not return the old value as it should, according to the standards. Less confusion to the end-user, hopefully. version 0.18: Fri May 9 15:36:06 CEST 2008 Fixes: - few fixes to Win32Locale and parse_locale() [Ari Jolma] - Require Sys::Syslog 0.24 version 0.17: Fri Apr 18 18:20:51 CEST 2008 Fixes: - strackTrace error with isa() when parameter string contains a '::' and when a parameter is undefined. Changes: - changing the run-mode will change the accepted reasons as well, because it was too complex to understand. Improvements: - complain if syntax option has an invalid value. - use warnings and strict in Win32Locale [cpants] - dispatcher command on "ALL" defined dispatchers. - use Log::Report mode => 'something' version 0.16: Thu Mar 27 11:32:08 CET 2008 Fixes: - assert, error, and such are functions, but where documented as being methods. - xgettext-perl -h did not exit. - complaints on Windows about prototype mistake when redefining LC_MESSAGES [Adam Kennedy] Improvements: - ::Lexicon::Index::list() got second optional argument, to filter filenames. - Silence symlink recursion errors in ::Lexicon::Index version 0.15: Mon Feb 25 15:36:37 CET 2008 Changes: - ::Dispatcher::Syslog::new(format_reason) change default to 'IGNORE'. - warning does not get a line-number/filename. Use alert if you need those. Improvements: - added logsocket option to SYSLOG dispatcher. - exception can be re-throw-n with a different reason. - stop parse_locale() from complaining about locale==undef - ::Util::parse_locale() does a better job trying to conform to various standards. In SCALAR context, it now returns more information. - avoid calling ::Dispatcher::DESTROY during global destruction, because Perl produces horrible complaints for some releases of Perl. - link manual-pages with Text::Catalog (renamed from Log::Report::View) version 0.14: Fri Nov 2 15:00:49 CET 2007 Fixes: - Another syntax error, now using Win32Locale. via cpantesters [mmusgrove] - Close DATA handle after reading Win32 locale table. via cpantesters [mmusgrove] version 0.13: Mon Oct 29 09:20:04 CET 2007 Fixes: - Stupid syntax error in the new Win32Locale. via cpantesters [mmusgrove] Improvements: - Log::Report::Dispatchers should now be able to handle situations where locale_h is not exported by POSIX. version 0.12: Tue Oct 23 15:26:07 CEST 2007 Improvements: - t/04locale.t also tries charset eq '' - t/04locale.t will produce a warning, not an error, when the setlocale() does not work - t/*.t will use the 'C' locale, not the less often supported 'POSIX'. - added Log::Report::Win32Locale, with experimental application in Log::Report::Lexicon::Index - on some platforms, LC_MESSAGES is not defined. Work-around in Log::Report::Translator::POT. version 0.11: Thu Oct 18 09:34:18 CEST 2007 Fixes: - Running tests, a temporary directory remained in /tmp. [Andreas Koenig] Improvements: - Makefile.PL use 5.008 i.s.o. 5.8.2, otherwise not understood by perl 5.5. [Slaven Rezic] - Added versions of optional modules to test output version 0.10: Mon Oct 15 17:55:44 CEST 2007 Changes: - WARNINGs should not included $!... use alert if you are tempted. Improvements: - few doc fixes. version 0.09: Thu Aug 9 22:46:56 CEST 2007 Changes: - a try{} block executes eval in the correct context, and returns its results. Just like eval() does. - a non-translated message MUST be only one string to be passed to report(), because other parameters are passed to the message constructor. Fixes: - stack-trace did not remove the trace of the Log::Report internal helpers. - if try died indirectly from a nested died try, then that object is not captured in died() itself. Improvements: - try() catches Perl die/croak/warn as well, and translates them using Log::Report::Die. - try() dies if parameter list has odd length (semi-colon forgotten) - implementation of exception classes. See Log::Report::(Message|Exception)::inClass version 0.08: Wed Jul 11 14:09:32 CEST 2007 Changes: - default dispatcher is now named 'default', type PERL Improvements: - added comments by [Guido Flohr] about use of Locale::gettext - NetBSD has locale C and POSIX in lower-case. [cpan-testers] - improve handling of undef values during expand - added PERL=Log::Report::Dispatcher::Perl version 0.07: Wed Jun 20 14:01:18 CEST 2007 Improvements: - another attempt to find-out why some platforms report a deep recursion. version 0.06: Sat Jun 9 10:33:23 CEST 2007 Improvements: - t/51syslog.t compares required version via UNIVERSAL::VERSION (cpan-tester David Cantrell) Other version checks adapted as well. - add t/pod.t, which tests produced pods - t/01locale.t even smarter, with help of Andreas Koenig version 0.05: Thu Jun 7 13:18:13 CEST 2007 Changes: - the stderr dispatcher will be opened when there is any file at STDERR, not only a tty. Improvements: - simplified t/50files.t - another attempt to get t/01locale.t correct on all platforms - ::Util; locale parser must accept C and POSIX - ::Dispatcher; make message output format translatable - ::Extract::PPI; report mistake when msgid ends with new-line - ::Extract::PPI; mistake when a variable is interpolated in msgid - ::Extract::PPI; qq{} msgids will now be detected as well - ::Extract::PPI; special characters the "" and qq{} strings with get interpreted (PPI does not do that automatically) - ::Extract::PPI: only report the nessecary - after a long discussion within Amsterdam.pm about concatenation of translated fragments, it was decided to permit it but put some extra warnings in the docs. - also warn about __'xx' meaning __::xx ' - updated log-report/nl_NL.po translations - configure native_language for a domain - untranslated messages will still be formatted according to the rules of the native_language - translator table setting per domain now integrated with other settings for the domain. - ran ispell on the man-pages version 0.04: Mon Jun 4 11:05:10 CEST 2007 - removed incorrect doc about "mode TRY", which does not exist. - included syslog in "reason" comparison table - have Makefile.PL install xgettext-perl - t/50file.t needed more work-arounds to pass automated module tests (which go without -t STDERR) - attempts to make test-scripts run on various platforms. version 0.03: Mon May 28 20:16:26 CEST 2007 - Log::Report::Message without msgid forgot _append. - Log::Report::Message must clone at concatenation. - remove translations from POT when not referenced anymore, and not translated either. - $@ after try will not show the message, because we want people to use reportAll() or reportFatal(). - dispatchers now have a format_reason, defaulting to LOWERCASE which looks nicer than uppercase. - added docs to ::Try - reorganized some docs. - Log::Report::Util lacked the trailing "1;" - fall-back to no translation in case of unknown locale in ::POT - test functionality of setlocale, and hopefully fixed things version 0.02: Mon May 28 00:49:52 CEST 2007 - added HTML documentation to http://perl.overmeer.net/log-report/ - added README and Changelog to MANIFEST - filters are not defined on the dispatcher object, but under control of Log::Report::report(). - Log::Report::Message new methods append(), msgid(), and prepend() - added Log::Report::Exception and Log::Report::Dispatcher::Try - added isValidReason() and isFatal() to Log::Report - added Log::Report::Message::untranslated(); - Log::Report::report() will convert untranslated strings into Log::Report::Message objects internally too. - by David Cantrell via cpan-testers: . require at least perl 5.8.2, for POSIX :local_h and because unique was broken before that release. . t/00use.t cannot test LogDispatch and Gettext, because they depend on optional module . t/50file.t failed because no -t STDERR version 0.01: Fri May 25 12:13:13 CEST 2007 - initial (quite complete) implementation.