OSDN Git Service
James Teh [Thu, 1 Dec 2011 22:16:09 +0000 (08:16 +1000)]
Merge main.
James Teh [Thu, 1 Dec 2011 21:35:45 +0000 (07:35 +1000)]
Remove more extraneous whitespace. Translators can ignore this commit.
Sebastian Kruber [Thu, 1 Dec 2011 10:44:34 +0000 (20:44 +1000)]
Add hedo MobilLine USB braille display driver.
Fixes #1897.
James Teh [Thu, 1 Dec 2011 06:48:13 +0000 (16:48 +1000)]
English User Guide: More capitalisation and spacing fixes.
James Teh [Thu, 1 Dec 2011 06:38:41 +0000 (16:38 +1000)]
English User Guide: Cosmetic fixes: capitalisation, spacing and pucntuation.
James Teh [Thu, 1 Dec 2011 05:24:48 +0000 (15:24 +1000)]
User Guide: Fix punctuation.
James Teh [Thu, 1 Dec 2011 05:23:48 +0000 (15:23 +1000)]
User Guide: Clarification and examples for Object Navigation, Text Review and Browse Mode sections.
James Teh [Thu, 1 Dec 2011 04:52:54 +0000 (14:52 +1000)]
object navigation commands: Change the "No children" and "No parents" messages to be more user friendly. I missed this when I was changing the terminology for 2011.2.
Michael Curran [Thu, 1 Dec 2011 03:02:53 +0000 (13:02 +1000)]
_UIAHandler.UIAHandler.isUIAWindow: normalize the window class name before checking for it in badUIAWindowClassList. Also add all the possible RichEdit window classes to badUIAWindowClassList so that UIA is no longer used for them. Windows 8 introduces UIA support for RichEdit which is wonderful, but for now causes some problems in NVDA -- more our fault than Microsofts. For now we disable support and fall back to our older win32 RichEdit window message code. this will also allow the poedit appModule to work on Windows 8. It also stops double selection announcement in RichEdit documents in Windows 8
James Teh [Thu, 1 Dec 2011 01:12:00 +0000 (11:12 +1000)]
Remove unnecessary import.
Michael Curran [Wed, 30 Nov 2011 09:28:07 +0000 (19:28 +1000)]
Fix a bug that could very possibly cause a crash in a 64 bit application if that application provided glyphs to an ExtTextOut call and the OS was Windows 8 or the memory consumption was rather high (forcing memory allocations above the 32 bit boundary).
Specifically: some pointers were being cast to DWORD before being cast to their correct pointer type, which in a 64 bit app would cause the pointer to loose bits.
James Teh [Wed, 30 Nov 2011 07:34:10 +0000 (17:34 +1000)]
logHandler.Logger.exception: Don't output debugWarnings if the configured log level excludes them.
James Teh [Tue, 29 Nov 2011 23:45:51 +0000 (09:45 +1000)]
sconstruct: Add output\devDocs\nvda target to generate documentation for the NVDA Python code using Epydoc.
Michael Curran [Tue, 29 Nov 2011 09:35:14 +0000 (19:35 +1000)]
Another charBaseline was missing for displayModel's textInRect
Michael Curran [Mon, 28 Nov 2011 10:19:29 +0000 (20:19 +1000)]
Fix typo
Michael Curran [Mon, 28 Nov 2011 09:31:53 +0000 (19:31 +1000)]
speech.getCurrentLanguage: catch NotImplementeError from a synth's language property. _getAvailableVoices, and therefore language, is not implemented on the noSpeech synthDriver. Fixes #1963
Michael Curran [Mon, 28 Nov 2011 07:21:19 +0000 (17:21 +1000)]
Slightly reimplemented the way NVDA tracks the caret when using display model, in order to fix #1658 (tracking the caret while editing a cell in Excel with a Chinese font), and it could possibly allow access to a few other picky applications. Specific change:
* displayModelChunk_t now has a baseline member, rather than a baselineFromTop member. Its possible that previously baselineFromTop could have become incorrect if the chunk was ever clipped above the baseline. Now as baseline is no longer relative, this should not be a problem. Of course though copyRect needed to be changed to make sure that it tweeked baseline via deltaY, just like it does for rect->top and rect->bottom.
* GDIHooks's ExtTextOut_helper: tmAscent is in logical units not physical units, so make sure it gets converted to physical units when being used to calculate baseline. Previously baselineFromTop was most likely always way off what it should have been.
* displayModel_t::renderText: rather than just providing a rectangle for a character's location, provide left, top, right, bottom and baseline as well (we call it charLocation_t). However, for vertical whitespace added between lines and or at the top or bottom of a bounding rectangle, set that representing character's baseline to -1 so that its easily identified as added vertical whitespace.
* displayModel_getWindowTextInRect: also output the baseline of each character, rather than just left, top, right and bottom.
* EditableTextDisplayModelTextInfo._getCaretOffset: rewrite the matching rules to hopefully be more accurate and less picky. Firstly it tries to match on the first real character that is positioned so that the caret's left is anywhere to the left of that character's horizontal center (including before the character entirely), and where the caret's bottom sits on or below the character's baseline. Only if it does not find a character like this does it then reiterate over the characters this time searching for added vertical whitespace (blank lines) and uses the first character where the caret overlaps vertically and is entirely contained horizontally.
Please report if this change breaks any previously working text editors using displayModel. Or in deed if it allows access to otherones.
Marlin Rodrigues [Sun, 27 Nov 2011 00:06:48 +0000 (00:06 +0000)]
Brazilian Portuguese (pt_BR):
userGuide.t2t matching 4799
changes.t2t
Peter Vágner [Sat, 26 Nov 2011 09:39:55 +0000 (10:39 +0100)]
Updated slovak language file and changes.
James Teh [Fri, 25 Nov 2011 12:17:31 +0000 (22:17 +1000)]
Merge 2011.3.
James Teh [Fri, 25 Nov 2011 12:07:28 +0000 (22:07 +1000)]
Add comment about SAPI5 initialisation change so we remember why it was done. :)
Bernd Dorer [Fri, 25 Nov 2011 08:11:55 +0000 (08:11 +0000)]
German (de):
symbols.dic, fixing tick
James Teh [Fri, 25 Nov 2011 02:28:49 +0000 (12:28 +1000)]
versionInfo: Set version to 2011.3 (final).
Dinakar T.D. [Thu, 24 Nov 2011 14:09:06 +0000 (14:09 +0000)]
Tamil (ta):
userGuide.t2t matching 4784 (correcting terms)
symbols.dic (correcting terms)
Michael Curran [Thu, 24 Nov 2011 13:42:32 +0000 (23:42 +1000)]
Updated Chinese Taiwan po file
Peter Vágner [Thu, 24 Nov 2011 10:09:59 +0000 (11:09 +0100)]
Updated croatian language file.
James Teh [Thu, 24 Nov 2011 08:25:59 +0000 (18:25 +1000)]
sapi5 synth driver: Set the voice before setting the audio output instead of the other way around.
It seems that SAPI 5 doesn't reset the audio parameters when you change the voice. Setting the audio output after setting the voice seems to fix this.
Fixes poor audio quality in some cases when using Microsoft Speech API version 5 voices with the audio output device set to something other than the default (Microsoft Sound Mapper).
Fixes #749.
Peter Vágner [Wed, 23 Nov 2011 11:01:34 +0000 (12:01 +0100)]
Merged 2011.3
Peter Vágner [Wed, 23 Nov 2011 10:58:46 +0000 (11:58 +0100)]
updated portuguese and czech language files
Michael Curran [Wed, 23 Nov 2011 01:58:56 +0000 (11:58 +1000)]
Updated Chinese Taiwan userguide
Simone Dal Maso [Tue, 22 Nov 2011 10:58:49 +0000 (10:58 +0000)]
Italian (it):
nvda.po correction to progress bars.
Cagri Dogan [Tue, 22 Nov 2011 08:26:47 +0000 (08:26 +0000)]
Turkish (tr):
symbols.dic, localized negative numbers.
Mesar Hameed [Mon, 21 Nov 2011 23:54:16 +0000 (23:54 +0000)]
merge 2011.3
Jani Kinnunen [Mon, 21 Nov 2011 23:47:47 +0000 (23:47 +0000)]
Finnish (fi):
userGuide.t2t matching 4784
nvda.po
Dinakar T.D. [Mon, 21 Nov 2011 23:40:07 +0000 (23:40 +0000)]
Tamil (ta):
userGuide.t2t matching 4784
nvda.po
Bernd Dorer [Mon, 21 Nov 2011 23:35:00 +0000 (23:35 +0000)]
German (de):
changes.t2t matching 4761
symbols.dic using the inheritance from english.
James Teh [Sun, 20 Nov 2011 23:37:14 +0000 (09:37 +1000)]
Merge 2011.3.
Cleverson Casarin Uliana [Sun, 20 Nov 2011 16:35:00 +0000 (16:35 +0000)]
Brazilian Portuguese (pt_BR):
changes.t2t matching 4783
Bernd Dorer [Sat, 19 Nov 2011 22:15:03 +0000 (22:15 +0000)]
de:
symbols.dic
Hubert Meyer [Sat, 19 Nov 2011 15:55:42 +0000 (15:55 +0000)]
pl:
userGuide.t2t matching 4784
changes.t2t matching 4783
nvda.po
Jani Kinnunen [Sat, 19 Nov 2011 15:47:27 +0000 (15:47 +0000)]
fi:
userGuide.t2t small corrections
changes.t2t matching 4783
nvda.po
James Teh [Fri, 18 Nov 2011 01:15:00 +0000 (11:15 +1000)]
English User Guide: Fix typo. Translators should ignore this.
James Teh [Fri, 18 Nov 2011 00:58:45 +0000 (10:58 +1000)]
Merge 2011.3.
James Teh [Fri, 18 Nov 2011 00:57:58 +0000 (10:57 +1000)]
Add What's New entry for Tamil language, which was missed when it was added.
James Teh [Fri, 18 Nov 2011 00:49:41 +0000 (10:49 +1000)]
Use browse mode for full screen Adobe Flash content.
Quetzatl [Thu, 17 Nov 2011 23:28:19 +0000 (23:28 +0000)]
es:
symbols.dic fixing typo.
Author notified that complex section should idealy be empty so that the regexps can be inherited.
Only new rules should be added, instead of redifining rules.
Mesar Hameed [Thu, 17 Nov 2011 10:44:29 +0000 (10:44 +0000)]
it:
nvda.po fixing small problem with input help message.
James Teh [Thu, 17 Nov 2011 02:58:06 +0000 (12:58 +1000)]
Pointless whitespace.
James Teh [Thu, 17 Nov 2011 02:52:51 +0000 (12:52 +1000)]
In browse mode, you can activate the object under the cursor using a braille display. This is done by pressing the cursor routing key where the cursor is located (which means pressing it twice if the cursor is not already there).
To facilitate this, a new TextInfo.activate() method was introduced.
Fixes #1893.
James Teh [Thu, 17 Nov 2011 01:14:18 +0000 (11:14 +1000)]
It is now possible to have braille displayed by paragraphs instead of lines, which may allow for more fluent reading of large amounts of text. This is configurable using the Read by paragraphs option in the Braille Settings dialog.
Fixes #1891.
James Teh [Thu, 17 Nov 2011 01:12:47 +0000 (11:12 +1000)]
Update documentation.
James Teh [Thu, 17 Nov 2011 00:12:46 +0000 (10:12 +1000)]
BrailleSettingsDialog: Add read by paragraph option.
James Teh [Thu, 17 Nov 2011 00:04:39 +0000 (10:04 +1000)]
braille.TextInfoRegion: Use UNIT_PARAGRAPH if readByParagraph is enabled. Also, change comments and variable names to refer to reading unit instead of line now that the reading unit might be paragraph.
James Teh [Thu, 17 Nov 2011 00:03:07 +0000 (10:03 +1000)]
config: Add braille readByParagraph option.
Cagri Dogan [Wed, 16 Nov 2011 19:01:02 +0000 (19:01 +0000)]
tr:
symbols.dic added some missing symbols
nvda.po corrected some translations.
Jani Kinnunen [Wed, 16 Nov 2011 18:38:32 +0000 (18:38 +0000)]
fi:
symbols.dic removed obsoleted symbols.
fatma mehanna [Wed, 16 Nov 2011 18:34:48 +0000 (18:34 +0000)]
ar:
changes.t2t matching 2011.3/4761
userGuide.t2t matching 2011.3/4758
Katsutoshi Tsuji [Wed, 16 Nov 2011 18:26:04 +0000 (18:26 +0000)]
ja:
nvda.po corrected typos.
changes.t2t corrected typos and updated for 2011.3
Simone Dal Maso [Wed, 16 Nov 2011 18:20:34 +0000 (18:20 +0000)]
it:
langstrings.txt corrected copyright years.
changes.t2t completed for 2011.3.
userGuide.t2t formatting corrections.
DINAKAR T.D. [Wed, 16 Nov 2011 16:42:00 +0000 (16:42 +0000)]
ta:
nvda.po no outstanding messages.
userGuide.t2t Complete Tamil userGuide.
A Special Thanks to Dinakar for his excellent work and for completing
the Tamil userGuide in this short time.
Bram Duvigneau [Wed, 16 Nov 2011 16:29:58 +0000 (16:29 +0000)]
nl:
nvda.po no fuzzy or untranslated messages.
Bernd Dorer [Wed, 16 Nov 2011 16:24:35 +0000 (16:24 +0000)]
de:
symbols.dic fixes #1895
changes.t2t textual improvements, matching previous rev.
userGuide.t2t textual improvements, matching previous rev.
Michel Such [Wed, 16 Nov 2011 15:52:54 +0000 (15:52 +0000)]
fr:
changes.t2t, fixing a small typo.
James Teh [Wed, 16 Nov 2011 01:51:31 +0000 (11:51 +1000)]
Update SynthDriver code doc.
James Teh [Tue, 15 Nov 2011 03:14:07 +0000 (13:14 +1000)]
webKit vbuf backend: Fix compilation error.
James Teh [Mon, 14 Nov 2011 02:46:19 +0000 (12:46 +1000)]
Merge main.
Peter Vágner [Sat, 12 Nov 2011 12:39:45 +0000 (13:39 +0100)]
Updated brazilian portuguese language file, symbols, user guide and changes,
Updated danish language file,
Updated hungarian language file and changes,
Updated slovak language file, user guide and changes.
James Teh [Fri, 11 Nov 2011 13:36:37 +0000 (23:36 +1000)]
NVDA now avoids splitting words in braille when possible.
Fixes #1890.
James Teh [Fri, 11 Nov 2011 13:34:26 +0000 (23:34 +1000)]
Update What's New.
James Teh [Fri, 11 Nov 2011 13:21:09 +0000 (23:21 +1000)]
Merge main.
Michael Curran [Fri, 11 Nov 2011 06:36:21 +0000 (16:36 +1000)]
nvdaHelper archBuild_sconscript: to make compilation faster for developers, only enable whole-program optimization when compiling a release build (e.g. beta, rc, final). A part from it taking longer to compile an individual build, it also could not cache compilation of obj files as this was all done at the linker stage.
James Teh [Fri, 11 Nov 2011 06:43:25 +0000 (16:43 +1000)]
Merge main.
James Teh [Fri, 11 Nov 2011 06:29:40 +0000 (16:29 +1000)]
Fix typo.
James Teh [Fri, 11 Nov 2011 06:26:44 +0000 (16:26 +1000)]
braille word wrap: Break after spaces, not before. Rename some variables for clarity.
Simone Dal Maso [Thu, 10 Nov 2011 13:06:59 +0000 (13:06 +0000)]
it:
symbols.dic
nvda.po matching 2011.3/4758
changes.t2t matching 2011.3/4735
userGuide.t2t matching 2011.3/4758
Katsutoshi Tsuji [Wed, 9 Nov 2011 15:47:50 +0000 (15:47 +0000)]
ja:
changes.t2t matching 2011.3/4760
userGuide.t2t matching 2011.3/4758
Jani Kinnunen [Wed, 9 Nov 2011 15:27:00 +0000 (15:27 +0000)]
fi:
symbols.dic
nvda.po matching 2011.3/4758
changes.t2t matching 2011.3/4761
userGuide.t2t matching 2011.3/4758
Cagri Dogan [Wed, 9 Nov 2011 15:11:34 +0000 (15:11 +0000)]
tr:
symbols.dic matching 2011.3/4758
nvda.po matching 2011.3/4758
userGuide.t2t matching 2011.3/4758
Zahari Yurukov [Wed, 9 Nov 2011 11:21:41 +0000 (11:21 +0000)]
bg:
nvda.po
changes.t2t
userGuide.t2t
James Teh [Wed, 9 Nov 2011 01:30:11 +0000 (11:30 +1000)]
braille: If the last region displayed requires that it be focused at the hard left of the display, don't scroll past the start of that region unless the start is already displayed.
James Teh [Tue, 8 Nov 2011 08:21:53 +0000 (18:21 +1000)]
Fix typo.
Michael Curran [Tue, 8 Nov 2011 00:37:21 +0000 (10:37 +1000)]
espeak sconsscript: override warning level in CCFLAGS instead of CXXFLAGS. Allows eSpeak to compile again after recent related change to nvdaHelper scons
Quetzatl [Mon, 7 Nov 2011 16:04:58 +0000 (16:04 +0000)]
es gl:
symbols.dic
nvda.po
changes.t2t
userGuide.t2t
James Teh [Mon, 7 Nov 2011 10:40:40 +0000 (20:40 +1000)]
Initial code for braille word wrap.
James Teh [Mon, 7 Nov 2011 05:17:59 +0000 (15:17 +1000)]
speech.getControlFieldSpeech: Correctly report multiple table cells on a single line; e.g. consecutive empty cells.
James Teh [Sun, 6 Nov 2011 23:51:04 +0000 (09:51 +1000)]
Merge 2011.3.
James Teh [Sun, 6 Nov 2011 23:48:04 +0000 (09:48 +1000)]
speech.getControlFieldSpeech: Don't report lists if reporting of lists is disabled.
Fixes #1886.
Bernd Dorer [Sun, 6 Nov 2011 11:14:52 +0000 (11:14 +0000)]
de:
symbols.dic
nvda.po
changes.t2t matching rev 2011.3/4760
userGuide.t2t matching rev 2011.3/4758
Michael Curran [Sun, 6 Nov 2011 06:04:10 +0000 (16:04 +1000)]
Temporarily make the Windows 8 Open With dialog more accessible (untill the bugs can be fixed in Win8):
* Class the ImmersiveOpenWithFlyout pane as a Dialog so that it reads its title and caption properly. Also force focus to it as that window never gets the physical focus even though accessibility focus events are fired.
* Label the app list items by fetching the label from their second child.
Michael Curran [Sat, 5 Nov 2011 23:50:06 +0000 (09:50 +1000)]
Ignore focus on MSAA clients of 'Search Box' and 'UniversalSearchBand' windows which are parents of the Windows Explorer search field in Windows 8. Focus is frequently incorrectly fired on these once the search field gets focus. This change allows the search field to be used properly with NVDA.
Michel Such [Sat, 5 Nov 2011 18:02:34 +0000 (18:02 +0000)]
fr:
symbols.dic
nvda.po
changes.t2t
userGuide.t2t
Michael Curran [Fri, 4 Nov 2011 01:47:41 +0000 (11:47 +1000)]
nvdaHelper scons: treat level 3 compilation warnings as errors not only for c++ sources but also for c sources (/W3 /WX was incorrectly in CXXFLAGS not CCFLAGS). Also tell the linker to show status messages while compile-linking for whole-program optimization as this is now the bit that takes the longest for compiling and linking. Also tell the linker to abort with an error for any warning.
James Teh [Fri, 4 Nov 2011 10:24:11 +0000 (20:24 +1000)]
Merge 2011.3.
James Teh [Fri, 4 Nov 2011 10:21:42 +0000 (20:21 +1000)]
Merge 2011.3.
James Teh [Fri, 4 Nov 2011 10:19:16 +0000 (20:19 +1000)]
No... really. Fix exclusion of layout tables. I mean it this time. :(
James Teh [Fri, 4 Nov 2011 09:40:39 +0000 (19:40 +1000)]
Oops. Fix exclusion of layout tables.
James Teh [Fri, 4 Nov 2011 07:44:41 +0000 (17:44 +1000)]
Add documentation for hedo ProfiLine USB display.
Sebastian Kruber [Fri, 4 Nov 2011 07:41:03 +0000 (17:41 +1000)]
Add braille display driver for hedo ProfiLine USB.
Fixes #1863.
James Teh [Fri, 4 Nov 2011 07:06:18 +0000 (17:06 +1000)]
Merge significant braille improvements, providing the following features:
*Bold, italic and underline are now indicated in braille using signs appropriate to the configured translation table.
* Braille now indicates selected text using dots 7 and 8.
* Braille now reports information about controls within documents such as links, buttons and headings.
More work still needs to be done, but this is a solid, working start.
Fixes #202, #538, #889.
James Teh [Fri, 4 Nov 2011 06:55:53 +0000 (16:55 +1000)]
braille: Render the line prefix (e.g. list item bullet/number), if any.