OSDN Git Service
Michael Curran [Tue, 5 Apr 2011 23:24:37 +0000 (09:24 +1000)]
Merged releases/2011.1 branch
Michael Curran [Tue, 5 Apr 2011 23:22:42 +0000 (09:22 +1000)]
Merged fix for #1425 as the user guide states it works this way.
Peter Vágner [Tue, 5 Apr 2011 06:48:44 +0000 (08:48 +0200)]
Updated czech changes.
Michael Curran [Tue, 5 Apr 2011 05:58:06 +0000 (15:58 +1000)]
NVDAObjects.window.edit.EditTextInfo._getWordOffsets: re-implement word offset support for standard edit controls (pre richEdit) by following the Microsoft documented rule of only breaking on spaces. This code replaces the extremely problematic implementation that used to move the caret by sending key presses, in order to calculate the word offsets.
This implementation of course is much faster, and should no longer cause problems for braille or other code that may want to expand to word during typing.
Microsoft KB article: http://support.microsoft.com/kb/109551
Michael Curran [Tue, 5 Apr 2011 00:19:02 +0000 (10:19 +1000)]
Fix for 1425 (NVDA should make it easier to discover unbound gestures): now when in input help mode, all gestures are logged whether or not they are bound to a script. If bound to a script, then that information is also appended to the log message.
Peter Vágner [Mon, 4 Apr 2011 09:28:40 +0000 (11:28 +0200)]
Updated czech changes,
Updated finnish user guide.
Peter Vágner [Fri, 1 Apr 2011 12:48:14 +0000 (14:48 +0200)]
Updated japanese language file,
Updated french changes.
Peter Vágner [Thu, 31 Mar 2011 19:24:43 +0000 (21:24 +0200)]
Updated italian language file and changes,
Updated finnish changes,
Updated czech user guide.
Peter Vágner [Thu, 31 Mar 2011 04:59:08 +0000 (06:59 +0200)]
arabic changes for 2011.1.1,
Peter Vágner [Thu, 31 Mar 2011 04:58:11 +0000 (06:58 +0200)]
Updated danish language file
James Teh [Wed, 30 Mar 2011 20:56:15 +0000 (06:56 +1000)]
Merge 2011.1.
Mesar Hameed [Wed, 30 Mar 2011 20:38:01 +0000 (21:38 +0100)]
arabic changes for 2011.1.1, small modifications to userguide, critical small changes to interface, and the new changes.
Peter Vágner [Wed, 30 Mar 2011 11:51:13 +0000 (13:51 +0200)]
Added turkish braille table into the braille settings dialog.
Peter Vágner [Wed, 30 Mar 2011 11:45:01 +0000 (13:45 +0200)]
Updated danish user guide
Peter Vágner [Wed, 30 Mar 2011 06:25:29 +0000 (08:25 +0200)]
Updated slovak changes.
Michael Curran [Wed, 30 Mar 2011 04:59:56 +0000 (14:59 +1000)]
No longer register for UIA textChange and textSelectionChange automation events, as this was causing major performance issues in WPF applications using .net 3.5 [apparently]. Certainly for one particular wpf app (#1205) no longer registering makes the app now quite usable. However, due to no longer receiving textSelectionChange, NVDA must use EditableTextWithoutAutoSelectDetection for UIA editable text controls. May partially fix #1205 and #1437, though no testing on XP as yet.
James Teh [Wed, 30 Mar 2011 01:15:09 +0000 (11:15 +1000)]
Update version string.
Michael Curran [Wed, 30 Mar 2011 00:57:31 +0000 (10:57 +1000)]
nvda.pyw: duplicate getInputDesktopName from nvda_service so that it does not have to be imporated (it pulls in too much unrelated code).
Michael Curran [Wed, 30 Mar 2011 00:36:40 +0000 (10:36 +1000)]
nvda.pyw: protect against multiple instances of NVDA being accidentilly started by using a mutex. The mutex name is specific to the desktop and session (hopefully). This new feature should be tested well with the service on secure desktops.
James Teh [Wed, 30 Mar 2011 00:31:25 +0000 (10:31 +1000)]
What's New: Add entry for moveToParentTreeInterceptor fix.
Peter Vágner [Tue, 29 Mar 2011 12:30:47 +0000 (14:30 +0200)]
Updated finnish language file, user guide, language strings for the NVDA installer and changes,
Updated slovak changes.
James Teh [Tue, 29 Mar 2011 11:38:16 +0000 (21:38 +1000)]
Merge 2011.1.
James Teh [Tue, 29 Mar 2011 08:56:12 +0000 (18:56 +1000)]
What's New: Minor tweak.
James Teh [Tue, 29 Mar 2011 08:54:37 +0000 (18:54 +1000)]
Disable logging on secure Windows screens, as this is a security risk.
Fixes #1435.
James Teh [Tue, 29 Mar 2011 07:51:39 +0000 (17:51 +1000)]
NVDAHelper.RemoteLoader64: The file descriptors returned by the fileno() method of Python file objects are not file handles. Therefore, when duplicating the nul file handle for the loader process, query the file handle with msvcrt.get_osfhandle().
This never caused a problem because there always seemed to be a file handle with the same number as the file descriptor we were supplying, though it's very possible it was the wrong one. However, once we have no log file, this fails with an invalid handle error.
In any case, this was *very* incorrect. I'm surprised it hasn't caused us problems before this.
Michael Curran [Tue, 29 Mar 2011 05:46:04 +0000 (15:46 +1000)]
developerGuide: remove double spacing at the beginning of each line via postProc as txt2tags seems to place two spaces before ach line of preformatted text (i.e. our code samples).
James Teh [Tue, 29 Mar 2011 05:25:38 +0000 (15:25 +1000)]
Report space pressed with modifiers other than shift as a command key.
Fixes #1424.
James Teh [Tue, 29 Mar 2011 05:23:47 +0000 (15:23 +1000)]
Don't report shifted characters as command keys.
Fixes #1422.
Michael Curran [Tue, 29 Mar 2011 03:05:32 +0000 (13:05 +1000)]
NVDAObjects.IAccessible.IAccessible.findOverlayClasses: when checking if GeckoPluginWindow should be used, also make sure the childID is 0.
Michael Curran [Tue, 29 Mar 2011 02:50:57 +0000 (12:50 +1000)]
Fix for #1429 (Firefox 4: Can't escape embedded objects using moveToParentTreeInterceptor script):
* NVDAObjects.IAccessible.adobeFlash.Root NVDAObject's parent property: ass accParent is broken on the Adobe Flash root client, instead override it to properly return its window root IAccessible.
* IAccessibleHandler: add NAVRELATION_EMBEDS Mozilla Gecko constant.
* NVDAObjects.IAccessible.mozilla: add a GeckoPluginWindowRoot overlay NVDAObject, which should be used on the window root IAccessible NVDAObject for GeckoPlugin windows (the newer plugin window class in Firefox). This NvDAObject overrides the parent property to appropriately return the document this plugin is embedded in. It does this by fetching the original parent, checking to see if it has a Gecko version, and in deed if its not version 1 (therefore 2 or higher) and then using Mozilla's NAVRELATION_EMBEDS to fetch the active document.
* NVDAObjects.IAccessible.IAccessible.findOverlayClasses: if the window class is GeckoPluginWindow and the object's MSAA objectID is 0 (window root) then use the mozilla.GeckoPluginWindowRoot overlay class.
* globalCommands.GlobalCommands.script_moveToParentTreeInterceptor: rather than just using eventHandler.executeEvent directly to fake the focus event, instead use wx.CallLater to run the executeEvent call 50 ms in to the future. This is needed for Firefox 4 to get around the issue where a focus event is fired on the top window after focus moves back to the document.
Michael Curran [Mon, 28 Mar 2011 03:51:13 +0000 (13:51 +1000)]
Fix for #837 (merge move caret script in to double press of move focus
Michael Curran [Fri, 25 Mar 2011 11:00:38 +0000 (21:00 +1000)]
Merged releases/2011.1 branch
Peter Vágner [Fri, 25 Mar 2011 10:02:51 +0000 (11:02 +0100)]
Updated czech language file and fixed a problem which caused czech quick command keys not to be generated for the official version.
James Teh [Fri, 25 Mar 2011 07:12:04 +0000 (17:12 +1000)]
api.copyToClip(): Catch exceptions from OpenClipboard and return False as callers expect.
Fixes exception when using review_copy script in secure mode.
Michael Curran [Fri, 25 Mar 2011 06:57:12 +0000 (16:57 +1000)]
nvdaHelper: allow nvdaHelperRemoteLoader to compile again by fixing the argument to injection_initialize... oops missed this.
Michael Curran [Fri, 25 Mar 2011 05:55:55 +0000 (15:55 +1000)]
Update changes file to mention clipboard fix.
Michael Curran [Fri, 25 Mar 2011 05:39:30 +0000 (15:39 +1000)]
Do not allow copy/paste at all inside NVDA's UI while in secure mode (e.g. when NVDA is running on the secure desktop -- lock screen -- windows logon). To do this, Only in the NVDA process itself, and only in secure mode, nvdaHelperRemote hooks the OpenClipboard Windows API function and forces it to return false, and does not call the original OpenClipboard. This simply denies access to the clipboard for NVDA's process. Fixes #1421.
James Teh [Wed, 23 Mar 2011 06:19:33 +0000 (16:19 +1000)]
Don't include the Donate menu item in secure mode, as this is a security risk.
Fixes #1419.
Michael Curran [Wed, 23 Mar 2011 01:52:22 +0000 (11:52 +1000)]
NVDAHelper gdiHooks.cpp: remove all comments from fake functions refering to keeping NVDAHelperRemote from unloading. This code was taken out a long time ago therefore the comments are not valid.
Michael Curran [Wed, 23 Mar 2011 01:46:15 +0000 (11:46 +1000)]
nvdaHelper fake_createCompatibleDc: don't create a new displayModel if the real_createCompatibleDc returns NULL. Very rare, but could happen.
James Teh [Tue, 22 Mar 2011 22:31:14 +0000 (08:31 +1000)]
Report space pressed with modifiers other than shift as a command key.
Returning early for space was causing any key press including space to be treated as a non-command key.
Fixes #1424.
James Teh [Tue, 22 Mar 2011 22:17:03 +0000 (08:17 +1000)]
Don't report shifted characters as command keys.
I seem to have forgotten that generalizedModifiers includes the extended flag as well as the VK code. Oops.
Fixes #1422.
James Teh [Tue, 22 Mar 2011 01:20:39 +0000 (11:20 +1000)]
Don't include the Donate menu item in secure mode, as this is a security risk.
Fixes #1419.
James Teh [Mon, 7 Mar 2011 01:49:41 +0000 (11:49 +1000)]
Update version string.
Aleksey Sadovoy [Mon, 7 Mar 2011 01:18:47 +0000 (03:18 +0200)]
Updated Russian language strings for the NVDA installer
Aleksey Sadovoy [Mon, 7 Mar 2011 01:06:14 +0000 (03:06 +0200)]
Update Russian language file and changes, update contributors.
Peter Vágner [Fri, 4 Mar 2011 21:27:56 +0000 (22:27 +0100)]
Updated dutch language file and added user guide in dutch.
Bram Duvigneau [Fri, 4 Mar 2011 19:15:45 +0000 (20:15 +0100)]
Merge
Bram Duvigneau [Fri, 4 Mar 2011 19:13:32 +0000 (20:13 +0100)]
Updated Dutch translation
Bram Duvigneau [Fri, 4 Mar 2011 15:15:12 +0000 (16:15 +0100)]
Added Dutch translation of the user guide
Peter Vágner [Fri, 4 Mar 2011 13:01:20 +0000 (14:01 +0100)]
Updated japanese language file.
Peter Vágner [Thu, 3 Mar 2011 17:47:07 +0000 (18:47 +0100)]
Updated simplified chinese user guide and the language strings for the NVDA installer.
Peter Vágner [Thu, 3 Mar 2011 14:33:27 +0000 (15:33 +0100)]
Updated traditional chinese language file and user guide,
Updated simplified chinese language file.
Peter Vágner [Wed, 2 Mar 2011 21:53:56 +0000 (22:53 +0100)]
Updated finnish user guide and changes.
Peter Vágner [Wed, 2 Mar 2011 06:11:24 +0000 (07:11 +0100)]
Updated croatian language file.
Michael Curran [Wed, 2 Mar 2011 05:41:41 +0000 (15:41 +1000)]
sconstruct: instead of copying nvdaHelper docs to the devDocs directory, move it. Also make sure that when cleaning devDocs, the output/devDocs directory is totally removed.
Michael Curran [Wed, 2 Mar 2011 05:37:34 +0000 (15:37 +1000)]
sconstruct: developerGuide.html is now placed in output/devDocs. scons devDocs is now an alias simply for output/devDocs, which means that scons devDocs will now build anything that ends up there, not just nvdaHelper docs.
Peter Vágner [Tue, 1 Mar 2011 19:30:01 +0000 (20:30 +0100)]
Updated contributers file,
Peter Vágner [Tue, 1 Mar 2011 19:28:22 +0000 (20:28 +0100)]
Updated italian language file, user guide and changes.
Mesar Hameed [Tue, 1 Mar 2011 11:59:55 +0000 (11:59 +0000)]
Updated contributers file, Arabic translation team 2011.1
James Teh [Tue, 1 Mar 2011 11:14:04 +0000 (21:14 +1000)]
Update What's New.
James Teh [Tue, 1 Mar 2011 11:08:29 +0000 (21:08 +1000)]
mshtml and gecko_ia2 vbuf backends: Treat inline-block elements as inline elements instead of block elements; i.e. make them appear on the same line instead of separate lines.
Partial fix for #1378.
James Teh [Tue, 1 Mar 2011 11:00:48 +0000 (21:00 +1000)]
Typo and linguistic fixes.
Michael Curran [Tue, 1 Mar 2011 09:20:59 +0000 (19:20 +1000)]
API documentation in html can now be generated for nvdaHelper. You will need doxygen: see the readme.txt for where to get it. To generate the documentation, run the command: scons devDocs
Specific changes:
* Added a doxygen scons tool, based on the tool from the SCons wiki, with various changes by me. Major changes were auto-detection of doxygen using Windows registry, and some fixes to the way it generates its scons target nodes -- they were relative to the wrong directory.
* Updated nvdaHelper/doxyfile, it still said Virtual Buffer Library 2.0!
* sconstruct: build documentation using nvdaHelper/doxyfile, and copy it to output/devDocs/nvdaHelper. The devDocs alias can be used to build this. More documentation such as epydoc for NVDA itself will also be added at a later stage.
Peter Vágner [Tue, 1 Mar 2011 07:34:28 +0000 (08:34 +0100)]
Updated hungarian user guide and changes,
Updated galician language file and user guide.
Peter Vágner [Mon, 28 Feb 2011 20:40:22 +0000 (21:40 +0100)]
userGuide: Fixed a typo (thx Aron)
Peter Vágner [Mon, 28 Feb 2011 07:24:46 +0000 (08:24 +0100)]
Updated Arabic locale, (userguide, changes ...
Mesar Hameed [Mon, 28 Feb 2011 06:26:12 +0000 (06:26 +0000)]
Updated Arabic locale, (userguide, changes and nvda.po).
Peter Vágner [Sun, 27 Feb 2011 23:26:17 +0000 (00:26 +0100)]
Added changes in polish,
Updated polish language file, language strings for the NVDA installer, user guide,
Updated german language file, user guide and changes,
Updated danish language file,
Updated czech language file, language strings for the NVDA installer and user guide,
Updated slovak user guide and changes.
Peter Vágner [Fri, 25 Feb 2011 12:00:41 +0000 (13:00 +0100)]
vkCodes: fixed a typo which in turn fixes anouncement of left control key press in the NVDA's user language.
Michael Curran [Fri, 25 Feb 2011 02:56:14 +0000 (12:56 +1000)]
Collapsing a combo box in a virtual buffer when focus mode has been forced with NVDA+space no longer auto-switches back to browse mode. Fixes #1386
James Teh [Fri, 25 Feb 2011 01:37:37 +0000 (11:37 +1000)]
English User Guide: Remapping Key Assignments...: Clarify that each entry key can only occur once per section. Note that gesture identifiers ending in a comma must be enclosed in quotes.
James Teh [Fri, 25 Feb 2011 01:25:51 +0000 (11:25 +1000)]
Merge 2011.1.
James Teh [Thu, 24 Feb 2011 22:19:52 +0000 (08:19 +1000)]
Revert recent change to User Guide, as we're well into string freeze now and it's a relatively minor clarification.
Peter Vágner [Thu, 24 Feb 2011 12:56:25 +0000 (13:56 +0100)]
Updated japanese language file and language strings for the NVDA installer,
Added turkish locale specific gesture map fixing inconsistencies and differences compared to the builtin laptop layout,
Updated turkish user guide,
Updated slovak userguide and language strings for the NVDA installer.
Peter Vágner [Thu, 24 Feb 2011 09:18:22 +0000 (10:18 +0100)]
Add ability to copy locale dependand gesture maps to the setup script. Yeah, I know we are in a RC state but functionality is already there it just has to be enabled.
Peter Vágner [Thu, 24 Feb 2011 09:16:42 +0000 (10:16 +0100)]
Some more clarifications for the advanced chapter Remapping Key Assignments and Other Input Gestures
James Teh [Thu, 24 Feb 2011 06:54:29 +0000 (16:54 +1000)]
nvdaHelper remote: injection_winEventCallback: If the process is exiting, just return immediately, as doing anything will probably cause a crash.
At this point, the CRT could be terminated, data structures could be in an undefined state due to ExitProcess terminating our manager thread, etc.
To do this, we set a flag in DllMain when it informs us that the process is terminating.
Fixes crashes when exiting Malwarebytes' Anti-Malware in Windows XP.
Fixes #1289.
Aleksey Sadovoy [Wed, 23 Feb 2011 21:16:41 +0000 (23:16 +0200)]
Added Ukrainian user guide, updated Ukrainian and Russian language files.
James Teh [Wed, 23 Feb 2011 20:57:04 +0000 (06:57 +1000)]
source readme: Clarify that you also need to run scons source if language files are changed.
Peter Vágner [Wed, 23 Feb 2011 13:15:34 +0000 (14:15 +0100)]
When loading gesture map from a file also catch the exception signallingUnicodeDecodeError. It means user is now notified to the fact the file is not utf-8 encoded and NVDA can continue to run.
Peter Vágner [Wed, 23 Feb 2011 06:48:27 +0000 (07:48 +0100)]
Added georgian language file by Beqa.
Updated turkish user guide,
Added user guide in danish,
Updated slovak language file.
James Teh [Wed, 23 Feb 2011 01:00:11 +0000 (11:00 +1000)]
Add developerGuide.html to bzr ignores.
James Teh [Wed, 23 Feb 2011 00:57:25 +0000 (10:57 +1000)]
Rename pluginGuide to developerGuide, as it will eventually contain information about topics other than plugins. Add an Introduction and move the section about Python there.
James Teh [Tue, 22 Feb 2011 10:03:11 +0000 (20:03 +1000)]
Merge 2011.1.
James Teh [Tue, 22 Feb 2011 07:54:23 +0000 (17:54 +1000)]
What's New: Damn. Add missing entry.
Peter Vágner [Fri, 18 Feb 2011 08:00:26 +0000 (09:00 +0100)]
Updated french language file,
Updated polish language file.
Peter Vágner [Thu, 17 Feb 2011 22:55:43 +0000 (23:55 +0100)]
Updated msn messenger appmodule with a turkish translation extending possibleHistoryWindowNames. It now means new incoming messages should be reported with turkish versions of msn as well.
Peter Vágner [Thu, 17 Feb 2011 08:26:31 +0000 (09:26 +0100)]
Updated turkish user guide,
Updated finnish user guide and changes.
Michael Curran [Wed, 16 Feb 2011 11:34:03 +0000 (21:34 +1000)]
plugin guide: some typos and a syntax fix. Patch from Nathaniel Schmidt
Peter Vágner [Wed, 16 Feb 2011 10:43:35 +0000 (11:43 +0100)]
Updated italian language file,
Updated turkish user guide.
Michael Curran [Wed, 16 Feb 2011 07:30:41 +0000 (17:30 +1000)]
Added a draft plugin guide, which covers how to write global plugins and app modules.
The idea is not to include it in the NVDA binary package itself, but perhaps to be downloaded separately from the website. For now it is found as pluginGuide.t2t in the root of the branch. Scons can also build its html equivalent if you type: scons pluginGuide.html.
Feed back would be appreciated.
James Teh [Wed, 16 Feb 2011 02:48:59 +0000 (12:48 +1000)]
mshtml vbuf backend: Ensure that A nodes with an empty href (as opposed to a non-existent href) are treated as links.
It is possible for an A node to have href=, but this is still a link.
In particular, Windows Live Mail seems to do this for all links.
Fixes the issue where some legitimate links were not being identified as links, such as in Windows Live Mail.
James Teh [Tue, 15 Feb 2011 20:47:35 +0000 (06:47 +1000)]
SettingsDialog.__new__: Some subclasses take more than one argument, so accept a variable number of arguments.
Fixes broken dictionary dialog.
James Teh [Tue, 15 Feb 2011 06:07:46 +0000 (16:07 +1000)]
SettingsDialog: Do the existing instance check in __new__ instead of __init__ so that the object isn't even constructed if there is already an instance.
Previously, __del__ was being called even if __init__ raised an exception, so _hasInstance was being cleared when it shouldn't.
Fixes the issue where you could open a second NVDA settings dialog if you tried twice.
James Teh [Tue, 15 Feb 2011 04:50:58 +0000 (14:50 +1000)]
Add missing What's New entry.
James Teh [Tue, 15 Feb 2011 01:25:23 +0000 (11:25 +1000)]
globalCommands: For the scripts that activate settings dialogs, ensure that the function is executed with wx.CallAfter so that modal dialogs don't cause the script to block.
Fixes the issue where NVDA freezes when a user attempts to open a settings dialog using its keyboard shortcut when a settings dialog is already open.
Fixes #1372.
Peter Vágner [Mon, 14 Feb 2011 11:23:55 +0000 (12:23 +0100)]
Added turkish user guide and turkish language strings for the NVDA installer,
Updated turkish language file,
Updated spanish language file, user guide and changes,
Updated finnish language file, user guide and changes,
Updated french language file, user guide, changes and language strings for the NVDA installer.
Peter Vágner [Mon, 14 Feb 2011 10:30:39 +0000 (11:30 +0100)]
Fixed say all in akelpad (#1365)
Michael Curran [Sat, 12 Feb 2011 04:44:09 +0000 (14:44 +1000)]
Useful quick fix for #1363 (SR language not labeled correctly). Now at least it just shows sr, rather than also including the user's default language. Specific changes:
* languageHandler.getLanguageDescription: if localeNameToWindowsLCID returns 0, return None instead of going on and trying to use this 0 LCID to fetch a description. It seems that an LCID of 0 actually means the user's default language (in my case it shows English).
* languageHandler.getAvailableLanguages: Only include a description if getLanguageDescription for the locale does not return None. I.e. the label will either be "description, locale" or just "locale".