[DQSD-Users] Now I've really done it
Hi all, You're all going to love me (not), as I've just checked in a whole load of stuff which (almost) requires a DLL update. (I know not everyone who takes CVS copies can actually build the DLL from the source.) I'm on a mission to try and eliminate all script errors, particularly now I've realised that the error message always quotes search.htm as the file, regardless of the true location - this makes it fantastically difficult for people without script debuggers to offer useful feedback on the errors. To this end, I've made the following changes: Added various bits of exception handling around the place with messageboxes containing sensible (to me) sounding error messages if calls fail. This includes code to catch errors in XML searches (as reported by MLL). The error message in this case is rather techy (it contains the search code), but as this is really to help developers, I think that's OK. Added a new method to ILauncher on DQSDTools.dll which can verify that the DLL is of a specified version. Added a new JS module (version.js) which at startup checks in a controlled fashion that A. the DQSDTools DLL is available and A. that it's the correct version. It's down to anyone creating a dependency between revisions to the DLL and the scripts to bump the version resource _and_ the values in version.js. Cheers, Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Javascript errors
Sorry, there was 2 so.xml files attached to my post. anyway, both of them produce the errors described. MLL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of MLL Sent: Thursday, June 06, 2002 5:45 PM To: [EMAIL PROTECTED] Subject: [DQSD-Users] Javascript errors Sensitivity: Personal Hello all, Another hint for javascript error hunters : I modified so.xml (attached), making an error (missing = in line 22). From then on, when I typed ! in DQSB, I got a JS syntax error on line 169 in *search.htm*. Later on, whenever I started a search, I got 'undefined' is null or is not an object on line 146, still in search.htm. So errors in search.htm may be caused by bad xml search files. Cheers, MLL ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id01
RE: [DQSD-Users] Javascript errors
At 13:09 07/06/2002 +0200, you wrote: Sorry, there was 2 so.xml files attached to my post. anyway, both of them produce the errors described. The next release will contain code which traps these error better. Thanks for providing this example. Cheers, Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Will Dean Sent: Friday, June 07, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [DQSD-Users] Now I've really done it I'm on a mission to try and eliminate all script errors, particularly now I've realised that the error message always quotes search.htm as the file, regardless of the true location - this makes it fantastically difficult for people without script debuggers to offer useful feedback on the errors. Here here! I can certainly testify to the horror of debugging the javascript errors with the poke and hope method.. This problem was even more magnified when you discover that the displayed error didn't support copy/paste... Thats one lousy alert dialog MS has.. Good work Will... I am anxious to give it a try.. Your message indicates it *almost* requires a dll update.. This means I can I pull it from CVS and plug it in right? Monty _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ Monty Scroggins Broadband Data Systems Engineering (BDSE) MCI Worldcom ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
Cool. Thanks for diving into this. One minor thing that I noticed that Dave was pretty insistent about using 2 spaces for indentation (no tabs) in the script files. (I use textpad (www.textpad.com) for editing script files which makes it very easy to change indentation to spaces.) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Will Dean Sent: Friday, June 07, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [DQSD-Users] Now I've really done it Hi all, You're all going to love me (not), as I've just checked in a whole load of stuff which (almost) requires a DLL update. (I know not everyone who takes CVS copies can actually build the DLL from the source.) I'm on a mission to try and eliminate all script errors, particularly now I've realised that the error message always quotes search.htm as the file, regardless of the true location - this makes it fantastically difficult for people without script debuggers to offer useful feedback on the errors. To this end, I've made the following changes: Added various bits of exception handling around the place with messageboxes containing sensible (to me) sounding error messages if calls fail. This includes code to catch errors in XML searches (as reported by MLL). The error message in this case is rather techy (it contains the search code), but as this is really to help developers, I think that's OK. Added a new method to ILauncher on DQSDTools.dll which can verify that the DLL is of a specified version. Added a new JS module (version.js) which at startup checks in a controlled fashion that A. the DQSDTools DLL is available and A. that it's the correct version. It's down to anyone creating a dependency between revisions to the DLL and the scripts to bump the version resource _and_ the values in version.js. Cheers, Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
At 07:46 07/06/2002 -0500, you wrote: One minor thing that I noticed that Dave was pretty insistent about using 2 spaces for indentation (no tabs) in the script files. Well, if he cares that much, he'd better process them all after I check them in (I use textpad (www.textpad.com) for editing script files which makes it very easy to change indentation to spaces.) I'll try and behave in future, but I won't be adding further to my excessively large collection of editors! Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
;) I understand. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Will Dean Sent: Friday, June 07, 2002 8:29 AM To: [EMAIL PROTECTED] Subject: RE: [DQSD-Users] Now I've really done it At 07:46 07/06/2002 -0500, you wrote: One minor thing that I noticed that Dave was pretty insistent about using 2 spaces for indentation (no tabs) in the script files. Well, if he cares that much, he'd better process them all after I check them in (I use textpad (www.textpad.com) for editing script files which makes it very easy to change indentation to spaces.) I'll try and behave in future, but I won't be adding further to my excessively large collection of editors! Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
Maybe we should put the DQSDTools binary into CVS so that the developers who don't work on the DLL can get it without waiting for another build. That's one for Glen/Dave to decide, really. Yeah, thought about that. That's one of the reasons for adding new beta releases. I've had some problems with binaries when trying to pull them from the CVS browser front-end when I checked the googlespell add-on in as a binary. Are we ready for another snapshot (beta) release? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Now I've really done it
At 08:38 07/06/2002 -0500, you wrote: Yeah, thought about that. That's one of the reasons for adding new beta releases. I've had some problems with binaries when trying to pull them from the CVS browser front-end when I checked the googlespell add-on in as a binary. I did think CVS was supposed to do binaries OK, but who knows with these strange unix things? Are we ready for another snapshot (beta) release? I'm up for that. I'd have thought we should be looking at a full release pretty soon and it's a fair while since even the last beta. Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
I did think CVS was supposed to do binaries OK, but who knows with these strange unix things? I think it's just a problem when trying to download it through the SourceForge browser UI. CVS probably does just fine. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
[DQSD-Users] ANN: DQSD 2.5.8 beta 9
http://sourceforge.net/project/showfiles.php?group_id=42081release_id=90584 Change Log: http://sourceforge.net/project/shownotes.php?release_id=90584 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] ANN: DQSD 2.5.8 beta 9
You guys might take a look at the change log to see if I've omitted anything. http://sourceforge.net/project/showfiles.php?group_id=42081release_id=90584 Change Log: http://sourceforge.net/project/shownotes.php?release_id=90584 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] ANN: DQSD 2.5.8 beta 9
I'm getting error about Unable to load search from searches\googletrans.xml: Whitespace is not allowed at this location. JB - Original Message - From: Glenn Carr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 07, 2002 10:53 AM Subject: [DQSD-Users] ANN: DQSD 2.5.8 beta 9 http://sourceforge.net/project/showfiles.php?group_id=42081release_id=90584 Change Log: http://sourceforge.net/project/shownotes.php?release_id=90584 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
One minor thing that I noticed that Dave was pretty insistent about using 2 spaces for indentation (no tabs) in the script files. I went ahead and changed these files and updated the beta 9 release. I'll try and behave in future, but I won't be adding further to my excessively large collection of editors! Understood. Here are the guidelines he laid down back when he was working on it... http://groups.yahoo.com/group/dqsdd/message/264 Although, I just realized I've been violating the parenthesis rule (no space characters after a ( or before a ).) for a while now. Oh well. Later, Glenn ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] ANN: DQSD 2.5.8 beta 9
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn Carr Sent: Friday, June 07, 2002 5:00 PM To: [EMAIL PROTECTED] Subject: Re: [DQSD-Users] ANN: DQSD 2.5.8 beta 9 You guys might take a look at the change log to see if I've omitted anything. Err... What about so.xml updated ? (see [DQSD-Users] so.xml updated) http://sourceforge.net/project/showfiles.php?group_id=42081re lease_id=90584 Change Log: http://sourceforge.net/project/shownotes.php?release_id=90584 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id01
Re: [DQSD-Users] ANN: DQSD 2.5.8 beta 9
Oops! My mistake. googletrans.xml shouldn't be in there (yet?). I've updatded the package. http://sourceforge.net/project/showfiles.php?group_id=42081release_id=90584 I'm getting error about Unable to load search from searches\googletrans.xml: Whitespace is not allowed at this location. JB ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
At 10:20 07/06/2002 -0500, you wrote: Understood. Here are the guidelines he laid down back when he was working on it... http://groups.yahoo.com/group/dqsdd/message/264 Although, I just realized I've been violating the parenthesis rule (no space characters after a ( or before a ).) for a while now. Oh well. Oh well indeed. I'm breaking about half of those rules. Let's see if he backs my code out. Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Some suggestions and a bunch of new searches (esp. for Canadians)
- Is it possible to make all searches open in a maximized browser window? Someone else mentioned this earlier today, but I wanted to say that I am also highly in favour of this, if it is possible. (I did try to make some changes to search.htm to see if I could get this working on my own, but I believe my JavaScript skills were simply not robust enough to get the job done.) I'm not sure, but why don't you add this to the feature request list: http://sourceforge.net/tracker/?atid=432069group_id=42081func=browse - When I change one of the aliases (e.g. having ; go to the Merriam Webster Thesaurus, instead of Thesaurus.com), the help file still lists that alias under its original search, as well as under the search I want it to point to. I guess it isn't a huge problem, but it can get a bit confusing. Good point. Would you mind adding a bug item for this? http://sourceforge.net/tracker/?group_id=42081atid=432066 I would also like to contribute the searches I have created for my own use. First, let me say that my JavaScript skills are a bit rusty, so these are pretty much all adaptations of other searches, and so they might not be optimized (especially the phone number ones, because I am stumped so far by regular expressions) - again, any suggestions/corrections are very welcome. Fantastic. Anybody want to check these out and then check them in? - rt, rotten tomatoes - for looking up movie info and reviews - ar, all recipes - for looking up recipes - ul, snopes urban legends - for looking up (you guessed it) urban legends, as well as email hoaxes and rumours, etc And some searches with a Canadian flavour: - chap, chapters/indigo - shop for books, DVD's, etc - twn, the weather network - look up your weather forecast by city - is, isb, isc, isp, ispb, infospace phone number lookups - these 5 should probably be consolidated into 2 searches, using switches I have attached these to the message. Thanks again for your help yesterday and today, and thanks in advance for any help in the future. Kudos to everyone who has contributed!! Sarah ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
Oh well indeed. I'm breaking about half of those rules. Let's see if he backs my code out. Will Well, I assumed that was only for the script. I'm using tabs set at 4 for C++ code (which is the MS way). (Jon, Any chance we could get that note about the style guidelines in the FAQ?) Later, Glenn ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
At 11:15 07/06/2002 -0500, you wrote: Absolutely no hurry (right Will? ;) ... just a suggestion No. He must immediately stop what he's doing, and modify the FAQ. When he's done that, he can check the widths of all the tabs in all the code. After that, my lawn needs mowing. I will provide a (blunt) pair of nail scissors for the purpose. Doing a paid job or having a personal life is no route to successful open source zealotry. Sheesh, some people. Will ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Now I've really done it
hmm, monty. i didn't get that new category and i ran Glenn's install. did the electronics category come from some one else's search file that you manually copied in? JB - Original Message - From: Monty Scroggins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 1:46 PM Subject: RE: [DQSD-Users] Now I've really done it There seems to be a new category Electronics which contains a single search. I noticed the enabled/total stats for the category shows 0/1 even though the search is in fact enabled... Monty ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
[DQSD-Users] Flag to launch new browser window
Is there already a way to force the deskbar to launch a search or URL in a new browser window? If not, then IMHO it would be useful to havesuch a feature. While most of the time it is desirable to have a search launch in the same window that it last used so that one does not end up with 50 browser windows open if doint a lotof searching, at other times it isslightly annoying when you want a browser to stay put and anything you type into the deskbar grabs that same window and points it somewhere else...
Re: [DQSD-Users] Flag to launch new browser window
tim there is a preference... /* Reuse browser window mode* NOTE: reuse browser mode is only valid when IE is the default browser.* If any other browser is the default and the launchmode=1, a new browser* window will be spawned for each search regardless of category.** 0=new window always [default]* 1=single window for all* 2=single window for each search type*/reuseBrowserWindowMode = 0; if you have this set in localprefs.js to 1 (single window for all) then 2.5.8 beta 9 has new feature that shift+enter will launch in new window (bypassing reuseBrowserWindowMode option) JB - Original Message - From: Tim Lara To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 3:06 PM Subject: [DQSD-Users] Flag to launch new browser window Is there already a way to force the deskbar to launch a search or URL in a new browser window? If not, then IMHO it would be useful to havesuch a feature. While most of the time it is desirable to have a search launch in the same window that it last used so that one does not end up with 50 browser windows open if doint a lotof searching, at other times it isslightly annoying when you want a browser to stay put and anything you type into the deskbar grabs that same window and points it somewhere else...
Re: [DQSD-Users] Now I've really done it
Fixed and checked in (categoryExpander.htc) Ah.. I had pulled down a few searches from Peter Heath's page - http://www.metrocast.net/~peteh/toolbar.html.. sorry about that.. anyway... the intent of the posting was to point out what appears to be a bug in the enabled search counters when only one search exists in a category... ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601