OSDN Git Service
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.
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.
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.
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.
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.
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
Michael Curran [Fri, 21 Jan 2011 05:38:56 +0000 (15:38 +1000)]
Update changes file.
James Teh [Fri, 21 Jan 2011 05:36:59 +0000 (15:36 +1000)]
alvaBC6 driver: Remove some annoying/unnecessary logging.
Peter Vágner [Thu, 20 Jan 2011 10:49:05 +0000 (11:49 +0100)]
Updated italian language file.
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.
James Teh [Thu, 20 Jan 2011 04:25:29 +0000 (14:25 +1000)]
User Guide: Some rewording. Also, split sentences onto separate lines.
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.
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.
James Teh [Thu, 20 Jan 2011 03:03:43 +0000 (13:03 +1000)]
Code doc.
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.
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.
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.
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.
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).
James Teh [Tue, 18 Jan 2011 23:28:22 +0000 (09:28 +1000)]
lilli braille display driver: Oops. Forgot to rename _display to display.
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.
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.
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.
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.
James Teh [Fri, 14 Jan 2011 00:35:15 +0000 (10:35 +1000)]
English User Guide: Fix indentation error.
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.
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.
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.
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.
James Teh [Sun, 9 Jan 2011 21:17:04 +0000 (07:17 +1000)]
Add dist_installer to bzr ignores.
James Teh [Sun, 9 Jan 2011 21:13:39 +0000 (07:13 +1000)]
English User Guide: Add Handy Tech key bindings.
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.
Peter Vágner [Fri, 7 Jan 2011 11:46:48 +0000 (12:46 +0100)]
Ooops, hebrew rather than hebrev. I'm sorry.
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.
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
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.
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.
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.
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.
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.
James Teh [Wed, 5 Jan 2011 22:26:43 +0000 (08:26 +1000)]
Cosmetic.
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.
James Teh [Wed, 5 Jan 2011 21:46:49 +0000 (07:46 +1000)]
Update English User Guide.
James Teh [Wed, 5 Jan 2011 21:41:03 +0000 (07:41 +1000)]
Merge main.
Peter Vágner [Wed, 5 Jan 2011 21:28:01 +0000 (22:28 +0100)]
Updated hebrev language file,
updated thai language file.
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.
James Teh [Wed, 5 Jan 2011 10:28:44 +0000 (20:28 +1000)]
Update/add braille display key binding info in English documentation.
James Teh [Wed, 5 Jan 2011 08:10:31 +0000 (18:10 +1000)]
Update braille key bindings in English documentation.
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).
James Teh [Wed, 5 Jan 2011 04:07:06 +0000 (14:07 +1000)]
Update English What's New.
James Teh [Wed, 5 Jan 2011 03:21:24 +0000 (13:21 +1000)]
Merge main.
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.
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.
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.
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.
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.
Michael Curran [Wed, 5 Jan 2011 02:43:49 +0000 (12:43 +1000)]
braille.BrailleDisplayDriverWithCursor's __init__ method: make sure to call super.
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.
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.
Michael Curran [Tue, 4 Jan 2011 00:39:41 +0000 (10:39 +1000)]
Allow the silence synth driver to be used again. Fixes #1294
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
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.
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.
James Teh [Tue, 21 Dec 2010 08:40:49 +0000 (18:40 +1000)]
Remove unnecessary import.
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.
James Teh [Tue, 21 Dec 2010 01:15:22 +0000 (11:15 +1000)]
Merge main.
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.
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.
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).
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.
Michael Curran [Wed, 15 Dec 2010 00:47:06 +0000 (10:47 +1000)]
Move some standard Windows structs and types from the Freedom Scientific braille display driver in to winUser so that they can be used in other places in NVDA.
Peter Vágner [Thu, 16 Dec 2010 12:37:06 +0000 (13:37 +0100)]
Added romanian language file, readme and user guide.
These files currently have no contributor. There was a professional translator hired to do the work for the romanian community. If anybody is willing to update these files in the future, feel free to do so.
Peter Vágner [Tue, 14 Dec 2010 11:00:13 +0000 (12:00 +0100)]
Updated polish language file,
Updated hebrev language file.
Michael Curran [Tue, 14 Dec 2010 03:52:17 +0000 (13:52 +1000)]
Toggle report dynamic content changes (NVDA+5) is now a proper config option existing in nvda.ini and in the Object Presentation settings dialog with its own checkbox. It is also now appropriately mentioned in the user guide, under Object presentation settings. #954.
Michael Curran [Tue, 14 Dec 2010 03:07:23 +0000 (13:07 +1000)]
update English changes file.
Michael Curran [Tue, 14 Dec 2010 01:44:53 +0000 (11:44 +1000)]
Support announcement of bullets and numbering in Microsoft word. Fixes #208. Also ad the solid round bullet found in MS word to characterSymbols. There are probably more that need to be added, but this is the first, and probably most common one.
Michael Curran [Tue, 14 Dec 2010 01:12:39 +0000 (11:12 +1000)]
MS Office sDM support: for list items with no name, use display text. This allows the suggestions for grammar errors in MS word spell checker to be announced. Fixes #704
Michael Curran [Tue, 14 Dec 2010 00:41:02 +0000 (10:41 +1000)]
Winword appModule: remove recently added support for Word XP spellCheck error field as it does not work.
Michael Curran [Tue, 14 Dec 2010 00:14:54 +0000 (10:14 +1000)]
Allow NVDA to track events in more than one tab in Firefox 4. This problem was introduced when Gecko2 moved to using only one window handle for the entire application. Related Mozilla bug: 610985.
NVDA's gecko vbufBackend assumed that each backend could have its own window handle, and therefore only routed events to one backend at a time based on its window handle. Now Gecko vbufBackend's winEvent callback allows all backends with the matching root window handle to use the event. The change was simply to extend the for loop all the way to the end of winEventCallBack, but do a continue at the top if the window handles did not match. Also change all return statements to continue statements.
Michael Curran [Mon, 13 Dec 2010 08:24:01 +0000 (18:24 +1000)]
Fix for #947 (braille display does not update in some controls when pressing the delete key).
Peter Vágner [Fri, 10 Dec 2010 16:50:24 +0000 (17:50 +0100)]
Added serbian readme and language strings for the NVDA installer making the serbian localization fully complete,
Updated polish language file,
Added hebrev language file.
Michael Curran [Fri, 10 Dec 2010 04:10:41 +0000 (14:10 +1000)]
Microsoft Word support: try and fix the bug where Using a braille display and typing fast at the same time started typing junk or over the top of other characters. However due to limitations in older versions of Microsoft Word, there is now the situation that Right-to-left text such as Arabic will no longer work in MS Word 2003 or below while using a braille display, but it should all be fine in 2007 and above. The specific change is that when expanding to line at the caret, if using braille and its Word 2003 or below, use RangeFromPoint. If Using braille but its above 2003, use GoTo. If not using braille, use the selection. This is in deed not an absolutely perfect situation as this does again break NVDA's support for arabic text in Word 2003 while using braille, however this is the smallest impact bug I could come up with for now... of course this all could be fixed one day in the future.
Michael Curran [Thu, 9 Dec 2010 01:21:19 +0000 (11:21 +1000)]
Catch KeyError exceptions in sapi4 and sapi5 when trying to retreave the language for a voice. This should allow Sapi synths that don not specify a language to work again. Fixes #1264
James Teh [Wed, 8 Dec 2010 07:56:09 +0000 (17:56 +1000)]
Code doc.
James Teh [Wed, 8 Dec 2010 07:38:09 +0000 (17:38 +1000)]
BrailleDisplayGesture: If the BrailleDisplayDriver is a ScriptableObject, the scriptableObject property will return it. This allows braille display drivers to implement their own scripts; e.g. for toggling display specific parameters or performing display specific functions.
James Teh [Wed, 8 Dec 2010 07:35:56 +0000 (17:35 +1000)]
InputGesture: Add a scriptableObject property which allows a gesture to specify a scriptable object which contains scripts specific to this gesture/type of gesture.
James Teh [Wed, 8 Dec 2010 06:42:03 +0000 (16:42 +1000)]
alvaBC6: Reintroduce mapping from display keys to emulate keys on the system keyboard.
James Teh [Wed, 8 Dec 2010 06:40:58 +0000 (16:40 +1000)]
In global gesture maps, allow gestures to emulate key presses by specifying the target gesture identifier (i.e. kb:keyName) as the script name.
This will be used to allow keys on braille displays to emulate key presses on the system keyboard.
This is done by generating a fake script.
James Teh [Wed, 8 Dec 2010 06:37:22 +0000 (16:37 +1000)]
InputManager: Add emulateGesture() method to emulate a gesture; i.e. try executing it first and, if that fails, send it to the OS using InputGesture.send().
James Teh [Wed, 8 Dec 2010 06:08:26 +0000 (16:08 +1000)]
Add missing import.
James Teh [Wed, 8 Dec 2010 05:18:17 +0000 (15:18 +1000)]
Merge main.
James Teh [Tue, 7 Dec 2010 06:28:40 +0000 (16:28 +1000)]
AppModule now has a terminate() method instead of using __del__() to clean up.
This is necessary because it is possible that some app modules might not be garbage collected until after NVDAHelper is terminated and app module termination depends on NVDAHelper still being initialised. All running app modules are explicitly terminated on exit before NVDAHelper terminates.
Fixes many unlogged exceptions (resulting in a strange sound) when NVDA exits.
Also, fix typo in appModuleHandler.update() which might have caused getAppModuleFromProcessID() to be called more than it should, although this wouldn't have been noticeable in reality.
Fixes #1263.
James Teh [Tue, 7 Dec 2010 03:22:25 +0000 (13:22 +1000)]
espeak synth driver: Remove print statement which was causing debugging crap to be logged as warnings.
James Teh [Tue, 7 Dec 2010 03:16:40 +0000 (13:16 +1000)]
SynthDriver: Remove compatibility code for has* and *MinStep attributes, which were deprecated last release.
James Teh [Tue, 7 Dec 2010 00:43:47 +0000 (10:43 +1000)]
SynthDriver: Fix broken minStep for RateSetting, PitchSetting and InflectionSetting.
minStep was being passed as a positional argument, but it was in the wrong position.
James Teh [Mon, 6 Dec 2010 07:18:02 +0000 (17:18 +1000)]
Updated alvaBC6 driver:
* Use a callback instead of a polling timer to retrieve key presses. This requires an updated alvaw32.dll (version 3.0.4.1 or later).
* Rewrote key handling code to use InputGestures. It is now possible to map any of the display's keys.
* Map braille navigation scripts to appropriate gestures.
Note that display keys that previously emulated system keyboard keys haven't yet been mapped, nor have display keys which changed the braille cursor.
James Teh [Mon, 6 Dec 2010 06:53:44 +0000 (16:53 +1000)]
globalCommands: Add scripts for braille display navigation.
James Teh [Mon, 6 Dec 2010 05:42:11 +0000 (15:42 +1000)]
Remove old unused code.
James Teh [Mon, 6 Dec 2010 02:28:06 +0000 (12:28 +1000)]
BrailleDisplayGesture.identifiers property: Convert to lower case so that identifiers will be normalized.
James Teh [Mon, 6 Dec 2010 02:04:43 +0000 (12:04 +1000)]
Enable BrailleDisplayDrivers to provide a global gesture map using the gestureMap attribute.