Index: ossp-pkg/as/as-gui/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/ChangeLog,v rcsdiff -q -kk '-r1.38' '-r1.39' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/ChangeLog,v' 2>/dev/null --- ChangeLog 2003/02/12 19:35:17 1.38 +++ ChangeLog 2003/02/13 21:50:35 1.39 @@ -1,5 +1,17 @@ Geschichte des OSSP titraq in Vorwaerts Cronordnung +030213 Implemented multiple row spanning SOAP trasmissions + Modified CORBA and SOAP methods to use preferences host names + Added lock methods to class Panel to lock RPC transports on or off + Added logic to limit RPC according to compile time availability + Merged both IIOP and SOAP RPC transport actions into a single one + Revised RPC options and menu logic to pref panel and action changes + Modified class Panel accept operation to apply changes immediately + Activate file extension switch, and use preference value from panel + Remove default event file insert, and instead default to event directory + Fixed bug in class Simplefile, trying to save to non-open file + Save backup files based on existing logic and new user preferences + 030212 Finished preferences working logic in class Panel 030211 Served rse request to make amount edit control widget match table one Index: ossp-pkg/as/as-gui/as_sfile.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_sfile.cpp,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_sfile.cpp,v' 2>/dev/null --- as_sfile.cpp 2003/02/13 21:32:36 1.2 +++ as_sfile.cpp 2003/02/13 21:50:35 1.3 @@ -45,19 +45,18 @@ QTextStream Streambak; // Stream to write to (Filebak) try { - Q_ASSERT(!this->exists()); // Conditionally short circuit + if(!this->exists()) // Conditionally short circuit if + return; // file to backup does not exist Fname = this->name(); // Copy filename from original Filein.setName(Fname); // Set filename of original - if (Filein.exists()) { // Can only backup an existing file - Filein.open(IO_ReadOnly); // Open original read-only - Filebak.setName(Fname + ".bak"); // Set filename of backup - Filebak.open(IO_WriteOnly); // Open backup write-only - Streamin.setDevice(&Filein); // Set incoming stream - Streambak.setDevice(&Filebak); // Set outgoing stream - Streambak << Streamin.read(); // Do actual writing - Filein.close(); // Close original - Filebak.close(); // Close backup - } + Filein.open(IO_ReadOnly); // Open original read-only + Filebak.setName(Fname + ".bak"); // Set filename of backup + Filebak.open(IO_WriteOnly); // Open backup write-only + Streamin.setDevice(&Filein); // Set incoming stream + Streambak.setDevice(&Filebak); // Set outgoing stream + Streambak << Streamin.read(); // Do actual writing + Filein.close(); // Close original + Filebak.close(); // Close backup } catch (Genexcept& Genex) { Genex.reportErr(); Index: ossp-pkg/as/as-gui/as_slot.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v rcsdiff -q -kk '-r1.122' '-r1.123' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2003/02/13 21:12:36 1.122 +++ as_slot.cpp 2003/02/13 21:50:35 1.123 @@ -454,7 +454,8 @@ } Filevents.setName(Fname); // Construct a file to write - Filevents.makeBackup(); // Back up to filename.bak + if (m_pPrefs->getBool(TITRAQ_PREFBAKON, TITRAQ_DEFBAKON)) + Filevents.makeBackup(); // Back up to filename.bak this->saveData(Filevents); // Pass to helper method } catch (Genexcept& Genex) {