[COMMIT LOGREPORT] service/all/lib/Lire Report.pm,1.33,1.34 ReportConfig.pm,1.36,1.37 Utils.pm,1.64,1.65
Joost van Baal
vanbaal at users.sourceforge.net
Sun Jul 16 12:44:57 CEST 2006
Update of /cvsroot/logreport/service/all/lib/Lire
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16024
Modified Files:
Report.pm ReportConfig.pm Utils.pm
Log Message:
some minor improvements in manpages
Index: Report.pm
===================================================================
RCS file: /cvsroot/logreport/service/all/lib/Lire/Report.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- Report.pm 23 Aug 2004 19:06:55 -0000 1.33
+++ Report.pm 16 Jul 2006 10:44:53 -0000 1.34
@@ -74,7 +74,7 @@
=head2 version()
Returns the version number of the report format which was used in the
-external representation of this report. This is alway 2.0.
+external representation of this report. The current version is 2.1.
=cut
@@ -312,6 +312,10 @@
Write the report in XML format on the FH filehandle or STDOUT if
omitted.
+This method takes care of adding stuff like the XML header C<E<lt>?xml
+version=[...]>. It encodes the XML report in UTF-8, using
+Lire::I18N::set_fh_encoding().
+
=cut
sub write_report {
Index: ReportConfig.pm
===================================================================
RCS file: /cvsroot/logreport/service/all/lib/Lire/ReportConfig.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ReportConfig.pm 16 Jul 2006 10:05:55 -0000 1.36
+++ ReportConfig.pm 16 Jul 2006 10:44:53 -0000 1.37
@@ -584,6 +584,8 @@
Used when generating an XML report from a DLF source, and
when merging XML reports.
+The real job is delegated to Lire::ReportSection::create_report_section().
+
=cut
sub create_report {
Index: Utils.pm
===================================================================
RCS file: /cvsroot/logreport/service/all/lib/Lire/Utils.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- Utils.pm 15 Sep 2005 14:43:36 -0000 1.64
+++ Utils.pm 16 Jul 2006 10:44:53 -0000 1.65
@@ -261,7 +261,7 @@
for (0..10) {
$tmpl =~ s/X/$chars[rand @chars]/ge;
$tmpl .= $args{'SUFFIX'} if defined $args{'SUFFIX'};
- if ( sysopen( my $fh, $tmpl, O_RDWR|O_CREAT|O_EXCL, 0600 ) ) {
+ if ( sysopen( my $fh, $tmpl, O_RDWR|O_CREAT|O_EXCL, 0600 ) ) {
binmode $fh;
unlink $tmpl unless wantarray;
return wantarray ? ($fh, $tmpl): $fh;
--
To UNSUBSCRIBE, email to commit-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
commit-request at logreport.org
More information about the Commit
mailing list