[mythtv-commits] Ticket #2013: Fix changing channels with leading zeros

MythTV mythtv at cvs.mythtv.org
Wed Jul 12 13:36:25 UTC 2006


#2013: Fix changing channels with leading zeros
--------------------------------+-------------------------------------------
 Reporter:  russell at digium.com  |        Owner:  danielk
     Type:  patch               |       Status:  closed 
 Priority:  minor               |    Milestone:  0.20   
Component:  mythtv              |      Version:  head   
 Severity:  medium              |   Resolution:  fixed  
--------------------------------+-------------------------------------------
Changes (by danielk):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 (In [10482]) Fixes #2013. Allow user to enter multiple leading zeros in
 "dumb" channel change.

 When optimizing the regular expressions for the slow regular expression
 matcher on Mac OS X, we made the leading zero regular expression non-
 greedy. This meant it only eliminated the first of the zeros entered each
 time GetQueuedChanNum() was called. When smart channel changing is
 disabled GetQueuedChanNum() was not called on each character entered so
 only some of the leading zeros were removed.

 This implements the original regular expression manually.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2013>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list