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-serv23079
Modified Files:
ChangeLog.txt defer_tools.js
Log Message:
Switches can now have dashes and dots; added Brent's hs /new switch; added jdk /1.3,
/1.4 switches.
Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** ChangeLog.txt 24 Jul 2002 08:04:46 -0000 1.47
--- ChangeLog.txt 24 Jul 2002 09:03:13 -0000 1.48
***************
*** 8,19 ****
* gg - /fresh switch disappeared (/since is enough) - /since now requires a number
of days, to a d, w or m and gets independant of goosearch
Enhancements
! *
Bug Fixes
! *
--- 8,21 ----
* gg - /fresh switch disappeared (/since is enough) - /since now requires a number
of days, to a d, w or m and gets independant of goosearch
+ * hs - added /new from Brent Beardsley
+ * jdk - added /1.4, /1.3 options
Enhancements
! * switches now can contain . and -, e.g., jdk HashMap /1.3
Bug Fixes
! * curr - fixed bug with decimal currency conversion (1.23 usd>cad)
Index: defer_tools.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/defer_tools.js,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** defer_tools.js 23 Jul 2002 16:02:08 -0000 1.10
--- defer_tools.js 24 Jul 2002 09:03:13 -0000 1.11
***************
*** 146,150 ****
// Regular expression that defines switches
! var re_switch = /\/((\w+)(?::?(\S*)))\s*/;
var re_res_args;
var re_res_switch;
--- 146,150 ----
// Regular expression that defines switches
! var re_switch = /\/(([-.\w]+)(?::?(\S*)))\s*/;
var re_res_args;
var re_res_switch;
***************
*** 159,166 ****
for (var j = 0; j < expectedSwitches.length && !re_res_switch; j++)
{
! if (expandSwitches)
! re_res_switch = expectedSwitches[j].match(new RegExp('^(' + re_res_args[2]
+ ')', 'i'));
! else
! re_res_switch = expectedSwitches[j].match(new RegExp('^(' + re_res_args[2]
+ ')$', 'i'));
// If there is a match, adjust the args_array, and save the values.
if (re_res_switch)
--- 159,168 ----
for (var j = 0; j < expectedSwitches.length && !re_res_switch; j++)
{
! var expect_regex = new RegExp(
! '^(' + re_res_args[2].replace('.', '\\.') +
! ')' + (expandSwitches ? '' : '$'), 'i');
!
! re_res_switch = expectedSwitches[j].match(expect_regex);
!
// If there is a match, adjust the args_array, and save the values.
if (re_res_switch)
-------------------------------------------------------
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/