OSDN Git Service
James Teh [Tue, 11 Sep 2012 10:12:22 +0000 (20:12 +1000)]
User Guide: Fixes and tweaks to touch documentation.
Fixes #2661.
Mesar Hameed [Tue, 11 Sep 2012 07:43:24 +0000 (08:43 +0100)]
Forgot to add ticket number for new braille tables.
Mesar Hameed [Tue, 11 Sep 2012 07:32:28 +0000 (08:32 +0100)]
Add Estonian grade 0, Portuguese 8 computer braille tables.
Switch to using the new Ethiopic table.
James Teh [Tue, 11 Sep 2012 06:16:22 +0000 (16:16 +1000)]
What's New: Mention liblouis update.
James Teh [Tue, 11 Sep 2012 06:14:54 +0000 (16:14 +1000)]
In Mozilla applications, the value of spin buttons is now correctly reported when it changes.
To fix this, IAccessible's valueChange event now checks whether NVDA determined that the object had editable text instead of just checking for the IAccessibleText interface.
Fixes #2653.
Michael Curran [Tue, 11 Sep 2012 06:09:50 +0000 (16:09 +1000)]
Updated user guide to include a section on touch gestures. Added a Touch column to some of the NVDA command tables so that they now include touch gestures for commands that have them. Mentioned touch when talking about remapping gestures. Changed a few mentions of "key commands" to "NVDA commands" and the like.
James Teh [Tue, 11 Sep 2012 04:35:14 +0000 (14:35 +1000)]
utorrent.TorrentContentsListItem.name: Use the new _getColumnLocation method, rather than messing about with the column header IAccessibles.
James Teh [Tue, 11 Sep 2012 03:33:24 +0000 (13:33 +1000)]
FocusableUnfocusableContainer: Err, let's not focus on *every* focusable descendant, shall we? Just the first (as intended) is quite enough.
James Teh [Tue, 11 Sep 2012 03:25:35 +0000 (13:25 +1000)]
Update to liblouis 2.5.0.
James Teh [Tue, 11 Sep 2012 03:04:05 +0000 (13:04 +1000)]
Where a document contains an application, the content of the application is no longer included in browse mode. This prevents unexpectedly moving inside the application when navigating. You can interact with the application in the same way as for embedded objects.
Fixes #990.
James Teh [Tue, 11 Sep 2012 03:03:36 +0000 (13:03 +1000)]
Update documentation.
James Teh [Tue, 11 Sep 2012 02:54:07 +0000 (12:54 +1000)]
Merge main.
James Teh [Tue, 11 Sep 2012 02:52:12 +0000 (12:52 +1000)]
Introduce a FocusableUnfocusableContainer behavior to make unfocusable containers focusable using their first focusable descendant. Use this in IAccessible for unfocusable applications. This makes it possible to work with unfocusable ARIA applications.
James Teh [Tue, 11 Sep 2012 02:51:45 +0000 (12:51 +1000)]
VirtualBuffer: Set focus to an application to activate it. Don't focus on applications when navigating.
Michael Curran [Tue, 11 Sep 2012 01:39:54 +0000 (11:39 +1000)]
MSHTML NVDAObject: implement the location property to fetch the coorect location using getBoundingcleitnRect and ClientToScreen so as to not rely on the incorrect MSAA location from an ancestor element. However text leaf nodes just give None for location as its impossible to get a correct one. this now allows more accurately routing the mouse to objects in IE and such.
Michael Curran [Tue, 11 Sep 2012 01:29:21 +0000 (11:29 +1000)]
MSHTML NVDAObject's kwargsFromSuper: more accurately calculate coordinates for use with ElementFromPoint. This should hopefully make reading with touch in IE metro (win8) more accurate, and seems to improve accuracy with the mouse for IE in general. Though its still not as high resolution as it used to be as it does use the parent element, not individual text nodes.
Michael Curran [Tue, 11 Sep 2012 00:29:13 +0000 (10:29 +1000)]
RowWithoutCelObjects behavior's _getColumnLocation method is now noted as being optional. _fakeTableCell now catches NotImplementedError in this case.
Michael Curran [Mon, 10 Sep 2012 22:52:24 +0000 (08:52 +1000)]
Some small fixes for list table code:
* SysListview32 NVDAObject's _getColumnLocation method: use the column order array.
* SysListview32 NVDAObject's _getColumnLocationRaw method: remove if check for VirtualAllo9cEx as it raises an exception on errors anyway.
* RowWithoutCellObjects behavior: provide a base _getColumnLocation method that raises NotImplementedError.
James Teh [Mon, 10 Sep 2012 10:47:21 +0000 (20:47 +1000)]
mshtml vbuf backend: Don't render descendants of ARIA applications.
James Teh [Mon, 10 Sep 2012 10:22:13 +0000 (20:22 +1000)]
TextInfo.getPresentationCategory: Present applications as markers so that their role is spoken when they are encountered.
James Teh [Mon, 10 Sep 2012 10:21:13 +0000 (20:21 +1000)]
gecko vbuf backend: Don't render descendants of ARIA applications.
Michael Curran [Mon, 10 Sep 2012 09:55:46 +0000 (19:55 +1000)]
Provide a location for fake table cells for lists (specifically SysListview32 controls). This therefore also allows routing the mouse to the position of these objects. Though it is worth noting that NVDA will only announce the list item as a whole when the mouse moves there as objectFromPoint does not pick it up. But clicking would click in the right place. Fixes #2651.
Michael Curran [Mon, 10 Sep 2012 09:49:46 +0000 (19:49 +1000)]
For SysListview32 controls that are owner drawn, again use displayModel to fetch the text. Though this time fill in name, not value. Also disable column support for owner drawn SysListview32 controls as although some do get column headers right, there is nothing stopping the app from drawing right across the columns ignoring them (such as in the case of the Sys Internals Auto Runs app). Fixes #2652.
James Teh [Mon, 10 Sep 2012 06:45:05 +0000 (16:45 +1000)]
MSHTML: Implement isFocusable.
James Teh [Mon, 10 Sep 2012 06:44:46 +0000 (16:44 +1000)]
NVDAObject: Add isFocusable and hasFocus properties.
The base implementation just checks states, but subclasses may wish to override these rather than using states, as fetching all states can be expensive.
James Teh [Mon, 10 Sep 2012 05:22:02 +0000 (15:22 +1000)]
What's New: Spelling error: Excell -> Excel.
James Teh [Mon, 10 Sep 2012 05:16:57 +0000 (15:16 +1000)]
MSHTML: Add some devInfo.
James Teh [Mon, 10 Sep 2012 05:16:43 +0000 (15:16 +1000)]
IAccessible.devInfo: Add accName, accDescription and accValue, as these might be useful if NVDA has overridden them in the abstracted properties.
James Teh [Sun, 9 Sep 2012 07:56:51 +0000 (17:56 +1000)]
mozilla: Reinstate mouse transparency (beTransparentToMouse = True) for text leaf nodes.
Fixes mouse tracking in Mozilla applications.
Fixes #2656.
James Teh [Sun, 9 Sep 2012 07:41:35 +0000 (17:41 +1000)]
sysListView32: Enable multi-column support for tile view.
Fixes #2657.
James Teh [Fri, 7 Sep 2012 01:38:39 +0000 (11:38 +1000)]
sysListView32: Include column headers when reporting the list item if reporting of column headers is enabled.
Fixes #2647.
James Teh [Thu, 6 Sep 2012 11:07:37 +0000 (21:07 +1000)]
_FakeTableCell behavior: Arrg. Hackily pull windowControlID from the parent as well to satisfy code which doesn't check for Window objects. We need to fix this properly one day, but for now, this will suffice.
James Teh [Thu, 6 Sep 2012 09:44:17 +0000 (19:44 +1000)]
globalCommands: Remove BOM which crept in recently, as it breaks xgettext. Arrrg.
Fixes #2650.
James Teh [Thu, 6 Sep 2012 09:40:39 +0000 (19:40 +1000)]
IAccessible.devInfo: Add some IAccessible2 info.
James Teh [Thu, 6 Sep 2012 06:35:33 +0000 (16:35 +1000)]
sysListView32: To avoid breaking existing app modules and global plugins, rename ListItem to ListItemWithoutReportView and ListItemWithReportView to ListItem, as the latter is the default behaviour.
This should fix weird "Cannot create a consistent method resolution order (MRO)" TypeErrors in Outlook Express and possibly other plugins.
There are still some cases where this change might cause similar breakage, but they are rare.
James Teh [Thu, 6 Sep 2012 05:05:50 +0000 (15:05 +1000)]
sysListView32: A list-view might be in report view even if its default view (as determined using window style) is otherwise, so query the current view using LVM_GETVIEW.
Fixes reading of columns in some lists such as Programs and Features in Windows 7 Control Panel.
Fixes #2646.
Michael Curran [Thu, 6 Sep 2012 00:24:19 +0000 (10:24 +1000)]
Merged touchSupport branch. Adds experimental support for touch screens on Windows 8. This includes reading text directly under your finger when moving it around the screen, gestures for object navigation, text review and other NVDA commands. This may not be feature complete, but should be stable enough and provides at least basic touch screen use.
Michael Curran [Thu, 6 Sep 2012 00:22:44 +0000 (10:22 +1000)]
touchHandler: remove debugging beeps.
Michael Curran [Thu, 6 Sep 2012 00:10:21 +0000 (10:10 +1000)]
Do not import NVDAObject.uia in touchHandler. Not needed and it was causing a critical error on XP.
Michael Curran [Wed, 5 Sep 2012 23:57:17 +0000 (09:57 +1000)]
Mention touch support in changes file.
Michael Curran [Wed, 5 Sep 2012 23:43:38 +0000 (09:43 +1000)]
For now, remove the quicknav touch mode as there were no scripts for this mode so far anyway.
Michael Curran [Wed, 5 Sep 2012 23:41:10 +0000 (09:41 +1000)]
MSHTML MSAATextLeaf NVDAObject: do not set beTransparentToMouse as True anymore as for now the mouse still needs to find these, and so does touch in Metro IE. Also remove some debugging beeps.
James Teh [Wed, 5 Sep 2012 08:35:52 +0000 (18:35 +1000)]
Fix possible exception.
James Teh [Wed, 5 Sep 2012 08:06:10 +0000 (18:06 +1000)]
utorrent app module: Update to work with new multi-column list view code.
James Teh [Wed, 5 Sep 2012 07:49:03 +0000 (17:49 +1000)]
When a table row or standard Windows list-view control with multiple columns is focused, you can now use the table navigation commands to access individual cells.
Fixes #828.
James Teh [Wed, 5 Sep 2012 07:41:56 +0000 (17:41 +1000)]
RowWithFakeNavigation: Use getChild instead of children, as it's potentially much more efficient.
RowWithoutCellObjects: Implement getChild.
James Teh [Wed, 5 Sep 2012 07:40:26 +0000 (17:40 +1000)]
IAccessible: Implement getChild.
James Teh [Wed, 5 Sep 2012 07:39:07 +0000 (17:39 +1000)]
IAccessibleHandler.accChild: accChild never returns an int; the out parameter is an IDispatch. However, if it's None, it's a simple element.
James Teh [Wed, 5 Sep 2012 07:34:55 +0000 (17:34 +1000)]
NVDAObject: Introduce a getChild method to get a child by index.
Michael Curran [Wed, 5 Sep 2012 06:14:15 +0000 (16:14 +1000)]
Merged main
James Teh [Wed, 5 Sep 2012 05:39:59 +0000 (15:39 +1000)]
RowWithFakeNavigation: Remove commands to jump to specific cells by number, as you can move by both row and column anyway and table navigation elsewhere in NVDA doesn't implement these either.
James Teh [Wed, 5 Sep 2012 05:32:01 +0000 (15:32 +1000)]
Merge main.
Michael Curran [Wed, 5 Sep 2012 04:37:22 +0000 (14:37 +1000)]
Remove a print statement again
Michael Curran [Wed, 5 Sep 2012 03:46:44 +0000 (13:46 +1000)]
nvdahelper.py: do not announce int language changes unless the change is for the same thread as the focus object.
Michael Curran [Wed, 5 Sep 2012 03:45:42 +0000 (13:45 +1000)]
IME support: do not handle conversion mode reporting (e.g. native input, alphanumeric input) if the current keyboard layout says it does not support conversion modes. This should stop people uding languages such as English with no others installed from hearing strange things like 'Native Input'.
James Teh [Wed, 5 Sep 2012 02:46:39 +0000 (12:46 +1000)]
In Adobe Reader, if alternate text is provided, only that text will be rendered. Previously, extraneous text was sometimes included.
Fixes #2174.
James Teh [Wed, 5 Sep 2012 02:00:30 +0000 (12:00 +1000)]
adobeAcrobat: If the font size is 0, don't bother including it.
James Teh [Wed, 5 Sep 2012 00:31:12 +0000 (10:31 +1000)]
Font information is now detected in Adobe Reader 10.1 and later.
This was due to a bug introduced in Reader 10.1, but it won't be fixed in the near-term, so we need to work around it in NVDA.
Fixes #2175.
Mesar Hameed [Tue, 4 Sep 2012 18:59:22 +0000 (19:59 +0100)]
German (de):
changes.t2t matching 5372
nvda.po matching 97% of main:5393
Authors: Bernd Dorer <bernd_dorer@yahoo.de>, David Parduhn <xkill85@gmx.net>, Rene Linke <rene.linke@blindzeln.de>
Jani Kinnunen [Tue, 4 Sep 2012 18:58:34 +0000 (19:58 +0100)]
Finnish (fi):
userGuide.t2t matching 5329
changes.t2t matching 5372
nvda.po matching 97% of main:5393
Mesar Hameed [Tue, 4 Sep 2012 18:58:12 +0000 (19:58 +0100)]
French (fr):
userGuide.t2t matching 5381
changes.t2t matching 5381
nvda.po matching 100% of main:5393
Authors: Michel such <michel.such@free.fr>, Patrick ZAJDA <patrick@zajda.fr>
Juan C. buno [Tue, 4 Sep 2012 18:57:39 +0000 (19:57 +0100)]
Spanish (es):
symbols.dic matching 5386
changes.t2t matching 5390
userGuide.t2t matching 5390
nvda.po matching 100% of main:5393
Juan C. buno [Tue, 4 Sep 2012 18:57:04 +0000 (19:57 +0100)]
Galician (gl):
symbols.dic 5386
changes.t2t matching 5390
userGuide.t2t matching 5390
nvda.po matching 100% of main:5393
Simone Dal Maso [Tue, 4 Sep 2012 18:56:31 +0000 (19:56 +0100)]
Italian (it):
userGuide.t2t matching 5328
changes.t2t matching 5381
nvda.po matching 99% of main:5393
Takuya Nishimoto [Tue, 4 Sep 2012 18:53:12 +0000 (19:53 +0100)]
Japanese (ja):
userGuide.t2t matching 5390
changes.t2t matching 5390
nvda.po matching 100% of main:5393
Mesar Hameed [Tue, 4 Sep 2012 18:52:33 +0000 (19:52 +0100)]
Korean (ko):
symbols.dic matching 5386
nvda.po matching 98% of main:5393
Authors: Joseph Lee <joseph.lee22590@gmail.com>, Chang-Hoan Jang <462356@gmail.com>
him Prasad Gautam [Tue, 4 Sep 2012 18:51:49 +0000 (19:51 +0100)]
Nepali (ne):
nvda.po matching 100% of main:5383
Bart Simons [Tue, 4 Sep 2012 18:51:03 +0000 (19:51 +0100)]
Duch (nl):
nvda.po matching 99% of main:5393
Mesar Hameed [Tue, 4 Sep 2012 18:50:03 +0000 (19:50 +0100)]
Brazilian Portuguese (pt_BR):
changes.t2t matching 5367
nvda.po matching 100% of main:5393
Authors: Cleverson Casarin Uliana <clever92000@yahoo.com.br>, Marlin Rodrigues <marlincgrodrigues@yahoo.com.br>
Diogo Costa [Tue, 4 Sep 2012 18:47:44 +0000 (19:47 +0100)]
Portuguese (pt_PT):
symbols.dic matching 5386
nvda.po matching 100% of main:5393
Ondrej Rosik [Tue, 4 Sep 2012 18:46:58 +0000 (19:46 +0100)]
Slovak (sk):
symbols.dic matching 5386
changes.t2t matching 5390
userGuide.t2t matching 5390
nvda.po matching 97% of main:5393
Dinakar T.D. [Tue, 4 Sep 2012 18:45:55 +0000 (19:45 +0100)]
Tamil (ta):
userGuide.t2t matching 5390
nvda.po matching 100% of main:5393
Cagri Dogan [Tue, 4 Sep 2012 18:45:31 +0000 (19:45 +0100)]
Turkish (tr):
nvda.po matching 99% of main:5393
James Teh [Tue, 4 Sep 2012 03:33:58 +0000 (13:33 +1000)]
Indentation.
James Teh [Tue, 4 Sep 2012 01:41:35 +0000 (11:41 +1000)]
nvdaHelper: cosmetic: Use IA2_TEXT_OFFSET_LENGTH constant instead of hard-coding -1.
James Teh [Tue, 4 Sep 2012 01:10:28 +0000 (11:10 +1000)]
AddonBundle.extract: Prepend "cp" to the OEM code page, as Python doesn't include aliases for all code pages such as cp720.
Fixes inability to install add-ons on Arabic systems (and possibly other languages).
Michael Curran [Mon, 3 Sep 2012 02:35:26 +0000 (12:35 +1000)]
Labls for candidate list items (for east-Asian character input) must be translatable.
Michael Curran [Mon, 3 Sep 2012 01:40:11 +0000 (11:40 +1000)]
Add translator comments to all strings introduced with input methods support.
James Teh [Mon, 3 Sep 2012 00:27:06 +0000 (10:27 +1000)]
Remove debug print statements.
James Teh [Mon, 3 Sep 2012 00:21:57 +0000 (10:21 +1000)]
Linguistic fixes to documentation for Asian character input.
James Teh [Mon, 3 Sep 2012 00:11:29 +0000 (10:11 +1000)]
IAccessibleHandler: Import missing COMError. Oops.
James Teh [Fri, 31 Aug 2012 06:18:06 +0000 (16:18 +1000)]
gecko vbuf backend: Don't add the name attribute for headings. Prevents double reading of headings when using quick navigation in Chrome.
James Teh [Fri, 31 Aug 2012 04:27:06 +0000 (14:27 +1000)]
During say all, NVDA will no longer incorrectly revert to the default language where a line does not end a sentence.
Specifically, speech.speakWithoutPauses now applies the last language change in the sequence being handled to the pending sequence.
Fixes #2630.
James Teh [Fri, 31 Aug 2012 02:46:56 +0000 (12:46 +1000)]
Negative currency amounts (e.g. -23) are now correctly spoken as negative, regardless of symbol level.
Fixes #2625.
James Teh [Fri, 31 Aug 2012 01:46:25 +0000 (11:46 +1000)]
mshtml vbuf backend: Refactor handling of graphics in the same way as for Gecko. Also, don't treat non-editable documents as interactive.
James Teh [Thu, 30 Aug 2012 12:31:38 +0000 (22:31 +1000)]
gecko vbuf backend: Refactor the way graphics are handled.
Graphics with alt="" are now never rendered. However, if a link produces no other content, we derive it from the URL as a last resort.
Unlabelled graphics are now ignored if they are a descendant (not just a child) of any interactive node with a name (not just links). For example, a button with a title containing a graphic will use the button title.
Michael Curran [Thu, 30 Aug 2012 00:45:46 +0000 (10:45 +1000)]
merged main
James Teh [Wed, 29 Aug 2012 11:59:35 +0000 (21:59 +1000)]
gecko vbuf backend: Don't treat non-editable documents as interactive.
James Teh [Wed, 29 Aug 2012 10:24:40 +0000 (20:24 +1000)]
gecko vbuf backend: More refactoring and cleanup. This should eliminate some unnecessary whitespace and render the name for some empty controls.
Michael Curran [Wed, 29 Aug 2012 02:24:44 +0000 (12:24 +1000)]
Support for Asian character Input, including reporting and navigation of candidate lists, reporting and navigation of composition strings, and reporting of reading string changes. Supports both IME and TSF in XP and Win7 (we assume Vista). May be still some loose ends, but needs a lot of heavy testing from the community.
Michael Curran [Wed, 29 Aug 2012 02:00:13 +0000 (12:00 +1000)]
Updated user guide and changes file to note support for Asian character input.
James Teh [Wed, 29 Aug 2012 01:24:58 +0000 (11:24 +1000)]
gecko vbuf backend: Yet more cleanup.
Michael Curran [Tue, 28 Aug 2012 23:43:46 +0000 (09:43 +1000)]
IME support: If handling a composition fails (such as the context not being available or the comp string is empty, then make sure to end the composition if one has previously been started, at least as far as NVDA is consirned. This makes sure that NVDa does not get stuck in an empty composition in TSF enabled applications on XP where TSF emulation is disabled.
Michael Curran [Tue, 28 Aug 2012 10:51:31 +0000 (20:51 +1000)]
TSF support: When initializing, only Get an existing thread manager rather than creating one if one did not exist. Creation sometimes occures in XP with TSF emulation disabled but ends up being rather buggy and causes input method changes to be announced.
James Teh [Tue, 28 Aug 2012 03:38:45 +0000 (13:38 +1000)]
Indentation.
Michael Curran [Tue, 28 Aug 2012 03:11:42 +0000 (13:11 +1000)]
Properly announce Japanese-specific IME conversion mode messages. Some code borrowed from NVDAJP.
James Teh [Tue, 28 Aug 2012 02:23:33 +0000 (12:23 +1000)]
gecko vbuf backend: A tiny bit more cleanup.
Michael Curran [Tue, 28 Aug 2012 01:30:47 +0000 (11:30 +1000)]
TSFSink::OnActivated: make sure to pass a valid HKL to nvdaControllerInternal_inputLangChangeNotify always. nvdaHelper.nvdaControllerInternal_inputLangChangeNotify: Announce the full input language name if it changes, but strip the language name from each input method name so as to not double up info.
Michael Curran [Mon, 27 Aug 2012 23:11:00 +0000 (09:11 +1000)]
nvdaHelper.nvdaControllerInternal_inputLangChange: handle case where the focus object is not set yet. Stops an exception as NVDA starts.
James Teh [Mon, 27 Aug 2012 07:06:37 +0000 (17:06 +1000)]
Support aria-hidden for Mozilla and IE.
Fixes #2117.