OSSP CVS Repository

ossp - Check-in [4012]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4012
Date: 2003-Feb-06 15:10:33 (local)
2003-Feb-06 14:10:33 (UTC)
User:ms
Branch:
Comment: Ignore new autoconf file, just like Thomas does.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/ChangeLog      1.32 -> 1.33     3 inserted, 0 deleted
ossp-pkg/as/as-gui/as_dataop.cpp      1.43 -> 1.44     4 inserted, 4 deleted

ossp-pkg/as/as-gui/ChangeLog 1.32 -> 1.33

--- ChangeLog    2003/02/04 20:32:46     1.32
+++ ChangeLog    2003/02/06 14:10:33     1.33
@@ -1,5 +1,8 @@
 Geschichte des OSSP titraq in Vorwaerts Cronordnung
 
+030205 Add logic to save empty remark fields with surrounding double quotes
+       CORBA client transmission improvements, including multiple entry allowance
+
 030204 Minor change to prematurely accept event format version 0.6
        Fix constant bug to really prematurely accept event format version 0.6
        Added dynamically bound version text to all widget label titles


ossp-pkg/as/as-gui/as_dataop.cpp 1.43 -> 1.44

--- as_dataop.cpp        2003/02/05 13:58:02     1.43
+++ as_dataop.cpp        2003/02/06 14:10:33     1.44
@@ -270,10 +270,10 @@
         Asline.skipWhiteSpace();    // Remove whitespaces
         Remark = Asline.read();     // Copy the remark field
 
-        // Get rid of surrounding double quotes
-        QRegExp Quoted("\"(.*)\"$");
-        Quoted.search(Remark);
-        Remark = Quoted.cap(Quoted.numCaptures());
+        QRegExp Quoted("\"(.*)[^\\]\"");            // Get rid of
+        Quoted.search(Remark);                      // surrounding double
+        Remark = Quoted.cap(Quoted.numCaptures());  // quotes, and
+        Remark.replace("\\(.)", "\1");              // escape backslashes
 
         if (!Remark.isEmpty())
             m_pMaintable->setText(nIter, TITRAQ_IDXREMARK, Remark);

CVSTrac 2.0.1