OSDN Git Service

nvdajp/nvdajp.git
13 years agoAdd support for boolean synth settings.
James Teh [Tue, 14 Jun 2011 07:43:03 +0000 (17:43 +1000)]
Add support for boolean synth settings.

13 years agoMake bzr ignore build.t2tConf.
James Teh [Tue, 14 Jun 2011 07:39:51 +0000 (17:39 +1000)]
Make bzr ignore build.t2tConf.

13 years agoUpdate What's New.
James Teh [Tue, 14 Jun 2011 06:04:15 +0000 (16:04 +1000)]
Update What's New.

13 years agosconstruct: Oops. Use version variable when generating build.t2tConf, not versionInfo...
James Teh [Tue, 14 Jun 2011 03:35:39 +0000 (13:35 +1000)]
sconstruct: Oops. Use version variable when generating build.t2tConf, not versionInfo.version.
This means that the documentation correctly uses the version from the command line if it is overridden.

13 years agot2t docs: Move the NVDA_VERSION, NVDA_URL and NVDA_COPYRIGHT_YEARS macros out of...
James Teh [Tue, 14 Jun 2011 03:31:14 +0000 (13:31 +1000)]
t2t docs: Move the NVDA_VERSION, NVDA_URL and NVDA_COPYRIGHT_YEARS macros out of global.t2tConf and instead have scons generate a file containing them using the versionInfo module.
This means that we no longer need to manually update global.t2tConf when one of these changes.
No change is required anywhere else, as global.t2tConf includes the build include (build.t2tConf).
Fixes #1450.

13 years agoversionInfo: Split copyright years into separate copyrightYears variable, which will...
James Teh [Tue, 14 Jun 2011 02:56:33 +0000 (12:56 +1000)]
versionInfo: Split copyright years into separate copyrightYears variable, which will allow us to use it in the documentation, etc.
Fixes #1449.

13 years agoYou can now configure whether table cell coordinates are reported from the Document...
James Teh [Tue, 14 Jun 2011 02:27:38 +0000 (12:27 +1000)]
You can now configure whether table cell coordinates are reported from the Document Formatting preferences dialog.
Fixes #719.

13 years agobase NVDAObject: Treat table rows/columns/cells as layout if reporting of table cell...
James Teh [Tue, 14 Jun 2011 02:25:45 +0000 (12:25 +1000)]
base NVDAObject: Treat table rows/columns/cells as layout if reporting of table cell coordinates is disabled.

13 years agoAdded polish symbols,
Peter Vágner [Mon, 13 Jun 2011 12:00:15 +0000 (14:00 +0200)]
Added polish symbols,
Updated portuguese language file,
Updated turkish language file and user guide,
Updated brazilian language file, user guide,
Updated finnish language file, symbols, user guide and changes.

13 years agoMerged in changes to the arabic, swedish and dutch translations
Peter Vágner [Mon, 13 Jun 2011 11:43:47 +0000 (13:43 +0200)]
Merged in changes to the arabic, swedish and dutch translations

13 years agoar: updated Arabic user guide, changes, nvda.po langstrings.txt, (Arabic Translation...
Mesar Hameed [Mon, 13 Jun 2011 07:31:06 +0000 (08:31 +0100)]
ar: updated Arabic user guide, changes, nvda.po langstrings.txt, (Arabic Translation Team).

13 years agonl: Updated Dutch userguide, nvda.po and corrected contributers file to include corre...
Mesar Hameed [Mon, 13 Jun 2011 07:24:17 +0000 (08:24 +0100)]
nl: Updated Dutch userguide, nvda.po and corrected contributers file to include correct email address for Dutch translation team (Bram Duvigneau).

13 years agosv: updated Swedish langstrings.txt.
Mesar Hameed [Mon, 13 Jun 2011 07:13:13 +0000 (08:13 +0100)]
sv: updated Swedish langstrings.txt.

13 years agoAnnounce the cell moved to when navigating tables in Microsoft Word with the tab...
Michael Curran [Mon, 13 Jun 2011 01:11:48 +0000 (11:11 +1000)]
Announce the cell moved to when navigating tables in Microsoft Word with the tab key. Fixes #159

13 years agoNVDAObjects.UIA.UIA.__init__: allow the UIAElement's window handle to override the...
Michael Curran [Sun, 12 Jun 2011 02:25:07 +0000 (12:25 +1000)]
NVDAObjects.UIA.UIA.__init__:  allow the UIAElement's window handle to override the windowHandle argument as in some situations  there was a contridiction between the window handle values, which caused some strangeness when navigating from one of these objects. Its still odd that getting a UIAelement from a window  has a different windowHandle, but its better that we choose to use just one of them.
This seems to fix the issue where NVDA would not announce the dialog/caption for the UAC dialog sometimes... though not really sure.

13 years agoMove comment to more appropriate place.
James Teh [Fri, 10 Jun 2011 10:02:36 +0000 (20:02 +1000)]
Move comment to more appropriate place.

13 years agospeech:
James Teh [Fri, 10 Jun 2011 09:07:16 +0000 (19:07 +1000)]
speech:
* getSpeechTextForProperties: Rename includeCoords to includeTableCellCoords for clarity and default it to True.
* speakObject: Fix error which caused table cell coordinates not to be reported when it should be and vice versa.
* getControlFieldSpeech: Don't return a space if reporting of table cell coordinates is disabled and there are no headers, which was breaking blank detection in speakTextInfo.
* Cosmetic fixes.

13 years agoDocumentFormattingDialog: Change accelerator for Report table cell coordinates to...
James Teh [Fri, 10 Jun 2011 08:47:16 +0000 (18:47 +1000)]
DocumentFormattingDialog: Change accelerator for Report table cell coordinates to o instead of c, as c conflicts with colours.

13 years agoRephrase What's New entry.
James Teh [Fri, 10 Jun 2011 08:46:07 +0000 (18:46 +1000)]
Rephrase What's New entry.

13 years agoInitial code to make reporting of table cell coordinates configurable from Mesar...
James Teh [Fri, 10 Jun 2011 07:49:01 +0000 (17:49 +1000)]
Initial code to make reporting of table cell coordinates configurable from Mesar Hameed.

13 years agoNVDAObjects.window.edit.ITextdocumentTextInfo._getEmbeddedObjectLabel: It seems...
Michael Curran [Fri, 10 Jun 2011 07:48:08 +0000 (17:48 +1000)]
NVDAObjects.window.edit.ITextdocumentTextInfo._getEmbeddedObjectLabel:  It seems that Windows Live Mail still needs  to use IDataObject.getData to get a useful label for its embedded objects, so reinstate that code, but only  if  we can't get useful text from display model. also it now just queryInterfaces directly to IDataObject rather than queryInterface to IOleObject and then calling getclipboardData.

13 years agoUpdate what's new
Michael Curran [Fri, 10 Jun 2011 03:00:33 +0000 (13:00 +1000)]
Update what's new

13 years agoImprove NVDA's support for announcing embedded objects in rich text. This most import...
Michael Curran [Fri, 10 Jun 2011 02:28:56 +0000 (12:28 +1000)]
Improve NVDA's support for announcing embedded objects in rich text. This most importantly allows NVDA to announce the recipiants in the To/CC/BCC fields in Microsoft Outlook. Specific changes:
* NVDAObjects.window.edit.ITextDocumentTextInfo: split out the code that tries to get a label for an embedded object in to its own _getEmbeddedObjectLabel method to make code cleaner.
 * NVDAObjects.window.edit.ITextdocumentTextInfo:  completely rewrite how we get a label for an embedded object. The rule is now: 1. try queryInterface to IAccessible on the embeded object and if  successful use accName as the label. This works in MS Outlook 2007 and above. 2. Use displayModel to get the screen text within the bounding rectangle of the embedded object range. 3.  QueryInterface to IOleObject and use getUserType to make the label. No longer at all try using IDataObject.getData and friends as it is too unpredictable and does not work everywhere.
So as said above: Outlook 2007 and above should use IAccessible::accName. Outlook Express / Outlook pre 2007 will use displayModel. And any other embedded object that does not actually have detectable screen text will use getUserType, which is a description of the object type (e.g. Outlook recipiant).
 * NVDAObjects.window.edit.Edit.TextInfo: if the editAPI is greater than 1 and the window class name ends with 'PT'  its safe to use ITextDocument, even if useITextDocumentSupport is false. Outlook uses RichEdit20WPT and probably other versions, but most likely they all end in PT.
Fixes #864.

13 years agospeech: Stop reporting the read only state when it changes to positive except on...
James Teh [Fri, 10 Jun 2011 01:02:05 +0000 (11:02 +1000)]
speech: Stop reporting the read only state when it changes to positive except on editable text fields.

13 years agospeech.processPositiveStates: Rather than using a condition which checks for a list...
James Teh [Fri, 10 Jun 2011 00:55:46 +0000 (10:55 +1000)]
speech.processPositiveStates: Rather than using a condition which checks for a list of reasons, change the condition to check for any reason other than REASON_CHANGE, since this is probably more what we want and covers REASON_FOCUSENTERED as well. (REASON_QUERY has already been handled at this point.)

13 years agospeech: Don't report submenu for combo boxes. Don't report collapsed/expanded for...
James Teh [Fri, 10 Jun 2011 00:45:31 +0000 (10:45 +1000)]
speech: Don't report submenu for combo boxes. Don't report collapsed/expanded for combo boxes unless explicitly queried.

13 years agospeech.getControlFieldSpeech: Don't report descriptions if the user has disabled...
James Teh [Thu, 9 Jun 2011 23:58:01 +0000 (09:58 +1000)]
speech.getControlFieldSpeech: Don't report descriptions if the user has disabled this.

13 years agoUser Guide: Further clarification of Flat Review reviewing objects inside objects.
James Teh [Thu, 9 Jun 2011 21:42:42 +0000 (07:42 +1000)]
User Guide: Further clarification of Flat Review reviewing objects inside objects.

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 agoFixes bug(s): http://nvda-project.org/ticket/719
Mesar Hameed [Wed, 8 Jun 2011 13:55:56 +0000 (14:55 +0100)]
Fixes bug(s): http://nvda-project.org/ticket/719

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.