Changeset 2521

Show
Ignore:
Timestamp:
11/21/08 08:08:05 (7 weeks ago)
Author:
bzr
Message:

winConsole NVDAObject: Don't suppress speaking of new text because the last event was an UPDATE_SIMPLE event. Not every event is handled by the monitor thread, so not processing updates for the last event may cause earlier updates to not be spoken. Fixes some cases where new text was not spoken, such as in some text adventure games.

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-11-21 16:21:20.075000048 +1000 
         1timestamp: 2008-11-21 18:06:34.469000101 +1000 
        22committer: James Teh <jamie@jantrid.net> 
        33properties:  
    • Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
      •  

        old new  
        2902902318 peter.v@datagate.sk-20081120155942-jdc6f2zq6apgln30 
        2912912319 jamie@jantrid.net-20081121062120-ymtycr7j71grgfau 
         2922320 jamie@jantrid.net-20081121080634-v64k4ztx5g3skdw7 
    • Property bzr:file-ids
      •  

        old new  
         1source/NVDAObjects/IAccessible/winConsole.py    683@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FNVDAObjects%2FIAccessible%2FwinConsole.py 
        12user_docs/whats%20new.txt       559@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:user_docs%2Fwhats%20new.txt 
    • Property bzr:text-parents
      •  

        old new  
        1 user_docs/whats%20new.txt       mick@kulgan.net-20081118094843-3zrx7gckwlcw01w3 
         1source/NVDAObjects/IAccessible/winConsole.py    jamie@jantrid.net-20081023151750-6qcjj6tjcb138cdi 
  • trunk/source/NVDAObjects/IAccessible/winConsole.py

    r2452 r2521  
    151151                                                newLines=[text[x:x+lineLength] for x in xrange(0,len(text),lineLength)] 
    152152                                                outLines=self.calculateNewText(newLines,self.prevConsoleVisibleLines) 
    153                                                 if consoleEvent != winUser.EVENT_CONSOLE_UPDATE_SIMPLE and not (len(outLines) == 1 and len(outLines[0]) <= 1): 
     153                                                if not (len(outLines) == 1 and len(outLines[0]) <= 1): 
    154154                                                        for line in outLines: 
    155155                                                                queueHandler.queueFunction(queueHandler.eventQueue, speech.speakText, line) 
  • trunk/user_docs/whats new.txt

    r2520 r2521  
    5353* change: The level of a tree view item is now announced first if it has changed from the previously focused item for all tree views. Previously, this was only occurring for native Windows (SysTreeView32) tree views. 
    5454* fix: Improved the speaking of typed characters and words. 
     55* fix: Some new text that was previously not spoken in text console applications (such as some text adventure games) is now spoken. 
    5556 
    5657