OSDN Git Service

nvdajp/nvdajp.git
13 years agoOn ALVA BC640/BC680 braille displays, NVDA no longer disregards display keys that...
James Teh [Wed, 2 Feb 2011 03:28:01 +0000 (13:28 +1000)]
On ALVA BC640/BC680 braille displays, NVDA no longer disregards display keys that are still held down after another key is released.

13 years agoalvaBC6 driver: When terminating, drop the ctypes function instance for the key callb...
James Teh [Wed, 2 Feb 2011 02:45:57 +0000 (12:45 +1000)]
alvaBC6 driver: When terminating, drop the ctypes function instance for the key callback, as it is holding a reference to an instance method, which causes a reference cycle.
This doesn't currently cause a memory leak because there is no __del__, but it does mean that it takes a lot longer to be garbage collected than it should.

13 years agoReload app modules from user config directory as well.
Aleksey Sadovoy [Tue, 1 Feb 2011 22:52:46 +0000 (00:52 +0200)]
Reload app modules from user config directory as well.

Especially:
 * appModuleHandler.reloadAppModules(): gracefully call terminate() and initialize()
 * globalPluginHandler.reloadGlobalPlugins(): add code doc

13 years agoFix a bug, where 'reload plugins' command caused NVDA to not load global plugins...
Aleksey Sadovoy [Tue, 1 Feb 2011 20:16:06 +0000 (22:16 +0200)]
Fix a bug, where 'reload plugins' command caused NVDA to not load global plugins from user config directory.

Details:
 * The bug was caused by the fact, that config.addConfigDirsToPythonPackagePath() was not called from within reloadGlobalPlugins
 * Refactor code a bit, esp. eliminate loadGlobalPlugins(), as reloadGlobalPlugins() now calls initialize() directly and it becomes retundant

13 years agoWhat's new: list recent fixes to dialogs in bug fixes.
Michael Curran [Mon, 31 Jan 2011 22:48:38 +0000 (08:48 +1000)]
What's new: list recent fixes to dialogs in bug fixes.

13 years agoSpeech dictionary dialog: provide a hardcoded sizes in pixels for each of the columns...
Michael Curran [Mon, 31 Jan 2011 06:12:07 +0000 (16:12 +1000)]
Speech dictionary dialog: provide a hardcoded sizes in pixels for each of the columns in the list, as well as the over all size of the list. It would be good if this could be avoided, but for now this seems to be the only way to make sure all the columns are shown. Also put the Add, Edit and remove buttons horizontally together rather than leaving them under one another. This all makes sure that  the content in this dialog is viewable by sighted users. Related to #90.

13 years agoElements list for virtualBuffers: use proportional sizing for the radio group, tree...
Michael Curran [Mon, 31 Jan 2011 01:13:41 +0000 (11:13 +1000)]
Elements list for virtualBuffers: use proportional sizing for the radio group, tree, filter edit, and buttons. Give the tree a proportion of 7, and everything else a proportion of 1. This makes sure that nothing goes off the screen, and that the tree still takes up most of the vertical space in the dialog. Hopefully addresses #1321.

13 years agoWhat's New: Add bug fix entry for last commit, as it's definitely a notable bug.
James Teh [Wed, 26 Jan 2011 21:55:21 +0000 (07:55 +1000)]
What's New: Add bug fix entry for last commit, as it's definitely a notable bug.

13 years agoFix typo
Aleksey Sadovoy [Wed, 26 Jan 2011 21:42:59 +0000 (23:42 +0200)]
Fix typo

13 years agoThe hotkey for the Review Cursor item in the NVDA Preferences menu has been changed...
James Teh [Wed, 26 Jan 2011 08:47:24 +0000 (18:47 +1000)]
The hotkey for the Review Cursor item in the NVDA Preferences menu has been changed from r to c to eliminate the conflict with the Braille Settings item.

13 years agofreedomScientific braille display driver: Make description translatable.
James Teh [Wed, 26 Jan 2011 08:10:58 +0000 (18:10 +1000)]
freedomScientific braille display driver: Make description translatable.

13 years agosconstruct: If building a release, we use optimised Python. This means that generateC... release-2011.1beta1
James Teh [Tue, 25 Jan 2011 23:32:24 +0000 (09:32 +1000)]
sconstruct: If building a release, we use optimised Python. This means that generateComInterfaces.py needs to be run with optimised Python as well. Otherwise, it will generate .pyc files instead of .pyo files.
Not only will this break, but setup.py will also completely skip the files, so the comInterfaces directory in dist will be completely empty.

13 years agosconstruct: When signing the program executables, don't create SCons file nodes for...
James Teh [Tue, 25 Jan 2011 07:21:05 +0000 (17:21 +1000)]
sconstruct: When signing the program executables, don't create SCons file nodes for them, as otherwise, SCons seems to get confused about dependencies. It's better for SCons to just not know about anything in the dist directory at all.

13 years agowinConsoleHandler: Queue the typedCharacter event instead of queuing speech.speakType...
James Teh [Tue, 25 Jan 2011 02:04:45 +0000 (12:04 +1000)]
winConsoleHandler: Queue the typedCharacter event instead of queuing speech.speakTypedCharacter directly. This means that the functionality to beep if lower case letters are typed while caps lock is on now works in text consoles.
Fixes #1333.

13 years agoFix a comment.
James Teh [Tue, 25 Jan 2011 01:58:01 +0000 (11:58 +1000)]
Fix a comment.

13 years agosconstruct: If a certificate is provided, sign portable executables as well, even...
James Teh [Tue, 25 Jan 2011 01:48:22 +0000 (11:48 +1000)]
sconstruct: If a certificate is provided, sign portable executables as well, even though they don't get uiAccess.

13 years agoWhat's New: Change release blurb a little.
James Teh [Tue, 25 Jan 2011 01:40:09 +0000 (11:40 +1000)]
What's New: Change release blurb a little.

13 years agoUpdate copyright end year to 2011 in documentation and installer. Also, change Non...
James Teh [Mon, 24 Jan 2011 20:23:58 +0000 (06:23 +1000)]
Update copyright end year to 2011 in documentation and installer. Also, change Non-Visual to NonVisual in installer, since we use NonVisual everywhere else.

13 years agoWhat's New: Add release blurb. Fix spelling mistakes and minor linguistic and spacing...
James Teh [Mon, 24 Jan 2011 17:37:05 +0000 (03:37 +1000)]
What's New: Add release blurb. Fix spelling mistakes and minor linguistic and spacing errors.

13 years agoOn the Windows XP logon screen, the user name is once again reported when the selecte...
James Teh [Mon, 24 Jan 2011 06:56:23 +0000 (16:56 +1000)]
On the Windows XP logon screen, the user name is once again reported when the selected user is changed.

13 years agosconstruct: Quote the publisher when passing it to makensis. Fixes failure when suppl...
James Teh [Sun, 23 Jan 2011 22:03:00 +0000 (08:03 +1000)]
sconstruct: Quote the publisher when passing it to makensis. Fixes failure when supplying a publisher containing a space.

13 years agobaum driver: Fix byte order for braille keys. The correct order seems illogical to...
James Teh [Sun, 23 Jan 2011 20:40:31 +0000 (06:40 +1000)]
baum driver: Fix byte order for braille keys. The correct order seems illogical to me, but nevertheless, I really should learn to read.

13 years agoEnglish User Guide: Baum display: Some rewording, plus mention that USB mode must...
James Teh [Sun, 23 Jan 2011 19:57:07 +0000 (05:57 +1000)]
English User Guide: Baum display: Some rewording, plus mention that USB mode must be set to serial for Refreshabraille.

13 years agoThe Baum driver definitely supports more than just the Brailliant now, so document...
James Teh [Sun, 23 Jan 2011 19:49:29 +0000 (05:49 +1000)]
The Baum driver definitely supports more than just the Brailliant now, so document it as such.

13 years agobaum driver: Ack. Apparently there is a b11 on some displays.
James Teh [Sun, 23 Jan 2011 19:21:13 +0000 (05:21 +1000)]
baum driver: Ack. Apparently there is a b11 on some displays.

13 years agobaum driver: Detect BrailleConnect via bluetooth as well.
James Teh [Sun, 23 Jan 2011 18:38:26 +0000 (04:38 +1000)]
baum driver: Detect BrailleConnect via bluetooth as well.

13 years agobaum driver: Change next line to d3 to be more consistent with key maps in other...
James Teh [Sun, 23 Jan 2011 18:01:09 +0000 (04:01 +1000)]
baum driver: Change next line to d3 to be more consistent with key maps in other products.

13 years agoRemove pointless debugging.
James Teh [Sun, 23 Jan 2011 17:07:43 +0000 (03:07 +1000)]
Remove pointless debugging.

13 years agobaum driver: Map the joystick to the arrow and enter keys on the system keyboard.
James Teh [Sun, 23 Jan 2011 16:49:27 +0000 (02:49 +1000)]
baum driver: Map the joystick to the arrow and enter keys on the system keyboard.

13 years agoI am a moron.
James Teh [Sun, 23 Jan 2011 16:16:54 +0000 (02:16 +1000)]
I am a moron.

13 years agobaum driver: Update to perhaps recognise more keys on displays other than the SuperVario.
James Teh [Sun, 23 Jan 2011 14:33:55 +0000 (00:33 +1000)]
baum driver: Update to perhaps recognise more keys on displays other than the SuperVario.
This also removes duplication in the key handling code.
In addition, try to detect Refreshabraille and VarioConnect via bluetooth.

13 years agoAdd braille display driver for Baum SuperVario/HumanWare Brailliant.
James Teh [Sun, 23 Jan 2011 05:25:39 +0000 (15:25 +1000)]
Add braille display driver for Baum SuperVario/HumanWare Brailliant.
This driver may work to some extent with other Baum and HumanWare displays as well, but this isn't officially supported yet.
The source now depends on pyserial; see readme.txt for details.
Fixes #937.

13 years agoFix regression where the build version was not reported in the About dialog.
James Teh [Fri, 21 Jan 2011 15:21:13 +0000 (01:21 +1000)]
Fix regression where the build version was not reported in the About dialog.

13 years agoUpdated portuguese language file and the language strings for the NVDA installer.
Peter Vágner [Fri, 21 Jan 2011 10:59:37 +0000 (11:59 +0100)]
Updated portuguese language file and the language strings for the NVDA installer.

13 years agoUpdated turkish language file,
Peter Vágner [Fri, 21 Jan 2011 10:38:30 +0000 (11:38 +0100)]
Updated turkish language file,
Updated french language file,
Updated italian language file,
Updated slovak language file, user guide and changes.

13 years agoSupport numpadDelete like the other delete key in documents / edit fields. Fixes...
Michael Curran [Fri, 21 Jan 2011 06:03:30 +0000 (16:03 +1000)]
Support numpadDelete like the other delete key in documents / edit fields. Fixes #286

13 years agoUpdate changes file.
Michael Curran [Fri, 21 Jan 2011 05:38:56 +0000 (15:38 +1000)]
Update changes file.

13 years agoalvaBC6 driver: Remove some annoying/unnecessary logging.
James Teh [Fri, 21 Jan 2011 05:36:59 +0000 (15:36 +1000)]
alvaBC6 driver: Remove some annoying/unnecessary logging.

13 years agoUpdated italian language file.
Peter Vágner [Thu, 20 Jan 2011 10:49:05 +0000 (11:49 +0100)]
Updated italian language file.

13 years agoImplement a configuration setting that can again restore the old functionality of...
Michael Curran [Thu, 20 Jan 2011 07:42:57 +0000 (17:42 +1000)]
Implement a configuration setting that can again restore the old functionality of announcing position information even if it is rather inaccurate (i.e. resorting to MSAA child ID and parent's accChildCount). Fixes #966. Specifically:
* Added a guessObjectPositionInformationWhenUnavailable boolean to the presentation section of nvda.ini (set to false by default).
* Added a checkbox to the Object Presentation dialog for toggling this setting.
* Made the 'allowIAccessibleChildIDAndChildCountForPositionInfo' IAccessible NVDAObject class variable in to a property guetter, and return the value of the guessObjectPositionInformationWhenUnavailable setting.
* Updated the user guide to mention this setting.

13 years agoUser Guide: Some rewording. Also, split sentences onto separate lines.
James Teh [Thu, 20 Jan 2011 04:25:29 +0000 (14:25 +1000)]
User Guide: Some rewording. Also, split sentences onto separate lines.

13 years agoEnglish User guide: added an Advanced Topics section at the end, which includes so...
Michael Curran [Thu, 20 Jan 2011 03:35:31 +0000 (13:35 +1000)]
English User guide: added an Advanced Topics section at the end, which includes so far une subsection which talks about how users can remap input gestures to scripts in gestures.ini.

13 years agoEnglish user guide: add a section within setting up NVDA portable, that explains...
Michael Curran [Thu, 20 Jan 2011 02:54:20 +0000 (12:54 +1000)]
English user guide: add a section within setting up NVDA portable, that explains how to place it on a USB thumb drive. It also mentions limitations of auto starting and an article which users should read for more info.

13 years agoCode doc.
James Teh [Thu, 20 Jan 2011 03:03:43 +0000 (13:03 +1000)]
Code doc.

13 years agoEnable Handy Tech displays to be used without installing the Handy Tech universal...
James Teh [Thu, 20 Jan 2011 02:58:28 +0000 (12:58 +1000)]
Enable Handy Tech displays to be used without installing the Handy Tech universal driver.
This only works for binary builds.
You will need to copy some files from the Handy Tech SDK to make this work. See readme.txt for details.
Fixes #854.

13 years agoFix for #1326 (Link destinations exposed as links in MSHTML virtual buffers). Specifi...
Michael Curran [Thu, 20 Jan 2011 00:02:14 +0000 (10:02 +1000)]
Fix for #1326 (Link destinations exposed as links in MSHTML virtual buffers). Specifically:
* MSHTML VBufBackend: for "A" tags that have no HREF attribute, remove STATE_SYSTEM_LINKED and STATE_SYSTEM_FOCUSABLE from the IAccessible states if they exist as IE should not do this. This then makes sure that NVDA will not list the anchor in the elements list, nor jump to it with k/u/v, nor should it insert space for the anchor if it contains no children.
* MSHTML virtualBuffer: when normalizing the controlField information for an destination anchor (nodeName is "A" but linked is not in states), change the role to textFrame. This makes sure that NVDA will not announce "link" for these destination anchors, even if they are used around another tag.

13 years agoFix handling of standard Windows groupbox windows found in dialogs such as System...
Michael Curran [Wed, 19 Jan 2011 07:38:44 +0000 (17:38 +1000)]
Fix handling of standard Windows groupbox windows found in dialogs such as System Properties etc.  As these groupboxews actually appear at the same level as (are a sibling of) the given control, In the past we overrode IAccessible NVDAObject's parent to find the cloest groupbox and return that so that focus changes would report the groupbox as an ancestor. However, this made object navigation rather non-semetrical, in fact the addition of simple review made it worse.  Instead, now there is a 'container' property on NVDAObjects. This container property by default just returns parent. But in special cases it could be overridden to first return a sibling that should be reported as part of the context. Container on IAccessible window root NVDAObject has been overridden to first return a groupbox for this object if it exists. Finally, api.setFocusObject now uses the container property rather than parent when generating the focus ancestors.

13 years agoReinstate the key press counter as keyboardHandler.keyCounter. This means braille...
James Teh [Wed, 19 Jan 2011 07:10:12 +0000 (17:10 +1000)]
Reinstate the key press counter as keyboardHandler.keyCounter. This means braille messages are again dismissed when a key press causes braille to update.
Fixes #1324.

13 years agoInstaller: remove the initial message box that alerts the user that their current...
Michael Curran [Wed, 19 Jan 2011 00:18:15 +0000 (10:18 +1000)]
Installer: remove the initial message box that alerts the user that their current copy of NVDA will be quit. The main reason for this is that if their current copy of NVDA is not UAC enabled the dialog will not be able to be interacted with at all correctly. Plus, although the user is alerted, there is no choice, all they can do is press ok anyway. Now thir current copy of NVDA is simply quit and the new NVDA is started. Also  a variable and some checks have been removed which are no longer, and have never really, been necessary (to do with checking if its the old or new NVDA when the installer exits).

13 years agolilli braille display driver: Oops. Forgot to rename _display to display.
James Teh [Tue, 18 Jan 2011 23:28:22 +0000 (09:28 +1000)]
lilli braille display driver: Oops. Forgot to rename _display to display.

13 years agoUpdated thai language file,
Peter Vágner [Tue, 18 Jan 2011 10:08:59 +0000 (11:08 +0100)]
Updated thai language file,
Updated hebrew language file,
Updated turkish language file,
Updated slovak language file and changes.

13 years agoRemove readme, as it is useless and unlikely to be updated.
James Teh [Mon, 17 Jan 2011 05:27:48 +0000 (15:27 +1000)]
Remove readme, as it is useless and unlikely to be updated.
Users should read the User Guide instead.

13 years agoGUI changes:
James Teh [Mon, 17 Jan 2011 04:59:32 +0000 (14:59 +1000)]
GUI changes:
* Move the entire About NVDA message into versionInfo.aboutMessage, rather than generating some of it in the gui module.
* Update copyright year.
* Add info about NV Access and request for donations.
* Add Donate item to NVDA menu.
* Linguistic fixes.

13 years agoNVDA now remembers the position you were at when returning to a previously visited...
James Teh [Fri, 14 Jan 2011 08:06:21 +0000 (18:06 +1000)]
NVDA now remembers the position you were at when returning to a previously visited web page. This applies until either the browser or NVDA is exited.
Fixes #132.

13 years agoEnglish User Guide: Fix indentation error.
James Teh [Fri, 14 Jan 2011 00:35:15 +0000 (10:35 +1000)]
English User Guide: Fix indentation error.

13 years agoVirtualBuffer: Don't set the initial caret position if in focus mode.
James Teh [Wed, 12 Jan 2011 08:13:02 +0000 (18:13 +1000)]
VirtualBuffer: Don't set the initial caret position if in focus mode.
If in focus mode, the document must have forced the focus somewhere, so we don't want to override it.

13 years agovirtual buffers: Remember the position of the caret across loads of web browser docum...
James Teh [Wed, 12 Jan 2011 07:52:22 +0000 (17:52 +1000)]
virtual buffers: Remember the position of the caret across loads of web browser documents.
This is done by saving the caret position associated with the document's URL when the buffer is terminated and restoring that position when a document with that URL gains focus.
This is only done for http*, ftp* and file URLs, as we don't want to remember the caret position for email messages, etc.
In practical terms, this is intended to make NVDA stay in the previous position when pressing back in a web browser.

13 years agoVirtualBuffer: Change _setInitialCaretPos to _getInitialCaretPos. Rather than setting...
James Teh [Tue, 11 Jan 2011 09:51:31 +0000 (19:51 +1000)]
VirtualBuffer: Change _setInitialCaretPos to _getInitialCaretPos. Rather than setting the caret position directly, the new method returns a TextInfo position, which will avoid duplicate code in future.

13 years agoUpdated traditional chinese language file,
Peter Vágner [Mon, 10 Jan 2011 21:04:00 +0000 (22:04 +0100)]
Updated traditional chinese language file,
Updated thai language file,
Updated turkish language file,
Updated slovak user guide.

13 years agoAdd dist_installer to bzr ignores.
James Teh [Sun, 9 Jan 2011 21:17:04 +0000 (07:17 +1000)]
Add dist_installer to bzr ignores.

13 years agoEnglish User Guide: Add Handy Tech key bindings.
James Teh [Sun, 9 Jan 2011 21:13:39 +0000 (07:13 +1000)]
English User Guide: Add Handy Tech key bindings.

13 years agoUpdated Handy Tech driver to use input framework, adding new bindings in the process.
Bram Duvigneau [Sat, 8 Jan 2011 07:07:23 +0000 (17:07 +1000)]
Updated Handy Tech driver to use input framework, adding new bindings in the process.

13 years agoOoops, hebrew rather than hebrev. I'm sorry.
Peter Vágner [Fri, 7 Jan 2011 11:46:48 +0000 (12:46 +0100)]
Ooops, hebrew rather than hebrev. I'm sorry.

13 years agoUpdated french language file,
Peter Vágner [Fri, 7 Jan 2011 11:37:27 +0000 (12:37 +0100)]
Updated french language file,
Updated polish language file and user guide,
Updated slovak language file, user guide and changes.

13 years agoUserguide: also change mention of self voicing mode to sleep mode
Peter Vágner [Fri, 7 Jan 2011 11:36:24 +0000 (12:36 +0100)]
Userguide: also change mention of self voicing mode to sleep mode

13 years agobraille: Move cursor management code (including blinking) into BrailleHandler.
James Teh [Fri, 7 Jan 2011 05:34:55 +0000 (15:34 +1000)]
braille: Move cursor management code (including blinking) into BrailleHandler.
Braille display drivers no longer handle the cursor at all.
This means that BrailleDisplayDriverWithCursor has been removed. Drivers that used it need only subclass BrailleDisplayDriver instead and rename their _display method to display.
All existing braille display drivers relied on NVDA to manage the cursor and we think all future drivers will as well, so there was no point in keeping this functionality separate. (The handyTech driver initially relied on the Handy Tech COM server to manage the cursor, but we found this to be very buggy/unreliable.)
This greatly simplifies the BrailleDisplayDriver class. Among other things, this should make it easier for developers writing new braille display drivers.

13 years agoapi.setFocusObject: remove the recently added message that notifies the user when...
Michael Curran [Fri, 7 Jan 2011 04:06:28 +0000 (14:06 +1000)]
api.setFocusObject: remove the recently added message that notifies the user when hitting a sleep mode application... it was not that popular.

13 years agoevent_appLoseFocus and event_appGainFocus have now been renamed to event_appModule_lo...
Michael Curran [Fri, 7 Jan 2011 03:55:29 +0000 (13:55 +1000)]
event_appLoseFocus and event_appGainFocus have now been renamed to event_appModule_loseFocus and event_appModule_gainFocus respectivly. This is to keep the naming sintax compatible between appModules and treeInterceptors etc. Custom appModules using these events must be updated.

13 years agoSelf voicing mode has now been renamed to Sleepmode, as this name is much more accura...
Michael Curran [Thu, 6 Jan 2011 23:46:15 +0000 (09:46 +1000)]
Self voicing mode has now been renamed to Sleepmode, as this name is much more accurate to what it does. Note that as the 'selfVoicing' property on appModules is now also called 'sleepMode' any custom appModules must be updated to reflect this change.

13 years agoFor the convenience of third party developers, app modules as well as global plugins...
James Teh [Wed, 5 Jan 2011 22:27:50 +0000 (08:27 +1000)]
For the convenience of third party developers, app modules as well as global plugins can now be reloaded without restarting NVDA. Use tools -> Reload plugins in the NVDA menu or NVDA+control+f3.
Fixes #544.

13 years agoCosmetic.
James Teh [Wed, 5 Jan 2011 22:26:43 +0000 (08:26 +1000)]
Cosmetic.

13 years agoClear the NVDAObject dynamic class cache when reloading plugins so that any used...
James Teh [Wed, 5 Jan 2011 22:20:41 +0000 (08:20 +1000)]
Clear the NVDAObject dynamic class cache when reloading plugins so that any used overlay classes in plugins can be garbage collected.

13 years agoUpdate English User Guide.
James Teh [Wed, 5 Jan 2011 21:46:49 +0000 (07:46 +1000)]
Update English User Guide.

13 years agoMerge main.
James Teh [Wed, 5 Jan 2011 21:41:03 +0000 (07:41 +1000)]
Merge main.

13 years agoUpdated hebrev language file,
Peter Vágner [Wed, 5 Jan 2011 21:28:01 +0000 (22:28 +0100)]
Updated hebrev language file,
updated thai language file.

13 years agoAllow braille display drivers to bind buttons, wheels and other controls to scripts...
James Teh [Wed, 5 Jan 2011 10:59:08 +0000 (20:59 +1000)]
Allow braille display drivers to bind buttons, wheels and other controls to scripts in NVDA using the new input framework.
Braille display drivers should now provide all input as a braille.BrailleDisplayGesture instance.
They can provide a global input gesture map to add bindings for scripts anywhere in NVDA.
They can also provide their own scripts to perform display specific functions.
See braille.BrailleDisplayDriver for details.
Note that the handyTech and lilli modules have not yet been updated, though they will still work as they did previously.

Fixes #209.

13 years agoUpdate/add braille display key binding info in English documentation.
James Teh [Wed, 5 Jan 2011 10:28:44 +0000 (20:28 +1000)]
Update/add braille display key binding info in English documentation.

13 years agoUpdate braille key bindings in English documentation.
James Teh [Wed, 5 Jan 2011 08:10:31 +0000 (18:10 +1000)]
Update braille key bindings in English documentation.

13 years agoIA2 live region support and Gecko_ia2 vbufBackend: support IA2_EVENT_TEXT_UPDATED...
Michael Curran [Wed, 5 Jan 2011 05:06:07 +0000 (15:06 +1000)]
IA2 live region support and Gecko_ia2 vbufBackend: support IA2_EVENT_TEXT_UPDATED as we would for IA2_EVENT_TEXT_INSERTED. Needed for Gecko 2 (Firefox 4 etc).

13 years agoUpdate English What's New.
James Teh [Wed, 5 Jan 2011 04:07:06 +0000 (14:07 +1000)]
Update English What's New.

13 years agoMerge main.
James Teh [Wed, 5 Jan 2011 03:21:24 +0000 (13:21 +1000)]
Merge main.

13 years agobraille_scrollBack, braille_scrollForward scripts: Bypass input help. This allows...
James Teh [Wed, 5 Jan 2011 03:18:15 +0000 (13:18 +1000)]
braille_scrollBack, braille_scrollForward scripts: Bypass input help. This allows a braille user to scroll back and forward through input help text.

13 years agoRemove InputGesture.bypassInputHelp, as it doesn't serve the purpose for which it...
James Teh [Wed, 5 Jan 2011 03:17:09 +0000 (13:17 +1000)]
Remove InputGesture.bypassInputHelp, as it doesn't serve the purpose for which it was intended. Instead, allow scripts to specify that they should bypass input help using the boolean bypassInputHelp attribute on the script function.

13 years agobraille_previousLine script: Move to the start of the previous line instead of the...
James Teh [Wed, 5 Jan 2011 03:10:07 +0000 (13:10 +1000)]
braille_previousLine script: Move to the start of the previous line instead of the end.
This required changes to the previousLine() method of braille Region classes.

13 years agoFreedom Scientific braille driver: allow toggling between line scrolling and display...
Michael Curran [Wed, 5 Jan 2011 02:46:50 +0000 (12:46 +1000)]
Freedom Scientific braille driver: allow toggling between line scrolling and display scrolling (panning) with the wiz wheels, by pressing the left or right wiz wheels. The wiz wheels can be configured independently of each other, meaning that you could for instance have the left set to display scrolling and the right set to line scrolling.

13 years agoinputCore.GlobalGestureMap.add: add a 'replace' boolean keyword argument, which if...
Michael Curran [Wed, 5 Jan 2011 02:45:08 +0000 (12:45 +1000)]
inputCore.GlobalGestureMap.add: add a 'replace' boolean keyword argument, which if true, forces add to replace any existing bindings for the given gesture  with a new binding to the given script, otherwize it just appends the new binding as normal.

13 years agobraille.BrailleDisplayDriverWithCursor's __init__ method: make sure to call super.
Michael Curran [Wed, 5 Jan 2011 02:43:49 +0000 (12:43 +1000)]
braille.BrailleDisplayDriverWithCursor's __init__ method: make sure to call super.

13 years agoDelay reporting of toggle keys by 30 ms, as it seems that the key state sometimes...
James Teh [Tue, 4 Jan 2011 22:30:50 +0000 (08:30 +1000)]
Delay reporting of toggle keys by 30 ms, as it seems that the key state sometimes takes a while to change.
This is probably due to keyboard hooks still running when the main thread reports the state.
Should fix intermittent incorrect reporting of toggle keys (caps lock, num lock, etc.).
Fixes #1284.

13 years agoversionInfo: A version containing "dev" is a test version, so make isTestVersion...
James Teh [Tue, 4 Jan 2011 06:51:44 +0000 (16:51 +1000)]
versionInfo: A version containing "dev" is a test version, so make isTestVersion True in this case.

13 years agoAllow the silence synth driver to be used again. Fixes #1294
Michael Curran [Tue, 4 Jan 2011 00:39:41 +0000 (10:39 +1000)]
Allow the silence synth driver to be used again. Fixes #1294

13 years agoglobal commands moveMouseToNavigatorObject script: if trying to fetch the point at...
Michael Curran [Mon, 3 Jan 2011 23:57:50 +0000 (09:57 +1000)]
global commands moveMouseToNavigatorObject script: if trying to fetch the point at the start of the current review position causes a LookupError (the TextInfo is currently not specifically on a valid point... e.g. no actual text in the displayModel if its a DisplayModel textInfo), fall back to using the navigator object's location, just as it would if there was a NotImplementedError. Fixes #1270

13 years agoFreedom Scientific braille driver: Convert to using gestures and inputCore. Now all...
Michael Curran [Mon, 3 Jan 2011 01:44:10 +0000 (11:44 +1000)]
Freedom Scientific braille driver: Convert to using gestures and inputCore. Now all possible inputs from the braille display are represented by a gesture, and executed appropriately by inputCore. The most user visible change will be the fact that when in Input help mode, pressing any key, button, whizwheel) on the display will cause NVDA to announce the gesture and its script's description if it has one. As like previously, the bottom routing row is used for cursor routing, and the left and right wiz wheels pan forward and back. Eventually some way of configuring the wiz wheels to do either panning or line will be added. No other script mapping have been added at this time. However all possible keys and buttons exisiting on any pacmate or Focus display are now known to NVDA, thus it is possible to map any of these things in future.

13 years agobrltty driver: Update to use input gesture framework.
James Teh [Tue, 21 Dec 2010 08:46:26 +0000 (18:46 +1000)]
brltty driver: Update to use input gesture framework.
In the process, I also mapped previous line and next line to lnup and lndn, respectively.

13 years agoRemove unnecessary import.
James Teh [Tue, 21 Dec 2010 08:40:49 +0000 (18:40 +1000)]
Remove unnecessary import.

13 years agoEnglish User Guide: Add key commands for Alva BC640/680.
James Teh [Tue, 21 Dec 2010 02:38:13 +0000 (12:38 +1000)]
English User Guide: Add key commands for Alva BC640/680.
alvaBC6 driver: Reorganise gesture map to include braille navigation commands first. This is likely to be info that users want first, so I've done this in the User Guide and the driver may as well use the same order. This is entirely cosmetic; no functional change.

13 years agoMerge main.
James Teh [Tue, 21 Dec 2010 01:15:22 +0000 (11:15 +1000)]
Merge main.

13 years agosource readme: Clarify that wxPython 2.8.x is required; i.e. not 2.9.x.
James Teh [Mon, 20 Dec 2010 08:02:28 +0000 (18:02 +1000)]
source readme: Clarify that wxPython 2.8.x is required; i.e. not 2.9.x.

13 years agoNVDAObjects.behaviors.Dialog.getDialogText: recurse in to grouping objects to find...
Michael Curran [Fri, 17 Dec 2010 05:21:16 +0000 (15:21 +1000)]
NVDAObjects.behaviors.Dialog.getDialogText: recurse in to grouping objects to find text. Adobe Reader X (and possibly previous versions) need this to read some dialogs properly.

13 years agoSome more self voicing fixes:
Michael Curran [Fri, 17 Dec 2010 04:22:22 +0000 (14:22 +1000)]
Some more self voicing fixes:
*treeInterceptorHandler.update: do not create treeInterceptors if  the given object's appModule is self voicing.
*eventHandler.executeEvent: if the object's appModule is self voicing, allow running of doPreGainFocus, but not preDodocLoadComplete or the rest of any other event.
*eventHandler.doPreGainFocus: if the object's appModule is self voicing, do setFocusObject and management of foreground, but not anything else (i.e. do not do focus entered loop etc).
*api.setFocusObject: if an appModule is self voicing, do not run the appModule's loseFocus or gainFocus events.
 Fixes #208 (treeInterceptors being created and receiving gainFocus in self voicing applications).

13 years agoAdd script_toggleCurAppSelfVoicing to global commands bound as NVDA+shift+s. This...
Michael Curran [Fri, 17 Dec 2010 01:58:44 +0000 (11:58 +1000)]
Add script_toggleCurAppSelfVoicing to global commands bound as NVDA+shift+s. This allows the user to toggle self voicing mode for the active application. Also report when a self voicing application becomes active in both speech and braille. Specific changes:
*scriptHandler.findScript: remove check for self voicing. I'm confused as to what this did anyway as self voicing would have been checked in inputCore before this point anyway. Plus due to following changes findScript must still work with selfVoicing.
*inputCore.InputManager.executeGesture: fetch the gesture's script before any self voicing check. As well as an appModule having the selfVoicing property as true, a script also either must not have a 'allowInSelfVoicing' property, or this property must be set to False, for the gesture action not to take place. In otherwords, this means that if a script has an allowInSelfVoicing property set to true, then the script can still be executed while in a self voicing app.
*Add a script_toggleCurrentAppSelfVoicing (NVDA+shift+s) to global commands. This script goggles the state of the selfVoicing property on the focus object's appModule. It also reports the new state in speech and braille. This script also has the allowInSelfVoicing property set to true, so that this script can be executed again to disable self voicing.