OSDN Git Service
James Teh [Mon, 15 Aug 2011 05:01:30 +0000 (15:01 +1000)]
setup.py: Never create nvda.exe any more. Instead, create nvda_noUIAccess.exe and, if --enable-uiAccess is provided, nvda_uiAccess.exe.
Michael Curran [Fri, 12 Aug 2011 06:50:01 +0000 (16:50 +1000)]
installer GUI: use slave filename constant.
Michael Curran [Fri, 12 Aug 2011 06:32:20 +0000 (16:32 +1000)]
Connect it all together! (nvda_slave now supports an 'install' command which runs installer.install. And now the Installer GUI runs this command, waits on it, and closes the progress dialog). In short, this is now runable. Though of course there could be many hidden errors still yet to be found.
Michael Curran [Fri, 12 Aug 2011 06:31:57 +0000 (16:31 +1000)]
installer module:
* fix some module imports (comtypes.client is needed, not just comtypes, and _winreg is needed).
* Make sure to use dynamic displatch for wScript.shell so that comtypes does not needlessly generate typelib code.
* createShortcut: only set a particular value on the shortcut object if its actually been given (not None)
* hardcode the "userConfig" directory for exclusion from program file copying if it exists, rather than trying to use globalVars.appArgs.configPath as when run from slave this is not set.
* The uninstaller display name should be the name "nvda", not the version.
* Fix some case typos (installDir, getDocFilePath)
* fix typo when looping through uninstallerRegInfo (we need the values as well).
* fix arguments for _winreg.DeleteKeyEx
* unregisterInstallation: fetch the start menu folder chosen at install time from the registry.
* install: fix typo of runAtLogon argument.
Michael Curran [Fri, 12 Aug 2011 05:30:59 +0000 (15:30 +1000)]
config.execElevated: use msgWaitforMultipleObjects and peekMessage/translateMessage/displatchMessage rather than waitforSingleObject when waiting for the child process to finish. This allows wx to keep receiving messages and not freeze.
Michael Curran [Thu, 11 Aug 2011 23:39:19 +0000 (09:39 +1000)]
Merged main
Michael Curran [Thu, 11 Aug 2011 23:35:06 +0000 (09:35 +1000)]
nvdahelper's archBuild_sconscript: enable whole-program optimization when compiling with cl and link. This means that when the compiler does optimizing, it can take all the object files in to account, rather than just the current one. an example being where a VbufBackend calls things in VBufStorage, now the comiler will be able to optimize those calls, in theory. Increases the size of the dlls a little, but it is important for backend/storage code to be optimized.
Michael Curran [Thu, 11 Aug 2011 23:04:50 +0000 (09:04 +1000)]
JABHandler._fixBridgeFunc: if the named function cannot be found in the dll, catch the AttributeError and log a warning and return. Its very odd that this would ever happen, but one person has presented a log suggestion that isSameObject is missing. At least now their NVDA will still fully start... though their support for Java Access Bridge will be rather broken if it came time to call isSameObject.
James Teh [Thu, 11 Aug 2011 17:40:27 +0000 (03:40 +1000)]
Rename gui.installer to gui.installerGui so that we can import the non-GUI installer module from this module.
gui.installerGui:
* IndeterminateProgressDialog: Raise thyself on construction.
* createPortableCopy: Display a progress dialog while working.
James Teh [Thu, 11 Aug 2011 17:38:07 +0000 (03:38 +1000)]
installer:
* copyUserConfig: Convert the source config path to an absolute path, as it may be relative and the copy can't handle this.
* CreatePortableCopy: Fix incorrect indentation level for autorun code.
James Teh [Thu, 11 Aug 2011 17:15:24 +0000 (03:15 +1000)]
Move create portable copy GUI into gui.installer.
James Teh [Thu, 11 Aug 2011 16:35:14 +0000 (02:35 +1000)]
IAccessibleHandler.findGroupBoxObject: Don't consider invisible group boxes, even if the location matches.
James Teh [Thu, 11 Aug 2011 16:25:07 +0000 (02:25 +1000)]
installer GUI: Add a progress dialog which will appear during installation. We can't determine the progress of the install, so the progress is indeterminate for now.
James Teh [Thu, 11 Aug 2011 16:02:16 +0000 (02:02 +1000)]
installer GUI: Rename button for browsing for a folder to "Browse...". Don't disable the main dialog while the DirDialog is showing, as this causes problems and isn't actually needed any more anyway.
James Teh [Thu, 11 Aug 2011 11:13:53 +0000 (21:13 +1000)]
installer GUI: Add some accelerators, change some names and add more options.
James Teh [Thu, 11 Aug 2011 08:47:42 +0000 (18:47 +1000)]
Initial code for installer GUI. Doesn't actually do anything yet, but the GUI is usable.
James Teh [Thu, 11 Aug 2011 06:09:48 +0000 (16:09 +1000)]
installer: Fix errors.
Michael Curran [Thu, 11 Aug 2011 00:04:00 +0000 (10:04 +1000)]
Added an intiail try at some install and uninstall functions. Rewrote copyProgramFiles in the process to no longer use SHFileOperation but instead just CopyFileW and other Python code. This may have broken create portable copy -- none of this code has been tessted yet, and the GUI still needs to be written. *** its not usable ***.
Michael Curran [Thu, 11 Aug 2011 00:01:48 +0000 (10:01 +1000)]
Merged main
Michael Curran [Wed, 10 Aug 2011 01:47:12 +0000 (11:47 +1000)]
languageHandler.setLanguage: no need to set language in config.conf as this is already correct. also allows languageHandler to be used outside of a full NVDA (e.g. in slave for installer)
James Teh [Wed, 10 Aug 2011 00:04:12 +0000 (10:04 +1000)]
KeyboardInputGesture.send: Pass the scan code to keybd_event if we have it.
It seems that Windows consoles treat the backspace and arrow keys differently if the scan code is not provided. In the case of received keys, we already have the scan code, so it's easy to provide it.
Fixes weirdness with the backspace and arrow keys in Windows consoles.
Fixes #1612.
Peter Vágner [Tue, 9 Aug 2011 19:23:59 +0000 (21:23 +0200)]
Updated brazilian portuguese developer guide and changes.
Peter Vágner [Tue, 9 Aug 2011 12:36:11 +0000 (14:36 +0200)]
Updated italian symbols and characters descriptions.
Peter Vágner [Tue, 9 Aug 2011 06:44:22 +0000 (08:44 +0200)]
Updated brazilian portuguese user guide, developer guide and changes,
Updated slovak changes.
James Teh [Tue, 9 Aug 2011 03:47:53 +0000 (13:47 +1000)]
watchdog: cosmetic: Rename crashHandler to _crashHandler so it's clear this is private.
James Teh [Tue, 9 Aug 2011 00:32:15 +0000 (10:32 +1000)]
Restart automatically if NVDA crashes.
James Teh [Tue, 9 Aug 2011 00:31:16 +0000 (10:31 +1000)]
nvda.pyw: Wait for the process to exit after calling TerminateProcess. Otherwise, the mutex might not be released and NVDA won't restart.
Fixes failure to start a new copy when restarting; e.g. with control+alt+n.
Peter Vágner [Sun, 7 Aug 2011 06:47:15 +0000 (08:47 +0200)]
Updated bulgarian language strings for the NVDA installer,
Updated finnish changes,
Updated brazilian portuguese user guide and devloper guide.
Peter Vágner [Fri, 5 Aug 2011 12:35:47 +0000 (14:35 +0200)]
Updated brazilian portuguese changes,
Updated slovak changes.
Peter Vágner [Fri, 5 Aug 2011 11:36:08 +0000 (13:36 +0200)]
Updated japanese symbols,
updated finnish symbols and user guide,
updated czech symbols,
updated slovak symbols.
Peter Vágner [Fri, 5 Aug 2011 10:34:25 +0000 (12:34 +0200)]
Merged releases/2011.2
Peter Vágner [Fri, 5 Aug 2011 05:22:20 +0000 (07:22 +0200)]
Updated czech symbols.
Peter Vágner [Fri, 5 Aug 2011 03:20:01 +0000 (05:20 +0200)]
Ooops, updated slovak symbols again.
Peter Vágner [Fri, 5 Aug 2011 03:12:16 +0000 (05:12 +0200)]
Updated finnish language file and user guide,
Updated czech language file, symbols, user guide and changes, Updated slovak symbols.
James Teh [Fri, 5 Aug 2011 00:29:56 +0000 (10:29 +1000)]
Don't fail to start when JAB isn't available.
James Teh [Thu, 4 Aug 2011 23:26:30 +0000 (09:26 +1000)]
Normalise underline and strikethrough attributes for IA2 text.
Peter Vágner [Thu, 4 Aug 2011 13:55:18 +0000 (15:55 +0200)]
Updated brazilian portuguese developers guide,
Updated slovak symbols and user guide.
Aleksey Sadovoy [Thu, 4 Aug 2011 13:05:58 +0000 (16:05 +0300)]
updated Russian changes
James Teh [Thu, 4 Aug 2011 07:16:57 +0000 (17:16 +1000)]
gui: Despite changes to nvdaHelper, it seems the NVDA window still sometimes refuses to hide in some rare cases. We now hackishly try to detect and fix this.
Peter Vágner [Thu, 4 Aug 2011 06:58:28 +0000 (08:58 +0200)]
Updated brazilian portuguese developer guide.
Michael Curran [Thu, 4 Aug 2011 06:17:37 +0000 (16:17 +1000)]
NVDAObjects.JAB.JAB: change another bit of code to use JOBJECT64 previously missed
Michael Curran [Thu, 4 Aug 2011 05:01:17 +0000 (15:01 +1000)]
Support for Java Access Bridge 2.02 (including for 64 bit JVMs). Hopefully does not break older Java Access Bridge versions.
Specific changes:
* Rather than loading windowsAccessBridge.dll in initialize, load either windowsAccessBridge-32 or windowsAccessBridge at the top of JABHandler, and take note of which one worked (whether we're using legacy or not).
* Rewrite defines of all structs, types and function prototypes using java-specific types (jint, JOBJECT64) and make sure that JOBJECT64 is 64 bit for the new java access bridge and 32 bit for legacy.
* Don't ever handle JOBJECT64 as an int, but instead always an opaque type.
James Teh [Thu, 4 Aug 2011 02:43:14 +0000 (12:43 +1000)]
Support reporting of text formatting in Mozilla Gecko (Firefox, Thunderbird, etc.).
Simplified the IA2 text scanning code in the Gecko vbuf backend in the process.
Fixes #394.
James Teh [Thu, 4 Aug 2011 02:35:05 +0000 (12:35 +1000)]
Split code which normalises a FormatField created from IA2 text attributes into a module level function which can be reused elsewhere.
Peter Vágner [Wed, 3 Aug 2011 07:33:06 +0000 (09:33 +0200)]
Updated slovak user guide
Peter Vágner [Wed, 3 Aug 2011 05:15:02 +0000 (07:15 +0200)]
Added developer guide in brazilian portuguese (not yet autogenerated to html),
Updated brazilian portuguese user guide,
Updated hungarian symbols and language file,
Updated finnish language file, user guide and changes.
Peter Vágner [Tue, 2 Aug 2011 11:32:51 +0000 (13:32 +0200)]
Updated french changes,
Updated slovak user guide.
Peter Vágner [Tue, 2 Aug 2011 05:06:39 +0000 (07:06 +0200)]
Updated hebrew language file.
Michael Curran [Tue, 2 Aug 2011 04:08:11 +0000 (14:08 +1000)]
It is now possible to create a portable copy of NVDA under Tools in the NVDA menu. Specific changes:
* Added an installer module, which for now contains a CreatePortableCopy class, which takes a destination path, and booleans stating if the userConfig could be copied, and if an autorun file should be created. This code makes use of Windows copy dialogs which handle progress and conflicts themselves. However as these functions block, all the calls are made in a separate thread, and we wait on the thread while message pumping.
* Added a Create Portable Copy... item to the tools menu, which brings up a directory chooser dialog to choose where to place the portable copy, it also asks whether or not you want to copy the user config, and if this is a removable drive, it also asks if it should create an autorun file. Finally it tells you if there is success or an error after using installer.CreatePortableCopy to create the copy.
Peter Vágner [Mon, 1 Aug 2011 18:52:28 +0000 (20:52 +0200)]
Updated hungarian symbols, user guide and changes.
Peter Vágner [Mon, 1 Aug 2011 12:35:21 +0000 (14:35 +0200)]
Updated czech language file.
Peter Vágner [Mon, 1 Aug 2011 05:06:17 +0000 (07:06 +0200)]
Added icelandic symbols,
Updated icelandic language file and language strings for the NVDA installer.
Michael Curran [Mon, 1 Aug 2011 02:37:11 +0000 (12:37 +1000)]
launcher: replace missing product define with nvda
Michael Curran [Mon, 1 Aug 2011 02:03:15 +0000 (12:03 +1000)]
If NVDA is started from the launcher, let the launcher handle NVDA restarts rather than NVDA itself. Specifically:
* The launcher passes a --launcher argument to NVDA to let NVDA know that its been started by the launcher.
* core.restart: if started by the launcher, just stop the wx mainloop and set globalVars.exitCode to 2 to denote restart.
* nvda.pyw: at the very end, specifically call sys.exit, and give it a code of globalVars.exitcode.
* Launcher: if the exit code of NVDA is 2, then loop back around restarting NVDA again.
Peter Vágner [Mon, 1 Aug 2011 01:21:36 +0000 (03:21 +0200)]
Added developer guide in german (note this is not yet compiled into html automatically),
Updated brazilian portuguese user guide and readme,
Updated german language file, symbols, characters descriptions, user guide and changes.
Michael Curran [Mon, 1 Aug 2011 01:06:34 +0000 (11:06 +1000)]
setup.py: build an nvda_uiAccess.exe that always has its uiAccess set to true. sconstruct: also sign nvda_uiAccess.exe. Once we replace the nsis installer, then the --enable-uiAccess argument and related code can be removed from setup.py and sconstruct but now still used by dist_installler
Michael Curran [Mon, 1 Aug 2011 00:40:14 +0000 (10:40 +1000)]
Added an nsis-based NVDA portable launcher, based on both the NVDA cd launcher and installer code.
This launcher is a single executable, which automatically self-extracts and runs a portable version of NVDA.
To build the launcher, for now run scons launcher.
Currently its very basic. Eventually support for restarting NVDA, playing a sound while extracting could be added.
Eventually launcher will replace portable, and the installer will be built into NVDA removing the need for the NSIS installer.
Peter Vágner [Sun, 31 Jul 2011 20:43:04 +0000 (22:43 +0200)]
Merged in updates to the arabic and dutch localizations from their respective teams.
Peter Vágner [Sun, 31 Jul 2011 20:41:33 +0000 (22:41 +0200)]
Updated hungarian user guide, changes and readme,
Updated portuguese symbols,
Updated slovak language file, user guide and changes.
Mesar Hameed [Sun, 31 Jul 2011 17:09:13 +0000 (18:09 +0100)]
updated duch changes and userguide (not complete, but more than before).
Mesar Hameed [Sun, 31 Jul 2011 17:06:15 +0000 (18:06 +0100)]
updating Arabic userguide and changes.
Peter Vágner [Sun, 31 Jul 2011 10:43:42 +0000 (12:43 +0200)]
Added bulgarian language strings for the NVDA installer and bulgarian changes,
Updated bulgarian language file, symbols and user guide,
Updated slovak symbols and user guide.
Peter Vágner [Sat, 30 Jul 2011 19:02:18 +0000 (21:02 +0200)]
Updated japanese user guide,
Updated french changes.
Peter Vágner [Fri, 29 Jul 2011 09:57:15 +0000 (11:57 +0200)]
Updated hungarian language file and changes,
updated traditional chinese language file, symbols and user guide.
Aleksey Sadovoy [Thu, 28 Jul 2011 23:38:57 +0000 (02:38 +0300)]
Updated Ukrainian language file, user guide and symbols.
Peter Vágner [Thu, 28 Jul 2011 06:59:55 +0000 (08:59 +0200)]
Updated portuguese language file, character descriptions and synbols,
updated finnish changes.
James Teh [Thu, 28 Jul 2011 01:50:31 +0000 (11:50 +1000)]
MSHTMLTextInfo.move: When moving backwards, expand to character first, as it seems to correct things when at the end of the line. Fixes backspacing at the end of the line.
Fixes #1605.
Peter Vágner [Wed, 27 Jul 2011 09:10:24 +0000 (11:10 +0200)]
Updated italian language file, user guide and changes.
Peter Vágner [Wed, 27 Jul 2011 08:28:28 +0000 (10:28 +0200)]
Updated finnish symbols,
Updated japanese language file, user guide and language strings for the NVDA installer,
Updated brazilian portuguese user guide and changes.
Michael Curran [Wed, 27 Jul 2011 03:02:26 +0000 (13:02 +1000)]
Outlook appModule: properly fixes #1285 allowing focus to be tracked in the message list while running NVDA with UIAccess/administrator privilages. It seems that we are not able to fetch the outlook version in these situations as trying to tet the object model entirely fails. Instead allow this code to be used simply if the childID is 0 as this is only the case in Outlook 2010.
James Teh [Tue, 26 Jul 2011 08:45:46 +0000 (18:45 +1000)]
Merge 2011.2.
James Teh [Tue, 26 Jul 2011 08:45:01 +0000 (18:45 +1000)]
logHandler: Ignore errors when attempting to play the Windows critical stop sound, as these errors were clobbering the real critical error message.
It's worth noting that playing this sound will fail if, for example, the sound scheme is set to No Sounds in Windows 7.
James Teh [Tue, 26 Jul 2011 07:06:07 +0000 (17:06 +1000)]
Merge 2011.2.
James Teh [Tue, 26 Jul 2011 05:08:44 +0000 (15:08 +1000)]
Minor change to What's New.
James Teh [Tue, 26 Jul 2011 05:01:58 +0000 (15:01 +1000)]
Update What's New.
Michael Curran [Tue, 26 Jul 2011 03:59:13 +0000 (13:59 +1000)]
MSHTML VBufBackend: look at IHTMLCurrentStyle::listStyleType to choose whether numbering, bullets, or nothing, should be added to the buffer before a list item. Previously this was decided simply by the tag name. This is a partial fix for #1671 where NVDA was rendering bullets or numbers for list items with the list-style-type style set to none. This includes Google results.
Peter Vágner [Mon, 25 Jul 2011 10:52:27 +0000 (12:52 +0200)]
Updated hebrew language file,
Updated finnish language file and user guide.
Peter Vágner [Mon, 25 Jul 2011 07:26:57 +0000 (09:26 +0200)]
Added changes in vietnamese,
Updated brazilian portuguese symbols, user guide and changes,
Updated turkish symbols,
Updated finnish changes.
Michael Curran [Mon, 25 Jul 2011 07:25:56 +0000 (17:25 +1000)]
Mozilla IAccessible NVDAObject: support the level attribute exposed via IAccessible2::attributes as part of positionInfo. This allows heading levels to be reported with object navigation.
Michael Curran [Fri, 22 Jul 2011 23:41:48 +0000 (09:41 +1000)]
MSHTML vbufBackend: Fix for #1685. HTML elements with a display style of None no longer cause line breaks in browse mode. We do add these elements to the buffer, but never give them any content. This is so we can still get events where the display style changes to not None. But previously these nodes were set as block nodes. Now they are not -- thus now being completely hidden, even from line calculation. Tested on radikal.com.tr/Default.aspx?aType=RadikalYazar&ArticleID=
1057171&Yazar=EZG%DD%20BA%DEARAN&Date=22.07.2011&CategoryID=96
Michael Curran [Fri, 22 Jul 2011 23:18:06 +0000 (09:18 +1000)]
MSHTML VBufBackend: fix for #1688. Only check the notAllWhitespace variable to see if the textNode content should be ignored if we're not allowing preformatted text.
James Teh [Thu, 21 Jul 2011 21:15:51 +0000 (07:15 +1000)]
English User Guide: Fix syntax error I accidentally introduced a while ago. Fixes broken Newfon heading.
Fixes #1683.
Michael Curran [Wed, 20 Jul 2011 23:31:11 +0000 (09:31 +1000)]
VirtualBufferTextInfo._getTextRange: fix two very small bugs where arrowing by character or word in a blank virtualBuffer would say nothing (not even blank) due to an exception. Simply make sure that an empty unicode string is returned from the method if no text can be retreaved.
Peter Vágner [Wed, 20 Jul 2011 07:33:17 +0000 (09:33 +0200)]
Updated spanish user guide, changes and symbols,
Updated galician user guide, changes and symbols,
Updated finnish language file, characters descriptions and symbols.
Michael Curran [Wed, 20 Jul 2011 03:16:23 +0000 (13:16 +1000)]
MSHTML VBufBackend: improve the code that tries to strip unneeded whitespace that appears in IE9 documents by making sure that whitespace is only stripped from the left if this is the first textNode in a block node.
This means it will no longer incorrectly remove the space that appears in a sentence straight after a link. The code however will always still collapse all remaining whitespace down to one single space, and also completely remove content that only has whitespace and nothing else.
The example document that showed this problem was: http://en.wikipedia.org/wiki/Big_Joe_Turner
The problem is in the intro paragraph.
Michael Curran [Tue, 19 Jul 2011 06:41:18 +0000 (16:41 +1000)]
OffsetsTextInfo._getWordPOffsets: convert NULL and non-break space both to space before searching for word break offsets. These two characters are not classed as word breaks by uniscribe, but its probably better that they are. Especially for displayModel where we use NULL to delimit text chunks. Fixes #1663
Peter Vágner [Mon, 18 Jul 2011 10:16:53 +0000 (12:16 +0200)]
Added vietnamese user guide,
Updated vietnamese language file.
Peter Vágner [Fri, 15 Jul 2011 13:30:07 +0000 (15:30 +0200)]
Merged updates from arabic and dutch teams
Peter Vágner [Fri, 15 Jul 2011 13:23:34 +0000 (15:23 +0200)]
Updated brazilian portuguese changes.
Updated slovak language file.
Mesar Hameed [Fri, 15 Jul 2011 10:36:40 +0000 (11:36 +0100)]
Updated Duch nvda.po langstrings,, added symbols.dic added changes.t2t removed whats new.txt. Translations provided by Bram Duvigneau
Mesar Hameed [Fri, 15 Jul 2011 10:15:00 +0000 (11:15 +0100)]
updated Arabic symbols.dic nvda.po changes and userguide from arabic translation team.
Peter Vágner [Thu, 14 Jul 2011 08:17:29 +0000 (10:17 +0200)]
Added language strings for the NVDA installer
Peter Vágner [Thu, 14 Jul 2011 08:00:44 +0000 (10:00 +0200)]
Added danish symbols,
Updated french language file and changes.
Peter Vágner [Tue, 12 Jul 2011 20:55:38 +0000 (22:55 +0200)]
Updated turkish language file and user guide.
Peter Vágner [Tue, 12 Jul 2011 20:52:31 +0000 (22:52 +0200)]
Updated french language file, symbols, user guide and changes,
Updated finnish user guide and changes
Updated croatian language file,
Added translated licence into brazilian portuguese,
Updated brazilian portuguese language file, user guide and changes.
Peter Vágner [Mon, 11 Jul 2011 06:49:51 +0000 (08:49 +0200)]
Updated french language file, symbols, user guide and changes,
Updated finnish user guide and changes
Updated croatian language file,
Added translated licence into brazilian portuguese,
Updated brazilian portuguese language file, user guide and changes.
James Teh [Mon, 11 Jul 2011 02:44:58 +0000 (12:44 +1000)]
Bump version to 2011.3dev.
Aleksey Sadovoy [Sat, 9 Jul 2011 15:08:52 +0000 (18:08 +0300)]
Updated Russian and Ukrainian language files and symbols, added Ukrainian character descriptions.
James Teh [Fri, 8 Jul 2011 09:16:25 +0000 (19:16 +1000)]
What's New: Add mention of new NVDA languages.
James Teh [Fri, 8 Jul 2011 09:07:15 +0000 (19:07 +1000)]
Updated MDV Lilli braille display driver. Requires updated lilli.dll.
Fixes #241.