OSDN Git Service

nvdajp/nvdajp.git
12 years agoMerged main
Michael Curran [Mon, 31 Oct 2011 03:16:08 +0000 (13:16 +1000)]
Merged main

12 years agoDescriting or spelling the current chracter, word or line now speaks in the appropria...
Michael Curran [Mon, 31 Oct 2011 01:44:54 +0000 (11:44 +1000)]
Descriting or spelling the current chracter, word or line now speaks in the appropriate language according to the text if auto language switching is turned on and the appropriate language information is available.
Specific changes:
* speech._speakSpellingGen:  place the initial text, locale and characterDescriptions bool as a tuple in to a list, and iterate through this list and spell each tuple. Also on each yield, check to see if a new tuple has been sent in to the generator and if so then append it to the list of things to be spelled.
* speech: rather than  holding _speakSpellingGenID, hold the actual generator as _speakspellingGenerator. CancelSpeech calls .close() on it if its still alive.
* speech.speakSpelling: if the generator is currently alive, use its .send to send new text to be spelled. If its dead then create a new generator.
* speech: add a spellTextInfo function which will spell the text in the given TextInfo, but also detects langChangeCommand objects and appropriately honours the language shen speaking.
* globalCommands:  for script_review_current[Chracter|Word|Line] use spellTextInfo instead of speakSpelling.

12 years agokeyboardHandler: No longer always ignore injected keys. Instead only ignore them...
Michael Curran [Fri, 28 Oct 2011 00:36:32 +0000 (10:36 +1000)]
keyboardHandler: No longer always ignore injected keys. Instead only ignore them while NVDA is emulating a key press. This change allows apps such as on-screen keyboards and speech recognition software to  control NVDA by  emulating keyboard input themselves. Note that this has only so far been tested on Windows8 and must be tested on 7/Vista/xp for side affects. If in deed there are issues, such as our keyboard hook being called *after* keybd_event has returned, then we may need to look at some kind of emulated key set which our keyboard hook will  look at and ignore and remove any key in that set. MSDN docs do state that context is switched in keybd_event from the app to the keyboard hook and then back to the app, so I'm hoping that's true.

12 years agoUpdated version to 2012.1dev
Michael Curran [Fri, 28 Oct 2011 00:23:58 +0000 (10:23 +1000)]
Updated version to 2012.1dev

12 years agoNVDAObjects.IAccessible.sysListView32: Oops. Removed one too many lines of code....
James Teh [Thu, 27 Oct 2011 22:19:24 +0000 (08:19 +1000)]
NVDAObjects.IAccessible.sysListView32: Oops. Removed one too many lines of code. Put one of them back. :)
Fixes errors in certain list view controls.
Fixes #1866.

12 years agokeyboardHandler: no longer always ignore injected key presses. Instead only ignore...
Michael Curran [Thu, 27 Oct 2011 01:38:52 +0000 (11:38 +1000)]
keyboardHandler: no longer always ignore injected key presses. Instead only ignore them while NVDA is currently emulating key presses itself (as to still not cause key loops). This change is to allow NVDA to respond to key presses sent by applications such as speech recognition software or alternative keyboard input programs.
So far I cannot see issues with this change, though it must be tested on all operating systems. Its possible that keybd_event could return before our keyboard hook is executed. If so then we'll need to use a different approach such as noting all key downs and ups emulated and  ignoring injected keys for just those ones as we see them come to the keyboard hook.

12 years agoUser Guide: Note that UIA is only supported in Windows 7 and later.
James Teh [Thu, 27 Oct 2011 00:27:18 +0000 (10:27 +1000)]
User Guide: Note that UIA is only supported in Windows 7 and later.

12 years agoNVDAObjects.IAccessible.sysListView32: Gracefully handle the case where retrieving...
James Teh [Wed, 26 Oct 2011 11:08:54 +0000 (21:08 +1000)]
NVDAObjects.IAccessible.sysListView32: Gracefully handle the case where retrieving a process handle from a window handle fails. Also remove two pointless lines of code.

12 years agoIf autoLanguageSwitching is turned off, then never use the synth's reported language...
Michael Curran [Wed, 26 Oct 2011 03:40:49 +0000 (13:40 +1000)]
If autoLanguageSwitching is turned off, then never use the synth's reported language for such things as symbol names. Instead fall back to the older way of using NVDA's interface language. Thus if you are using a synth which incorrectly specifies its language, then turn autoLanguageSwitching off and you should get 2011.2 behaviour. May fix #1861.

12 years agoMove characterDescriptions and symbols dict files out of zh_TW in to a new zh directo...
Michael Curran [Wed, 26 Oct 2011 02:52:02 +0000 (12:52 +1000)]
Move characterDescriptions and symbols dict files out of zh_TW in to a new zh directory. This allows these character descriptions and symbols to be used for synths that only specify zh as their language (such as eSpeak mandarin). It also has the side affect that it will also make these symbols and character descriptions get used for any other zh_* language as no other dic files have been provided for these languages yet. In short this now allows chinese character descriptions and symbols to function again, having previously been broken due to the addition of auto language switching.

12 years agotr:
Çağrı Doğan [Tue, 25 Oct 2011 11:27:25 +0000 (12:27 +0100)]
tr:
  characterDescriptions.dic
  symbols.dic matching 4745
  nvda.po matching 4745
  userGuide.t2t matching 4745

12 years agota:
DINAKAR T.D. [Tue, 25 Oct 2011 11:25:17 +0000 (12:25 +0100)]
ta:
  symbols.dic matching 4745
  nvda.po matching 4745

12 years agonl:
Bram Duvigneau [Tue, 25 Oct 2011 11:22:10 +0000 (12:22 +0100)]
nl:
  userGuide.t2t matching 4739

12 years agoja:
Katsutoshi Tsuji [Tue, 25 Oct 2011 11:16:06 +0000 (12:16 +0100)]
ja:
  nvda.po matching 4745
  userGuide.t2t matching 4733

Great thanks to Katsutoshi Tsuji, we have a complete Japanese userGuide.

12 years agofi:
Jani Kinnunen [Tue, 25 Oct 2011 11:08:46 +0000 (12:08 +0100)]
fi:
  changes.t2t matching 4743
  userGuide.t2t matching 4739

12 years agode:
Bernd Dorer [Tue, 25 Oct 2011 10:44:18 +0000 (11:44 +0100)]
de:
  userGuide.t2t matching 4732

12 years agoar:
<Fatma> [Tue, 25 Oct 2011 10:04:41 +0000 (11:04 +0100)]
ar:
  nvda.po: matching 4745
  changes.t2t matching 4743
  userGuide.t2t  matching 4745

12 years agoUser Guide: Remapping Key Assignments and Other Input Gestures: Clarify info about...
James Teh [Sun, 23 Oct 2011 10:52:49 +0000 (20:52 +1000)]
User Guide: Remapping Key Assignments and Other Input Gestures: Clarify info about the sub-device/layout component of the gesture identifier with respect to braille displays.
Fixes #1860.

12 years agoNVDAObjects.IAccessible.sysListView32.GroupingItem: Fix typos that were probably...
James Teh [Fri, 21 Oct 2011 10:47:21 +0000 (20:47 +1000)]
NVDAObjects.IAccessible.sysListView32.GroupingItem: Fix typos that were probably breaking this object.

12 years agoUpdate What's New.
James Teh [Fri, 21 Oct 2011 10:24:03 +0000 (20:24 +1000)]
Update What's New.

12 years agosayAllhandler.readTextHelper_generator: Gracefully handle the case where for the...
James Teh [Fri, 21 Oct 2011 10:15:16 +0000 (20:15 +1000)]
sayAllhandler.readTextHelper_generator: Gracefully handle the case where for the underlying NVDAObject dies before the generator is first pumped. Prevents an exception.

12 years agoUpdate What's New.
James Teh [Fri, 21 Oct 2011 10:08:07 +0000 (20:08 +1000)]
Update What's New.

12 years agoIAccessible NVDAObject: There can be negative child IDs with no full IAccessible...
James Teh [Fri, 21 Oct 2011 10:03:42 +0000 (20:03 +1000)]
IAccessible NVDAObject: There can be negative child IDs with no full IAccessible. Fix childCount, children and parent accordingly.
I suspect this is actually a bug in the application rather than intentional, but we need to handle it regardless.
Fixes infinite recursion in the About dialog of Notepad in Windows XP.
Fixes #1853.

12 years agoCorrected small typo in userGuide heading, two missing equal signs.
Mesar Hameed [Fri, 21 Oct 2011 09:36:39 +0000 (10:36 +0100)]
Corrected small typo in userGuide heading, two missing equal signs.

12 years agomshtml vbuf backend: Implement basic support for Design Science MathPlayer.
James Teh [Wed, 19 Oct 2011 07:41:12 +0000 (17:41 +1000)]
mshtml vbuf backend: Implement basic support for Design Science MathPlayer.
Currently, we just render IAccessible::accName exposed by MathPlayer.

12 years agowinKernel.virtualAllocEx: Raise exceptions for errors. Errors hopefully won't happen...
James Teh [Tue, 18 Oct 2011 10:52:29 +0000 (20:52 +1000)]
winKernel.virtualAllocEx: Raise exceptions for errors. Errors hopefully won't happen, but the caller should definitely not keep going unchecked if an error does occur.

12 years agoMSHTML vbuf isAlive property: If the root object isn't responding, treat the buffer...
James Teh [Tue, 18 Oct 2011 05:43:34 +0000 (15:43 +1000)]
MSHTML vbuf isAlive property: If the root object isn't responding, treat the buffer as dead. Otherwise, we'll keep querying it on every focus change and freezing.
Fixes freezes in the system menu on IE 8 in Windows XP... *again*.
Fixes #1831.

12 years agoMap RICHEDIT to RichEdit instead of Edit.
James Teh [Tue, 18 Oct 2011 04:03:56 +0000 (14:03 +1000)]
Map RICHEDIT to RichEdit instead of Edit.
Among other things, fixes a crash when moving the mouse over these controls.
Fixes #672.

12 years agoapi.setFocusObject: Notify the watchdog that the core is alive before certain code...
James Teh [Tue, 18 Oct 2011 03:17:15 +0000 (13:17 +1000)]
api.setFocusObject: Notify the watchdog that the core is alive before certain code that can take a while so that it doesn't get cancelled unnecessarily.
watchdog: Increase the minimum alive timeout to 0.5, making watchdog a little more tolerant when switching windows.
Should fix missed focus in some cases; e.g. when opening a new Mozilla browser window on some systems.
Fixes #1851.

12 years agoUser Guide: Add note about Freedom Scientific braille display drivers installed by...
James Teh [Sun, 16 Oct 2011 22:54:54 +0000 (08:54 +1000)]
User Guide: Add note about Freedom Scientific braille display drivers installed by other screen readers. Also, minor grammatical fix.

12 years agoUser Guide: Specify the x86 version of the Microsoft Speech Platform runtime.
James Teh [Sat, 15 Oct 2011 09:51:09 +0000 (19:51 +1000)]
User Guide: Specify the x86 version of the Microsoft Speech Platform runtime.

12 years agoWhat's New: Add item about speech language switching for developers.
James Teh [Fri, 14 Oct 2011 08:22:05 +0000 (18:22 +1000)]
What's New: Add item about speech language switching for developers.

12 years agoWe now require eSpeak 1.45.46 or later. release-2011.3beta1
James Teh [Fri, 14 Oct 2011 05:12:46 +0000 (15:12 +1000)]
We now require eSpeak 1.45.46 or later.
Fixes #1789.

12 years agogecko_ia2 vbuf backend: Render labels for image maps.
James Teh [Thu, 13 Oct 2011 08:09:50 +0000 (18:09 +1000)]
gecko_ia2 vbuf backend: Render labels for image maps.

12 years agoWhat's New: Add release blurb.
James Teh [Wed, 12 Oct 2011 22:56:43 +0000 (08:56 +1000)]
What's New: Add release blurb.

12 years agospeech.speakTextInfo: Don't append the last LangChangeCommand if not necessary. speec...
James Teh [Wed, 12 Oct 2011 21:26:30 +0000 (07:26 +1000)]
speech.speakTextInfo: Don't append the last LangChangeCommand if not necessary. speech.speak now handles empty sequences anyway, but there's already code in speakTextInfo to eliminate pointless language changes, so we may as well do it at the end too.

12 years agospeech.speak: The sequence can also be empty after language normalisation, so return...
James Teh [Wed, 12 Oct 2011 21:23:13 +0000 (07:23 +1000)]
speech.speak: The sequence can also be empty after language normalisation, so return early in this case as well.

12 years agoUpdated french language file, user guide and changes.
Peter Vágner [Wed, 12 Oct 2011 20:00:51 +0000 (22:00 +0200)]
Updated french language file, user guide and changes.

12 years agospeech.speak: return right at the top if this function is given an empty speech seque...
Michael Curran [Wed, 12 Oct 2011 09:52:02 +0000 (19:52 +1000)]
speech.speak: return right at the top if this function is given an empty speech sequence.  Other code in nvda probably shouldn't be giving empty speech sequences in a perfect world, but  even if speak was called manually like this, there is no point going through all the motions when there's really nothing to do. Plus this of course should stop  an error seen with sapi4 when given an empty speech sequence.

12 years agoDuring sayAll, it was previously possible for an IndexCommand to be provided at the...
Michael Curran [Wed, 12 Oct 2011 02:01:03 +0000 (12:01 +1000)]
During sayAll, it was previously possible for an IndexCommand to be provided at the end of a speech sequence given to a synth's speak method, rather than at the beginning of the next speech sequence. (The two speech sequences being split due to a forced BreakCommand). Make sure this never happens.
Specific changes:
* speech.speakTextInfo: Add the given index as an IndexCommand to the speechSequence after speech for exiting control fields, and also after a possible Breakcommand (due to exiting a block), but before any other text or commands. Previously the index was always inserted as an IndexCommand at the very start of the speech sequence. Technically this now means that there may be some speech (specifically exiting old control fields) which will occur before the requested index, but this probably makes some sence as it really hasn't yet started speaking the actual content of the textInfo. Plus this is definitely needed to make sure the index appears on the right side of the BreakCommand.
* speech.speakWithoutPauses: When breaking up the speech sequence  by looking for specific BreakCommand objects and passing the subSequences  to speakWithoutPauses again, make sure to handle the case where a speech sequence starts with a BreakCommand. Previously this was not really possible as speakTextInfo always started with an IndexCommand, but now its certainly necessary.

12 years agoMerge from the screen reader translation project: Arabic, German, Finnish, Italian...
James Teh [Tue, 11 Oct 2011 22:49:16 +0000 (08:49 +1000)]
Merge from the screen reader translation project: Arabic, German, Finnish, Italian, Japanese, Polish, Turkish.

12 years agobase SynthDriver: In the base implementation of speak() for synth drivers that haven...
James Teh [Tue, 11 Oct 2011 10:49:41 +0000 (20:49 +1000)]
base SynthDriver: In the base implementation of speak() for synth drivers that haven't yet been updated to support speak() themselves, merge text between supported commands into a single chunk. Fixes pauses on every field for these synths (e.g. Svox Pico).

12 years agoFix punctuation.
James Teh [Tue, 11 Oct 2011 03:29:18 +0000 (13:29 +1000)]
Fix punctuation.

12 years agogecko_ia2 vbuf: Listen for scrollingStart events even before the buffer is fully...
James Teh [Tue, 11 Oct 2011 03:14:10 +0000 (13:14 +1000)]
gecko_ia2 vbuf: Listen for scrollingStart events even before the buffer is fully rendered and then move to that object once rendered.
In particular, Gecko 10 now always fires scrollingStart if appropriate the first time the document is focused, so this means we'll almost always get the right position if the document is loaded while NVDA is running.
Partial fix for #360.

12 years agoIn browse mode, pressing enter or space on a tab now activates it instead of switchin...
James Teh [Mon, 10 Oct 2011 23:14:26 +0000 (09:14 +1000)]
In browse mode, pressing enter or space on a tab now activates it instead of switching to focus mode. Tabs will still auto switch to focus mode for focus changes.
Fixes #1760.

12 years agospeech.speakTextInfo: Don't speak "blank" when there are only fields which are announ...
James Teh [Mon, 10 Oct 2011 03:57:42 +0000 (13:57 +1000)]
speech.speakTextInfo: Don't speak "blank" when there are only fields which are announced but have already been entered; e.g. a blank line in a multi-line link.

12 years agoMake sure that *no* LangChangeCommand objects are sent to a synth by speech.speak...
Michael Curran [Mon, 10 Oct 2011 02:05:43 +0000 (12:05 +1000)]
Make sure that *no* LangChangeCommand objects are sent to a synth by speech.speak or speech._speakSpellingGen  when autoLanguageSwitching is turned off.

12 years agotr:
Çağrı Doğan [Sat, 8 Oct 2011 16:22:51 +0000 (17:22 +0100)]
tr:
  nvda.po 4710

12 years agoja:
Katsutoshi Tsuji [Sat, 8 Oct 2011 16:20:01 +0000 (17:20 +0100)]
ja:
  nvda.po 4710
  userGuide.t2t 4658 (uncomplete)

12 years agoit:
Simone Dal Maso [Sat, 8 Oct 2011 16:16:37 +0000 (17:16 +0100)]
it:
  nvda.po 4710
  changes.t2t 4710 (uncomplete)

12 years agopl:
Hubert Meyer [Sat, 8 Oct 2011 16:12:06 +0000 (17:12 +0100)]
pl:
  nvda.po 4710

12 years agode:
Bernd Dorer [Sat, 8 Oct 2011 16:08:22 +0000 (17:08 +0100)]
de:
  langstrings.txt 4710
  nvda.po 4710
  changes.t2t 4710
  userGuide.t2t 4658
  symbols.dic

12 years agoar:
Fatma Mehanna [Sat, 8 Oct 2011 15:59:42 +0000 (16:59 +0100)]
ar:
    nvda.po 4710
    changes.t2t 4710

12 years agofi:
Jani Kinnunen [Sat, 8 Oct 2011 15:29:11 +0000 (16:29 +0100)]
fi:
    changes.t2t 4710
    userGuide 4658 + modifications and updates
    symbols.dic 4710
    nvda.po 4710

12 years agovirtual buffers: Now that combo box items return a position in the buffer, they don...
James Teh [Fri, 7 Oct 2011 10:06:11 +0000 (20:06 +1000)]
virtual buffers: Now that combo box items return a position in the buffer, they don't automatically force focus mode. Therefore, do this explicitly in the alt+up/downArrow script if appropriate.
Fixes failure to switch to focus mode when pressing alt+down/upArrow on a collapsed combo box.
Also remove specific code fixing #1630, as it is no longer required.
Fixes #1826.

12 years agoAppropriately contain combo box and list (select) list items within an MSHTML virtual...
Michael Curran [Fri, 7 Oct 2011 03:24:03 +0000 (13:24 +1000)]
Appropriately contain combo box and list (select) list items within an MSHTML virtual buffer, so that its possible to switch back to browse mode rather than it seeming as if you're not in the buffer at all. Fixes #1818, though  this does not fully fix combo boxes until #1826 is fixed.
Specific changes:
  * MSHTML virtualBuffer's __contains__ method: treet plane MSAA list items as being part of the buffer if their parent is a list that is in deed in the buffer.
* MSHTML virtualBuffer's getIdentifierFromNVDAObject: raise LookupError if given an NVDAObject that is not an MSHTML NVDAObject. This is now possible with the change for list items.
* Create a PopupList MSHTML NVDAObject overlay class, which  will always use MSAA's accParent, rather than  only if MSHTML's parentElement fails. For expanded MSHTML combo boxes the list  seems to have a unuseful parentElement as the list seems to be embedded in a temporary document, yet accParent is correctly overridden to point back to the real combo box. Use PopupList if the nodeName is 'SELECT' and the object's window is a popup window.

Expanding a combo box may have been broken for a very long time as we have not chosen to use accParent always in this case since long ago.

12 years agovirtual buffers: List/combo box descendants aren't rendered into the buffer but are...
James Teh [Thu, 6 Oct 2011 07:28:02 +0000 (17:28 +1000)]
virtual buffers: List/combo box descendants aren't rendered into the buffer but are still considered part of it, so use the list/combo box when retrieving the position for such a descendant.
Fixes undesirable switch to focus mode when navigating to lists/combo boxes in certain cases.
Fixes #1819, #1815.

12 years agoXMLFormatting.XMLTextParser: Merge consecutive character data chunks into a single...
James Teh [Wed, 5 Oct 2011 02:32:06 +0000 (12:32 +1000)]
XMLFormatting.XMLTextParser: Merge consecutive character data chunks into a single string in the output, as some of our code assumes this.
Fixes weirdness with certain characters when working with display model.
Fixes #1824.

12 years agoEnglish symbols: Add HEAVY WIDE-HEADED RIGHTWARDS ARROW.
James Teh [Wed, 5 Oct 2011 00:11:58 +0000 (10:11 +1000)]
English symbols: Add HEAVY WIDE-HEADED RIGHTWARDS ARROW.

12 years agoUpdated changes file
Michael Curran [Mon, 3 Oct 2011 22:55:47 +0000 (15:55 -0700)]
Updated changes file

12 years agoFreedomScientific braille display driver: fix typo
Michael Curran [Mon, 3 Oct 2011 15:41:40 +0000 (08:41 -0700)]
FreedomScientific braille display driver: fix typo

12 years agotextInfos.offsets: import config as it is used, though I think think any code in...
Michael Curran [Mon, 3 Oct 2011 15:39:02 +0000 (08:39 -0700)]
textInfos.offsets: import config as it is used, though I think think any code in NVDA ever actually get to that exact code path right now

12 years agoMap MSHTML's nodeName of 'OPTION' to a role of listItem. Really just cosmetic
Michael Curran [Thu, 29 Sep 2011 22:46:54 +0000 (15:46 -0700)]
Map MSHTML's nodeName of 'OPTION' to a role of listItem. Really just cosmetic

12 years agosource readme: Update IA2 URL.
James Teh [Wed, 28 Sep 2011 02:40:02 +0000 (12:40 +1000)]
source readme: Update IA2 URL.

12 years agoWhat's New: Note JAB 2.0.2 support.
James Teh [Tue, 27 Sep 2011 11:31:46 +0000 (21:31 +1000)]
What's New: Note JAB 2.0.2 support.

12 years agonvdaHelperLocal: Make initialize and terminate functions call startServer and stopSer...
James Teh [Tue, 27 Sep 2011 00:57:16 +0000 (10:57 +1000)]
nvdaHelperLocal: Make initialize and terminate functions call startServer and stopServer respectively instead of calling them separately from Python.
This is a bit cleaner. It also seems we were never calling stopServer before this.

12 years agonvdaHelperLocal: Fix initialisation/termination code, which was very broken on system...
James Teh [Tue, 27 Sep 2011 00:25:21 +0000 (10:25 +1000)]
nvdaHelperLocal: Fix initialisation/termination code, which was very broken on systems without UIA.
On such systems, this was preventing the SendMessage* hooks for oleacc from being installed and was also causing an access violation exception on termination.
Fixes #1817.

12 years agoAdd copyright header.
James Teh [Mon, 26 Sep 2011 23:02:21 +0000 (09:02 +1000)]
Add copyright header.

12 years agoClarify docstring.
James Teh [Mon, 26 Sep 2011 02:24:32 +0000 (12:24 +1000)]
Clarify docstring.

12 years agoWrap all calls to VirtualAllocEx and VirtualFreeEx in try-finally blocks so that...
James Teh [Mon, 26 Sep 2011 00:04:24 +0000 (10:04 +1000)]
Wrap all calls to VirtualAllocEx and VirtualFreeEx in try-finally blocks so that VirtualAllocEx will be called even if there is an exception.
Previously, an exception would have caused a memory leak. This is more important now that watchdog.cancellableSendMessage is used (as it will raise an exception if the call is cancelled), but there could have been Windows exceptions in the past also.

12 years agoChange all calls to winUser.sendMessage to watchdog.cancellableSendMessage to elimina...
James Teh [Sun, 25 Sep 2011 23:20:34 +0000 (09:20 +1000)]
Change all calls to winUser.sendMessage to watchdog.cancellableSendMessage to eliminate freezing when sending messages to windows that have stopped responding.
Fixes #1806.

12 years agoMerged arabic and swedish files from the screen reader translation project
Peter Vagner [Tue, 20 Sep 2011 20:46:33 +0000 (16:46 -0400)]
Merged arabic and swedish files from the screen reader translation project

12 years agoFixed a small typo in sv/nvda.po.
Mesar Hameed [Tue, 20 Sep 2011 09:16:27 +0000 (10:16 +0100)]
Fixed a small typo in sv/nvda.po.

12 years agoconvert ar userGuide/changes to utf8.
Mesar Hameed [Tue, 20 Sep 2011 02:15:15 +0000 (03:15 +0100)]
convert ar userGuide/changes to utf8.

12 years agomerge of main.
Mesar Hameed [Mon, 19 Sep 2011 12:22:55 +0000 (13:22 +0100)]
merge of main.

12 years agoMerged from the screen reader transslation project
Peter Vagner [Mon, 19 Sep 2011 04:43:56 +0000 (00:43 -0400)]
Merged from the screen reader transslation project

12 years agoUpdated portuguese language file,
Peter Vágner [Mon, 19 Sep 2011 04:36:32 +0000 (06:36 +0200)]
Updated portuguese language file,
updated brazilian portuguese user guide and changes,
updated slovak changes.

12 years agosv:
Mesar Hameed [Sun, 18 Sep 2011 13:01:09 +0000 (14:01 +0100)]
sv:
  corrected Swedish installer localization path
  nvda.nsi to reflect above change.
  nvda.po improvement of swedish interface, work in progress.

12 years agotr:
Çağrı Doğan [Sun, 18 Sep 2011 12:54:37 +0000 (13:54 +0100)]
tr:
  nvda.po matching 4680
  userGuide.t2t matching 4658

12 years agota:
DINAKAR T.D. [Sun, 18 Sep 2011 12:50:37 +0000 (13:50 +0100)]
ta:
    nvda.po matching 4659
    characterDescriptions.dic
    symbols.dic

12 years agopl:
Hubert [Sun, 18 Sep 2011 12:44:43 +0000 (13:44 +0100)]
pl:
    langstrings.txt
    nvda.po matching 4666
    changes.t2t matching 4659
    userGuide.t2t matching 4659

12 years agoja:
Katsutoshi Tsuji [Sun, 18 Sep 2011 12:35:50 +0000 (13:35 +0100)]
ja:
    nvda.po matching 4659
    userGuide.t2t work in progress added section 9 and subsections.

12 years agofi:
Jani Kinnunen [Sun, 18 Sep 2011 12:31:37 +0000 (13:31 +0100)]
fi:
    langstrings.txt
    symbols.dic
    nvda.po matching 4659
    changes.t2t matching 4678
    userGuide.t2t matching 4658

12 years agoar:
arabictranslationteam@googlegroups.com [Sun, 18 Sep 2011 12:26:35 +0000 (13:26 +0100)]
ar:
    nvda.po matching 4659
    changes.t2t matching 4678
    userGuide.t2t matching 4658

12 years agodisplayModelTextInfo: make sure to always return unicode strings. Fixes #1799.
Michael Curran [Sun, 18 Sep 2011 04:22:21 +0000 (21:22 -0700)]
displayModelTextInfo: make sure to always return unicode strings. Fixes #1799.

12 years agoIAccessibleHandler.getIAccIdentity: if getting the objectID from IAccPropServices...
Michael Curran [Sun, 18 Sep 2011 04:21:47 +0000 (21:21 -0700)]
IAccessibleHandler.getIAccIdentity:  if getting the objectID from IAccPropServices::decomposeHwndIdentityString, use ctypes to cast the objectID to a signed int as our objectID constants are of this form. This again allows  matching of client IAccessibles etc.

12 years agoIAccessibleHandler: make the usage of IAccPropServices condissional as on some XP...
Michael Curran [Sat, 17 Sep 2011 17:54:22 +0000 (10:54 -0700)]
IAccessibleHandler: make the usage of IAccPropServices condissional as on some XP systems this class is not registered. In this case fall back to the older  identity string decomposition code.

13 years agospeech.speakTextInfo: Again merge text into a single chunk where there is no speakabl...
James Teh [Fri, 16 Sep 2011 13:12:17 +0000 (23:12 +1000)]
speech.speakTextInfo: Again merge text into a single chunk where there is no speakable formatting change or language change.

13 years agospeech.speakTextInfo: A bit of cleanup: remove unused argument, fix typo, use xrange...
James Teh [Fri, 16 Sep 2011 03:55:33 +0000 (13:55 +1000)]
speech.speakTextInfo: A bit of cleanup: remove unused argument, fix typo, use xrange instead of range, iterate through a list instead of counting and indexing, fix indentation on a comment.

13 years agoIAccessibleHandler.getIAccIdentity: Properly make use of IAccPropServices::DecomposeH...
Michael Curran [Fri, 16 Sep 2011 20:23:56 +0000 (13:23 -0700)]
IAccessibleHandler.getIAccIdentity: Properly make use of IAccPropServices::DecomposeHwndString rather than trying to decompose the string ourselves manually. Our code has worked okay in the past but now breaks in some circomstances in Windows8. This fixes that issue, and hopefully does not cause any regressions on older Operating systems.
Specifically, the address bar in Windows 8 Windows explorer gave back an identity string we did not know how to handle.
We also no longer at all handle menuHandle identity strings, but these were never useful anyway.

13 years agospeech.speakTextInfo: Eliminate a pointless list and rename other variables accordingly.
James Teh [Fri, 16 Sep 2011 03:24:09 +0000 (13:24 +1000)]
speech.speakTextInfo: Eliminate a pointless list and rename other variables accordingly.

13 years agoTemporary fix for correctly tracking focus in Windows8 Metro apps: If _loadBufferDone...
Michael Curran [Fri, 16 Sep 2011 17:43:49 +0000 (10:43 -0700)]
Temporary fix for correctly tracking focus in Windows8 Metro apps: If _loadBufferDone is told that the loading of the virtualBuffer failed, then set self.passThrough on this buffer to true before returning. The buffer is rather stuffed now anyway, but we should at least let it still work as good as possible. This was probably not as much of an issue before we allowed event_gainFocus to be still handled on virtualBuffers if they were not ready yet.
Better solutions could be:
* Detect metro apps and never try creating buffers
* Remove the dead buffer and some how force NVDA to not try creating it again
* Try and fix the issue that is stopping us from creating RPC interfaces inside metro app processes.

13 years agoFix typo.
Michael Curran [Fri, 16 Sep 2011 17:35:47 +0000 (10:35 -0700)]
Fix typo.

13 years agoFix a rather bad typo? in gdiHooks where the wrong scriptString hook function was...
Michael Curran [Fri, 16 Sep 2011 05:07:34 +0000 (22:07 -0700)]
Fix a rather bad typo? in gdiHooks where the wrong scriptString hook function was protecting against hook reentrency. Specifically, scriptStringAnalize was protecting, rather than scriptStringOut. A part from this cutting out pointless displayModel writes that will get overridden anyway, it also hides a nasty bug somewhere in the glyph translation code that was causing many apps to crash in Windows 8. E.g. winver, wordpad, Notepad, Windows Installers...
Note though that fixing this displayModel issue may cause some text to disappear from the model, though I think this is a very rare case -- we can fix it better soon if needed. Specifically, an app would have to call ScriptStringOut with their own custom scriptAnalisis structure not made by ScriptStringAnalyze.

13 years agoDon't announce clickable for documents in browse mode, as a clickable document doesn...
James Teh [Thu, 15 Sep 2011 10:56:23 +0000 (20:56 +1000)]
Don't announce clickable for documents in browse mode, as a clickable document doesn't really make sense and is just an implementation detail.

13 years agoJAB: Implement support for actions. This allows the activate current navigator object...
James Teh [Thu, 15 Sep 2011 10:48:14 +0000 (20:48 +1000)]
JAB: Implement support for actions. This allows the activate current navigator object command to work where actions are exposed.
Fixes #1744.

13 years agoDon't speak clickable for menu items, tabs or sliders in browse mode.
James Teh [Thu, 15 Sep 2011 07:16:39 +0000 (17:16 +1000)]
Don't speak clickable for menu items, tabs or sliders in browse mode.

13 years agoDetect and report toggle buttons correctly in Gecko. This includes using the name...
James Teh [Thu, 15 Sep 2011 07:04:26 +0000 (17:04 +1000)]
Detect and report toggle buttons correctly in Gecko. This includes using the name when the text is just whitespace.
Fixes #1757.

13 years agoFix typo, though it has no effect anyway.
James Teh [Thu, 15 Sep 2011 03:27:51 +0000 (13:27 +1000)]
Fix typo, though it has no effect anyway.

13 years agoExcelSelection NVDAObject: make a TextInfo instance using position_all be returned...
Michael Curran [Wed, 14 Sep 2011 07:18:40 +0000 (17:18 +1000)]
ExcelSelection NVDAObject: make a TextInfo instance using position_all be returned from makeTextInfo if position_selection is asked for. This allows the reportCurrentSelection script to report the selected cells, as the NVDAObjectTextInfo grabs all needed info from basicText anyway. Fixes #1787.