OSDN Git Service

nvdajp/nvdajp.git
12 years agonvdaHelperRemote: Make sure that minhook.dll really gets unloaded properly when apiHo...
Michael Curran [Thu, 19 Apr 2012 23:00:51 +0000 (09:00 +1000)]
nvdaHelperRemote: Make sure that minhook.dll really gets unloaded properly when apiHooks_terminate is called. This means calling FreeLibrary to match our explicit LoadLibrary in apiHooks_initialize, telling the linker to support delayLoad unloading with /delay:unload, and also by calling __FUnloadDelayLoadedDLL2("minHook.dll") to cleanly unload the delay loaded minHook.dll. Also pass /delay:nobind to the linker as this can speed up loading a bit as we never need to supported pre-bounded dlls, in fact this would be bad for minhook anyway.

12 years agoFix a typo in a log call
Michael Curran [Thu, 19 Apr 2012 22:20:36 +0000 (08:20 +1000)]
Fix a typo in a log call

12 years agomerged main
Michael Curran [Thu, 19 Apr 2012 22:13:32 +0000 (08:13 +1000)]
merged main

12 years agonvdaHelperLocal: replace all the old fprintf calls with LOG_ERROR and also add a...
Michael Curran [Thu, 19 Apr 2012 11:27:42 +0000 (21:27 +1000)]
nvdaHelperLocal: replace all the old fprintf calls with LOG_ERROR and also add a few more while we're at it.

12 years agoMake it possible to log messages from NVDAHelperLocal.
Michael Curran [Thu, 19 Apr 2012 11:06:31 +0000 (21:06 +1000)]
Make it possible to log messages from NVDAHelperLocal.
Specific changes:
* move log.h out of nvdaHelper/remote to nvdaHelper/common and change all NVDAHelper remote and vbuf cpp files to include the moved file.
* nvdaHelperLocal.cpp: Implement logMessage which just calls nvdaControllerInternal_logMessage giving a processID of 0 to denote this is local. Note that calling nvdaControllerInternal_logMessage is direct hear, no RPC.
* nvdaHelper.py: If nvdaControllerInternal_logMessage is called with pid of 0 then  make the message's codePath say its from nvdaHelperLocal.

12 years agocontrolTypes.py: improve translator comments for "not selected".
Mesar Hameed [Thu, 19 Apr 2012 06:42:00 +0000 (07:42 +0100)]
controlTypes.py: improve translator comments for "not selected".

12 years agonvdaHelperLocal: Use security descriptors allowing everyone, rather than just authent...
Michael Curran [Thu, 19 Apr 2012 00:18:22 +0000 (10:18 +1000)]
nvdaHelperLocal: Use security descriptors allowing everyone, rather than just authenticated users. Not good but Adobe Reader X seems to need this.

12 years agoRemove extras/auto run from removable drive, as NVDA can now generate autorun.inf...
James Teh [Thu, 19 Apr 2012 00:08:26 +0000 (10:08 +1000)]
Remove extras/auto run from removable drive, as NVDA can now generate autorun.inf itself.

12 years agosource readme: Update URL for Handy Tech SDK.
James Teh [Wed, 18 Apr 2012 23:39:17 +0000 (09:39 +1000)]
source readme: Update URL for Handy Tech SDK.

12 years agoMerged main
Michael Curran [Wed, 18 Apr 2012 23:08:48 +0000 (09:08 +1000)]
Merged main

12 years agoAlso commit change to readme.txt
Michael Curran [Wed, 18 Apr 2012 14:37:25 +0000 (00:37 +1000)]
Also commit change to readme.txt

12 years agoWe now use the most recent NSIS UAC plug-in (version 0.2.4). Please place uac.nsh...
Michael Curran [Wed, 18 Apr 2012 13:48:40 +0000 (23:48 +1000)]
We now use the most recent NSIS UAC plug-in (version 0.2.4). Please place uac.nsh and ansi\\uac.dll in the uninstaller directory. Fixes #1661

12 years agoWhen NVDA is started with --launcher (including running the launcher executable itsel...
Michael Curran [Wed, 18 Apr 2012 03:22:47 +0000 (13:22 +1000)]
When NVDA is started with --launcher (including running the launcher executable itself and when NVDA  is performing an update) the current user's installed user config (in appData) is used if it already exists.
      Specific changes:
        * nvda.pyw: set the configPath option by default to None rather than a default path.
        * config.getUserDefaultconfigPath: Add a keyword argument 'useInstalledUserConfigPathIfExists' which if set to true will use the installed userConfig path (appData) if it exists, even if this is not an installed copy.
        * core.main: if configPath is None (was not passed in on the commandline) then use config.getUserDefaultconfigPath setting useInstalledUserconfigPathIfExists to true if --launcher was given.
        * Initialize the config directory in core.main after the configPath hasbeen set, rather than in nvda.pyw.

12 years agoIn Winamp, braille is now correctly updated when you move to a different item in...
James Teh [Wed, 18 Apr 2012 10:34:32 +0000 (20:34 +1000)]
In Winamp, braille is now correctly updated when you move to a different item in the Playlist Editor.
Fixes #1912.

12 years agoIn browse mode in Adobe Reader, it is now possible to navigate to headings without...
James Teh [Wed, 18 Apr 2012 10:24:16 +0000 (20:24 +1000)]
In browse mode in Adobe Reader, it is now possible to navigate to headings without a level using quick navigation and the Elements List.
Fixes #2181.

12 years agoDetection of word breaks now works correctly where whitespace is followed by certain...
James Teh [Wed, 18 Apr 2012 10:15:06 +0000 (20:15 +1000)]
Detection of word breaks now works correctly where whitespace is followed by certain punctuation.
Fixes #1656.

12 years agocontrolTypes: Add translator comment for "block quote".
James Teh [Tue, 17 Apr 2012 23:40:10 +0000 (09:40 +1000)]
controlTypes: Add translator comment for "block quote".

12 years agospeech: Add translator comment for "not %s".
James Teh [Tue, 17 Apr 2012 19:43:22 +0000 (05:43 +1000)]
speech: Add translator comment for "not %s".

12 years agoupdateCheck.DonateRequestDialog: Change the label of the Close button to Not now...
James Teh [Tue, 17 Apr 2012 19:34:20 +0000 (05:34 +1000)]
updateCheck.DonateRequestDialog: Change the label of the Close button to Not now to make its purpose clearer. Morph the Donate button into a Done button after it has been pressed, which then closes the dialog.

12 years agoSmall change to allow "not selected", and "not checked"
Mesar Hameed [Tue, 17 Apr 2012 14:31:35 +0000 (15:31 +0100)]
Small change to allow "not selected", and "not checked"
to be localized in a better way than concatinating the translation of "not" and "selected/checked".

Fixes #2235.

12 years agomerged main
Michael Curran [Tue, 17 Apr 2012 00:31:37 +0000 (10:31 +1000)]
merged main

12 years agoinstallerGui: Remove unnecessary code.
James Teh [Mon, 16 Apr 2012 23:50:52 +0000 (09:50 +1000)]
installerGui: Remove unnecessary code.

12 years agoinstallerGui: Display the error icon in error message boxes.
James Teh [Mon, 16 Apr 2012 23:24:17 +0000 (09:24 +1000)]
installerGui: Display the error icon in error message boxes.

12 years agoinstallerGui: Translator comments.
James Teh [Mon, 16 Apr 2012 23:21:45 +0000 (09:21 +1000)]
installerGui: Translator comments.

12 years agoCreate portable copy dialog: The portable directory field is left blank by default...
Michael Curran [Mon, 16 Apr 2012 12:32:28 +0000 (22:32 +1000)]
Create portable copy dialog: The portable directory field is left blank by default. The browse dialog will either start from the typed portable directory or c: if its blank. When pressing continue, A messageBox is now shown if the portable directory is blank, or if the drive the portable directory is on does not exist. Fixes #2208

12 years agoTurkish (tr):
Cagri Dogan [Mon, 16 Apr 2012 11:45:11 +0000 (12:45 +0100)]
Turkish (tr):
  symbols.dic
  userGuide.t2t matching 5070
  nvda.po matching 5077

12 years agoTamil (ta):
Dinakar T.D. [Mon, 16 Apr 2012 11:44:51 +0000 (12:44 +0100)]
Tamil (ta):
  userGuide.t2t matching 5070
  nvda.po matching 5066

12 years agoSlovak (sk):
Ondrej Rosik [Mon, 16 Apr 2012 11:44:33 +0000 (12:44 +0100)]
Slovak (sk):
  symbols.dic
  changes.t2t matching 5059
  userGuide.t2t matching 5063
  nvda.po almost matching 5066

12 years agoPortuguese (pt_PT):
Diogo Costa [Mon, 16 Apr 2012 11:43:31 +0000 (12:43 +0100)]
Portuguese (pt_PT):
  symbols.dic
  userGuide.t2t matching: insufficient data
  nvda.po matching 5066

12 years agoBrazilian Portuguese (pt_BR):
Mesar Hameed [Mon, 16 Apr 2012 11:43:12 +0000 (12:43 +0100)]
Brazilian Portuguese (pt_BR):
  userGuide.t2t matching 5057
  nvda.po matching 5066

Authors: Cleverson Casarin Uliana <clever92000@yahoo.com.br>, Marlin Rodrigues <marlincgrodrigues@yahoo.com.br>

12 years agoinstaller.registerInstallation: correctly create the app path NVDA registry key so...
Michael Curran [Mon, 16 Apr 2012 10:54:33 +0000 (20:54 +1000)]
installer.registerInstallation: correctly create the app path NVDA registry key so that NVDA can be again started from the Run dialog. It needed to be the full path to the exe, and "" should be used instead of "@" to set the default subkey. Fixes #2247

12 years agobase NVDAObject: add a 'cellCoordsText' property which can be used to override prese...
Michael Curran [Mon, 16 Apr 2012 06:53:08 +0000 (16:53 +1000)]
base NVDAObject: add a 'cellCoordsText' property which can be used to override  presentation of row and column numbers with a different format such as A1. Speech: announce cellCoordsText instead of row and column numbers if its implemented. Excel and SOFFICE: Make use of cellCoordsText for spreadsheet cell coordinates. This now means that specifically in these spreadsheets, the cell coordinates will be spoken after the value rather than before. Announcement of cell coordinates can be turned off all together in the document formatting dialog. Note that Braille does not yet seem to present row and column info at all for NVDAObjects yet.

12 years agoupdateCheck, installerGui: Hide the progress dialog before destroying it. For updateC...
James Teh [Mon, 16 Apr 2012 09:02:09 +0000 (19:02 +1000)]
updateCheck, installerGui: Hide the progress dialog before destroying it. For updateCheck, make sure the Python object gets deleted as well.
This seems to fix the crash after updating and the issue where the progress dialog would still show while the message box was being displayed. I'm not sure why this is necessary, but it seems Destroy is delayed somehow.

12 years agoPolish (pl):
Hubert Meyer [Mon, 16 Apr 2012 07:05:24 +0000 (08:05 +0100)]
Polish (pl):
  userGuide.t2t matching 5057
  nvda.po almost matching 5066

12 years agoNorwegian bokmål (nb_NO):
Mesar Hameed [Mon, 16 Apr 2012 07:05:08 +0000 (08:05 +0100)]
Norwegian bokmål (nb_NO):
  nvda.po matching 5070

Authors: David Hole <balubathebrave@gmail.com>, Bjornar Seppola <bjornar@seppola.net>

12 years agoJapanese (ja):
Mesar Hameed [Mon, 16 Apr 2012 07:00:18 +0000 (08:00 +0100)]
Japanese (ja):
  changes.t2t matching 5053
  nvda.po matching 5077

Authors: Katsutoshi Tsuji <tsuji-katsutoshi@mitsue.co.jp>, Nakamura Kiyochika <nakamura-kiyochika@mitsue.co.jp>

12 years agoItalian (it):
Simone Dal Maso [Mon, 16 Apr 2012 06:55:11 +0000 (07:55 +0100)]
Italian (it):
  userGuide.t2t matching 5057
  changes.t2t matching 5059
  nvda.po matching 5066

12 years agoFrench (fr):
Michel such [Mon, 16 Apr 2012 06:50:05 +0000 (07:50 +0100)]
French (fr):
  nvda.po matching 5066

12 years agoFinnish (fi):
Jani Kinnunen [Mon, 16 Apr 2012 06:47:15 +0000 (07:47 +0100)]
Finnish (fi):
  symbols.dic
  changes.t2t matching 5059
  userGuide.t2t matching 5070
  nvda.po matching 5077

12 years agoGalician (gl):
Juan C. buno [Mon, 16 Apr 2012 06:44:55 +0000 (07:44 +0100)]
Galician (gl):
  userGuide.t2t matching 5063
  changes.t2t matching 5059
  nvda.po matching 5066

12 years agoSpanish (es):
Juan C. buno [Mon, 16 Apr 2012 06:44:52 +0000 (07:44 +0100)]
Spanish (es):
  userGuide.t2t matching 5063
  changes.t2t matching 5059
  nvda.po matching 5066

12 years agoGerman (de):
Mesar Hameed [Mon, 16 Apr 2012 06:41:16 +0000 (07:41 +0100)]
German (de):
  userGuide.t2t matching 5070
  changes.t2t matching 5059
  nvda.po matching 5070

Authors: Bernd Dorer <bernd_dorer@yahoo.de>, David Parduhn <xkill85@gmx.net>

12 years agoDanish (da):
Daniel K. Gartmann [Mon, 16 Apr 2012 06:37:33 +0000 (07:37 +0100)]
Danish (da):
  symbols.dic corrections.

12 years agoCzech (cs):
Radek zalud [Mon, 16 Apr 2012 06:36:12 +0000 (07:36 +0100)]
Czech (cs):
  nvda.po almost matching 5070

12 years agoArabic (ar):
<Fatma> [Mon, 16 Apr 2012 06:28:52 +0000 (07:28 +0100)]
Arabic (ar):
  symbols.dic small correction
  changes.t2t matching 5059
  userGuide.t2t matching 5070
  nvda.po almost matching 5070

12 years agomerged main
Michael Curran [Mon, 16 Apr 2012 03:29:32 +0000 (13:29 +1000)]
merged main

12 years agonvdaHelper.nvdaControllerInternal_requestRegistration: use a c_long rather than a...
Michael Curran [Mon, 16 Apr 2012 03:27:26 +0000 (13:27 +1000)]
nvdaHelper.nvdaControllerInternal_requestRegistration: use a c_long rather than a c_void_p to hold the bindingHandle as that is what all the other functype definitions expect. Allows displayModel methods to work again.

12 years agoupdateCheck.UpdateDownloader: Display an error message when an error occurs.
James Teh [Mon, 16 Apr 2012 02:10:51 +0000 (12:10 +1000)]
updateCheck.UpdateDownloader: Display an error message when an error occurs.

12 years agocosmetic: Fix indentation.
James Teh [Mon, 16 Apr 2012 01:56:34 +0000 (11:56 +1000)]
cosmetic: Fix indentation.

12 years agoAdd translator comments for the progress bar output options in the Object Presentatio...
James Teh [Mon, 16 Apr 2012 01:46:00 +0000 (11:46 +1000)]
Add translator comments for the progress bar output options in the Object Presentation settings dialog.

12 years agoinstallerGui: Add translator comments.
James Teh [Mon, 16 Apr 2012 01:32:23 +0000 (11:32 +1000)]
installerGui: Add translator comments.

12 years agoA bit of a re-write to nvdahelper injection and rpc code to allow NVDA access to...
Michael Curran [Mon, 16 Apr 2012 01:24:15 +0000 (11:24 +1000)]
A bit of a re-write to nvdahelper injection and rpc code to allow NVDA access to inproc rpc interfaces such as virtualBuffers hosted in an appContainer process (e.g. metro app). Assuming NVDA has the UIAccess privilidge, virtualBuffers are now available in metro apps such as Store.
Specific changes:
   * On win8 nvdaHelperLocal registers the nvdaController and nvdaControllerInternal interfaces using the new RpcServerRegisterIf3, allowing the use of a security descriptor which specifically allows access from AppContainer integrity processes. However as the security descriptor overrides any defaults, it also for now allows access from any authenticated users  -- this could be tightened up.
* nvdaInprocUtils now has two new methods: registerNVDAProcess and unregisterNVDAProcess, plus an rundown function for the context handle registerNVDAProcess provides. When injection is all initialized, NVDA can call registerNVDAprocess and when it wants the inproc code to terminate it can call unregisterNVDAProcess, or just break the connection or exit. registerNVDAProcess sets an nvdaUnregisteredEvent to nonSignaled, which the inproc code uses to wait on. UnregisterNVDAProcess (also called by the rundown if the connection breaks) sets this event to signaled to instruct the inproc code to terminate.
* nvdaHelperRemote: remove the injectionDoneEvent and any code that waited on it or the NVDA process. Its no longer needed. Note that this did not work in AppContainer processes anyway unless a specific security descriptor was set for both the NVDA process and the injectionDoneEvent.
* nvdaHelperRemote: When registering its RPC interfaces (nvdaInprocUtils, displayModel and VBuf), use RpcUseProtSeq rather than RpcUseProtSeqEp so as to listen on a dynamic endpoint rather than a well-known one. AppContainer processes mangled the endpoint name anyway. Publish correct dynamic endpoints for each interface along with a generated UUID specific to this instance of the inproc code, using RpcEpRegister, so that NVDA can locate this processes endpoint by using the interface and generated UUID. Finally also call a new nvdaControllerInternal method: requestRegistration to ask NVDA to register with this inproc code before the call returns.
* nvdaHelperLocal: rename createConnection to createRemoteBindingHandle (which is more true) and also set a security descriptor on the created binding handle to allow an AppContainer server to talk back to this client -- could be tightened up. createRemoteBindingHandle also now takes a uuid parameter which it uses when creating the binding handle so its able to locate the correct endpoint.
* nvdaControllerInternal: add a new requestRegistration method, which takes a UUID string which can be used to locate the caller's own inproc rpc interfaces. The implementation of requestRegistration uses the UUID to create a bindingHandle for remote access to the inproc code using createRemoteBindingHandle, storing it on the appModule which it creates if necessary. It also calls registerNVDAProcess so as to retreave a context handle from the inproc code that if broken will force the inproc code to terminate. This is also stored on the appModule.
* AppModule.terminate: If a registrationhandle exists, destroy it with rpcSsDestroyClientContext. If a bindingHandle exists then free it with RpcBindingFree. Destroying both of these is enough to ensure the connection with the inproc code breaks and therefore the rundown for the registration will run and inproc code will be terminated. This is safer than specifically calling unregisterNVDAProcess which could freee or may fail if the remote process is busy or shutting down or is dead etc.
* core.initialize: initialize appModuleHandler before nvdaHelper as nvdahelper.nvdaControllerInternal_requestRegistration, which can happen quite quick, needs the ability to create an appModule.

12 years agoinstallerGui: Clean up the Installer and Create Portable NVDA dialogs after performin...
James Teh [Mon, 16 Apr 2012 00:53:53 +0000 (10:53 +1000)]
installerGui: Clean up the Installer and Create Portable NVDA dialogs after performing the action.

12 years agoinstallerGui: Make the Continue button the default button in the Installer and Create...
James Teh [Mon, 16 Apr 2012 00:49:11 +0000 (10:49 +1000)]
installerGui: Make the Continue button the default button in the Installer and Create Portable NVDA dialogs.
Fixes #2225.

12 years agoAdd copyright headers.
James Teh [Mon, 16 Apr 2012 00:31:51 +0000 (10:31 +1000)]
Add copyright headers.

12 years agouser guide: fix error in internaionalization section where Taiwanese mandarin was...
Michael Curran [Fri, 13 Apr 2012 04:12:07 +0000 (14:12 +1000)]
user guide: fix error in internaionalization section where Taiwanese mandarin was listed as a language -- it now just says traditional and Simplified Chinese.

12 years agogui.installerGui.IndeterminateProgressDialog: Beep every time the indeterminate progr...
James Teh [Thu, 12 Apr 2012 23:55:47 +0000 (09:55 +1000)]
gui.installerGui.IndeterminateProgressDialog: Beep every time the indeterminate progress bar is pulsed (every second) to audibly indicate progress.

12 years agouserGuide.t2t: add a note to say that the report remaining time shortcut in foobar...
Mesar Hameed [Tue, 10 Apr 2012 05:47:49 +0000 (06:47 +0100)]
userGuide.t2t: add a note to say that the report remaining time shortcut in foobar only works with the default status line configuration.

Fixes #2230.

12 years agoUpdating Iven espeak varient to be louder.
Mesar Hameed [Mon, 9 Apr 2012 20:44:54 +0000 (21:44 +0100)]
Updating Iven espeak varient to be louder.
------------- This line and the following will be ignored --------------

modified:
  nvdaHelper/espeak/variants/iven

Fixes #2231.

12 years agonvdaHelperRemote: mark minHook.dll for delay loading, but in apiHook_inProcess_initia...
Michael Curran [Sun, 8 Apr 2012 05:42:30 +0000 (15:42 +1000)]
nvdaHelperRemote: mark minHook.dll for delay loading, but in apiHook_inProcess_initialize preload minHook.dll with LoadLibrary using an absolute path. This allows minHook.dll to be loaded by nvdahelperRemote.dll when in a Win8 Metro style app, even though Metro style apps do not allow loading dependency dlls  from places other than system locations.

12 years agoRemove redundant import.
James Teh [Fri, 6 Apr 2012 01:45:02 +0000 (11:45 +1000)]
Remove redundant import.

12 years agoupdateCheck: also fail to import if in secure mode. This is a fix to stop updates...
Michael Curran [Fri, 6 Apr 2012 01:12:28 +0000 (11:12 +1000)]
updateCheck: also fail to import if in secure mode. This is a fix to stop updates happening on secure desktops such as Windows logon.

12 years agoSince we're oversimplifying our use of English, thrice -> three times for consistency.
James Teh [Fri, 6 Apr 2012 01:03:40 +0000 (11:03 +1000)]
Since we're oversimplifying our use of English, thrice -> three times for consistency.

12 years agouserguide: cosmetic change, thrice changed to three times.
Mesar Hameed [Thu, 5 Apr 2012 14:26:28 +0000 (15:26 +0100)]
userguide: cosmetic change, thrice changed to three times.

This was done previously but this particular instance seems to have been missed.

12 years agoinstaller: fix broken explore NVDA User config start menu shortcut. Fixes #2213
Michael Curran [Thu, 5 Apr 2012 07:37:18 +0000 (17:37 +1000)]
installer: fix broken explore NVDA User config start menu shortcut. Fixes #2213

12 years agoEnglish User Guide: NVDA (when written as the name of the software) should always...
James Teh [Thu, 5 Apr 2012 07:13:40 +0000 (17:13 +1000)]
English User Guide: NVDA (when written as the name of the software) should always be spelt with all capitals.
Fixes #2217.

12 years agoupdateCheck: Tell the update server whether this is an installed copy.
James Teh [Thu, 5 Apr 2012 06:30:27 +0000 (16:30 +1000)]
updateCheck: Tell the update server whether this is an installed copy.

12 years agoNVDA can now automatically check for, download and install updates.
James Teh [Thu, 5 Apr 2012 04:30:17 +0000 (14:30 +1000)]
NVDA can now automatically check for, download and install updates.
Fixes #73.

12 years agoupdateCheck: Handle multiple update URLs from the server.
James Teh [Thu, 5 Apr 2012 04:28:46 +0000 (14:28 +1000)]
updateCheck: Handle multiple update URLs from the server.

12 years agodocumentation: Linguistic and spacing fixes, as well as adding a ticket number.
James Teh [Thu, 5 Apr 2012 04:23:49 +0000 (14:23 +1000)]
documentation: Linguistic and spacing fixes, as well as adding a ticket number.

12 years agoUpdate documentation.
James Teh [Thu, 5 Apr 2012 04:14:03 +0000 (14:14 +1000)]
Update documentation.

12 years agoupdateCheck: Don't do automatic update checks if running as the launcher.
James Teh [Thu, 5 Apr 2012 02:37:05 +0000 (12:37 +1000)]
updateCheck: Don't do automatic update checks if running as the launcher.

12 years agoMove donate URL into a constant in gui to avoid duplication.
James Teh [Wed, 4 Apr 2012 11:44:51 +0000 (21:44 +1000)]
Move donate URL into a constant in gui to avoid duplication.

12 years agoupdateCheck: Add a dialog requesting a donation after the user chooses to download...
James Teh [Wed, 4 Apr 2012 08:05:13 +0000 (18:05 +1000)]
updateCheck: Add a dialog requesting a donation after the user chooses to download an update.

12 years agoupdateCheck: Remove the updater file after installing the update.
James Teh [Wed, 4 Apr 2012 07:05:02 +0000 (17:05 +1000)]
updateCheck: Remove the updater file after installing the update.

12 years agoupdatecheck:
James Teh [Wed, 4 Apr 2012 05:32:01 +0000 (15:32 +1000)]
updatecheck:
* Update for repackaged.
* For installed copies, give the user the option to automatically download and install the update. Portable copies just open the link via the default browser.

12 years agoMerge main.
James Teh [Tue, 3 Apr 2012 18:06:49 +0000 (04:06 +1000)]
Merge main.

12 years agoIf creation of a portable copy fails, include the exception string in the message...
Michael Curran [Tue, 3 Apr 2012 08:03:19 +0000 (18:03 +1000)]
If creation of a portable copy fails, include the exception string in the message box (e.g. if trying to copy to a readonly directory  you will see error 5 access is denied <path>)

12 years agoMerged repackaged. NVDA is now distributed as one stand-alone executable which provid...
Michael Curran [Tue, 3 Apr 2012 02:16:30 +0000 (12:16 +1000)]
Merged repackaged. NVDA is now distributed as one stand-alone executable which provides the ability to install or create a portable copy at any time. Specifically:
* scons launcher will produce one executable that when run  will: start a temporary copy of NVDA, and show a dialog that will allow to install NVDA, create a portable copy, or continue running.
* A portable version of NVDA can now be installed by choosing Install NVDA under Tools in the NVDA menu.
* an installed version of NVDA can create a portable copy by choosing Create Portable Copy under Tools in the NVDA menu.

12 years agoUpdated readme.txt, changes and user guide.
Michael Curran [Tue, 3 Apr 2012 02:14:28 +0000 (12:14 +1000)]
Updated readme.txt, changes and user guide.

12 years agouninstaller: look for uac.dll in the installer dir for now to save people having...
Michael Curran [Tue, 3 Apr 2012 01:06:22 +0000 (11:06 +1000)]
uninstaller: look for uac.dll in the installer dir for now to save people having to move it.

12 years agosconstruct: no longer append '_launcher' to the launcher file name.
Michael Curran [Mon, 2 Apr 2012 09:41:23 +0000 (19:41 +1000)]
sconstruct: no longer append '_launcher' to the launcher file name.

12 years agoinstaller: find the correct program files path in the registry. Correctly check...
Michael Curran [Mon, 2 Apr 2012 09:40:28 +0000 (19:40 +1000)]
installer:  find the correct program files path in the registry. Correctly check to see if the desktop shortcut exists before removing in unregisterInstallation rather than just checking its containing directory. Do not hard code icon paths for any of our shortcuts as Windows probably does better finding them itself - may fix some icon issues.

12 years agomerged main
Michael Curran [Mon, 2 Apr 2012 05:52:20 +0000 (15:52 +1000)]
merged main

12 years agoconfig.execElevated: Add a handleAlreadyElevated argument which is false by default...
Michael Curran [Mon, 2 Apr 2012 05:48:17 +0000 (15:48 +1000)]
config.execElevated: Add a handleAlreadyElevated argument which is false by default. If set to true, this function will use IsUserAnAdmin to find out whether elevation is actually necessary and if not then not force runAs.
Installer GUI: call execElevated with handleAlreadyElevated set to True so that on XP the runAs dialog is not shown if the user is already an admin.

12 years agoDeleteKeyEx does not work for 32 bit systems, so use DeleteKey
Michael Curran [Mon, 2 Apr 2012 05:46:56 +0000 (15:46 +1000)]
DeleteKeyEx does not work for 32 bit systems, so use DeleteKey

12 years agoMerge main.
James Teh [Sun, 1 Apr 2012 22:39:57 +0000 (08:39 +1000)]
Merge main.

12 years agoAdd translator comments.
James Teh [Sun, 1 Apr 2012 01:57:59 +0000 (11:57 +1000)]
Add translator comments.

12 years agoinstaller progress dialog: use gui.mainFrame as its parent
Michael Curran [Wed, 28 Mar 2012 04:23:24 +0000 (14:23 +1000)]
installer progress dialog:  use gui.mainFrame as its parent

12 years agoThe 'create portable copy' wizard is now just one dialog, rather like the install...
Michael Curran [Wed, 28 Mar 2012 04:15:29 +0000 (14:15 +1000)]
The 'create portable copy' wizard is now just one dialog, rather like the install dialog but with different options. Also added a bit more logging and fixed one or two other errors to do with making portable copies.

12 years agogui: Remove explicit access key for Check for update menu item, as it overrides the...
James Teh [Tue, 27 Mar 2012 10:35:37 +0000 (20:35 +1000)]
gui: Remove explicit access key for Check for update menu item, as it overrides the implicit access key for User Guide.

12 years agoinstaller dialog: at the end, start nvda.exe not nvda_uiAccess.exe, forgot code alrea...
Michael Curran [Tue, 27 Mar 2012 06:42:37 +0000 (16:42 +1000)]
installer dialog: at the end, start nvda.exe not nvda_uiAccess.exe, forgot code already makes this file.

12 years agoNVDA can now be started with a --install option, which will automatically start insta...
Michael Curran [Tue, 27 Mar 2012 06:35:34 +0000 (16:35 +1000)]
NVDA can now be started with a --install option, which will automatically start installing (or updating a previous copy of) NVDA. Although a progress dialog is shown, no user input is needed. The newly installed copy is restarted at the end.

12 years agoMerge the idea of installing and updating in many places to make code maintenence...
Michael Curran [Tue, 27 Mar 2012 06:32:38 +0000 (16:32 +1000)]
Merge the idea of installing and updating in many places to make code maintenence easier and to simplify possibilities for the user.
      Specifically:
      * Remove the Updater dialog, instead, always show the Installer dialog, but in the case where a previous copy is installed,  note in the caption text that it will be updated, and also set previous defaults for the desktop and logon options.
      * nvda_slave install now will always try unregistering a previous installation, and if there really was a previous install dir, then also try and remove files mentioned in the old installer log. nvda_slave no longer supports an updateInstall argument.
      * Split out some install/update code in gui that in future can be used for auto updating.

12 years agoUkrainian (uk):
Peter Vágner [Mon, 26 Mar 2012 06:11:27 +0000 (08:11 +0200)]
Ukrainian (uk):
merged from 2012.1

12 years agoUkrajnian (uk):
Володимир Пиріг [Mon, 26 Mar 2012 06:06:21 +0000 (08:06 +0200)]
Ukrajnian (uk):
Manually updated language file and symbols.
Note this was supposed to be committed before the 2012.1 release but I missed it. In case there is going to be a minor update I am also committing to 2012.1 branch.

12 years agoUser Guide: Add laptop key for report text formatting command, thereby fixing table...
James Teh [Sun, 25 Mar 2012 23:42:25 +0000 (09:42 +1000)]
User Guide: Add laptop key for report text formatting command, thereby fixing table formatting.
Fixes #2197.

12 years agoFix freezes in MS Word which would result when it took more than 2 seconds to fetch...
Michael Curran [Fri, 23 Mar 2012 05:08:34 +0000 (15:08 +1000)]
Fix freezes in MS Word which would result when it took more than 2 seconds to fetch text from a document (extremely long lines or tables of contents). Fixes #2191. Specifically: use SendMessage instead of SendMessageTimeout in the rpc functions as even if the main thread took too long, simply timing out is more dangerous as it causes memory corruption and therefore possibly endless loops.

12 years agoMerge 2012.1.
James Teh [Thu, 22 Mar 2012 04:47:35 +0000 (14:47 +1000)]
Merge 2012.1.

12 years agosconstruct: copyright info should always be hard-coded by NVDA's versionInfo.copyright
Michael Curran [Wed, 21 Mar 2012 23:59:59 +0000 (09:59 +1000)]
sconstruct: copyright info should always be hard-coded by NVDA's versionInfo.copyright