View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Update of /cvsroot/dqsd/dqsd
In directory usw-pr-cvs1:/tmp/cvs-serv26625

Modified Files:
        ChangeLog.txt preferences.js search.htm version.js 
Log Message:
Added preference for checking for either beta and final, or just final releases;

Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** ChangeLog.txt       23 Jul 2002 16:15:17 -0000      1.44
--- ChangeLog.txt       24 Jul 2002 06:36:19 -0000      1.45
***************
*** 26,33 ****
--- 26,37 ----
    Allows use of literal characters like 'd' that would normally be interpreted 
    as date/time formats.
+ * Modified automatic update notification to default to only final releases.  This
+   can customized to notify for final or beta and final releases.
  
  Bug Fixes
  
  * URLs, filenames, etc. are now detected with leading whitespace
+ * Will Dean added a possible fix for missing tray icons at startup.  Also,
+   refreshing icons can be done explicitly by typing 'refreshicons'.
  
  

Index: preferences.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/preferences.js,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** preferences.js      22 Jul 2002 13:37:01 -0000      1.42
--- preferences.js      24 Jul 2002 06:36:19 -0000      1.43
***************
*** 398,400 ****
  */
  checkForUpdate = true;
! checkForUpdateDelay = 10000; // millisecond delay after first search
\ No newline at end of file
--- 398,411 ----
  */
  checkForUpdate = true;
! checkForUpdateDelay = 10000; // millisecond delay after first search
! 
! /* Notify for only final ('final') or both beta and final ('beta,final').
! *  This is ignored if 'checkForUpdateTypes' is false
! */
! checkForUpdateTypes = 'final';
! 
! 
! /* Broadcast a message to refresh the tray icons.  This may solve the problems
! *  for some with disappearing tray icons at startup.
! */
! refreshIconsAtStartup = true;
\ No newline at end of file

Index: search.htm
===================================================================
RCS file: /cvsroot/dqsd/dqsd/search.htm,v
retrieving revision 1.152
retrieving revision 1.153
diff -C2 -d -r1.152 -r1.153
*** search.htm  23 Jul 2002 21:34:19 -0000      1.152
--- search.htm  24 Jul 2002 06:36:20 -0000      1.153
***************
*** 874,879 ****
  
  //   keyboardHook.ShutdownBar();
! 
!       refreshIcons();
    }
    catch(e)
--- 874,880 ----
  
  //   keyboardHook.ShutdownBar();
!     
!     if ( refreshIconsAtStartup )
!       refreshIcons();
    }
    catch(e)

Index: version.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/version.js,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** version.js  23 Jul 2002 21:34:19 -0000      1.16
--- version.js  24 Jul 2002 06:36:20 -0000      1.17
***************
*** 72,76 ****
      var rversion = getVersionFromVersionFile( 
"http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/dqsd/dqsd/version.xml?content-type=text/xml";
 );
      var lversion = getVersionFromVersionFile( "version.xml" );
!     if ( versioncmp( rversion, lversion ) > 0 )
      {
        window.showModalDialog("versiondialog.htm", { lversion:lversion, 
rversion:rversion }, "dialogHeight: 150px; dialogWidth: 300px; dialogTop: " + 
(screen.height / 2 - 75) + "px; dialogLeft: " + (screen.width / 2 - 150) + "px; edge: 
Raised; center: Yes; help: No; resizable: Yes; status: No; scroll: No;");
--- 72,80 ----
      var rversion = getVersionFromVersionFile( 
"http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/dqsd/dqsd/version.xml?content-type=text/xml";
 );
      var lversion = getVersionFromVersionFile( "version.xml" );
! 
!     // If there's a later version and the user wants to be notified of it, or
!     // there's a later version and there was an explicit update query, then show them
!     // what's available
!     if ( ( versioncmp( rversion, lversion ) > 0 ) && ( notifyUser( rversion ) || 
!quiet ) )
      {
        window.showModalDialog("versiondialog.htm", { lversion:lversion, 
rversion:rversion }, "dialogHeight: 150px; dialogWidth: 300px; dialogTop: " + 
(screen.height / 2 - 75) + "px; dialogLeft: " + (screen.width / 2 - 150) + "px; edge: 
Raised; center: Yes; help: No; resizable: Yes; status: No; scroll: No;");
***************
*** 87,90 ****
--- 91,99 ----
        alert("Unable to check for update.  Check your internet connection.");
    }
+ }
+ 
+ function notifyUser( rversion )
+ {
+   return ( checkForUpdateTypes.search( new RegExp("\\b" + rversion.type + "\\b", "i" 
+) ) >= 0 );
  }
  




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Reply via email to