From: <ox-...@us...> - 2003-06-10 09:43:06
|
Update of /cvsroot/sheets/sheets In directory sc8-pr-cvs1:/tmp/cvs-serv16911 Modified Files: Sheets.sheets build.xml Log Message: Sheets fixes: 1. Fixed an intermittent NPE on startup caused by the new splash screen (update events are now posted on the event queue) 2. Changed the installer info screen to no longer recommend closing apps (it is unnecessary) 3. Changed the default button for the license screen to accept New version of OX with the following stability fixes: 1. Fixed a bug with the crash recovery that sometimes resulted in this exception: com.versionablestore.ox.ArchivalIdNotInDatabase: com.versionablestore.ox.ArchivalIdNotInDatabase: No object with archivalId[0] exists. 2. Fixed a longstanding intermittent gc bug that was caused using arrays of ArchivalReferences in a SerializableArchivalObject. It now correctly handles arrays, and has been improved so that ArchivalReference is no longer Serializable (which should catch this sort of mishap in the future). 3. Database is now failsafe on the usage of NullArchivalReferences. Any attempt to modify or dereference them will result in an error (making it much easier to track down potential problems). WARNING - These database changes will make your *.sdb files invalid. Please regenerate from a .sheets file! Index: Sheets.sheets =================================================================== RCS file: /cvsroot/sheets/sheets/Sheets.sheets,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** Sheets.sheets 8 Jun 2003 17:14:34 -0000 1.55 --- Sheets.sheets 10 Jun 2003 09:42:25 -0000 1.56 *************** *** 65055,65063 **** // A bit of extra bulletproofing never hurts. ! if (at < 0 || at + count > dispLines.length) ! Console.internalError("Bad indices in reformat: invalidFormatStart = " ! + invalidFormatStart + "; invalidFormatEnd = " ! + invalidFormatEnd + "; dispLines.length = " ! + dispLines.length); // Set up the values which should exist by the time we finish. --- 65055,65065 ---- // A bit of extra bulletproofing never hurts. ! // (I believe the code may get here when invalidFormatting is called from a different thread) ! if (at < 0) ! at = 0; ! if (at > dispLines.length) ! at = dispLines.length; ! if (at + count > dispLines.length) ! count = dispLines.length - at; // Set up the values which should exist by the time we finish. *************** *** 82365,82373 **** timer = new java.util.Timer(); timer.schedule(new TimerTask() { ! public void run() { ! if (firstPaintComplete) { subincrement = 1f - (1f - subincrement) * .9f; paintImmediately(progressArea); } } }, 0, 33); --- 82367,82379 ---- timer = new java.util.Timer(); timer.schedule(new TimerTask() { ! Runnable runner = new Runnable() { ! public void run() { subincrement = 1f - (1f - subincrement) * .9f; paintImmediately(progressArea); } + }; + public void run() { + if (firstPaintComplete) + SwingUtilities.invokeLater(runner); } }, 0, 33); Index: build.xml =================================================================== RCS file: /cvsroot/sheets/sheets/build.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** build.xml 30 May 2003 19:13:40 -0000 1.21 --- build.xml 10 Jun 2003 09:42:30 -0000 1.22 *************** *** 103,107 **** <mkdir dir="${test}"/> <echo>Launching test...</echo> ! <java classname="org.browsecode.sheets.Sheets" maxmemory="768m" dir="${test}" fork="true"> <!-- Fix for Solaris pref spaming --> <jvmarg value="-Djava.util.prefs.syncInterval=2000000"/> --- 103,107 ---- <mkdir dir="${test}"/> <echo>Launching test...</echo> ! <java classname="org.browsecode.sheets.Sheets" maxmemory="128m" dir="${test}" fork="true"> <!-- Fix for Solaris pref spaming --> <jvmarg value="-Djava.util.prefs.syncInterval=2000000"/> |