trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trans-coord/gnun/server/gnun diff-po.awk.in Cha...


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun diff-po.awk.in Cha...
Date: Fri, 06 Jun 2014 05:08:38 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       14/06/06 05:08:38

Modified files:
        gnun/server/gnun: diff-po.awk.in ChangeLog NEWS TODO 

Log message:
        Make it work with awks that don't recognize `[:space:]'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/diff-po.awk.in?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.414&r2=1.415
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.107&r2=1.108
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/TODO?cvsroot=trans-coord&r1=1.41&r2=1.42

Patches:
Index: diff-po.awk.in
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/diff-po.awk.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- diff-po.awk.in      8 Oct 2013 04:38:24 -0000       1.4
+++ diff-po.awk.in      6 Jun 2014 05:08:37 -0000       1.5
@@ -1,6 +1,6 @@
 #! @AWK@ -f
 
-# Copyright (C) 2013 Free Software Foundation, Inc.
+# Copyright (C) 2014 Free Software Foundation, Inc.
 
 # This file is part of GNUnited Nations.
 
@@ -58,7 +58,7 @@
       close(tmp_file[1])
       while((wdiff_cmd | getline) > 0)
         {
-          sub(/^[[:space:]]*$/, "\\&nbsp;")
+          sub(/^[ \t\r\n]*$/, "\\&nbsp;")
           print $0 "<br />"
         }
       close(wdiff_cmd)
@@ -141,7 +141,7 @@
 /^msgid "/ {
   state = "msgid"
   sub(/^msgid "/, "")
-  sub(/"[[:space:]]*$/, "")
+  sub(/"[ \t\r\n]*$/, "")
   msgid = $0
   next
 }
@@ -149,12 +149,12 @@
 /^msgstr "/ {
   state = "msgstr"
   sub(/^msgstr "/, "")
-  sub(/"[[:space:]]*$/, "")
+  sub(/"[ \t\r\n]*$/, "")
   msgstr[0] = $0
   next
 }
 
-/^[[:space:]]*$/ {
+/^[ \t\r\n]*$/ {
   output_entry()
   next
 }
@@ -181,7 +181,7 @@
 
 /^"/ {
   sub(/^"/, "")
-  sub(/"[[:space:]]*$/, "")
+  sub(/"[ \t\r\n]*$/, "")
   if(state == "msgid")
     msgid = msgid $0
   else

Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.414
retrieving revision 1.415
diff -u -b -r1.414 -r1.415
--- ChangeLog   22 May 2014 11:17:02 -0000      1.414
+++ ChangeLog   6 Jun 2014 05:08:38 -0000       1.415
@@ -1,3 +1,10 @@
+2014-06-06  Pavel Kharitonov  <address@hidden>
+
+       * diff-po.awk.in: Make it work with awks that don't
+       recognize the `[:space:]' character class.
+       * NEWS: Update.
+       * TODO: Update.
+
 2014-05-22  Pavel Kharitonov  <address@hidden>
 
        Release 0.9.

Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- NEWS        22 May 2014 11:17:05 -0000      1.107
+++ NEWS        6 Jun 2014 05:08:38 -0000       1.108
@@ -1,5 +1,12 @@
 GNUnited Nations NEWS - User visible changes.
 
+* Changes in GNUnited Nations 0.10 (????-??-??)
+
+** Bugs fixed in 0.10.
+
+*** `gnun-diff-po' didn't work with awks that don't
+    recognize the `[:space:]' class in their regular expressions.
+
 * Changes in GNUnited Nations 0.9 (2014-05-22)
 
 ** Apache variables are inserted at the beginning of the generated

Index: TODO
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/TODO,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- TODO        19 Aug 2013 05:23:35 -0000      1.41
+++ TODO        6 Jun 2014 05:08:38 -0000       1.42
@@ -1,6 +1,6 @@
 GNUnited Nations TODO List                             -*-outline-*-
 
-Copyright (C) 2013 Free Software Foundation, Inc.
+Copyright (C) 2014 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
@@ -13,10 +13,8 @@
    philosophy/fs-translations.LANG.html or
    licenses/translations.LANG.html.
 
-** A testsuite is missing.
-   Po4a and eventually gettext are prone to introduce regressions in
-   GNUN.  An extensive testsuite should be developed, which must
-   include a diff of a test data built with an old tool and a new one.
+** An extensive testsuite is missing.
+   The testsuite should be further developed.
 
 ** Remove special characters in @node's.
    Some characters as period (`.') confuse Texinfo when they appear in



reply via email to

[Prev in Thread] Current Thread [Next in Thread]