Changeset 2507
- Timestamp:
- 11/18/08 03:53:58 (8 months ago)
- Location:
- trunk
- Files:
-
- 11 modified
-
. (modified) (5 props)
-
.bzrignore (modified) (1 diff)
-
dependencies.txt (modified) (1 diff)
-
source/IAccessibleHandler.py (modified) (2 diffs)
-
source/NVDAObjects/IAccessible/__init__.py (modified) (1 diff)
-
source/queueHandler.py (modified) (1 diff)
-
source/sayAllHandler.py (modified) (1 diff)
-
source/setup.py (modified) (3 diffs)
-
source/speech.py (modified) (1 diff)
-
source/virtualBuffers/__init__.py (modified) (1 diff)
-
source/virtualBuffers/gecko_ia2.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-info
-
old new 1 timestamp: 2008-11-18 1 4:38:07.572999954 +11002 committer: Michael Curran <mick@kulgan.net>1 timestamp: 2008-11-18 13:47:16.186000109 +1000 2 committer: James Teh <jamie@jantrid.net> 3 3 properties: 4 4 branch-nick: main
-
- Property bzr:ancestry:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
old new 14 14 jamie@jantrid.net-20081109113343-zabfejnnivsxf2gd 15 15 jamie@jantrid.net-20081111050702-md0ib7fbd6r5scsh 16 jamie@jantrid.net-20081118034003-w64s6unhiaah225m
-
- Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
old new 276 276 2304 mick@kulgan.net-20081117132147-0s0gw63lue1v5xar 277 277 2305 mick@kulgan.net-20081118033807-iknqrj1jx2n8cfng 278 2306 jamie@jantrid.net-20081118034716-jk7koc7ahs798gtj
-
- Property bzr:file-ids
-
old new 1 .bzrignore bzrignore-20080122021806-b5wx35icn5gbvszl-1 2 dependencies.txt 46@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:dependencies.txt 1 3 source/IAccessibleHandler.py 267@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FIAccessibleHandler.py 4 source/NVDAObjects/IAccessible/__init__.py 683@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FNVDAObjects%2FIAccessible%2F__init__.py 5 source/queueHandler.py 405@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FqueueHandler.py 6 source/sayAllHandler.py 329@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FsayAllHandler.py 7 source/setup.py 46@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2Fsetup.py 8 source/speech.py 503@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2Fspeech.py 9 source/virtualBuffers/__init__.py 1675@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FvirtualBuffers%2F__init__.py 10 source/virtualBuffers/gecko_ia2.py 1694@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FvirtualBuffers%2Fgecko_ia2.py
-
- Property bzr:text-parents
-
old new 1 .bzrignore jamie@jantrid.net-20081118022948-0s909mfs49bqr554 2 dependencies.txt jamie@jantrid.net-20081118034003-w64s6unhiaah225m 3 source/queueHandler.py jamie@jantrid.net-20081117040816-k2lfa2m4rnqcijeb 4 source/sayAllHandler.py jamie@jantrid.net-20081117040816-k2lfa2m4rnqcijeb 5 source/setup.py jamie@jantrid.net-20081118022948-0s909mfs49bqr554 6 source/virtualBuffers/__init__.py jamie@jantrid.net-20081117040816-k2lfa2m4rnqcijeb 7 source/virtualBuffers/gecko_ia2.py jamie@jantrid.net-20081117040816-k2lfa2m4rnqcijeb
-
- Property bzr:revision-info
-
trunk/.bzrignore
r2436 r2507 6 6 source/dist 7 7 source/**/*.dll 8 source/**/*.manifest 8 9 source/synthDrivers/espeak-data 9 10 source/lib -
trunk/dependencies.txt
r2436 r2507 1 1 The NVDA source depends on several other packages to run correctly. Below is a list of the relevant packages along with the URLs where the packages can be obtained. 2 Python 2. 5, including 2.5.x:2 Python 2.6, including 2.6.x: 3 3 http://www.python.org/ 4 comtypes (for python 2.5), version 0.5.2 or later:4 comtypes, version 0.5.2 or later: 5 5 http://www.sourceforge.net/projects/comtypes/ 6 wxPython unicode (for python 2.5), version 2.8.7.1 or later:6 wxPython unicode (for Python 2.6), version 2.8.9.1 or later: 7 7 http://www.wxpython.org/ 8 Python Windows Extensions (for python 2.5), build 210 only:8 Python Windows Extensions (for Python 2.6), build 212 or later: 9 9 http://www.sourceforge.net/projects/pywin32/ 10 Several other packages, made available for convenience in the NVDA miscellaneous dependencies package, version 2008-1 0-22-01 or later:10 Several other packages, made available for convenience in the NVDA miscellaneous dependencies package, version 2008-11-18-01 or later: 11 11 http://www.nvda-project.org/wiki/MiscellaneousDependencies 12 12 13 To build a binary version of NVDA you will also need:14 Py2Exe , version 0.6.6 only:13 To build a binary version of NVDA, you will also need: 14 Py2Exe (for Python 2.6), version 0.6.9 or later: 15 15 http://www.sourceforge.net/projects/py2exe/ 16 16 Nulsoft Install System, version 2.36 or later: -
trunk/source/IAccessibleHandler.py
r2506 r2507 207 207 """ 208 208 if eventID==winUser.EVENT_OBJECT_FOCUS: 209 self._focusEventCache[(eventID,window,objectID,childID)]= self._eventCounter.next()209 self._focusEventCache[(eventID,window,objectID,childID)]=next(self._eventCounter) 210 210 return 211 211 elif eventID==winUser.EVENT_OBJECT_SHOW: … … 224 224 del self._genericEventCache[k] 225 225 return 226 self._genericEventCache[(eventID,window,objectID,childID)]= self._eventCounter.next()226 self._genericEventCache[(eventID,window,objectID,childID)]=next(self._eventCounter) 227 227 228 228 def flushEvents(self): -
trunk/source/NVDAObjects/IAccessible/__init__.py
r2505 r2507 289 289 else: 290 290 newClass=globals()[classString] 291 obj=Window.__new__(newClass ,windowHandle=windowHandle)291 obj=Window.__new__(newClass) 292 292 obj.windowClassName=windowClassName 293 293 obj.__init__(windowHandle=windowHandle,IAccessibleObject=IAccessibleObject,IAccessibleChildID=IAccessibleChildID,event_windowHandle=event_windowHandle,event_objectID=event_objectID,event_childID=event_childID) -
trunk/source/queueHandler.py
r2177 r2507 74 74 try: 75 75 log.debug("pumping generator %d"%ID) 76 gen.next()76 next(gen) 77 77 except StopIteration: 78 78 log.debug("generator %s finished"%ID) -
trunk/source/sayAllHandler.py
r2406 r2507 157 157 yield 158 158 yield 159 updateGen.next()159 next(updateGen) 160 160 if loopCount>4: 161 161 yield -
trunk/source/setup.py
r2493 r2507 15 15 import wx 16 16 17 RT_MANIFEST = 24 #resource number for manifest18 19 NVDAManifestText="""20 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>21 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">22 <assemblyIdentity23 version="6.0.0.0"24 processorArchitecture="x86"25 name="%(name)s"26 type="win32"27 />28 <description>%(description)s</description>29 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">30 <security>31 <requestedPrivileges>32 <requestedExecutionLevel33 level="AsInvoker"34 uiAccess="false" />35 </requestedPrivileges>36 </security>37 </trustInfo>38 </assembly>39 """%vars()40 41 17 # py2exe insists on excluding certain dlls that don't seem to exist on many systems, so hackishly force them to be included. 42 18 origIsSystemDLL = build_exe.isSystemDLL 43 19 def isSystemDLL(pathname): 44 if os.path.basename(pathname).lower() in ("msvcp71.dll", " gdiplus.dll","mfc71.dll"):20 if os.path.basename(pathname).lower() in ("msvcp71.dll", "msvcp90.dll", "gdiplus.dll","mfc71.dll", "mfc90.dll"): 45 21 return 0 46 22 return origIsSystemDLL(pathname) … … 87 63 windows = [{ 88 64 "script":"nvda.pyw", 65 "uac_info": ("asInvoker", False), 89 66 "icon_resources":[(1,"images/nvda.ico")], 90 "other_resources":[(RT_MANIFEST,1,NVDAManifestText)],91 67 }], 92 68 options = {"py2exe": { … … 99 75 zipfile = None, 100 76 data_files=[ 101 (".",glob("*.dll")+ ["builtin.dic"]),77 (".",glob("*.dll")+glob("*.manifest")+["builtin.dic"]), 102 78 ("documentation", ['../copying.txt', '../contributors.txt']), 103 79 ("comInterfaces", glob("comInterfaces/*.pyc")), -
trunk/source/speech.py
r2505 r2507 153 153 try: 154 154 # Speak the first character before this function returns. 155 gen.next()155 next(gen) 156 156 except StopIteration: 157 157 return -
trunk/source/virtualBuffers/__init__.py
r2479 r2507 285 285 startOffset, endOffset=VBufClient_getBufferSelectionOffsets(self.VBufHandle) 286 286 try: 287 docHandle, ID, startOffset, endOffset = self._iterNodesByType(nodeType, direction, startOffset).next()287 docHandle, ID, startOffset, endOffset = next(self._iterNodesByType(nodeType, direction, startOffset)) 288 288 except StopIteration: 289 289 speech.speakMessage(errorMessage) -
trunk/source/virtualBuffers/gecko_ia2.py
r2468 r2507 318 318 # Find the next/previous focusable node. 319 319 try: 320 newDocHandle, newID, newStart, newEnd = self._iterNodesByType("focusable", direction, caretInfo._startOffset).next()320 newDocHandle, newID, newStart, newEnd = next(self._iterNodesByType("focusable", direction, caretInfo._startOffset)) 321 321 except StopIteration: 322 322 return False

NVDA is supported by