? AccAdapt.pyc
? AccessEngine.pyc
? DeviceManager.pyc
? EirikurPerk.py
? EventManager.pyc
? LSRConstants.pyc
? LSRInitConfig.pyc
? LSRInterfaces.pyc
? LSRSettings.pyc
? Makefile
? Makefile.in
? POR.pyc
? Perk.pyc
? SettingsManager.pyc
? Tier.pyc
? TierManager.pyc
? UIRegistrar.pyc
? ViewManager.pyc
? i18n.py
? i18n.pyc
? lsr
? AEChooser/Base.pyc
? AEChooser/Makefile
? AEChooser/Makefile.in
? AEChooser/__init__.pyc
? AEEvent/Base.pyc
? AEEvent/CaretChange.pyc
? AEEvent/ChildrenChange.pyc
? AEEvent/ChooserChange.pyc
? AEEvent/Constants.pyc
? AEEvent/FocusChange.pyc
? AEEvent/InputGesture.pyc
? AEEvent/Makefile
? AEEvent/Makefile.in
? AEEvent/PropertyChange.pyc
? AEEvent/ScreenChange.pyc
? AEEvent/SelectorChange.pyc
? AEEvent/StateChange.pyc
? AEEvent/TableChange.pyc
? AEEvent/ViewChange.pyc
? AEEvent/__init__.pyc
? AEInput/Base.pyc
? AEInput/Constants.pyc
? AEInput/Error.pyc
? AEInput/Gesture.pyc
? AEInput/GestureList.pyc
? AEInput/Makefile
? AEInput/Makefile.in
? AEInput/SystemInput.pyc
? AEInput/__init__.pyc
? AEMonitor/Base.pyc
? AEMonitor/EventMonitor.pyc
? AEMonitor/InputMonitor.pyc
? AEMonitor/Makefile
? AEMonitor/Makefile.in
? AEMonitor/MonitorCollection.pyc
? AEMonitor/OutputMonitor.pyc
? AEMonitor/__init__.pyc
? AEOutput/Audio.pyc
? AEOutput/Base.pyc
? AEOutput/Error.pyc
? AEOutput/Makefile
? AEOutput/Makefile.in
? AEOutput/Style.pyc
? AEOutput/ThreadProxy.pyc
? AEOutput/__init__.pyc
? AEState/Base.pyc
? AEState/Makefile
? AEState/Makefile.in
? AEState/Setting.pyc
? AEState/__init__.pyc
? Adapters/Makefile
? Adapters/Makefile.in
? Adapters/__init__.pyc
? Adapters/ATSPI/ComboboxAdapter.pyc
? Adapters/ATSPI/ContainerAdapter.pyc
? Adapters/ATSPI/DefaultAction.pyc
? Adapters/ATSPI/DefaultEventHandler.pyc
? Adapters/ATSPI/DefaultInfo.pyc
? Adapters/ATSPI/DefaultNav.pyc
? Adapters/ATSPI/FactoryAdapter.pyc
? Adapters/ATSPI/ImageAdapter.pyc
? Adapters/ATSPI/Makefile
? Adapters/ATSPI/Makefile.in
? Adapters/ATSPI/PopupAdapter.pyc
? Adapters/ATSPI/TableAdapter.pyc
? Adapters/ATSPI/TextAdapter.pyc
? Adapters/ATSPI/TreeAdapter.pyc
? Adapters/ATSPI/__init__.pyc
? Choosers/Makefile
? Choosers/Makefile.in
? Devices/GSpeech.pyc
? Devices/Makefile
? Devices/Makefile.in
? Monitors/GTKEventDialog.pyc
? Monitors/Makefile
? Monitors/Makefile.in
? Perks/Makefile
? Perks/Makefile.in
? Task/Base.pyc
? Task/CaretTask.pyc
? Task/ChildrenTask.pyc
? Task/ChooserTask.pyc
? Task/Constants.pyc
? Task/FocusTask.pyc
? Task/InputTask.pyc
? Task/Makefile
? Task/Makefile.in
? Task/PropertyTask.pyc
? Task/ScreenTask.pyc
? Task/SelectorTask.pyc
? Task/StateTask.pyc
? Task/TableTask.pyc
? Task/ViewTask.pyc
? Task/__init__.pyc
? Task/Tools/Base.pyc
? Task/Tools/Error.pyc
? Task/Tools/Input.pyc
? Task/Tools/Makefile
? Task/Tools/Makefile.in
? Task/Tools/Output.pyc
? Task/Tools/System.pyc
? Task/Tools/Utils.pyc
? Task/Tools/View.pyc
? Task/Tools/Word.pyc
? Task/Tools/__init__.pyc
? Templates/Makefile
? Templates/Makefile.in
? Walker/AccessibleItemWalker.pyc
? Walker/AccessibleWalker.pyc
? Walker/Base.pyc
? Walker/Makefile
? Walker/Makefile.in
? Walker/__init__.pyc
? pyLinAcc/Accessible.pyc
? pyLinAcc/Atk.pyc
? pyLinAcc/Constants.pyc
? pyLinAcc/Event.pyc
? pyLinAcc/Interfaces.pyc
? pyLinAcc/Makefile
? pyLinAcc/Makefile.in
? pyLinAcc/__init__.pyc
Index: LSRInterfaces.py
===================================================================
RCS file: /cvs/gnome/lsr/src/LSRInterfaces.py,v
retrieving revision 1.7
diff -r1.7 LSRInterfaces.py
491a492,508
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
Index: Adapters/ATSPI/DefaultInfo.py
===================================================================
RCS file: /cvs/gnome/lsr/src/Adapters/ATSPI/DefaultInfo.py,v
retrieving revision 1.11
diff -r1.11 DefaultInfo.py
7a8
> @author: Eirikur Hallgrimsson
58a60,120
> 
>   def getAccAttrs(self):
>     """
>     Gets a  list of name:value object attribute pairs as strings,
>     or if no attributes exist, returns an empty list.
>     
>     @return: list of attribute pairs
>     @rtype: list
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface    
>     """
>     # return self.accessible.getAttributes()
>     # Above ought to work? Gets CORBA_UNKNOWN exception  Fixme Eirikur [EH]
>     return None
> 
>   def getAccFloatValueExtents(self):
>     """
>     Gets a tuple of the float values of minimumValue, maximumValue, minimumIncrement
>     properties of the self.accessible object if it supports this interface. 
> 
>     @return: 3-tuple of (min, max, step)
>     @rtype: tuple
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     
>     """
>     val = Interfaces.IValue(self.accessible)  
>     min = val.minimumValue
>     max = val.maximumValue
>     inc = val.minimumIncrement
>     return (min,max,inc)
>   
>   def getAccFloatValue(self):
>     """
>     Gets a float value of the currentValue property
>     of self.accessible if it supports this interface.
>     
>     @return: float of currentValue property of self.accessible
>     @rtype: float
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface    
>     """
>     val = Interfaces.IValue(self.accessible)  
>     return val.currentValue
> 
>   def getAccDefTextAttrs(self):
>     """
>     Gets a list of name:value default text attribute pairs as strings.    
>     properties of the self.accessible object if it supports this interface. 
> 
>     @return: dict of name:value pairs
>     @rtype: dict
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     """
>     tex = Interfaces.IText(self.accessible)  
>     return tex.getDefaultAttributes()
59a122,166
>   def getAccTextSelection(self, n=None):
>     """
>     Gets a list of all selections if n is None, or the nth selection if
>     it is specified, via properties of the self.accessible object if it
>     supports this interface. 
> 
>     @todo: EH Should we raise an execption if n is out of range?
>     @toco: EH, Parente Should the return be a list if n != None
>     @return: list of selction objects
>     @rtype: list
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     """
>     tex = Interfaces.IText(self.accessible)  
>     count = tex.getNSelections()
>     if n != None:                  # Be quick for the simple case
>       return [tex.getSelection(n)] # Should this be a list in the single case?
>     
>     selections = []
>     for sel in range(count):
>       selections.append(tex.getSelection(sel))
> 
>     return selections
> 
> 
>   def getAccText(self, start=None, end=None):
>     """
>     Gets the accessiblity text, via properties of the self.accessible object if it
>     supports this interface. 
> 
>     @todo: EH: Can't really use getTextAtOffset, sans TEXT_BOUNDARY_TYPE
>     @return: the accessiblity text
>     @rtype: string
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     """
>     tex = Interfaces.Text(self.accessible)
>     #if end != None:
>     #  return tex.getTextAtOffset(start)
>     #if start != None:
>     #  return tex.getTextAtOffset(end)
>     return tex.getText(start,end)
> 
150a258,277
>   def getAccTableExtents(self):
>     """
>     Returns the number of rows and columns in a table as a 2-tuple of integers
>     This is NOT IMPLEMENTED for non-table objects.
>     
>     @return: Never!
>     @raise NotImplementedError: Always
>     """
>     raise NotImplementedError
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   @pyLinAcc.errorToLookupError
204c331
<     '''
---
>     """
212c339
<     '''
---
>     """
220c347
<     '''
---
>     """
232c359
<     '''
---
>     """
238c365,380
<   
---
> 
>   @pyLinAcc.errorToLookupError
>   def getAccAppLocale(self):
>     """
>     Gets the POSIX locale of an application as a string.
>     @return: POSIX locale as string
>     @rtype: string
>     @raise LookupError: When the accessible or any parent accessible up to the
>       application is dead
>     """
>     app = self.accessible.getApplication()
>     try:
>       return app.getLocale(0) # Fixme.  The 0 is a placeholder for a LOCALE_TYPE
>     except AttributeError:
>       return None
> 
Index: Adapters/ATSPI/TableAdapter.py
===================================================================
RCS file: /cvs/gnome/lsr/src/Adapters/ATSPI/TableAdapter.py,v
retrieving revision 1.11
diff -r1.11 TableAdapter.py
57a58
> 
111a113,121
> 
>   @pyLinAcc.errorToLookupError
>   def getAccTableExtents(self):
>     """
>     Returns the number of rows and columns in a table as a 2-tuple of integers
>     """
>     tab = Interfaces.ITable(self.accessible)
>     return (tab.nRows, tab.nColumns)
> 
Index: Task/Tools/View.py
===================================================================
RCS file: /cvs/gnome/lsr/src/Task/Tools/View.py,v
retrieving revision 1.13
diff -r1.13 View.py
27a28
> from pyLinAcc import Interfaces
68a70,193
>       
>   def getAccFloatValue(self, por=None):
>     """
>     Gets a float value of the currentValue property
>     of self.accessible if it supports this interface.
>         
>     @param por: A point of regard; use the current task's POR if none supplied
>     @type por: L{POR}
>     @return: Name of the application
>     @rtype: string
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     ai = IAccessibleInfo(por)
>     try:
>       return ai.getAccFloatValue()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None  
>   
>   def getAccFloatValueExtents(self, por=None):
>     """
>     Gets a tuple of float values of the minimumValue, maximumValue, minimumIncrement
>     properties of the self.accessible object if it supports this interface. 
>         
>     @param por: A point of regard; use the current task's POR if none supplied
>     @type por: L{POR}
>     @return: tuple of extents values
>     @rtype: tuple
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     ai = IAccessibleInfo(por)
>     try:
>       return ai.getAccFloatValueExtents()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
>   def getAccDefTextAttrs(self, por=None):
>     """
>     gets a list of name:value default text attribute pairs as strings.    
>     properties of the self.accessible object if it supports this interface. 
> 
>     @return: dict of name:value pairs
>     @rtype: dict
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     ai = IAccessibleInfo(por)
>     try:
>       tex = Interfaces.IText(ai)
>     except NotImplementedError:
>       return None
>     try:
>       return tex.getAccDefTextAttrs()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
>   def getAccTextSelection(self, n=None, por=None):
>     """
>     Gets a list of all selections if n is None, or the nth selection if
>     it is specified, via properties of the self.accessible object if it
>     supports this interface. 
> 
>     @return: list of selction objects
>     @rtype: list
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     ai = IAccessibleInfo(por)
>     try:
>       tex = Interfaces.IText(ai)  
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
>     try:
>       return tex.getAccTextSelection(n)
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
>   def getAccText(self, start=None, end=None, por=None):
>     """
>     Gets a list of all selections if n is None, or the nth selection if
>     it is specified, via properties of the self.accessible object if it
>     supports this interface. 
> 
>     @todo: EH Should we throw an error if n is out of range?
>     @toco: EH, Parente Should the return be a list if n != None
>     @return: list of selction objects
>     @rtype: list
>     @raise LookupError: When the accessible object is dead
>     @raise NotImplementedError: When this accessible does not support the Value
>     Interface
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     ai = IAccessibleInfo(por)
>     try:
>       tex = Interfaces.IText(ai)  
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
>     try:
>       return tex.getAccText(self, start, end, por)
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
70c195
<     '''
---
>     """
78c203
<     '''
---
>     """
90c215
<     '''
---
>     """
98c223
<     '''
---
>     """
106c231,268
<   
---
> 
>   def getAccAppLocale(self, por=None):
>     """
>     Gets the POSIX locale of an application as a string.
>     
>     @param por: A point of regard; use the current task's POR if none supplied
>     @type por: L{POR}
>     @return: POSIX locale of the application
>     @rtype: string
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     try:
>       return IAccessibleInfo(por).getAccAppLocale()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
>   def getAccAttrs(self, por=None):
>     """
>     Gets a  list of name:value object attribute pairs as strings,
>     or if no attributes exist, returns an empty list.
> 
>     @param por: A point of regard; use the current task's POR if none supplied
>     @type por: L{POR}
>     @return: list of attribute pairs
>     @rtype: list
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     try:
>       return IAccessibleInfo(por).getAccAttrs()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
108c270
<     '''
---
>     """
117c279
<     '''
---
>     """
127c289
<     '''
---
>     """
137c299
<     '''
---
>     """
147c309
<     '''
---
>     """
156c318
<     '''
---
>     """
167c329
<     '''
---
>     """
176c338
<     '''
---
>     """
282a445,460
>   def getAccTableExtents(self, por=None):
>     """
>     Returns the number of rows and columns in a table as a 2-tuple of integers
>     @return: 2-tuple of nRows, nColumns
>     @rtype: tuple
>     @raise PORError: When the L{POR} is invalid
>     """
>     por = por or self.task_por
>     try:
>       ai = IAccessibleInfo(por)
>       return ai.getAccTableExtents()
>     except LookupError:
>       raise PORError
>     except NotImplementedError:
>       return None
> 
304c482
<     '''
---
>     """
314c492
<     '''
---
>     """
339c517
<     '''    
---
>     """    
352c530
<     '''
---
>     """
363c541
<     '''    
---
>     """    
376c554
<     '''
---
>     """
387c565
<     '''    
---
>     """    
403c581
<     '''
---
>     """
430c608
<     '''
---
>     """
439c617
<     '''
---
>     """
450c628
<     '''
---
>     """
459c637
<     '''
---
>     """
470c648
<     '''
---
>     """
479c657
<     '''
---
>     """
491c669
<     '''
---
>     """
495c673
<     '''
---
>     """
499c677
<     '''
---
>     """
505c683
<     '''
---
>     """
513c691
<     '''
---
>     """
522c700
<     '''
---
>     """
532c710
<     '''
---
>     """
541c719
<     '''
---
>     """
549c727
<     '''
---
>     """
558c736
<     '''
---
>     """
573c751
<     '''
---
>     """
578c756
<     '''
---
>     """
582c760
<     '''
---
>     """
594c772
<     '''
---
>     """
612c790
<     '''
---
>     """
621c799
<     '''
---
>     """
630c808
<     '''
---
>     """
638c816
<     '''
---
>     """
647c825
<     '''
---
>     """
655c833
<     '''
---
>     """
664c842
<     '''
---
>     """
677c855
<     '''
---
>     """
693c871
<     '''
---
>     """
702c880
<     '''
---
>     """
718c896
<     '''
---
>     """
727c905
<     '''
---
>     """
741c919
<     '''
---
>     """
747c925
<     '''
---
>     """
756c934
<     '''
---
>     """
769c947
<     '''
---
>     """
785c963
<     '''
---
>     """
794c972
<     '''
---
>     """
811c989
<     '''
---
>     """
820c998
<     '''
---
>     """
828c1006
<     '''
---
>     """
839c1017
<     '''
---
>     """
858c1036
<     '''
---
>     """
866c1044
<     '''
---
>     """
875c1053
<     '''
---
>     """
881c1059
<     '''
---
>     """
885c1063
<     '''
---
>     """
894c1072
<     '''
---
>     """
903c1081
<     '''
---
>     """
914c1092
<     '''
---
>     """
928c1106
<     '''
---
>     """
940c1118
<     '''
---
>     """
945c1123
<     '''
---
>     """
957c1135
<     '''
---
>     """
962c1140
<     '''
---
>     """
980c1158
<     '''
---
>     """
994c1172
<     '''
---
>     """
1003c1181
<     '''
---
>     """
1016c1194
<     '''
---
>     """
1022c1200
<     '''
---
>     """
1028c1206
<     '''
---
>     """
1037c1215
<     '''
---
>     """
1050c1228
<     '''
---
>     """
1066c1244
<     '''
---
>     """
1102c1280
<     '''
---
>     """
1109c1287
<     '''
---
>     """
1126c1304
<     '''
---
>     """
1142c1320
<     '''
---
>     """
1183c1361
<     '''
---
>     """
1198c1376
<     '''
---
>     """
1220c1398
<     '''
---
>     """
1226c1404
<     '''
---
>     """
1230c1408
<     '''
---
>     """
1246c1424
<     '''
---
>     """
1271c1449
<     '''
---
>     """
1274c1452
<     '''
---
>     """
1278c1456
<     '''
---
>     """
1283c1461
<     '''
---
>     """
1287c1465
<     '''
---
>     """
1292c1470
<     '''
---
>     """
1306c1484
<     '''
---
>     """
1357c1535
<     '''
---
>     """
1371c1549
<     '''
---
>     """
1381c1559
<     '''
---
>     """
1395c1573
<     '''
---
>     """
1407c1585
<     '''
---
>     """
1423c1601
<     '''
---
>     """
1434c1612
<     '''
---
>     """
1455c1633
<     '''
---
>     """
1475c1653
<     '''
---
>     """
