? 385556.patch
? INSTALL
? Makefile
? Makefile.in
? aclocal.m4
? autom4te.cache
? config.log
? config.status
? configure
? install-sh
? lsr.desktop
? lsr.spec
? missing
? mkinstalldirs
? omf.make
? py-compile
? xmldocs.make
? doc/Makefile
? doc/Makefile.in
? doc/man/Makefile
? doc/man/Makefile.in
? doc/ui/Makefile
? doc/ui/Makefile.in
? doc/workbook/Makefile
? doc/workbook/Makefile.in
? src/AEConstants/Makefile
? src/AEConstants/Makefile.in
? src/AEConstants/Platform.py
Index: src/AEConstants/Output.py
===================================================================
RCS file: /cvs/gnome/lsr/src/AEConstants/Output.py,v
retrieving revision 1.6
diff -r1.6 Output.py
31a32
> CMD_GET_MISSINGCELL_COUNT = (BRAILLE_CMD | 0x0004)
Index: src/AEOutput/Braille.py
===================================================================
RCS file: /cvs/gnome/lsr/src/AEOutput/Braille.py,v
retrieving revision 1.10
diff -r1.10 Braille.py
90a91,92
>     elif name == AEConstants.CMD_GET_MISSINGCELL_COUNT:
>       return self.sendGetMissingCellCount()
149a152,159
>     @raise NotImplementedError: When not overridden in a subclass
>     '''
>     raise NotImplementedError
>   
>   def sendGetMissingCellCount(self):
>     '''
>     @return: integer containing missing cell count
>     @rtype: integer
Index: src/Devices/BrlAPIDevice.py
===================================================================
RCS file: /cvs/gnome/lsr/src/Devices/BrlAPIDevice.py,v
retrieving revision 1.7
diff -r1.7 BrlAPIDevice.py
157c157,159
<     self.brlconn.ignoreKeyRange([0, brlapi.KEY_MAX])
---
>     
>     # TODO fix when brltty API settles down
>     #self.brlconn.ignoreKeyRange([0, brlapi.KEY_MAX])
166a169
>     
248a252,255
>     # TODO remove when brltty API settles down
>     if True:
>       return
>     
259a267
>             
268a277,280
>     # TODO remove when brltty API settles down
>     if True:
>       return
>     
451c463
<   def sendGetEllipsisSizes(self, style):
---
>   def sendGetMissingCellCount(self):
453,480c465,466
<     @param style: Style with which the ellipsis are defined
<     @type style: L{AEOutput.Style}
<     @return: tuple containing length of left and right ellipsis
<     @rtype: tuple
<     @raise NotImplementedError: When not overridden in a subclass
<     '''
<     left = len(self.EllipsisStyles[self.default_style.EllipsisStyle][0])
<     right = len(self.EllipsisStyles[self.default_style.EllipsisStyle][1])
<     return (left, right)
<     
<   def sendGetEllipsisSizes(self, style):
<     '''
<     @param style: Style with which the ellipsis are defined
<     @type style: L{AEOutput.Style}
<     @return: tuple containing length of left and right ellipsis
<     @rtype: tuple
<     @raise NotImplementedError: When not overridden in a subclass
<     '''
<     left = len(self.EllipsisStyles[self.default_style.EllipsisStyle][0])
<     right = len(self.EllipsisStyles[self.default_style.EllipsisStyle][1])
<     return (left, right)
<     
<   def sendGetEllipsisSizes(self, style):
<     '''
<     @param style: Style with which the ellipsis are defined
<     @type style: L{AEOutput.Style}
<     @return: tuple containing length of left and right ellipsis
<     @rtype: tuple
---
>     @return: integer containing missing cell count
>     @rtype: integer
483,486c469,471
<     left = len(self.EllipsisStyles[self.default_style.EllipsisStyle][0])
<     right = len(self.EllipsisStyles[self.default_style.EllipsisStyle][1])
<     return (left, right)
<         
---
>     #TODO: cache this value
>     return self.default_style.CellMask.count('0') 
>   
Index: src/Perks/BasicBraillePerk.py
===================================================================
RCS file: /cvs/gnome/lsr/src/Perks/BasicBraillePerk.py,v
retrieving revision 1.11
diff -r1.11 BasicBraillePerk.py
149a150
>                          
200c201
<     '''  
---
>     ''' 
201a203,206
>     
>     #TODO:  think about caching this value
>     misscellcnt = self.send(CMD_GET_MISSINGCELL_COUNT, None, talk=False)
>     
205c210
<                 totalcells-state.RightPadding:
---
>                 totalcells-state.RightPadding - misscellcnt:
206a212
>       retval += misscellcnt
