View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv31365
Modified Files:
ChangeLog.txt version.js
Log Message:
* version.js now checks DQSD version asynchronously so as to not lock up explorer.exe
* Fixed DLL version check in version.js (now checks that DLL version is 3.1.6.0
instead of 3.1.5.0)
Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.260
retrieving revision 1.261
diff -C2 -d -r1.260 -r1.261
*** ChangeLog.txt 12 Oct 2003 18:46:42 -0000 1.260
--- ChangeLog.txt 13 Oct 2003 18:05:13 -0000 1.261
***************
*** 9,12 ****
--- 9,13 ----
* Added startup commands (Neel Doshi)
* Added ability (as DEFAULT) to display graphic icon/logo in search bar, which
functions as a 'GO' button. (Shawn K. Hall)
+ * version.js now checks DQSD version asynchronously so as to not lock up
explorer.exe (Kim Gr�sman)
Bug Fixes
***************
*** 18,21 ****
--- 19,23 ----
* Fixed "Delete deletes two characters at a time"-bug (#648656) by only echoing
keypresses if DQSD is docked (Kim Gr�sman)
* Fixed Win-S loop problems, and tentatively fixed Win-S support on multiple monitor
systems (Kim Gr�sman)
+ * Fixed DLL version check in version.js (now checks that DLL version is 3.1.6.0
instead of 3.1.5.0) (Kim Gr�sman)
New Searches
Index: version.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/version.js,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** version.js 25 Jun 2003 18:54:56 -0000 1.25
--- version.js 13 Oct 2003 18:05:13 -0000 1.26
***************
*** 22,26 ****
// The DLL version has to be great than or equal to
// this number
! if(!testObject.VersionIsCorrect(3,1,5,0))
{
alert("The DQSD helper DLL is out of date.\nPlease reboot and run the setup
program again.");
--- 22,26 ----
// The DLL version has to be great than or equal to
// this number
! if(!testObject.VersionIsCorrect(3,1,6,0))
{
alert("The DQSD helper DLL is out of date.\nPlease reboot and run the setup
program again.");
***************
*** 70,108 ****
}
function checkWebForUpdate()
{
! var quiet = true;
if ( arguments.length )
{
! var quiet = arguments[0];
}
! if ( quiet && ( typeof checkForUpdate == 'undefined' || !checkForUpdate ) )
return;
- checkForUpdate = false; // only display once per session
-
try
{
! 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;");
}
! else if ( !quiet )
{
! rversion.htmlDescription = "You are using the latest version.<br/>For more
details visit <a tabindex=-1 href='http://www.dqsd.net'
onclick='window.close();'>www.dqsd.net</a>."
! window.showModalDialog("versiondialog.htm", { lversion:lversion,
rversion:rversion }, "dialogHeight: 100px; dialogWidth: 300px; dialogTop: " +
(screen.height / 2 - 50) + "px; dialogLeft: " + (screen.width / 2 - 150) + "px; edge:
Raised; center: Yes; help: No; resizable: Yes; status: No; scroll: No;");
}
- }
- catch(e)
- {
- if ( !quiet )
- alert("Unable to check for update. Check your internet connection.");
}
}
--- 70,133 ----
}
+ // These are required to be global for the MSXML DOM
+ // asynchronous load to work properly.
+ var checkUpdateOnlineVersionDOM = null;
+ var checkUpdateQuiet = true;
+ var DQSD_CHECKUPDATE_URL =
"http://cvs.sourceforge.net/viewcvs.py/*checkout*/dqsd/dqsd/version.xml?rev=HEAD&content-type=text/xml";
+
function checkWebForUpdate()
{
! checkUpdateQuiet = true;
if ( arguments.length )
{
! checkUpdateQuiet = arguments[0];
}
! if ( checkUpdateQuiet && ( typeof checkForUpdate == 'undefined' || !checkForUpdate
) )
return;
try
{
! // Load asynchronously to make sure explorer.exe doesn't lock up if this takes a
while
! // (has been known to happen)
! checkUpdateOnlineVersionDOM = getMSXMLDOMDocumentInstance();
! checkUpdateOnlineVersionDOM.onreadystatechange = onVersionLoadReadyStateChange;
! checkUpdateOnlineVersionDOM.load( DQSD_CHECKUPDATE_URL );
! }
! catch(e)
! {
! if ( !checkUpdateQuiet )
! alert("Unable to check for update. Check your internet connection.");
! }
!
! checkForUpdate = false; // only display once per session
! }
! function onVersionLoadReadyStateChange()
! {
! if( typeof checkUpdateOnlineVersionDOM != 'undefined' &&
checkUpdateOnlineVersionDOM.readyState == 4 ) // finished loading
! {
! if( checkUpdateOnlineVersionDOM.parseError.errorCode == 0 )
{
! var rversion = getVersion( checkUpdateOnlineVersionDOM.documentElement );
! 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 ) ||
!checkUpdateQuiet ) )
! {
! 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;");
! }
! else if ( !checkUpdateQuiet )
! {
! rversion.htmlDescription = "You are using the latest version.<br/>For more
details visit <a tabindex=-1 href='http://www.dqsd.net'
onclick='window.close();'>www.dqsd.net</a>."
! window.showModalDialog("versiondialog.htm", { lversion:lversion,
rversion:rversion }, "dialogHeight: 100px; dialogWidth: 300px; dialogTop: " +
(screen.height / 2 - 50) + "px; dialogLeft: " + (screen.width / 2 - 150) + "px; edge:
Raised; center: Yes; help: No; resizable: Yes; status: No; scroll: No;");
! }
}
! else
{
! alert( "Failed to parse on-line version information. Error message: " +
checkUpdateOnlineVersionDOM.parseError.reason );
}
}
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/