OSDN Git Service
Michael Curran [Tue, 25 Dec 2012 01:10:45 +0000 (11:10 +1000)]
Powerpoint appModule: better detection of Slide Show vs Document window:
* PaneClassDC NVDAObject: implement a FindOverlayClasses which chooses DocumentWindow or SlideShowWindow if available, by looking at the object given back by fetching the Powerpoint object model.
* Rather than using the appModule's chooseNVDAObjectOverLayClass, use the appModule's event_gainFocus and instanciate a new PaneClassDC instance and bounce focus there.
Michael Curran [Mon, 24 Dec 2012 23:11:35 +0000 (09:11 +1000)]
Powerpoint: report bullets and numbering when editing text and when reading slide shows.
Michael Curran [Mon, 24 Dec 2012 12:30:06 +0000 (22:30 +1000)]
Powerpoint 2003 Shape objects do not have a title property so catch COMError.
Michael Curran [Mon, 24 Dec 2012 11:39:48 +0000 (21:39 +1000)]
Merged main
Michael Curran [Mon, 24 Dec 2012 04:41:32 +0000 (14:41 +1000)]
Powerpoint Slide Show view: detect slide changes when space is pressed.
Michael Curran [Sun, 23 Dec 2012 04:29:51 +0000 (14:29 +1000)]
DisplayModel_t::copyRectangle: refuse to copy if the source or destination rectangle is collapsed vertically or horizontally. This is a pointless copy and it could cause zero division errors. Possible fix for #2885.
Michael Curran [Sun, 23 Dec 2012 03:27:34 +0000 (13:27 +1000)]
Add very basic support for reading running Slide Shows in Powerpoint. Currently just collects text from text frames, alt text and titles from all shapes (recursing into groups and tables as it goes) and caching this text on NVDAObject.basicText. Very simple and bad implementation, but good as a prototype. No formatting or real type information provided. Focusing on the slide show, or changing slides in the slide show refereshes the content and starts a say all. Arrows can be used to navigate text.
Michael Curran [Fri, 21 Dec 2012 11:18:34 +0000 (21:18 +1000)]
Added an appModule providing initial support for MS Powerpoint. So far support only covers navigating and editing slides in 'normal' mode. 'reading mode' (slide show) is not yet supported. Also no formatting announced yet.
Michael Curran [Wed, 19 Dec 2012 03:04:51 +0000 (13:04 +1000)]
displayModel.cpp: remove some debugging code
Michael Curran [Tue, 18 Dec 2012 05:27:17 +0000 (15:27 +1000)]
Better handling of the raster codes for BitBlt/StretchBlt, now properly supporting things like whether the code is saying that the copy should be opaque, the source or destination colors should be inverted etc.
Michael Curran [Tue, 18 Dec 2012 00:30:39 +0000 (10:30 +1000)]
Hook gdiTransparentBlt
Rui Batista [Mon, 17 Dec 2012 10:05:07 +0000 (10:05 +0000)]
Turkish (TR):
Added changes.t2t.
Rui Batista [Mon, 17 Dec 2012 10:04:23 +0000 (10:04 +0000)]
Traditional Chinese Taiwan (zh_TW):
nvda.po matching 98% of main:5687
from translation svn:7022
Authors: wangjanli@gmail.com, maro.zhang@gmail.com, Aaron Wu <waaron2000@gmail.com>
Eric Yip [Mon, 17 Dec 2012 10:04:23 +0000 (10:04 +0000)]
Traditional Chinese Hong Kong (zh_HK):
nvda.po matching 98% of main:5687
from translation svn:7022
vgjh2005@gmail.com [Mon, 17 Dec 2012 10:04:22 +0000 (10:04 +0000)]
Simplified Chinese (zh_CN):
nvda.po matching 98% of main:5687
from translation svn:7022
Cagri Dogan [Mon, 17 Dec 2012 10:04:21 +0000 (10:04 +0000)]
Turkish (tr):
userGuide.t2t matching 5660
nvda.po matching 100% of main:5687
from translation svn:7022
Dinakar T.D. [Mon, 17 Dec 2012 10:04:21 +0000 (10:04 +0000)]
Tamil (ta):
userGuide.t2t matching 5680
nvda.po matching 100% of main:5687
from translation svn:7022
Jozko Gregorc [Mon, 17 Dec 2012 10:04:20 +0000 (10:04 +0000)]
Slovenian (sl):
symbols.dic
nvda.po matching 98% of main:5347
from translation svn:7022
Rui Batista [Mon, 17 Dec 2012 10:04:20 +0000 (10:04 +0000)]
Slovak (sk):
userGuide.t2t matching 5660
changes.t2t matching 5667
nvda.po matching 99% of main:5687
from translation svn:7022
Authors: Ondrej Rosik <ondrej.rosik@gmail.com>, Peter Vagner <peter.v@datagate.sk>
Rui Batista [Mon, 17 Dec 2012 10:04:18 +0000 (10:04 +0000)]
Russian (ru):
symbols.dic
userGuide.t2t matching 5606
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Beqa Gozalishvili <beqaprogger@gmail.com>, ruslan <ru2020slan@yandex.ru>
Rui Batista [Mon, 17 Dec 2012 10:04:17 +0000 (10:04 +0000)]
Portuguese (pt_PT):
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Diogo Costa <diogojoca@gmail.com>, Rui Batista <ruiandrebatista@gmail.com>, Rui Fontes <rui.fontes@tiflotecnia.com>
Rui Batista [Mon, 17 Dec 2012 10:04:17 +0000 (10:04 +0000)]
Brazilian Portuguese (pt_BR):
userGuide.t2t matching 5605
changes.t2t matching 5605
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Cleverson Casarin Uliana <clever92000@yahoo.com.br>, Marlin Rodrigues <marlincgrodrigues@yahoo.com.br>
Hubert Meyer [Mon, 17 Dec 2012 10:04:16 +0000 (10:04 +0000)]
Polish (pl):
nvda.po matching 98% of main:5687
from translation svn:7022
Rui Batista [Mon, 17 Dec 2012 10:04:16 +0000 (10:04 +0000)]
Duch (nl):
userGuide.t2t matching 5660
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Bram Duvigneau <bram@bramd.nl>, Bart Simons <bart@bartsimons.be>, Alwine Hardus <ahardus@xs4all.nl>, A Campen <a.campen@wxs.nl>
him Prasad Gautam [Mon, 17 Dec 2012 10:04:15 +0000 (10:04 +0000)]
Nepali (ne):
nvda.po matching 100% of main:5689
from translation svn:7022
Rui Batista [Mon, 17 Dec 2012 10:04:14 +0000 (10:04 +0000)]
Norwegian bokmål (nb_NO):
nvda.po matching 98% of main:5687
from translation svn:7022
Authors: David Hole <balubathebrave@gmail.com>, Bjornar Seppola <bjornar@seppola.net>
Rui Batista [Mon, 17 Dec 2012 10:04:14 +0000 (10:04 +0000)]
Korean (ko):
userGuide.t2t matching 5680
changes.t2t matching 5692
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Joseph Lee <joseph.lee22590@gmail.com>, Chang-Hoan Jang <462356@gmail.com>
Takuya Nishimoto [Mon, 17 Dec 2012 10:04:13 +0000 (10:04 +0000)]
Japanese (ja):
userGuide.t2t matching 5606
nvda.po matching 100% of main:5687
from translation svn:7022
Simone Dal Maso [Mon, 17 Dec 2012 10:04:13 +0000 (10:04 +0000)]
Italian (it):
userGuide.t2t matching 5660
changes.t2t matching 5692
nvda.po matching 100% of main:5687
from translation svn:7022
Aron OcsvAri [Mon, 17 Dec 2012 10:04:12 +0000 (10:04 +0000)]
Hungarian (hu):
nvda.po matching 98% of main:5687
from translation svn:7022
Juan C. buno [Mon, 17 Dec 2012 10:04:11 +0000 (10:04 +0000)]
Galician (gl):
userGuide.t2t matching 5680
changes.t2t matching 5683
nvda.po matching 100% of main:5687
from translation svn:7022
Rui Batista [Mon, 17 Dec 2012 10:04:11 +0000 (10:04 +0000)]
French (fr):
userGuide.t2t matching 5680
changes.t2t matching 5683
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Michel such <michel.such@free.fr>, Patrick ZAJDA <patrick@zajda.fr>
Jani Kinnunen [Mon, 17 Dec 2012 10:04:10 +0000 (10:04 +0000)]
Finnish (fi):
userGuide.t2t matching 5680
changes.t2t matching 5692
nvda.po matching 100% of main:5687
from translation svn:7022
Juan C. buno [Mon, 17 Dec 2012 10:04:10 +0000 (10:04 +0000)]
Spanish (es):
userGuide.t2t matching 5680
changes.t2t matching 5683
nvda.po matching 100% of main:5687
from translation svn:7022
Rui Batista [Mon, 17 Dec 2012 10:04:09 +0000 (10:04 +0000)]
German (de):
userGuide.t2t matching 5660
changes.t2t matching 5661
nvda.po matching 98% of main:5687
from translation svn:7022
Authors: Bernd Dorer <bernd_dorer@yahoo.de>, David Parduhn <xkill85@gmx.net>, Rene Linke <rene.linke@blindzeln.de>
Rui Batista [Mon, 17 Dec 2012 10:04:08 +0000 (10:04 +0000)]
Danish (da):
userGuide.t2t matching 5610
nvda.po matching 98% of main:5687
from translation svn:7022
Authors: Daniel K. Gartmann <kontakt@nvda.dk>, Nicolai Svendsen <chojiro1990@gmail.com>
Rui Batista [Mon, 17 Dec 2012 10:04:08 +0000 (10:04 +0000)]
Czech (cs):
nvda.po matching 100% of main:5687
from translation svn:7022
Authors: Radek zalud <radek.zalud@seznam.cz>, Martina Letochova <letochova@seznam.cz>
Fatma Mehanna [Mon, 17 Dec 2012 10:04:07 +0000 (10:04 +0000)]
Arabic (ar):
userGuide.t2t matching 5660
changes.t2t matching 5667
nvda.po matching 100% of main:5687
from translation svn:7022
Jorge Perez [Mon, 17 Dec 2012 10:04:07 +0000 (10:04 +0000)]
Aragonese (an):
symbols.dic
nvda.po matching 100% of main:5689
from translation svn:7022
Michael Curran [Mon, 17 Dec 2012 03:08:53 +0000 (13:08 +1000)]
Support for StretchBlt in the display model code. This allows NVDA to see tab labels in DropBox's preferences dialog, and perhaps other things.
Specifically:
* DisplayModel_t::copyRectangle: rather than only taking x and y coordinates for the destination, take a complete destination rectangle instead.
* DisplayModel_t::copyRectangle: Apart from shifting (transposing) coordinates of copied chunks to be positioned in the destination rectangle, also scale all the coordinates so that the chunk is now the correct size relative to the destination rectangle.
*GDIHooks: split out most of the BitBlt code into a helper function so it can be used also by a hook for StretchBlt.
*GDIHooks: hook StretchBlt.
James Teh [Thu, 13 Dec 2012 07:58:50 +0000 (17:58 +1000)]
Add comments.
James Teh [Thu, 13 Dec 2012 06:48:37 +0000 (16:48 +1000)]
brailleNote: Use MAC address range to detect Apex via Bluetooth, as the name can be completely customised.
Fixes #2857.
James Teh [Thu, 13 Dec 2012 04:16:07 +0000 (14:16 +1000)]
Merge 2012.3.
James Teh [Thu, 13 Dec 2012 02:10:23 +0000 (12:10 +1000)]
Bump version to 2012.3.1.
Michael Curran [Wed, 12 Dec 2012 23:18:36 +0000 (09:18 +1000)]
Merged 2012.3
James Teh [Mon, 10 Dec 2012 08:31:32 +0000 (18:31 +1000)]
languageHandler.getLanguageDescription: hard-coded map: Add translator comments, as poedit and possibly other apps don't see the context string in the UI. Change the context string to "languageName" to be consistent with other context strings.
Jozko Gregorc [Mon, 10 Dec 2012 07:33:11 +0000 (08:33 +0100)]
Slovenian (sl):
symbols.dic
nvda.po matching 97% of main:5347
from translation svn:6917
Michael Curran [Mon, 10 Dec 2012 06:07:52 +0000 (16:07 +1000)]
Fix for #2858: If Windows / Python fails to convert an ISO language code in to a locale identifier, or Windows fails to find a description for a locale identifier, fall back to a static map of ISO language codes to language descriptions. This map contains descriptions for am,an,ar,ne,sr.
James Teh [Mon, 10 Dec 2012 03:40:58 +0000 (13:40 +1000)]
installer._deleteKeyAndSubkeys: Don't close the handle before deleting the key. Otherwise, the key can't be deleted.
This means that these keys are now actually removed during uninstallation.
Also, refactored the loop to be a bit more Pythonic and stopped catching exceptions. It should be up to the caller to decide whether failed deletion is a problem.
Fixes #2859.
Michael Curran [Mon, 10 Dec 2012 03:14:57 +0000 (13:14 +1000)]
CandidateListItem behavior: gracefully handle the situation where there is no actual candidate, rather than raising an error when trying to generate its description.
Michael Curran [Mon, 10 Dec 2012 00:37:29 +0000 (10:37 +1000)]
addonHandler: don't make NVDA fail on restart if an addon cannot be removed because its directory is currently in use by another application. Fixes #2860.
Specifically:
* Addon.completeRemove: always rename the directory to a temp directory with a delete sufix before trying to actually remove the directory. If the rename does not work, then there's nothing we can do for now. Just raise an error.
* CompletePendingAddonRemovals: When walking through the set of add-ons, copy the list so that the set can be mutated while walking. Catch an error from Addon.completeRemove and just skip over it. Remove the addonName from the pendingRemoves set for each addon, as long as no error occured when calling Addon.completeRemove. This keeps addons that failed removal and couldn't be renamed for deletion in the pendingRemove state meaning that the GUI will reflect this, and on a subsiquent restart it will try to be removed again.
James Teh [Mon, 10 Dec 2012 00:21:55 +0000 (10:21 +1000)]
When disabling automatic checking for updates, NVDA no longer has to be restarted in order for the change to fully take effect.
Previously, updateCheck.terminate() tried to dispose of autoChecker, but the timer creates a circular reference, so it would still run for the next check. The timer needs to be explicitly discarded to prevent this.
James Teh [Sat, 8 Dec 2012 22:54:58 +0000 (08:54 +1000)]
Linguistic fix.
James Teh [Fri, 7 Dec 2012 11:04:20 +0000 (21:04 +1000)]
Add support for manual port selection in braille display drivers. Add BrailleNote driver and allow for selection of automatic/USB/bluetooth ports for Freedom Scientific displays.
Fixes #426, #2012.
Jorge Perez [Fri, 7 Dec 2012 09:52:01 +0000 (10:52 +0100)]
Aragonese (an):
symbols.dic
nvda.po matching 100% of main:5672
from translation svn:6890
James Teh [Fri, 7 Dec 2012 08:43:02 +0000 (18:43 +1000)]
Merge main.
James Teh [Fri, 7 Dec 2012 08:42:26 +0000 (18:42 +1000)]
Remove debugging code. :)
James Teh [Fri, 7 Dec 2012 08:41:02 +0000 (18:41 +1000)]
hwPortUtils.getToshibaBluetoothPortInfo: Oops. Don't fail when encountering a bluetooth item which isn't a serial port.
James Teh [Fri, 7 Dec 2012 06:35:18 +0000 (16:35 +1000)]
Merge main.
James Teh [Fri, 7 Dec 2012 06:31:06 +0000 (16:31 +1000)]
When custom symbol pronunciation information is saved, the advanced preserve field is no longer removed.
Fixes #2852.
James Teh [Fri, 7 Dec 2012 06:17:12 +0000 (16:17 +1000)]
hwPortUtils: Restrict Toshiba bluetooth hardware ID check, as it's always exactly the same string for all ports.
James Teh [Fri, 7 Dec 2012 06:15:21 +0000 (16:15 +1000)]
hwPortUtils: Make spelling of ID consistent.
James Teh [Fri, 7 Dec 2012 05:58:11 +0000 (15:58 +1000)]
hwPortUtils: Add support for the Toshiba bluetooth stack.
This allows NVDA to detect braille displays connected via bluetooth on a computer running this stack.
Fixes #2419.
James Teh [Thu, 6 Dec 2012 06:06:54 +0000 (16:06 +1000)]
vbuf utils: isWhitespace: Treat line feed as whitespace.
This means that a node containing only a line feed (and perhaps other whitespace) will be treated as not having useful content, which allows the mshtml and gecko backends to use the name instead.
This fixes rendering of the links on the Wordpress Dashboard and probably other cases as well.
James Teh [Thu, 6 Dec 2012 05:59:20 +0000 (15:59 +1000)]
gecko vbuf backend: If the name should be the content, as well as rendering the name if no content was rendered, render it if the content consisted only of a small amount of whitespace, as this content isn't useful.
James Teh [Thu, 6 Dec 2012 05:58:17 +0000 (15:58 +1000)]
vbuf: Move code which checks for useful content (i.e. not empty or not just a small amount of whitespace) into a nodeHasUsefulContent utility function so it can be used by other backends.
Michael Curran [Thu, 6 Dec 2012 00:38:28 +0000 (08:38 +0800)]
Replace all translatable strings with ambiguous positional arguments with appropriate named arguments in the nwer format syntax. scons pot noo longer complains about incorrect usage of positional arguments.
Michael Curran [Wed, 5 Dec 2012 23:54:34 +0000 (07:54 +0800)]
Fix a missed VBufRemote call where node is now an out param rather than return.
James Teh [Wed, 5 Dec 2012 23:27:49 +0000 (09:27 +1000)]
Update What's New.
James Teh [Wed, 5 Dec 2012 23:22:40 +0000 (09:22 +1000)]
SecureCRT: Add another window class name to support version 7.0.x.
James Teh [Wed, 5 Dec 2012 22:40:50 +0000 (08:40 +1000)]
User Guide: Linguistic and syntax fixes.
James Teh [Wed, 5 Dec 2012 21:45:01 +0000 (07:45 +1000)]
brailleNote: Change description to include "HumanWare".
James Teh [Wed, 5 Dec 2012 21:36:34 +0000 (07:36 +1000)]
What's New: Remove general mention of support for serial displays, as this is only really relevant to specific displays as far as the user is concerned. Instead, add info to developer changes regarding port selection.
Also, minor linguistic fixes.
rui Batista [Thu, 6 Dec 2012 00:29:55 +0000 (00:29 +0000)]
Braillenote driver:: remove unused variable and update docstring.
rui Batista [Wed, 5 Dec 2012 16:11:10 +0000 (16:11 +0000)]
What's new: Add serial display support, fs port selection and brailleNote display support.
rui Batista [Wed, 5 Dec 2012 16:00:03 +0000 (16:00 +0000)]
Merged main.
rui Batista [Wed, 5 Dec 2012 15:57:58 +0000 (15:57 +0000)]
Userguide: Add documentation about Braillenote terminal display support. Minor language corrections on Freedom scientific displays documentation.
rui Batista [Wed, 5 Dec 2012 15:55:43 +0000 (15:55 +0000)]
Braillnote driver: corrected small typo on gesture bindings for home key.
Mesar Hameed [Wed, 5 Dec 2012 06:52:57 +0000 (07:52 +0100)]
merge 2012.3
Mesar Hameed [Wed, 5 Dec 2012 06:51:12 +0000 (07:51 +0100)]
zh_CN: updated symbols.dic and characterDescriptions.dic.
Michael Curran [Wed, 5 Dec 2012 05:54:46 +0000 (13:54 +0800)]
Fix for #1986 (VBufRemote_nodeHandle_t must be 64 bit). This handle is now an unsigned hyper (unsigned long long). But to compile with current optimizations all the VBufRemote methods that returned this handle had to be rewritten to provide the resulting handle via a final out parameter. These methods now return non-zero for success.
Michael Curran [Wed, 5 Dec 2012 02:48:08 +0000 (12:48 +1000)]
Chinese simplified pinyin input method's candidate list: also support space as a page change command.
Michael Curran [Wed, 5 Dec 2012 02:33:18 +0000 (12:33 +1000)]
Fixes for candidate list support in Chinese Simplified Pinyin input method under Windows 7:
* Don't allow arrowing up and down to the next/previous buttons, only the candidates themselves.
* Automatically report candidates each time the page changes such as with left and right arrows, and also when first opening with Home.
Michael Curran [Wed, 5 Dec 2012 01:02:27 +0000 (09:02 +0800)]
Patch from Timothy Lee that allows supporting of the reading string for TSF input methods on XP if the TIP file supports the GetReadingString API. Specifically this allows Easy Dots IME to function better under XP.
rui Batista [Mon, 3 Dec 2012 21:43:56 +0000 (21:43 +0000)]
gui.settingsDialogs.BrailleSettingsDialog.updatePossiblePorts: don't construct a new list since self.possiblePorts is already a list instance and we can extend it.
rui Batista [Mon, 3 Dec 2012 11:17:50 +0000 (11:17 +0000)]
Consider the case when the braille display port in the config beeing not valid (i.g. disconnected). Further code simpllifications.
rui Batista [Mon, 3 Dec 2012 10:46:15 +0000 (10:46 +0000)]
Use "USB\" as the prefix for USB hardware ids (#2012).
James Teh [Mon, 3 Dec 2012 09:49:39 +0000 (19:49 +1000)]
English User Guide: Fix weird syntax in section 3.1.
Mesar Hameed [Sat, 1 Dec 2012 20:15:18 +0000 (21:15 +0100)]
Add Danish grade 2 braille table.
Mesar Hameed [Sat, 1 Dec 2012 19:38:23 +0000 (20:38 +0100)]
English userGuide minor corrections (translators please ignore).
privilidges -> privileges
a part -> apart
Mesar Hameed [Sat, 1 Dec 2012 09:51:09 +0000 (10:51 +0100)]
Merge 2012.3
Nicolai Svendsen [Sat, 1 Dec 2012 09:48:05 +0000 (10:48 +0100)]
Danish (da):
userGuide.t2t completely up to date.
from translation svn:6771
rui Batista [Fri, 30 Nov 2012 12:08:09 +0000 (12:08 +0000)]
Merged main.
rui Batista [Fri, 30 Nov 2012 11:56:55 +0000 (11:56 +0000)]
» Add experimental support for USB connection to the braillenote Apex. Automatic, USB, bluetooth, and serial port choices are now available.
Aaron Wu [Fri, 30 Nov 2012 08:50:59 +0000 (09:50 +0100)]
Traditional Chinese Taiwan (zh_TW):
userGuide.t2t matching 5605
changes.t2t matching 5605
nvda.po matching 99% of main:5609
from translation svn:6767
Eric Yip [Fri, 30 Nov 2012 08:50:06 +0000 (09:50 +0100)]
Traditional Chinese Hong Kong (zh_HK):
nvda.po matching 100% of 5609
from translation svn:6767
vgjh2005@gmail.com [Fri, 30 Nov 2012 08:48:26 +0000 (09:48 +0100)]
Simplified Chinese (zh_CN):
nvda.po matching 100% of main:5609
from translation svn:6767
Cagri Dogan [Fri, 30 Nov 2012 08:48:05 +0000 (09:48 +0100)]
Turkish (tr):
userGuide.t2t matching 5606
nvda.po matching 100% of main:5609
from translation svn:6767
Dinakar T.D. [Fri, 30 Nov 2012 08:47:41 +0000 (09:47 +0100)]
Tamil (ta):
userGuide.t2t matching 5610
nvda.po matching 100% of main:5609
from translation svn:6767
Jozko Gregorc [Fri, 30 Nov 2012 08:46:34 +0000 (09:46 +0100)]
Slovenian (sl):
nvda.po matching 96% of main:5347
from translation svn:6767