[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun make-prototype.awk...
From: |
Ineiev |
Subject: |
trans-coord/gnun/server/gnun make-prototype.awk... |
Date: |
Tue, 9 Mar 2021 08:12:37 -0500 (EST) |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Ineiev <ineiev> 21/03/09 08:12:37
Modified files:
gnun/server/gnun: make-prototype.awk ChangeLog NEWS
Log message:
Make it work with arbitrary attributes in div#footer.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/make-prototype.awk?cvsroot=trans-coord&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.492&r2=1.493
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.149&r2=1.150
Patches:
Index: make-prototype.awk
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/make-prototype.awk,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- make-prototype.awk 8 Apr 2014 06:21:21 -0000 1.4
+++ make-prototype.awk 9 Mar 2021 13:12:37 -0000 1.5
@@ -1,6 +1,6 @@
# make-prototype.awk: generate `prototype' HTML.
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2021 Free Software Foundation, Inc.
# This file is part of GNUnited Nations.
@@ -27,10 +27,12 @@
# Program's name to prepend error messages.
my_name = "make-prototype.awk: "
- if (!match(text, /<title>.*<\/div>.*<div id="footer">/))
+ if (!match(text,
+/<title>.*<\/div>.*<div[\t\r\n ]+([^>]*[\t\r\n ])?id[\t\r\n ]*\
+=[\t\r\n ]*(("footer")|('footer'))[^>]*>/))
{
print my_name \
- "`<title>' followed by `</div>' and `<div id=\"footer\">' not found" \
+ "`<title>' followed by `</div>' and `<div id=\"footer\"...>' not
found" \
> "/dev/stderr"
exit 1
}
@@ -56,7 +58,7 @@
if(!match (parts[3], /<p[^>]*>.*[$]Date:/))
{
print my_name \
- "no `<p>' followed by `$Date:' after `<div id=\"footer\">' found" \
+ "no `<p>' followed by `$Date:' after `<div id=\"footer\"...>' found" \
> "/dev/stderr"
exit 1
}
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.492
retrieving revision 1.493
diff -u -b -r1.492 -r1.493
--- ChangeLog 5 Mar 2021 16:42:15 -0000 1.492
+++ ChangeLog 9 Mar 2021 13:12:37 -0000 1.493
@@ -1,3 +1,9 @@
+2021-03-09 Pavel Kharitonov <ineiev@gnu.org>
+
+ * make-prototype.awk: Make it work with arbitrary attributes
+ in div#footer.
+ * NEWS: Update.
+
2021-03-05 Pavel Kharitonov <ineiev@gnu.org>
* gnun-validate-html.in: Prepend expanded HTML in report with line
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -b -r1.149 -r1.150
--- NEWS 17 Feb 2021 16:22:31 -0000 1.149
+++ NEWS 9 Mar 2021 13:12:37 -0000 1.150
@@ -1,6 +1,11 @@
GNUnited Nations NEWS - User visible changes.
* Changes in GNUnited Nations 1.1 (????-??-??)
+* make-prototype.awk was modified to allow arbitrary attributes in div#footer.
+
+* gnun-validate-html in the verbose mode adds line numbers to the expanded HTML
+ in the error message.
+
* When validating as HTML5, obsolete attributes are not allowed any more;
the 'role' attribute is added to <div>, <ul>, <ol>, <dl>, <dt>, <form>;
%focus is included in global attributes; 'aria-labelledby' and
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trans-coord/gnun/server/gnun make-prototype.awk...,
Ineiev <=