OSDN Git Service
Takuya Nishimoto [Thu, 9 Jan 2014 09:26:08 +0000 (18:26 +0900)]
experimental work for JTalk 1.07
Takuya Nishimoto [Tue, 7 Jan 2014 07:42:26 +0000 (16:42 +0900)]
Merge branch 'master' of git://git.nvaccess.org/nvda into jpbranch
Michael Curran [Mon, 6 Jan 2014 06:04:25 +0000 (16:04 +1000)]
Merge branch 't3702'. Fixes #3702
Michael Curran [Mon, 6 Jan 2014 05:58:49 +0000 (15:58 +1000)]
Merge branch 't3713'. Fixes #3713
Michael Curran [Mon, 6 Jan 2014 05:51:15 +0000 (15:51 +1000)]
Merge branch 't3693'. Fixes #3693
Michael Curran [Mon, 6 Jan 2014 03:29:20 +0000 (13:29 +1000)]
Merge branch 't3624'. Fixes #3624
Michael Curran [Mon, 6 Jan 2014 03:22:09 +0000 (13:22 +1000)]
Merge branch 't2023'. Fixes #2023
Takuya Nishimoto [Sun, 5 Jan 2014 01:35:29 +0000 (10:35 +0900)]
updated miscDepsJp
Mesar Hameed [Tue, 31 Dec 2013 08:33:57 +0000 (09:33 +0100)]
l10n updates:
From translation svn 13720.
Takuya Nishimoto [Tue, 24 Dec 2013 02:21:20 +0000 (11:21 +0900)]
updated miscDepsJp
Takuya Nishimoto [Mon, 23 Dec 2013 03:06:26 +0000 (12:06 +0900)]
Merge commit 'fetch_head' into jpbranch
Takuya Nishimoto [Mon, 23 Dec 2013 02:50:45 +0000 (11:50 +0900)]
added miscDepsJp as submodule
Michael Curran [Mon, 23 Dec 2013 00:48:35 +0000 (10:48 +1000)]
If NVDA is built with Windows SDK 7.1a (VC 2012) on x86, force the architecture ti IA32 (/arch:IA32) to ensure NVDA can still run on processors with out SSE/SSE2 instructions. Fixes #3730
Takuya Nishimoto [Sat, 21 Dec 2013 02:33:27 +0000 (11:33 +0900)]
merged origin resolved conflict in speech.py
Michael Curran [Thu, 5 Dec 2013 21:36:03 +0000 (07:36 +1000)]
Move to start of container and move to end of container browse mode scripts: only speak the resulting line if sayAll is not being resumed.
Michael Curran [Tue, 3 Dec 2013 22:48:57 +0000 (08:48 +1000)]
No longer mute speech while executing scripts marked with resumeSayAllMode before resuming sayall. Instead change all the scripts to simply not call speakTextInfo if sayall was running. The muted speakTextInfo was affecting the controlField speech caching.
Specifically:
* scriptHandler: add a willSayAllResume function which takes a gesture, and returns true if this gesture was executed in a sayall, the user has allowed sayall sim reading, and the gesture's script allows for sayall to be resumed.
* scripthandler.executeScript: make use of willSayAllResume rather than checking things directly. Also no longer mute speech during the execution of the script. Note that because executeScript now calls willSayallResume, this inforces the fact that executeScript must be passed a script argument which is the same value as the script attribute on its gesture argument. The script argument is still passed just for performance reasons.
* inputCore.InputGesture._get_script: make sure the sscript property is cached for the lifetime of the gesture.
* Use willSayAllResume in many scripts and or their utility functions to disable calls to speakTextInfo if sayAll is resuming.
# Please enter the commit message for your changes. Lines starting
Michael Curran [Tue, 3 Dec 2013 22:25:29 +0000 (08:25 +1000)]
During sayAll, only cache controlField and formatField speech when the text at that point is actually spoken, rather than when the speech is first queued. This stops inappropratiate announcement of entering/exiting fields when speaking text after a sayAll, although the synth never actually got around to speaking that particular text.
Specifically:
* Added a new SpeakTextInfoState class to speech.py which can hold controlField stack, formatField and indentation info for caching. It is instanciated with an NVDAObject or treeInterceptor in which it collects a previous SpeakTextInfoState to get the initial values. There is also an updateObj method which can apply the curent state back to the NVDAObject/treeInterceptor.
* speech.speakTextInfo: all controlField/formatField/indentation info is sotred on a SpeakTextInfoState object now, rather than directly on the TextInfo's obj. If speakTextInfo's useCache argument is True, then speakTextInfo creates its own state object, and also ensure that the info is written back to the NVDAObject/treeInterceptor at the end, ensuring older behaviour. However, if useCache is a pre-existing SpeakTextInfoState object, then speakTextInfo uses this, but does not write back the info to the NVDAObject/treeInterceptor itself, rather it assume that the caller of speakTextInfo will do so at a later time.
* sayallHandler.readTextHelper_generator: create a SpeakTextInfoState object at the start of the function, and keep passing this to speakTextInfo via its useCache argument. After each call to speakTextInfo, save a copy of the SpeakTextInfoState as it is ight now along with the text position bookmark under this index in the index map. When this indes received from they synth (i.e. the text is actually speaking), fetch the speakTextInfoState for this index, and write back the info to the underlying NVDAObject/treeInterceptor.
# Please enter the commit message for your changes. Lines starting
Patrick ZAJDA [Fri, 29 Nov 2013 23:47:51 +0000 (00:47 +0100)]
Skim reading now works with Move to start of container and Move past end of
container.
Specificaly: add resumeSayAllMode attribute to
virtualBuffer.script_moveToStartOfContainer and
virtualBuffer.script_movePastEndOfContainer
Michael Curran [Wed, 27 Nov 2013 01:03:24 +0000 (11:03 +1000)]
Change the symbol level of * (asterisk), + (plus) and = (equals) from level most to level some. Re #3614
Mesar Hameed [Thu, 19 Dec 2013 05:47:54 +0000 (06:47 +0100)]
l10n updates, from translators svn rev 13602.
Takuya Nishimoto [Wed, 18 Dec 2013 07:37:06 +0000 (16:37 +0900)]
Merge branch 'master' of git://git.nvaccess.org/nvda into jpbranch
Michael Curran [Wed, 18 Dec 2013 06:05:33 +0000 (16:05 +1000)]
Merge branch 'vc2012'. this updates NVDA to build with Visual Studio 2012. Please see updated dependencies in readme.txt and changed minimum Operating System requirements for NVDA in the user guide.
Michael Curran [Wed, 18 Dec 2013 05:24:03 +0000 (15:24 +1000)]
Update User guide and changes to mention Minimum Operating System changes
Michael Curran [Wed, 18 Dec 2013 05:23:10 +0000 (15:23 +1000)]
Remove reference to Windows SDK 7.0
Michael Curran [Tue, 17 Dec 2013 09:02:30 +0000 (19:02 +1000)]
List Visual Studio 2012 as a dependency and no longer mention Windows SDK 7.0
Michael Curran [Tue, 17 Dec 2013 08:39:21 +0000 (18:39 +1000)]
Fix typo
Michael Curran [Tue, 17 Dec 2013 23:12:32 +0000 (09:12 +1000)]
Ensure that NVDA is only run on systems that support MSVCRT 10 (compiled with MSVC 2010 or higher) by showing an error dialog and exiting on systems that do not support this.
Minimum is XP SP2, or Server 2003 SP1, or XP X64.
Michael Curran [Tue, 17 Dec 2013 19:00:44 +0000 (05:00 +1000)]
Merge branch 'master' into vc2012
Michael Curran [Mon, 16 Dec 2013 09:53:51 +0000 (19:53 +1000)]
MSHTML vbufBackend: treet any node as hidden if it has an ARIA role of presentation. I.e. this node will be hidden, but its decendants may still be rendered. Also do not bother calculating or exposing table information for a table that is hidden.
Michael Curran [Mon, 16 Dec 2013 09:50:05 +0000 (19:50 +1000)]
In browse mode and other text with fields, if a table is marked as hidden, then ensure that itself and its cells, rows etc are given a presentation category of layout. This supresses announcement of "cell" for cells who's table is hidden and therefore may not even contain complete table info.
Ali-Riza Ciftcioglu [Wed, 27 Nov 2013 00:40:33 +0000 (10:40 +1000)]
For Papenmeier braille displays, the move to flat review/focus command has been removed. Users can assign their own keys using the Input Gestures dialog.
Fixes #3652.
James Teh [Wed, 7 Aug 2013 13:43:19 +0000 (23:43 +1000)]
When editing text in PowerPoint, hyperlinks are now reported.
Fixes #3416.
James Teh [Thu, 28 Nov 2013 04:57:40 +0000 (14:57 +1000)]
Support for braille displays connected via Bluetooth on a computer running the Widcomm Bluetooth Software.
Fixes #2418.
James Teh [Mon, 16 Dec 2013 06:28:42 +0000 (16:28 +1000)]
In the Python Console, you can now press the tab key to complete the current identifier.
Fixes #433.
Michael Curran [Fri, 13 Dec 2013 15:40:39 +0000 (01:40 +1000)]
Merge branch 'master' into vc2012
Michael Curran [Fri, 13 Dec 2013 03:28:45 +0000 (13:28 +1000)]
MSHTML virtualBuffer: When an application or dialog has been explicitly made to use a virtualBuffer, make sure that any decendent nodes are actually classed as being in the buffer, so that the user can actually use it.
Specifically:
virtualBuffers.MSHTML.MSHTML.__contains__: check if the ancestor object is an application or dialog only after checking to see if its the virtualBuffer's root NVDAObject.
Michael Curran [Fri, 13 Dec 2013 02:37:41 +0000 (12:37 +1000)]
Merge branch 'master' into t2023
Michael Curran [Thu, 12 Dec 2013 06:08:40 +0000 (16:08 +1000)]
Merge branch 't525'. All dependencies (excluding Python, git, and the Windows SDK) are now included in various git submodules.
Michael Curran [Thu, 12 Dec 2013 05:00:53 +0000 (15:00 +1000)]
Update miscDeps for its .gitignore
Michael Curran [Thu, 12 Dec 2013 04:12:57 +0000 (14:12 +1000)]
Merge branch 't3556'. fixes #3556
Michael Curran [Thu, 12 Dec 2013 04:07:58 +0000 (14:07 +1000)]
Merge branch 't3538'. Fixes #3538
Michael Curran [Thu, 12 Dec 2013 04:01:08 +0000 (14:01 +1000)]
Merge branch 't3432'. Fixes #3432
Michael Curran [Thu, 12 Dec 2013 03:51:51 +0000 (13:51 +1000)]
Merge branch 't2963'. Fixes #2963
Michael Curran [Thu, 28 Nov 2013 21:56:16 +0000 (07:56 +1000)]
Support for VC2012 and its included Windows SDK 7.1A.
Specifically:
* Windows SDK scons tool: hard code paths for Windows SDK 7.1A as it comes with no batch files.
* Windows SDK scons tool: don't worry about setting up MSVC tool at the end as we'll list this in the tools before the windowsSDK, plus it looks like scons 2.3 fixed a few issues we originally had.
* sconstruct: set up 32 bit and 64 bit environments (env32 and env64) with msvc/sdk tools in sconstruct rather than in nvdaHelper/sconscript. Then set env as env32. this allows signtool to be found with sdk 7.1A.
Michael Curran [Tue, 10 Dec 2013 22:50:16 +0000 (08:50 +1000)]
sconstruct: expose a PYTHONPATH environment variable set to our python directory in miscDeps. No longer import sourceEnv in setup.py.
Although setup.py was able to locate all our python modules that should be included in a binary, Py2exe was unable to byte compile these as it could not locate py2exe within spawned copies of Python.
James Teh [Wed, 27 Nov 2013 07:11:15 +0000 (17:11 +1000)]
git: Don't ignore include, as there now shouldn't be anything untracked in there.
James Teh [Tue, 26 Nov 2013 05:54:37 +0000 (15:54 +1000)]
source readme: Add epydoc and fix typo.
Michael Curran [Mon, 25 Nov 2013 11:29:17 +0000 (21:29 +1000)]
sconstruct: Use epydoc now included by miscDeps
James Teh [Thu, 21 Nov 2013 08:12:11 +0000 (18:12 +1000)]
source readme: Rewrite dependencies section now that we're using Git submodules.
Information is still provided about the versions of dependencies and where to download them, but not where to place them, etc., as this is handled by the submodules.
Michael Curran [Thu, 21 Nov 2013 05:06:38 +0000 (15:06 +1000)]
sconstruct: use the version of NSIS now included in miscDeps
Michael Curran [Thu, 21 Nov 2013 03:58:40 +0000 (13:58 +1000)]
Ensure that compilation of espeak does not fail when requesting to compile in parallel with scons, and ensure that scons --clean include/espeak really does remove all files created in include/espeak
Specifically:
* Teach the compilePhonemeAndDictData builder that *_dict files, and dict and phoneme log and error files, are created as a side effect of espeakedit --compile.
James Teh [Wed, 20 Nov 2013 09:38:23 +0000 (19:38 +1000)]
Add scripts to allow scons to be run just by typing scons at the root of the repository.
James Teh [Wed, 20 Nov 2013 06:37:34 +0000 (16:37 +1000)]
nvda.pyw, setup.py: When running from source, add miscDeps/python to the Python module search path.
The real code is in the sourceEnv module, which is imported as needed.
This is in preparation for moving Python dependencies into the misc deps Git submodule.
Michael Curran [Wed, 20 Nov 2013 06:30:36 +0000 (16:30 +1000)]
Sconstruct: use the MD5-timestamp decider to speed up subsiquent runs of scons. If timestamp of a file has not changed then scons assumes file has not changed. Only if timestamp is different does scons bother calculating and comparing md5 sum to check if content has changed.
Michael Curran [Wed, 20 Nov 2013 06:05:18 +0000 (16:05 +1000)]
sconstruct: copy anything found in miscDeps/source into source
Michael Curran [Wed, 20 Nov 2013 06:04:31 +0000 (16:04 +1000)]
scons scripts: move our recursiveCopy function out of espeak sconscript and into sconstruct and provide it as a method on the base environment so its available to all SCons scripts. Also reverse the arguments to make it more scons-ish (i.e. target, source)
Michael Curran [Wed, 20 Nov 2013 06:02:18 +0000 (16:02 +1000)]
launcher nsi script: point to the nvda logo wave file in miscDeps
Michael Curran [Wed, 20 Nov 2013 06:01:37 +0000 (16:01 +1000)]
Uninstaller nsi script: point to the uac plugin nsh and dll in miscDeps
James Teh [Wed, 20 Nov 2013 05:01:36 +0000 (15:01 +1000)]
eSpeak sconscript: Use espeakedit from miscDeps.
James Teh [Wed, 20 Nov 2013 04:42:13 +0000 (14:42 +1000)]
Add eSpeak submodule.
Michael Curran [Sun, 10 Nov 2013 21:45:47 +0000 (07:45 +1000)]
eSpeak sconscript: treet all files in phsource as dependencies of the compiled phoneme data.
Michael Curran [Fri, 8 Nov 2013 09:08:21 +0000 (19:08 +1000)]
espeak sconscript: don't make temporary scons nodes with * in them for use in glob etc. Otherwize scons finds these later on and tries to build them.
Michael Curran [Fri, 8 Nov 2013 04:48:02 +0000 (14:48 +1000)]
eSpeak sconscript: restructure to handle building directly from true eSpeak source code (e.g. from svn). Requires the espeakedit.exe binary to be found in include, which allows for compiling phoneme data. Still a bit rough.
James Teh [Wed, 20 Nov 2013 04:17:34 +0000 (14:17 +1000)]
scons scripts: Update to use files in miscDeps.
James Teh [Wed, 20 Nov 2013 03:47:09 +0000 (13:47 +1000)]
Add NVDA miscellaneous dependencies submodule.
Michael Curran [Mon, 9 Dec 2013 22:35:19 +0000 (08:35 +1000)]
touchHandler: make sure to use unicode strings where their format method would be given unicode vales.
James Teh [Mon, 9 Dec 2013 19:20:29 +0000 (05:20 +1000)]
What's New: Fix syntax error and language for PowerPoint 2013 entry.
Michael Curran [Mon, 9 Dec 2013 03:09:05 +0000 (13:09 +1000)]
wordDocumentTextInfo.getTextWithFields: return an empty list of the TextInfo is collapsed, rather than starts and ends with no text.
Takuya Nishimoto [Sat, 7 Dec 2013 08:34:04 +0000 (17:34 +0900)]
updated documents
Takuya Nishimoto [Sat, 7 Dec 2013 03:28:41 +0000 (12:28 +0900)]
fixed Japanese document
Michael Curran [Fri, 6 Dec 2013 00:39:49 +0000 (10:39 +1000)]
Map TRichEdit window class to RichEdit20. Re #3693 Re #3603 Re #3581
Michael Curran [Thu, 5 Dec 2013 05:34:52 +0000 (15:34 +1000)]
Generate friendly names for touch gestures and allow them to be localizable, when shown in the Input Gestures Dialog etc.
Specifically:
* touchTracker.py: add an action_hold constant which although never needed by touchTrackers themselves, is needed by TouchInputGesture.
* touchTracker.py: lowercase all the values of the action_* constants so that they can be looked up in dictionaries easier.
* touchTracker.py: add an actionLabels dictionary which contains a mapping from action_* constants to friendly localizable action names.
* touchHandler: add a touchModeLabels dictionary which maps from available touch modes to localizable mode names.
* touchHandler.TouchInputGesture: add a pluralActionLabels dictionary which maps from counting words (double, tripple... ) to friendly localizable template labels which have a variable action.
* touchHandler.TouchInputGesture: add a multiFingerActionLabel string which is a localizable template label that has a variable action, for multi fingered actions.
* touchHandler.TouchInputGesture: implement the getDisplayTextforIdentifier method.
Michael Curran [Thu, 5 Dec 2013 05:31:24 +0000 (15:31 +1000)]
inputCore.InputGesture: the base implementation of the displayName property now calls getDisplayTextForIdentifier on the first of this gesture's identifiers.
# Please enter the commit message for your changes. Lines starting
Takuya Nishimoto [Thu, 5 Dec 2013 06:59:22 +0000 (15:59 +0900)]
updated documents
Takuya Nishimoto [Wed, 4 Dec 2013 15:30:20 +0000 (00:30 +0900)]
Merge branch 'rc' into jp2013.3
Takuya Nishimoto [Wed, 4 Dec 2013 15:29:53 +0000 (00:29 +0900)]
Merge branch 'rc' of git://git.nvaccess.org/nvda into rc
Mesar Hameed [Sun, 1 Dec 2013 16:27:49 +0000 (17:27 +0100)]
l10n: updated translations from svn rev 13344.
Michael Curran [Mon, 2 Dec 2013 00:05:24 +0000 (10:05 +1000)]
Merge branch 't1625'. Fixes #1625
James Teh [Fri, 29 Nov 2013 04:38:06 +0000 (14:38 +1000)]
braille.getDisplayList: Log an error when importing or checking a driver raises an exception. Log a debugWarning when a check doesn't pass.
While I'm at it, make the handyTech driver's check() method catch the right exception so it doesn't log an error every time the Handy Tech COM server isn't available (which happens for most people running from source).
Michael Curran [Thu, 28 Nov 2013 09:55:00 +0000 (19:55 +1000)]
Microsoft Excel: only report truely underlined cells as underlined in formatting information.
Unlike other properties in the Excel font object, underline returns constants, its not a boolean.
Fixes #3669
Takuya Nishimoto [Thu, 28 Nov 2013 04:05:04 +0000 (20:05 -0800)]
Merge commit 'fetch_head' into jp2013.3
James Teh [Thu, 28 Nov 2013 03:23:12 +0000 (13:23 +1000)]
Merge branch 'rc'
Michael Curran [Wed, 27 Nov 2013 06:23:35 +0000 (16:23 +1000)]
Freedom Scientific braille display driver: if the driver cannot be initialized with any of the ports, make sure to clean up our message window and its window class. this this is not done, subsiquent successful initializations will fail to get braille display input as the message window could not be properly registered. Re #3662 Re #3401
Michael Curran [Wed, 27 Nov 2013 05:37:17 +0000 (15:37 +1000)]
Freedom Scientific Braille display driver: make sure to give port strings to fbOpen as ANSI rather than unicode. Specifically USB could fail as it could be unicode when coming from the config. Re #3662 Re #3509
Michael Curran [Thu, 28 Nov 2013 00:37:21 +0000 (10:37 +1000)]
vbufBase: Ignore unicode characters from the private usage range (and 0-width space) at the start end end of text nodes, and also treet these characters as not useful when searching short strings to see if they should be overridden with a parent label. Re #2963.
Specifically:
* Add an isPrivateCharacter inline function to vbufBase/utils.h which checks if a character is from the private use unicode range, or is a 0-width space. The private use unicode range we check is from U+e000 to u+f8ff.
* VBufBase's nodeHasUsefulContent: rather than calling isWhitespace, write out a for loop directly, and return true if any character that is not whitespace (iswspace) or is from the private use range or 0-width space (isPrivatecharacter) is found.
* VbufStorage_buffer_t::addTextFieldNode: strip private characters from the start and end of the text string if they exist when giving the text to the new text node.
James Teh [Wed, 27 Nov 2013 11:33:02 +0000 (21:33 +1000)]
Fix the problem where a triggered empty configuration profile was not deactivated when appropriate.
Fixes #3667.
James Teh [Wed, 27 Nov 2013 07:08:16 +0000 (17:08 +1000)]
git: Ignore extras/controllerClient/x86/nvdaController.h.
Michael Curran [Wed, 27 Nov 2013 01:47:12 +0000 (11:47 +1000)]
Support for MS Office insert symbols dialog: only try to support the symbol list graphics if they have state_focused. Also rather than grabbing the symbol text from our own dialog description (very costly), directly find the actual static text field containing the symbol.. Finally, expose the symbol via value, not name as name was overriding important UI labels.
James Teh [Wed, 27 Nov 2013 01:31:35 +0000 (11:31 +1000)]
Update some URLs in the documentation that I missed in the change to the new NV Access web site.
Fixes #3535.
Michael Curran [Wed, 27 Nov 2013 01:27:39 +0000 (11:27 +1000)]
Merge branch 'master' into t3538
Michael Curran [Wed, 27 Nov 2013 01:12:06 +0000 (11:12 +1000)]
userGuide: update link to newer Freedom Scientific Focus Blue braille display drivers. Fixes #3585
James Teh [Wed, 27 Nov 2013 01:09:58 +0000 (11:09 +1000)]
User Guide: Add info about where to obtain USB drivers for HIMS Braille Sense/Braille EDGE displays.
Re #3637.
Michael Curran [Wed, 27 Nov 2013 00:58:15 +0000 (10:58 +1000)]
putty appModule's chooseNVDAObjectOverlayClasses: make sure the object is an IAccessible NVDAObject before checking its IAccessible role.
James Teh [Wed, 13 Nov 2013 04:20:26 +0000 (14:20 +1000)]
In browse mode in Adobe Reader, extraneous graphics containing the text "mc-ref" will no longer be rendered.
Fixes #3645.
James Teh [Wed, 13 Nov 2013 03:11:11 +0000 (13:11 +1000)]
In browse mode in Adobe Reader, the correct text is now rendered for buttons, etc. where the label has been overridden using a tooltip or other means.
In the backend, where useNameAsContent is true, IPDDomNode::GetName is now tried before IPDDomNode::GetTextContent.
Fixes #3640.
James Teh [Wed, 23 Oct 2013 23:12:48 +0000 (09:12 +1000)]
In Instantbird, NVDA no longer reports useless information every time you move to a contact in the Contacts list.
Instantbird fires focus on a dead accessible first every time you focus a contact, so block focus on these.
Fixes #2667.
James Teh [Tue, 26 Nov 2013 22:48:08 +0000 (08:48 +1000)]
Oops. Update What's New.
James Teh [Wed, 6 Nov 2013 05:39:46 +0000 (15:39 +1000)]
In browse mode in Google Chrome, the labels of check boxes and radio buttons are now rendered correctly.
The Gecko vbuf backend now uses the name as the content for these controls if their labels aren't visible.
Fixes #1562.
James Teh [Tue, 26 Nov 2013 06:58:18 +0000 (16:58 +1000)]
Python console: Don't include ( postfix for callables, as we often don't want to call them; e.g. __class__.
Michael Curran [Tue, 26 Nov 2013 06:46:27 +0000 (16:46 +1000)]
Merge branch 'rc'