Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49636 - in /trunk/devtools: VERSION package/yast2-devtools.changes scrdoc/src/scrdoc ycpdoc/src/ycpdoc
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2008 13:19:06 -0000
  • Message-id: <20080804131906.6FDEA34420@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Aug 4 15:19:05 2008
New Revision: 49636

URL: http://svn.opensuse.org/viewcvs/yast?rev=49636&view=rev
Log:
- Generating better XML (Authors section) to be easier-to-process
by XSLT transformations (bnc #401680).
- 2.17.6


Modified:
trunk/devtools/VERSION
trunk/devtools/package/yast2-devtools.changes
trunk/devtools/scrdoc/src/scrdoc
trunk/devtools/ycpdoc/src/ycpdoc

Modified: trunk/devtools/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/devtools/VERSION?rev=49636&r1=49635&r2=49636&view=diff
==============================================================================
--- trunk/devtools/VERSION (original)
+++ trunk/devtools/VERSION Mon Aug 4 15:19:05 2008
@@ -1 +1 @@
-2.17.5
+2.17.6

Modified: trunk/devtools/package/yast2-devtools.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=49636&r1=49635&r2=49636&view=diff
==============================================================================
--- trunk/devtools/package/yast2-devtools.changes (original)
+++ trunk/devtools/package/yast2-devtools.changes Mon Aug 4 15:19:05 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Aug 4 14:55:49 CEST 2008 - locilka@xxxxxxx
+
+- Generating better XML (Authors section) to be easier-to-process
+ by XSLT transformations (bnc #401680).
+- 2.17.6
+
+-------------------------------------------------------------------
Wed Jul 30 15:19:51 CEST 2008 - mvidner@xxxxxxx

- Added yastdoc (http://en.opensuse.org/YaST/yastdoc).

Modified: trunk/devtools/scrdoc/src/scrdoc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/devtools/scrdoc/src/scrdoc?rev=49636&r1=49635&r2=49636&view=diff
==============================================================================
--- trunk/devtools/scrdoc/src/scrdoc (original)
+++ trunk/devtools/scrdoc/src/scrdoc Mon Aug 4 15:19:05 2008
@@ -722,7 +722,11 @@

if (defined $MP->{'Authors'}) {
$writer->startTag('authors');
- $writer->characters($MP->{'Authors'});
+ foreach my $author (split (/\n/, $MP->{'Authors'})) {
+ $writer->startTag('ITEM');
+ $writer->characters($author);
+ $writer->endTag('ITEM');
+ }
$writer->endTag('authors');
}


Modified: trunk/devtools/ycpdoc/src/ycpdoc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/devtools/ycpdoc/src/ycpdoc?rev=49636&r1=49635&r2=49636&view=diff
==============================================================================
--- trunk/devtools/ycpdoc/src/ycpdoc (original)
+++ trunk/devtools/ycpdoc/src/ycpdoc Mon Aug 4 15:19:05 2008
@@ -851,7 +851,7 @@
foreach my $a (@lines)
{
#TODO: warn on unknown key, missing field
- if ($a =~
s/^\s*(Module|Package|File|Summary|Depends|Authors|Author):\s*(.*)/$2/)
+ if ($a =~
s/^\s*(Module|Package|File|Summary|Depends|Authors|Author|Flags):\s*(.*)/$2/)
{
$key = lc $1;
# Module is old style, Package is new style. TODO, define meaning
@@ -880,7 +880,8 @@
{
my $mail = $a;
$mail =~ s/[^<(]*[(<]([^>)]*).*/$1/g;
- $a =~ s/[(<][^>)]*[>)]/&lt;<a
href=\"mailto:$mail\";>$mail<\/a>&gt;/g; # "emacs
+ # $a =~ s/[(<][^>)]*[>)]/&lt;<a
href=\"mailto:$mail\";>$mail<\/a>&gt;/g; # "emacs
+
if ($a !~ /^\s*$/)
{
push @{$parsed_header->{$key}}, $a;
@@ -902,6 +903,7 @@
$parsed_header->{$key} = almost_html ($a);
}
}
+
}
return $parsed_header;
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages