OSDN Git Service

nvdajp/nvdajp.git
13 years agoDon't use the terms "first child" and "parent" with respect to object navigation...
James Teh [Thu, 9 Jun 2011 08:44:43 +0000 (18:44 +1000)]
Don't use the terms "first child" and "parent" with respect to object navigation, as these are confusing for many users. Instead, use container terminology.

13 years agoUpdate What's New.
James Teh [Thu, 9 Jun 2011 07:52:20 +0000 (17:52 +1000)]
Update What's New.

13 years agoOutlook Express appModule: make sure the NVDAObject overlay class for supporting...
Michael Curran [Thu, 9 Jun 2011 08:35:22 +0000 (18:35 +1000)]
Outlook Express appModule: make sure the NVDAObject overlay class for supporting message rule checkboxes is only used for SysListview32 controls. It was previously not checking the window class and therefore was also being used for the ListBox control found in the Apply now dialog in the message rules dialog. This change means that NVDA will no longer class the rule list items in the apply now dialog as checkboxes. Thus, you can now just listen to their selected/not selected state to tell if they're active or not. The other checkboxes in the message rules dialog should continue to work appropriately. Completely fixes #576

13 years agoUIA focus event handler: return if obj is None after NVDAObject instanciation. The...
Michael Curran [Thu, 9 Jun 2011 07:37:50 +0000 (17:37 +1000)]
UIA focus event handler: return if  obj is None after NVDAObject instanciation. The other events already did this, just not focus.

13 years agoUIATextInfo: support initializing with a position of all
Michael Curran [Thu, 9 Jun 2011 07:36:01 +0000 (17:36 +1000)]
UIATextInfo: support initializing with a position of all

13 years agoUpdated what's new
Michael Curran [Thu, 9 Jun 2011 05:20:50 +0000 (15:20 +1000)]
Updated what's new

13 years agoUIATextInfo: allow initializing with positions of first, last, and a UIATextInfo...
Michael Curran [Thu, 9 Jun 2011 05:16:28 +0000 (15:16 +1000)]
UIATextInfo: allow initializing with positions of first, last, and a UIATextInfo instance (what bookmark returns). also implement __eq__ so that bookmarks can be compared. finally also make textInfos.UNIT_READINGCHUNK to UIA's line unit. these changes allow for sayall to correctly work in UIA text fields that support all needed methods. E.g. its now possible to perform sayall with review cursor in xPS viewer.

13 years agoUser Guide and globalCommands: Clarify that flat review is just an object, not a...
James Teh [Thu, 9 Jun 2011 02:22:14 +0000 (12:22 +1000)]
User Guide and globalCommands: Clarify that flat review is just an object, not a mode.

13 years agospeech dictionary entries dialog: address some issues noted in #357. specifically...
Michael Curran [Thu, 9 Jun 2011 02:15:17 +0000 (12:15 +1000)]
speech dictionary entries dialog: address  some issues noted in #357. specifically:  Move the label for the entries list from beside it to above it, and  make the first letter of the Edit button be uppercase to match the other buttons.

13 years agoWhat's New: Add release blurb, fix typos/spelling errors.
James Teh [Thu, 9 Jun 2011 01:30:49 +0000 (11:30 +1000)]
What's New: Add release blurb, fix typos/spelling errors.

13 years agoUpdate what's new
Michael Curran [Thu, 9 Jun 2011 01:24:02 +0000 (11:24 +1000)]
Update what's new

13 years agoespeak synthDriver: if an unknown variant is requested, choose max rather than none...
Michael Curran [Wed, 8 Jun 2011 23:04:31 +0000 (09:04 +1000)]
espeak synthDriver: if an unknown variant is requested, choose max rather than none. Fixes #1548

13 years agoUser Guide: Fix link for more info about Python Console, as it has now been moved...
James Teh [Wed, 8 Jun 2011 09:19:03 +0000 (19:19 +1000)]
User Guide: Fix link for more info about Python Console, as it has now been moved to the Developer Guide.

13 years agospeech.speakObject: states are now announced if the reason is focusEntered. this...
Michael Curran [Wed, 8 Jun 2011 06:42:46 +0000 (16:42 +1000)]
speech.speakObject:  states are now announced if the reason is focusEntered. this is especially useful if focus moves to a control inside a document that is busy, NVDA will now announce this fact.

13 years agoVirtualBuffer.event_treeInterceptor_gainFocus: when announcing the document name...
Michael Curran [Wed, 8 Jun 2011 03:39:10 +0000 (13:39 +1000)]
VirtualBuffer.event_treeInterceptor_gainFocus: when announcing the document name, also announce states as well, so that busy is announced when the document is busy.

13 years agoVBufBackend_t::cancelPendingUpdate: reset renderThreadTimerID to 0 after killing...
Michael Curran [Wed, 8 Jun 2011 02:05:40 +0000 (12:05 +1000)]
VBufBackend_t::cancelPendingUpdate: reset renderThreadTimerID to 0 after killing the timer. This will stop any possible pending updates from happening that were still possibly in the windows message queue after KillTimer was called. This more importantly also fixes  a problem introduced by r4356 where after a text change and focus change happen in quick succession only focus changes will update the buffer after that point. E.g. after changing the value in a combo box, edit fields would never update their content again.

13 years agotextInfos.offsets.OffsetsTextInfo._getLineNumFromOffset: return None instead of raisi...
Michael Curran [Wed, 8 Jun 2011 00:43:35 +0000 (10:43 +1000)]
textInfos.offsets.OffsetsTextInfo._getLineNumFromOffset: return None instead of raising NotImplementedError. this is an optional method to implement and  the code that uses it already checks for None. Stops errors when  announcing lines  in controls that use NVDAObjectTextInfo or other offset-based TextInfos that do not implement a _getLineNumFromOffset while report line numbers is enabled.

13 years agoMSHTML NVDAObject: add a HTMLNodeUniqueNumber property, and use instead of HTMLNode...
Michael Curran [Tue, 7 Jun 2011 23:18:52 +0000 (09:18 +1000)]
MSHTML NVDAObject: add a HTMLNodeUniqueNumber property, and use instead of HTMLNode.uniqueNumber / HTMLNode.uniqueID. As this will be cashed for the core cycle, this now will especially make equality checks of MSHTML NVDAObjects in loops faster (i.e. constnatly checking against rootNVDAObject in the MSHTML virtualBuffer).

13 years agoRevert accidentilly committed code within r4392. Fixes #1552 and probably other thing...
Michael Curran [Tue, 7 Jun 2011 23:02:47 +0000 (09:02 +1000)]
Revert accidentilly committed code within r4392. Fixes #1552 and probably other things -- No MSAA annotation was being used so it seems

13 years ago_UIAHandler.isNativeUIAelement: When looking at providerDescription to detect an...
Michael Curran [Tue, 7 Jun 2011 22:46:48 +0000 (08:46 +1000)]
_UIAHandler.isNativeUIAelement: When looking at providerDescription to detect an MSAA proxy, use a regexp to look for either an Annotation or MSAA proxy.  It seems that pretty much all MSAA proxy UIA elements will also be wrapped in an annotation proxy, except for menus, which use the standard MSAA proxy anyway. Its possible we may still need to add some extra names to this regexp in future. But we must be careful to not ad things like HWND or non-client as these are used even with native UIA elements. This fix seems to stop all the unwanted UI automation focus events

13 years agogecko_ia2 vbuf: For Gecko >= 2 (e.g. Firefox >= 4), allow the document to be rendered...
James Teh [Tue, 7 Jun 2011 07:44:24 +0000 (17:44 +1000)]
gecko_ia2 vbuf: For Gecko >= 2 (e.g. Firefox >= 4), allow the document to be rendered even if the busy state is set (i.e. it hasn't fully finished loading).
Unfortunately, this isn't safe in Gecko 1.9, as we don't receive events while the document is busy.

13 years agoUI Automation support: make it again possible to run NVDA after preparing/building...
Michael Curran [Tue, 7 Jun 2011 06:41:32 +0000 (16:41 +1000)]
UI Automation support: make it again possible to run NVDA after preparing/building with out access to the UI Automation client library.  This was done by moving UIAHandler.py to _UIAHandler.py, and then making a new UIAHandler.py which checks config as to whether it should use UIA or not, and if so then try to imports all of _UIAHandler in to its global namespace and set isUIAAvailable to true. Initialize and terminate are moved from _UIAHandler to UIAHandler, and initialize now throws NotImplementedError if isUIAAvailable is False, but other wize tries to create the handler etc. So for other modules using UIAHandler, the rule is, if isUIAAvailable then  it is guaranteed that all constants, interfaces and code exists in UIAHandler. However, only if handler is not None, does it mean that UIA has actually been initialized.

13 years agoUIAHandler.UIAHandler.isNativeUIAElement: improve logic to handle the situation where...
Michael Curran [Tue, 7 Jun 2011 05:46:18 +0000 (15:46 +1000)]
UIAHandler.UIAHandler.isNativeUIAElement: improve logic to handle the situation where the element has been reparented in to a window that does not natively support UIA (i.e. controls in the IE9 downloads window).
Specifically: if the UIA element definitly has a window handle, then check that window handle to see if the window supports native UIA, and if so then its a native element. We used to use nearest window handle if the element itself did not have a window handle, but the issue was that the nearest window handle may not be native UIA when clearly the element itself was.  If it does not have a window handle, instead look at its providerDescription property to see if its an MSAA proxy, and only treet the element as native if its not. Note that although we cannot detect the element's real window handle, its 99% sure that if the IAccessible it proxies fires an event, that event will come from the real (not reparented) window, and therefore  IAccessibleHandler will filter out the event as it saw that window supported UIA natively.  Fixes #1280.

13 years agoWhat's New: Minor fixes.
James Teh [Tue, 7 Jun 2011 05:39:40 +0000 (15:39 +1000)]
What's New: Minor fixes.

13 years agoUser Guide: Browse Mode Quick Navigation: Clarify heading level commands.
James Teh [Tue, 7 Jun 2011 05:32:58 +0000 (15:32 +1000)]
User Guide: Browse Mode Quick Navigation: Clarify heading level commands.

13 years agoUser guide: Add further explanation to Flat Review section.
James Teh [Tue, 7 Jun 2011 05:27:52 +0000 (15:27 +1000)]
User guide: Add further explanation to Flat Review section.

13 years agoUser Guide: Improve sections about Navigating with NVDA.
James Teh [Tue, 7 Jun 2011 04:50:19 +0000 (14:50 +1000)]
User Guide: Improve sections about Navigating with NVDA.

13 years agoFix minor knit in last commit; no functional change.
James Teh [Mon, 6 Jun 2011 11:25:07 +0000 (21:25 +1000)]
Fix minor knit in last commit; no functional change.

13 years agobraille: Handle the case where an update causes a region to shrink or disappear entir...
James Teh [Mon, 6 Jun 2011 11:06:50 +0000 (21:06 +1000)]
braille: Handle the case where an update causes a region to shrink or disappear entirely so that the start position of the window no longer exists.
BrailleBuffer.restoreWindow() no longer takes an ignoreErrors option and will never leave the window in a broken state. To facilitate this, regionPosToBufferPos() takes an allowNearest option to return the nearest position if the requested position does not exist.
Also fixed a bug in regionPosToBufferPos() so that allowNearest can work. :)

13 years agoFix typo
Michael Curran [Mon, 6 Jun 2011 07:43:30 +0000 (17:43 +1000)]
Fix typo

13 years agocosmetic: Remove unnecessary pass statements.
James Teh [Mon, 6 Jun 2011 03:58:02 +0000 (13:58 +1000)]
cosmetic: Remove unnecessary pass statements.

13 years agoFix for #1455 (Hyphenated words reported incorrectly in standard Windows Edit control...
Michael Curran [Mon, 6 Jun 2011 02:03:10 +0000 (12:03 +1000)]
Fix for #1455 (Hyphenated words reported incorrectly in standard Windows Edit controls). for now just revert changeset:main,4148 as although this was correct for XP edit controls with out uniscribe support, it was incorrect for all later Operating systems and most likely xP with unicscribe support (east asian language pack installed). An alternative way this could be implemented in the future is to first detect whether uniscribe is being used (not sure how), and if it is, then use ScriptItemize / ScriptBreak to generate an array of script logic attribute structures, and check for which characters allow  word stop on. We could also consider using this inside offsetstextInfo at a low level so that virtualBuffers can make use of better word navigation.

13 years agoIf the OS supports it, detect windows that have a ghost window (they have hung) and...
Michael Curran [Sun, 5 Jun 2011 11:51:52 +0000 (21:51 +1000)]
If the OS supports it, detect windows that have a ghost window (they have hung) and skip them when navigating by window, when checking for a higher API on Window NVDAObjects, and when processing MSAA winEvents. This will stop some lags / freezes when navigating top-level windows with object navigatin while a window has hung. It may also stop some other freezes as UIAHasServerSideProvider also would freeze on this ghosted windows.

13 years agoIAccessibleHandler: add a useful utility function 'isMarshalledIAccessible' which...
Michael Curran [Sun, 5 Jun 2011 11:34:50 +0000 (21:34 +1000)]
IAccessibleHandler: add a useful utility function 'isMarshalledIAccessible' which can tell if the given IAccessible COM object is marshalled or local. It does this by looking at the location of its IUnknown::AddRef (first function in its vtable). If its located in oleacc.dll then its a local IAccessible proxy, if its located in ole32.dll, then its marshalled

13 years agogecko_ia2 vbuf backend: Handle the encoded accDescriptions used in Gecko 1.
James Teh [Mon, 6 Jun 2011 00:12:51 +0000 (10:12 +1000)]
gecko_ia2 vbuf backend: Handle the encoded accDescriptions used in Gecko 1.
Fixes reporting of encoded position info when reporting focus/quick navigation in browse mode; e.g. "l1" for heading level 1.
Fixes #1542.

13 years agoFix misspellings of "NonVisual Desktop Access".
James Teh [Fri, 3 Jun 2011 11:45:07 +0000 (21:45 +1000)]
Fix misspellings of "NonVisual Desktop Access".
Fixes #1215.

13 years agoservice: Change display name to "NVDA", as we don't use the unabbreviated name as...
James Teh [Fri, 3 Jun 2011 11:33:28 +0000 (21:33 +1000)]
service: Change display name to "NVDA", as we don't use the unabbreviated name as the product name anywhere else and it presents localisation issues.

13 years agoservice: Fix cases where handles were closed twice and some where handles weren't...
James Teh [Fri, 3 Jun 2011 11:16:33 +0000 (21:16 +1000)]
service: Fix cases where handles were closed twice and some where handles weren't closed at all.
The former caused the service to crash intermittently, while the latter probably caused a slight memory leak.
To make this easier (and to avoid similar mistakes in future), create an AutoHANDLE class which closes the handle automatically when the object is no longer in use.

13 years agoUpdated the list of contributors
Peter Vágner [Fri, 3 Jun 2011 09:14:20 +0000 (11:14 +0200)]
Updated the list of contributors

13 years agoQT: code cleaning QT table columns support
Peter Vágner [Fri, 3 Jun 2011 07:37:52 +0000 (09:37 +0200)]
QT: code cleaning QT table columns support

13 years agoUpdated galician language file,
Peter Vágner [Fri, 3 Jun 2011 06:50:18 +0000 (08:50 +0200)]
Updated galician language file,
Updated spanish language file,
Updated finnish language file, changes, user guide and symbols.

13 years agoExcel NVDAObjects:
James Teh [Fri, 3 Jun 2011 04:48:42 +0000 (14:48 +1000)]
Excel NVDAObjects:
* Move duplicate code used to fire a focus event on the active selection into ExcelBase.
* ExcelBase.getCellAddress: Don't use a regexp to strip the dollar signs. Instead, just request non-absolute references from Excel.
* Implement equality check for ExcelWorksheet and fix equality check for ExcelCell so that these objects are correctly identified as being unequal if the sheet is different.
* Bind control+pageUp/pageDown to changeSelection script so that changing sheets is reported.
* Remove doc string from changeSelection script, as it is an application provided command and the text didn't cover all cases in which it is used.

Fixes #760.

13 years agoExcelWorksheet NVDAObject changeSelection script: Return early if a script is waiting...
James Teh [Fri, 3 Jun 2011 02:00:23 +0000 (12:00 +1000)]
ExcelWorksheet NVDAObject changeSelection script: Return early if a script is waiting, which prevents lag when holding down or rapidly pressing these keys.

13 years agoExcelWorksheet NVDAObject: Don't implement initOverlayClass, as this is never used...
James Teh [Fri, 3 Jun 2011 01:53:19 +0000 (11:53 +1000)]
ExcelWorksheet NVDAObject: Don't implement initOverlayClass, as this is never used as an overlay class.
ExcelCell NVDAObject: Use __gestures instead of binding in initOverlayClass, as this is never used as an overlay class, so initOverlayClass is never called. (We could just bind in the constructor, but __gestures looks nicer.)

13 years agoExcel NVDAObjects: Rename ExcelWindow to ExcelBase to avoid confusion with Excel7Window.
James Teh [Fri, 3 Jun 2011 00:49:03 +0000 (10:49 +1000)]
Excel NVDAObjects: Rename ExcelWindow to ExcelBase to avoid confusion with Excel7Window.

13 years agoFixes/tweaks to What's New.
James Teh [Thu, 2 Jun 2011 12:01:50 +0000 (22:01 +1000)]
Fixes/tweaks to What's New.

13 years agonvda app module: Fix code that was supposed to silence invisible clients. This hasn...
James Teh [Thu, 2 Jun 2011 11:37:45 +0000 (21:37 +1000)]
nvda app module: Fix code that was supposed to silence invisible clients. This hasn't worked for a while because these clients now get ROLE_UNKNOWN, not ROLE_PANE.

13 years agogui: Remove appTitle constant and instead use versionInfo.name.
James Teh [Thu, 2 Jun 2011 11:33:16 +0000 (21:33 +1000)]
gui: Remove appTitle constant and instead use versionInfo.name.

13 years agogui: Code cleanup:
James Teh [Thu, 2 Jun 2011 11:20:56 +0000 (21:20 +1000)]
gui: Code cleanup:
* Remove our custom external execute event code (including gui.execute) and instead just use wx.CallAfter.
* Remove scriptUI. The code is very old and was designed for the time when the GUI ran in a separate thread. Also, we use custom dialogs in many places already anyway.
* Add gui.runScriptModalDialog to simplify using modal dialogs from scripts.

13 years agoDon't allow NVDA settings dialogs to be shown while a message dialog is being shown.
James Teh [Thu, 2 Jun 2011 04:47:23 +0000 (14:47 +1000)]
Don't allow NVDA settings dialogs to be shown while a message dialog is being shown.
Previously, you could open the settings dialog, but it would be frozen until the message dialog was dismissed, which was impossible in some configurations.
To do this (and to clean up the code somewhat), introduce gui.messageBox, which should be used for all message dialogs.
Also removed gui.scriptUI.MessageDialog, as it was only used in a couple of places and the eventual aim is to get rid of (or at least majorly refactor) scriptUI.
Fixes #1451.

13 years agoRemove test line.
James Teh [Thu, 2 Jun 2011 01:06:46 +0000 (11:06 +1000)]
Remove test line.

13 years agoSCons: proply check for any unknown commandline variables, and alert the user if...
Michael Curran [Thu, 2 Jun 2011 00:54:49 +0000 (10:54 +1000)]
SCons: proply check for any unknown commandline variables, and alert the user if there are any. this meant moving all nvdahelper variable definitions in to the main sconstruct, and moving the unknown variables check to after the creation of the base environment.

13 years agoUpdated what's new
Michael Curran [Wed, 1 Jun 2011 07:24:20 +0000 (17:24 +1000)]
Updated what's new

13 years agoAdd two new config options to nvda.ini under [UIA]. "enabled" is a boolean that allow...
Michael Curran [Wed, 1 Jun 2011 07:18:03 +0000 (17:18 +1000)]
Add two new config options to nvda.ini under [UIA]. "enabled" is a boolean that allows you to state whether UIA should be used (default is true). "minWindowsVersion" is a float specifying the minimum windows version (major.minor) where NVDA should be allowed to use UIA. Its default is 6.1 (Windows 7). This means that UIA by default is no longer going to be used in XP. This is due to the fact that there are just to  many freezes, crashes and other performance hits when using the UIAutomation client library available in XP with the platform update. Fixes #1437.

13 years agoservice: Only start/stop NVDA on the Winlogon and InfoCard* desktops (known to be...
James Teh [Wed, 1 Jun 2011 06:49:42 +0000 (16:49 +1000)]
service: Only start/stop NVDA on the Winlogon and InfoCard* desktops (known to be secure desktops).
This means it no longer starts/stops NVDA on user input desktops.

13 years agoUIAHandler:
Michael Curran [Wed, 1 Jun 2011 03:31:14 +0000 (13:31 +1000)]
UIAHandler:
* Merge the UIAEventListener class into the UIAHandler class. This stops us from having to keep and dereferencing a weakref to the UIAHandler instance from the event listener. One class is also cleaner.
* No longer dynamically generate the UIAutomation typelib interfaces on import, instead just rely on NVDA already having them in comInterfaces. This certainly is now always true, though may not have been during Windows 7 betas when UIAutomation was still changing.
* As we can now assume we always have the UIAutomation COM interfaces, no longer condissionaly define all our UIA-to-NVDA mappings and classes. Instead just define them no matter what. Takes out one level of indenting.
* Create all needed global UIAutomation COM object instances (IUIAutomation, base cache requests, treeWarkers etc) and register UIAutomation events, in an MTA thread.
* Finally allow NVDA to unregister UIAutomation events on exit, inside the MTA thread. This used to cause a freeze if done in our main thread so we never bothered.

having events now in an MTA may speed up NVDA a touch as the events will no longer be interupting our main thread. As we now cexplicitly unregister all UIAutomation events on exit, this may stop Windows explorer becoming very sluggish after hours of use and NVDA restarts (though not sure). And finally as we now register for UIAutomation events in an MTA, this will stop the freeze at NVDA start up that occures on Windows 7 if another app has crashed and its crash dialog is still up. (UIAutomation tried calling NtUserGetComboBoxInfo on the crashed window and it does not timeout).

13 years agoAdded nvdahelperLocal.def which should have been added a few commits ago.
Michael Curran [Wed, 1 Jun 2011 00:17:43 +0000 (10:17 +1000)]
Added nvdahelperLocal.def which should have been added a few commits ago.

13 years agoUpdated turkish language file.
Peter Vágner [Tue, 31 May 2011 08:16:30 +0000 (10:16 +0200)]
Updated turkish language file.

13 years agoUpdated georgian language file,
Peter Vágner [Tue, 31 May 2011 07:06:53 +0000 (09:06 +0200)]
Updated georgian language file,
Added georgian characters descriptions and symbols.

13 years agoFixes for #1367 and #720. Now the tab key is always overridden in browse mode if...
Michael Curran [Tue, 31 May 2011 02:42:48 +0000 (12:42 +1000)]
Fixes for #1367 and #720. Now the tab key is always overridden in browse mode if focus is directly on any kind of non-editable document. This better fixes the issue where tab would take you to the address bar in Internet Explorer when first focused on the document, and also fixes the issue when focus hits the document of an iframe and then tabbing causes you to go to the first focusable in the iframe, rather than the next one after the cursor position.

13 years agoGecko_ia2 VirtualBuffer's _activateNVDAObject method: if the if doAction failed and...
Michael Curran [Tue, 31 May 2011 00:24:17 +0000 (10:24 +1000)]
Gecko_ia2 VirtualBuffer's _activateNVDAObject method: if the if doAction failed and we need to click using the object's location, move up the ancestors until we get to an object that does not have the offscreen state. Fixes #801

13 years agonvdaHelper: remove all remaining uses of __declspec(dllexport) including from RPC...
Michael Curran [Mon, 30 May 2011 18:10:59 +0000 (04:10 +1000)]
nvdaHelper: remove all remaining uses of __declspec(dllexport) including from RPC interface idl files, and provide a .def file for nvdahelperLocal.dll.  This stops nvdahelperRemote.dll from exporting all vbuf and displayModel interface server stubs (which it does not have to do), and it may also allow the compiler to optimize a bit more as these functions are no longer able to be called from outside the dll (all calls are now predictable.

13 years agoFix memory leak for copy settings success/failure message dialog.
James Teh [Mon, 30 May 2011 09:14:57 +0000 (19:14 +1000)]
Fix memory leak for copy settings success/failure message dialog.

13 years agoFix memory leak for warning dialog when copying user settings to the system profile.
Michael Curran [Mon, 30 May 2011 07:48:30 +0000 (17:48 +1000)]
Fix memory leak for warning dialog when copying user settings to the system profile.

13 years agoMSHTML vbufBackend: fix LOG_DEBUG statement so it compiles again with log level of...
Michael Curran [Mon, 30 May 2011 07:09:38 +0000 (17:09 +1000)]
MSHTML vbufBackend: fix LOG_DEBUG statement so it compiles again with log level of debug

13 years agoGecko_ia2 vbufBackend: fix indenting
Michael Curran [Mon, 30 May 2011 05:17:23 +0000 (15:17 +1000)]
Gecko_ia2 vbufBackend: fix indenting

13 years agoMSHTML vbufBackend: force nodes with an aria role of "search" to have an accRole...
Michael Curran [Mon, 30 May 2011 05:14:41 +0000 (15:14 +1000)]
MSHTML vbufBackend: force nodes with an aria role of "search" to have an accRole of staticText (IE gave them edit). This stops search nodes from being picked up in quicknav for f and e. Also map aria role of "search" to an nvda role of section in aria.py.

13 years agoNVDAObjects.IAccessible.MSHTML.HTMLNodeFromIAccessible: no longer refuse to queryServ...
Michael Curran [Mon, 30 May 2011 05:04:11 +0000 (15:04 +1000)]
NVDAObjects.IAccessible.MSHTML.HTMLNodeFromIAccessible: no longer refuse to queryService if the accRole is 0 or client. This was to stop a crash in IE8 (changeset:main,3471) but the particular testcase where this happens no longer exists, plus it was causing problems on other sites where IE chose to use a role of client within a document tree, such as a div on us.yahoo.com. If the crash clearly comes back because of this commit, we'll fix it more correctly at that point.

13 years agospeech: Report the selected state of selectable table rows the same way it is reporte...
James Teh [Mon, 30 May 2011 03:42:08 +0000 (13:42 +1000)]
speech: Report the selected state of selectable table rows the same way it is reported for list and tree view items.

13 years agoGecko vbufBackend's winEvent callback: also listen for focus and alert events, but...
Michael Curran [Mon, 30 May 2011 03:32:16 +0000 (13:32 +1000)]
Gecko vbufBackend's winEvent callback: also listen for focus and alert events, but instead of locating the node and invalidating it, just force an update, just incase there were any invalid nodes that may have contained the current focus/alert. Fixes some focus issues on sites like wohnquartier-am-osterbekkanal.de/ausstattung.html where when a node gains focus, it or one of its ancestors is rerendered. but NVDA sees the event before the delayed virtualBuffer update is complete.

13 years agoVBufBackend_t: add a forceUpdate public method, which updates any currently invalid...
Michael Curran [Mon, 30 May 2011 03:30:00 +0000 (13:30 +1000)]
VBufBackend_t: add a forceUpdate public method, which updates any currently invalid nodes right now, and cancels any other pending update.

13 years agoMSHTML vBufBackend: define remove the unneeded namespace qualification from cDispatch...
Michael Curran [Sun, 29 May 2011 10:16:53 +0000 (20:16 +1000)]
MSHTML vBufBackend: define remove the unneeded namespace qualification from cDispatchChangeSink::onchange (according to cppcheck, this is not needed and will confuse some compilers). True we only compile with one, but since this was the only thing that cppcheck flagged as an error, well, ots nice to have none now.

13 years agoUser Guide: Typo and grammar fix.
James Teh [Mon, 30 May 2011 03:17:39 +0000 (13:17 +1000)]
User Guide: Typo and grammar fix.

13 years agoadobeAcrobat vbuf: Support quick navigation to combo boxes.
James Teh [Mon, 30 May 2011 03:15:57 +0000 (13:15 +1000)]
adobeAcrobat vbuf: Support quick navigation to combo boxes.

13 years agoRephrase.
James Teh [Mon, 30 May 2011 02:59:49 +0000 (12:59 +1000)]
Rephrase.

13 years agokeyboardHandler: If a modifier key is repeating, remove it from modifiers so we don...
James Teh [Sun, 29 May 2011 23:43:01 +0000 (09:43 +1000)]
keyboardHandler: If a modifier key is repeating, remove it from modifiers so we don't double up. A modifier can't modify itself.
Fixes silly reporting such as "NVDA+NVDA" in input help mode.

13 years agoInputManager: In input help mode, log gestures even if their scripts bypass input...
James Teh [Sun, 29 May 2011 23:18:53 +0000 (09:18 +1000)]
InputManager: In input help mode, log gestures even if their scripts bypass input help such as the scroll braille display forward and back commands.

13 years agonvdaHelper: try to make compilation a little bit faster by not including windows...
Michael Curran [Sun, 29 May 2011 07:03:53 +0000 (17:03 +1000)]
nvdaHelper: try to make compilation a little bit faster by not including windows.h as much where a more basic header file could be used instead (e.g. rpc.h). In most cases though windows.h is still needed, but where possible, define WIN32_LEAN_AND_MEAN to disable many of the optional windows features that are not needed by a particular cpp source file. Also remove the redundant lock.cpp and lock.h from vbufBase and change backend.h to use common/lock.h instead. finally change any of cour functions that use the BOOL datatype to use bool (lowercase, c++ standard) instead.

13 years agoSpeechSymbols.load: Don't barf when reading an identifier that just contains "\".
James Teh [Sat, 28 May 2011 11:51:02 +0000 (21:51 +1000)]
SpeechSymbols.load: Don't barf when reading an identifier that just contains "\".
SpeechSymbols.save: Escape "\". This isn't strictly necessary, but it's more consistent.

13 years agonvdaHelper: Always compile with level 3 warnings (/W3) and always treet all warnings...
Michael Curran [Sat, 28 May 2011 05:32:03 +0000 (15:32 +1000)]
nvdaHelper: Always compile with level 3 warnings (/W3) and always treet all warnings as errors (/WX). At the same time, clearly state any automatic type conversions the compiler flagged as questionable by using static_cast. In fact the goal should be to remove all c-style casts and only use const_cast/static_cast as they are safer. Use size_t in a few places where we are clearly managing a size, to stop sign/unsign mismatch errors. Note that we cannot move to /Wall as minHook contains code that does not pass.

13 years agoUpdate what's new
Michael Curran [Sat, 28 May 2011 01:51:05 +0000 (11:51 +1000)]
Update what's new

13 years agoWhen the users chooses to copy their user settings to the system profile for use...
Michael Curran [Sat, 28 May 2011 01:45:18 +0000 (11:45 +1000)]
When the users chooses to copy their user settings to the system profile for use on the logon screen etc, detect custom appModules, brailleDisplayDrivers, globalPlugins and synthDrivers and if there are any, ask the user if they still wish to continue, pointing out that this could be a security risk. Fixes #1426

13 years agoupdated brazilian portuguese language file.
Peter Vágner [Fri, 27 May 2011 17:43:46 +0000 (19:43 +0200)]
updated brazilian portuguese language file.

13 years agoUpdated french language file, symbols, user guide and changes.
Peter Vágner [Fri, 27 May 2011 13:11:44 +0000 (15:11 +0200)]
Updated french language file, symbols, user guide and changes.

13 years agoUpdated czech language file, characters descriptions and symbols.
Peter Vágner [Fri, 27 May 2011 11:41:55 +0000 (13:41 +0200)]
Updated czech language file, characters descriptions and symbols.

13 years agoinputCore: When loading locale specific gesture map and full language identifier...
Peter Vágner [Fri, 27 May 2011 09:23:38 +0000 (11:23 +0200)]
inputCore: When loading locale specific gesture map and full language identifier corespondent directory does not exist load the gesture map from the directory coresponding to the language identifier only. We are doing the same while installing gettext language files. (#1527)

13 years agomshtml vbuf backend: Handle alt="" properly when it is a grandchild of a link instead...
James Teh [Fri, 27 May 2011 09:15:45 +0000 (19:15 +1000)]
mshtml vbuf backend: Handle alt="" properly when it is a grandchild of a link instead of just a child.

13 years agoUpdate Italian symbols and character descriptions.
James Teh [Fri, 27 May 2011 06:59:46 +0000 (16:59 +1000)]
Update Italian symbols and character descriptions.

13 years agoUpdated italian language file,
Peter Vágner [Fri, 27 May 2011 06:51:15 +0000 (08:51 +0200)]
Updated italian language file,
Removed old brazilian portuguese key commands.

13 years agoAdobeAcrobat NVDAObjects: Reorganise some code into separate overlay classes to make...
James Teh [Fri, 27 May 2011 03:20:52 +0000 (13:20 +1000)]
AdobeAcrobat NVDAObjects: Reorganise some code into separate overlay classes to make the code easier to follow and change in future.
In particular, the root nodes are very much separate now and editable text code only gets used if the node is focusable (as non-focusable editable text nodes aren't really editable text).
This also fixes a regression I caused recently where changing pages in Reader documents often caused focus to be lost.

13 years agosource readme: We only work with version 0.0.11d of the NSIS UAC plug-in. This is...
James Teh [Fri, 27 May 2011 00:48:25 +0000 (10:48 +1000)]
source readme: We only work with version 0.0.11d of the NSIS UAC plug-in. This is tricky to find, so provide a direct link.

13 years agoSpeechSymbols.save: Escape the "#" character in identifiers so it doesn't become...
James Teh [Thu, 26 May 2011 22:11:25 +0000 (08:11 +1000)]
SpeechSymbols.save: Escape the "#" character in identifiers so it doesn't become a comment and thus get ignored when loaded.
SpeechSymbols.{load,save}: Handle escapes at the start of a longer identifier string so that, for example, "##" will work as an identifier.
Fixes #1526.

13 years agoFix memory leak for MSHTML vbufBackend indtroduced when adding code to support render...
Michael Curran [Thu, 26 May 2011 12:37:41 +0000 (22:37 +1000)]
Fix memory leak for MSHTML vbufBackend indtroduced when adding code to support rendering a virtualBuffer from within a subdocument.

13 years agoUpdated brazilian portuguese language file,
Peter Vágner [Thu, 26 May 2011 08:26:14 +0000 (10:26 +0200)]
Updated brazilian portuguese language file,
Updated portuguese language file,
Updated turkish language file and user guide.

13 years agoadobeAcrobat vbuf backend: Fall back to IPDDomNode::GetName() for graphics as well...
James Teh [Thu, 26 May 2011 05:38:20 +0000 (15:38 +1000)]
adobeAcrobat vbuf backend: Fall back to IPDDomNode::GetName() for graphics as well. Fixes issue where graphics weren't rendered in XFA PDF documents.

13 years agoapi.getreviewPosition: only use the navigator object's treeInterceptor if passthrough...
Michael Curran [Wed, 25 May 2011 10:24:32 +0000 (20:24 +1000)]
api.getreviewPosition: only use the navigator object's treeInterceptor if passthrough is not enabled. This now means that when switching to focus mode, and then moving to the document node of a treeInterceptor, the actual document node will be reviewed, not the treeInterceptor, while in focus mode.

13 years agoSpeechSymbolsDialog: Widen the Level column slightly so its content (including header...
James Teh [Wed, 25 May 2011 04:01:17 +0000 (14:01 +1000)]
SpeechSymbolsDialog: Widen the Level column slightly so its content (including header) fits.

13 years agoProvide GUI to allow users to customise symbol pronunciation. This is accessible...
James Teh [Wed, 25 May 2011 03:48:46 +0000 (13:48 +1000)]
Provide GUI to allow users to customise symbol pronunciation. This is accessible via NVDA menu -> Preferences -> Punctuation/symbol pronunciation.
Fixes #1516.

13 years agoUpdate documentation.
James Teh [Wed, 25 May 2011 03:47:08 +0000 (13:47 +1000)]
Update documentation.

13 years agoSpeechSymbolsDialog is now entitled "Symbol Pronunciation".
James Teh [Wed, 25 May 2011 00:33:01 +0000 (10:33 +1000)]
SpeechSymbolsDialog is now entitled "Symbol Pronunciation".