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-serv4795

Modified Files:
        ChangeLog.txt preferences.js search.htm 
Log Message:
Adds mousescroll feature for history, config option for drag/drop, and minor related 
help fixes and tweaks. 

Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.285
retrieving revision 1.286
diff -C2 -d -r1.285 -r1.286
*** ChangeLog.txt       20 Jan 2004 20:31:40 -0000      1.285
--- ChangeLog.txt       21 Jan 2004 06:32:57 -0000      1.286
***************
*** 4,13 ****
  * Support for Czech month- and day names (Jiri Sedlacek)
  * Holidays for Czech Republic up until 2020 (Jiri Sedlacek)
  
  Bug Fixes
! * 
  
  New Searches
! * 
  
  Modified Searches
--- 4,15 ----
  * Support for Czech month- and day names (Jiri Sedlacek)
  * Holidays for Czech Republic up until 2020 (Jiri Sedlacek)
+ * Added dragdropautosearch configuration option to control automatic searching on 
drag&drop. (Thad Kerosky)
+ * Added (for real this time) Mouse Wheel history browsing. (Thad Kerosky)
  
  Bug Fixes
! * Removed 'Type "!<em>prefix</em>" to see only matching entries.' from help. This 
action launches lucky Google.
  
  New Searches
! * riaar - riaaradar.org RIAA label and artist membership search. (Thad Kerosky)
  
  Modified Searches

Index: preferences.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/preferences.js,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** preferences.js      14 Dec 2003 17:46:23 -0000      1.56
--- preferences.js      21 Jan 2004 06:32:57 -0000      1.57
***************
*** 392,395 ****
--- 392,401 ----
  historySearchVkCode = 119 // F8 (kinda' like DOSKEY)
  
+ /* Perform a google search on anything dragged and dropped onto DQSD immediately
+  (no editing). Holding Shift key during reverses the configured behavior.
+   The options are 'true' or 'false'
+ */
+ dragdropautosearch = true;
+ 
  /* How to sort the searches in the help window and the popup menu
  *  'name'  = sort by search name

Index: search.htm
===================================================================
RCS file: /cvsroot/dqsd/dqsd/search.htm,v
retrieving revision 1.182
retrieving revision 1.183
diff -C2 -d -r1.182 -r1.183
*** search.htm  14 Dec 2003 17:46:24 -0000      1.182
--- search.htm  21 Jan 2004 06:32:57 -0000      1.183
***************
*** 33,37 ****
  * Mathematical expressions: <nobr>"4*(pi-3)", <wbr />"pow(1.06,30)"</nobr>
  
! * Navigate previous searches with ctrl-P and ctrl-N or the Up/Down arrows.. Type 
<nobr>"!<em>prefix</em>"</nobr> to see only matching entries.
  
  * A clock appears after when idle. Right-click for a calendar.
--- 33,37 ----
  * Mathematical expressions: <nobr>"4*(pi-3)", <wbr />"pow(1.06,30)"</nobr>
  
! * Navigate previous searches with ctrl-P and ctrl-N, the Up/Down arrows, or the 
mouse scrollwheel.
  
  * A clock appears after when idle. Right-click for a calendar.
***************
*** 763,768 ****
      // Don't invoke the default search if they are holding down the shift key
      // when they drop the selection
!     if ( !window.event.shiftKey )
!       mnu( "", "");
    }
    catch (e)
--- 763,770 ----
      // Don't invoke the default search if they are holding down the shift key
      // when they drop the selection
!     if ( !window.event.shiftKey && dragdropautosearch)^M
!         mnu( "", "");
!     else if(window.event.shiftKey && !dragdropautosearch)^M
!         mnu( "", "");  
    }
    catch (e)
***************
*** 845,849 ****
            + 'onkeydown="return okd();" '
            + 'onkeypress="return okp();" '
!           + 'value="" '
            + 'cols=20 '
            + 'rows=1 '
--- 847,852 ----
            + 'onkeydown="return okd();" '
            + 'onkeypress="return okp();" '
!         + 'onmousewheel="mousewheel();" '
!         + 'value="" '
            + 'cols=20 '
            + 'rows=1 '
***************
*** 897,900 ****
--- 900,921 ----
  <script type='text/jscript'>
  
+ function mousewheel()
+ {
+    //fixed Windows XP bug made 2 events with each scroll, so yesprevnext global.
+    //in case any other significant windows still has this bug, leaving code.
+    //var yesprevnext = false;
+   if (event.wheelDelta >= 120) {
+     prevnext(-1);
+     //yesprevnext = false;
+   }
+   else if (event.wheelDelta <= -120 ) {
+     prevnext(1);
+     //yesprevnext = false;
+   }
+   //else
+     //yesprevnext = true;
+   return false;
+ }
+       
  function handleResize()
  {




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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