OSDN Git Service

nvdajp/nvdajp.git
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".

13 years agogui: Hide Punctuation/symbols option if in secure mode.
James Teh [Wed, 25 May 2011 00:29:56 +0000 (10:29 +1000)]
gui: Hide Punctuation/symbols option if in secure mode.

13 years agoSpeechSymbolsDialog: Save user symbols to disk when applying changes.
James Teh [Wed, 25 May 2011 00:23:47 +0000 (10:23 +1000)]
SpeechSymbolsDialog: Save user symbols to disk when applying changes.

13 years agoSpeechSymbols: Add save() method to save the symbol info.
James Teh [Wed, 25 May 2011 00:21:20 +0000 (10:21 +1000)]
SpeechSymbols: Add save() method to save the symbol info.
As part of this, move the level and preserve string maps into SpeechSymbols, as they are only used there anyway and reverse maps are needed to save.

13 years agoSpeechSymbol: Add __repr__ to make debugging a bit easier.
James Teh [Tue, 24 May 2011 23:08:55 +0000 (09:08 +1000)]
SpeechSymbol: Add __repr__ to make debugging a bit easier.

13 years agoSpeechSymbolsDialog: Use properties instead of getters and setters for readability.
James Teh [Tue, 24 May 2011 23:01:36 +0000 (09:01 +1000)]
SpeechSymbolsDialog: Use properties instead of getters and setters for readability.

13 years agoSpeechSymbolsDialog: Activate the OK button if enter is pressed in the list.
James Teh [Tue, 24 May 2011 22:52:41 +0000 (08:52 +1000)]
SpeechSymbolsDialog: Activate the OK button if enter is pressed in the list.

13 years agoSpeechSymbolsDialog: Invalidate the symbol processor when OK is pressed so that the...
James Teh [Tue, 24 May 2011 21:59:47 +0000 (07:59 +1000)]
SpeechSymbolsDialog: Invalidate the symbol processor when OK is pressed so that the changes will take effect.

13 years agoSpeechSymbolsDialog: Update symbol info in the user's symbol data when OK is pressed...
James Teh [Tue, 24 May 2011 11:26:41 +0000 (21:26 +1000)]
SpeechSymbolsDialog: Update symbol info in the user's symbol data when OK is pressed. Changes do not yet take effect and the data is not yet saved to disk.

13 years agoUse list.index instead of manually scanning.
James Teh [Tue, 24 May 2011 08:06:41 +0000 (18:06 +1000)]
Use list.index instead of manually scanning.

13 years agoSpeechSymbolsDialog: Update the symbol info and list item when any of the editing...
James Teh [Tue, 24 May 2011 08:05:04 +0000 (18:05 +1000)]
SpeechSymbolsDialog: Update the symbol info and list item when any of the editing controls loses focus.

13 years agoSpeechSymbolsDialog: Update the editing portion of the dialog when the symbol is...
James Teh [Tue, 24 May 2011 06:37:51 +0000 (16:37 +1000)]
SpeechSymbolsDialog: Update the editing portion of the dialog when the symbol is changed in the list.

13 years agoSpeechSymbolsDialog: Display the list of symbols. Still can't edit them.
James Teh [Tue, 24 May 2011 06:04:17 +0000 (16:04 +1000)]
SpeechSymbolsDialog: Display the list of symbols. Still can't edit them.

13 years agocharacterProcessing: Rename existing SPEECH_SYMBOL_LEVELS to SPEECH_SYMBOL_LEVEL_IDS...
James Teh [Tue, 24 May 2011 06:00:47 +0000 (16:00 +1000)]
characterProcessing: Rename existing SPEECH_SYMBOL_LEVELS to SPEECH_SYMBOL_LEVEL_IDS. Add new SPEECH_SYMBOL_LEVELS tuple containing all level numbers.

13 years agocharacterProcessing.SpeechSymbols: Use an OrderedDict for symbols isntead of a list...
James Teh [Tue, 24 May 2011 05:27:58 +0000 (15:27 +1000)]
characterProcessing.SpeechSymbols: Use an OrderedDict for symbols isntead of a list, as we need quick access when editing.

13 years agocharacterProcessing: Change the USER_SPEECH_SYMBOL_LEVELS OrderedDict into a normal...
James Teh [Tue, 24 May 2011 03:59:39 +0000 (13:59 +1000)]
characterProcessing: Change the USER_SPEECH_SYMBOL_LEVELS OrderedDict into a normal dict called SPEECH_SYMBOL_LEVEL_LABELS and add the char level, as a localised label is needed for this in the symbol editor GUI.
Add CONFIGURABLE_SPEECH_SYMBOL_LEVELS which only includes the levels that the user can configure (everything except char).

13 years agoInitial work on speech symbols GUI. Not actually functional yet, just adds the dialog...
James Teh [Tue, 24 May 2011 02:09:53 +0000 (12:09 +1000)]
Initial work on speech symbols GUI. Not actually functional yet, just adds the dialog and controls.

13 years agospeech: Fix tiny error we've somehow missed for years: "listwith x items" -> "list...
James Teh [Tue, 24 May 2011 01:49:28 +0000 (11:49 +1000)]
speech: Fix tiny error we've somehow missed for years: "listwith x items" -> "list with x items".
Fixes #1515.

13 years agoNVDA's user interface and documentation now refer to virtual buffers as browse mode...
James Teh [Mon, 23 May 2011 14:55:05 +0000 (00:55 +1000)]
NVDA's user interface and documentation now refer to virtual buffers as browse mode, as the term "virtual buffer" is rather meaningless to most users.
Fixes #1509.

13 years agoUsers can now change the pronunciation of punctuation and other symbols, as well...
James Teh [Mon, 23 May 2011 14:15:39 +0000 (00:15 +1000)]
Users can now change the pronunciation of punctuation and other symbols, as well as the symbol level at which they are spoken.
User symbol data should be placed in a file called symbols-locale.dic in the user configuration directory; e.g. symbols-en.dic.
Data is inherited from the builtin data (just as all locales inherit from English), so only changed info needs to be specified.
Fixes #271.

13 years agoUpdate What's New.
James Teh [Mon, 23 May 2011 14:12:20 +0000 (00:12 +1000)]
Update What's New.

13 years agoMSHTML NVDAOgjevt: skip STYLE tags when navigating around the DOM
Michael Curran [Mon, 23 May 2011 09:39:57 +0000 (19:39 +1000)]
MSHTML NVDAOgjevt: skip STYLE tags when navigating around the DOM

13 years agoMozilla NVDAObject's parent property: when retreaving a parent object with navrelatio...
Michael Curran [Mon, 23 May 2011 09:39:05 +0000 (19:39 +1000)]
Mozilla NVDAObject's parent property: when retreaving a parent object with navrelation nodeChildOf, make sure the IAccessible2 windowHandle is valid.  The annoying  application node  always has a windowHandle of 0 which is broken and therefore we would resort to accLocation to get a window. Plus, the application node  is confusing for focus ancestry, so its better that we never see it anyway.

13 years agoMerge main.
James Teh [Mon, 23 May 2011 06:57:01 +0000 (16:57 +1000)]
Merge main.

13 years agocharacterProcessing: Don't allow the user to specify complex symbols because an error...
James Teh [Mon, 23 May 2011 06:55:54 +0000 (16:55 +1000)]
characterProcessing: Don't allow the user to specify complex symbols because an error will cause the whole processor to fail.

13 years agoUpdated brazilian portuguese user guide.
Peter Vágner [Mon, 23 May 2011 04:57:09 +0000 (06:57 +0200)]
Updated brazilian portuguese user guide.

13 years agobase virtualBuffer: add an isNVDAObjectPartOfLayoutTable method, which can tell you...
Michael Curran [Mon, 23 May 2011 00:54:10 +0000 (10:54 +1000)]
base virtualBuffer: add an isNVDAObjectPartOfLayoutTable method, which can tell you if the given NVDAObject is part of a table in this virtualBuffer marked as layout (The NVDAObject's node in the virtualBuffer must either have table-layout, or table-id which points back to a node with table-layout). MSHTML NVDAObject's presentationType property: for cells, rows, tableBodies and tables return layout if the table is in deed layout, according to the virtualBuffer if this object has one.

13 years agoMSHTML NVDAObject's name property: IE inappropriately generates the name from descend...
Michael Curran [Sun, 22 May 2011 22:43:36 +0000 (08:43 +1000)]
MSHTML NVDAObject's name property: IE inappropriately generates the name from descendants for controls such as menuBars, toolbars, lists, tables and documents. Stop this from happening, while making sure that title and summary is not clobbered.

13 years agoAgain updated AkelEdit support. I have now properly examined changes in their api...
Peter Vágner [Sun, 22 May 2011 14:50:08 +0000 (16:50 +0200)]
Again updated AkelEdit support. I have now properly examined changes in their api and implemented _getLineOffsets method properly. This fixes broken say all.

13 years agoUpdate what's new
Michael Curran [Sun, 22 May 2011 12:54:08 +0000 (22:54 +1000)]
Update what's new

13 years agoMSHTML vbufBackend: the content of sliders and progressbars should just be the value...
Michael Curran [Sun, 22 May 2011 12:33:17 +0000 (22:33 +1000)]
MSHTML vbufBackend:  the content of sliders and progressbars should just be the value (aria-valuenow if its available) rather than its descendant nodes.

13 years agospeech.getControlFieldSpeech: announce progress bars like we do links and graphics...
Michael Curran [Sun, 22 May 2011 10:00:44 +0000 (20:00 +1000)]
speech.getControlFieldSpeech: announce progress bars like we do links and graphics etc.