OSDN Git Service

nvdajp/nvdajp.git
11 years agoPowerpoint appModule: provide fetching of formatting from shape text ranges. Includes...
Michael Curran [Tue, 1 Jan 2013 01:39:21 +0000 (11:39 +1000)]
Powerpoint appModule: provide fetching of formatting from shape text ranges. Includes font name, font size, bold, italic, underline, superscript/subscript and text color. This code will always work at the review cursor, but you can also turn on formatting after cursor to get all format changes within a chunk reported automatically. However, this does get a bit slow if there are many format runs. This code will eventually be replaced with in-process code.

11 years agoPowerpoint appModule: Include the title in the label for slides if they have them...
Michael Curran [Mon, 31 Dec 2012 19:52:54 +0000 (05:52 +1000)]
Powerpoint appModule: Include the title in the label for slides if they have them (#2905). Also report position info (x of y) when selecting slides in Slide sorter and thumbnails views.
Specifically:
* Split out some base features from the Slide NVDAObject into a SlideBase NVDAObject.
* Slide NVDAObject: include the text of the 'title' shape of the slide in brackets after the slide number if it exists.
* Slide NVDAObject: implement positionInfo property so that for selected slides (in Thumbnails and slide sorter) x of y is announced.
* Add a Master NVDAObject for master slides, that just uses the Master object's name as the NVDAObject's name -- Masters do not have slide numbers or meaningful slide titles.
* SlideBase NVDAObject: implement a findOverlayClasses that selects either Slide or Master depending on the view.
* All other code now instanciates SlideBase instead of Slide so that either Slide or Master will be automatically chosen at runtime.

11 years agoMS Powerpoint 2003 throws a COMError for textRange.parent instead of returning None...
Michael Curran [Sun, 30 Dec 2012 21:03:57 +0000 (07:03 +1000)]
MS Powerpoint 2003 throws a COMError for textRange.parent instead of returning None when it can't be retreaved. Catch this error.

11 years agoA big restructure to the Powerpoint appModule based on findings while implementing...
Michael Curran [Sun, 30 Dec 2012 20:26:46 +0000 (06:26 +1000)]
A big restructure to the Powerpoint appModule based on findings while implementing in the last week. Provides partial support for Outline view via display model, slightly beter support for slide sorter view. Fixes to object navigation, and always possible to review a slide in slide view with display model.
Specific changes:
* appModule.chooseNVDAObjectOverlayClasses is now used again to choose PaneClassDC, DocumentWindow, SlideShowWindow etc, rather than AppModule.event_gainFocus / PaneClassDC.findOverlayClasses. PaneClassDC now has an event_gainFocus which handles the app switching to fix fetching of the object model. This allows object navigation to pick up a working PaneClassDC if its the focused pane at least.
* DocumentWindow now contains the slide's name in its name if the document's view has a slide. (Most panes do have a slide, such as slide view, notes page, outline view etc).
* Moved ppActivePaneViewType, ppDocumentViewType properties from PaneClassDC to DocumentWindow as they're only now needed here.
* DocumentWindow.selection: a slide is only returned if its truely selected. For example, in Slide view a slide is no longer returned as the current slide's name is in the panes name anyway. But in Slide sorter or Thumbnails view a slide could be returned as these views are for specifically selecting slides.
* Moved handleSelectionChange and script_selectionChange, and all related key bindings from PpObject/Shape/Slide NVDAObjects onto the DocumentWindow NVDAObject. Script_selectionChange now has canPropagate set to true. In short DocumentWindow now totally manages selection of shapes / slides/textFrames. PpObject NVDAObject however still keeps a script_selectionChange which simply calls DocumentWindow's one, so that subClasses of PpObject can still bind in certain situations, such as for pressing tab when editing in a tableCell text frame.
* PaneClassDC has a DisplayModelTextInfo as its TextInfo so that its possible to review display content for any view.
* Added an OutlinePane NVDAObject to represent Outline view, which  inherits from EditableText and DocumentWindow, and uses an EditableTextDisplayModelTextInfo so that display model is used to track the caret in this view. A little flaky still but better than nothing.
* Shape NVDAObject's parent property now always returns the DocumentWindow (pane its in) rather than a Slide NVDAObject. The slide is not necessary as the pane is specifically for the slide anyway.
* Removed children and childCount properties from Slide and Shape NVDAObjects as they're not used or needed.
* Implement firstChild on DocumentWindow NVDAObjects to return selection property. This is so its possible to get back after navigating to parent.

11 years agoMerged main
Michael Curran [Sat, 29 Dec 2012 09:31:43 +0000 (19:31 +1000)]
Merged main

11 years agoAllow scons launcher to build properlty again. I made a mistake in 5725 -- forgot...
Michael Curran [Sat, 29 Dec 2012 09:30:51 +0000 (19:30 +1000)]
Allow scons launcher to build properlty again. I made a mistake in 5725 -- forgot the equals sign.

11 years agoFix for #2904 (IAccessible window objects treeted as layout when unavailable).
Michael Curran [Sat, 29 Dec 2012 06:15:25 +0000 (16:15 +1000)]
Fix for #2904 (IAccessible window objects treeted as layout when unavailable).
Specifically:
* IAccessible NVDAObject's presentationType property: remove all mentions of window objects and implement a new presentationType property on WindowRoot IAccessible NVDAObjects that returns unavailable if unavailable or invisible is in states, layout if the window does not have any extra IAccessibles, and at the very end, content.
* Move the windowHasExtraIAccessibles method onto the WindowRoot IAccessible NVDAObject.
* IAccessible NVDAObject's isPresentableFocusAncestor: remove any mention of window objects and  put a isPresentableFocusAncestor property on GenericWindow IAccessible NVDAObjects that is set to False.

11 years agoMerge main
Michael Curran [Sat, 29 Dec 2012 05:36:55 +0000 (15:36 +1000)]
Merge main

11 years agopowerpoint appModule: Rewrite PaneClassDC NVDAObject's selection property to better...
Michael Curran [Sat, 29 Dec 2012 05:35:01 +0000 (15:35 +1000)]
powerpoint appModule: Rewrite PaneClassDC NVDAObject's selection property to better handle the notes page in normal view. In Powerpoint 2007 and below it doesn't correctly report that text can be selected, so override this. Also allow selection tracking of slides in the slide sorter view.

11 years agouninstall and launcher NSI scripts: set Outfile with an OutFile command in the script...
Michael Curran [Fri, 28 Dec 2012 12:19:08 +0000 (22:19 +1000)]
uninstall and launcher NSI scripts: set Outfile with an OutFile command in the script that takes a quoted define, rather than the OutFile command being passed in on the commandline. This allows NVDA to be built  when there are spaces in the path.

11 years agosetup.py: Don't explicitly include ftdi2. I don't know why I thought it wouldn't...
James Teh [Fri, 28 Dec 2012 10:34:10 +0000 (20:34 +1000)]
setup.py: Don't explicitly include ftdi2. I don't know why I thought it wouldn't be included implicitly, since brailleDisplayDrivers have been bundled for a while now.
This means that a user who doesn't need this can still build successfully.

11 years agoPowerpoint appModule: DocumentWindow NVDAObject: make use of Powerpoint's activePane...
Michael Curran [Fri, 28 Dec 2012 02:20:48 +0000 (12:20 +1000)]
Powerpoint appModule: DocumentWindow NVDAObject: make use of Powerpoint's activePane.viewType to correctly label the currently active pane. MS Office 2003 does not automatically label its pane windows at all.

11 years agoPowerpoint appModule: make the PaneClassDC NVDAObject have a presentation type of...
Michael Curran [Thu, 27 Dec 2012 06:35:45 +0000 (16:35 +1000)]
Powerpoint appModule: make the PaneClassDC NVDAObject have a presentation type of content and a role of pane so that its name is announced on the focus ancestors as that is what tells you whether its notes, or slide master etc. Also give Slide NVDAObjects a presentation type of content so that  if moving focus to Powerpoint and it straight away landes on a shape, NVDA will announce the slide in the focus ancestry.

11 years agoPowerpoint appModule: again generate a slide's name from its slide number if it has...
Michael Curran [Thu, 27 Dec 2012 06:08:18 +0000 (16:08 +1000)]
Powerpoint appModule: again generate a slide's name from its slide number if it has one, otherwize (for masters, use the name). The name can't be used for normal slides as the auto-generated powerpoint names do not make sense when the slides are deleted or reorded.

11 years agoAdd support for all the master views in PowerPoint (title master, slide master, notes...
Michael Curran [Thu, 27 Dec 2012 05:26:00 +0000 (15:26 +1000)]
Add support for all the master views in PowerPoint (title master, slide master, notes master etc):
* Slide NVDAObject's name property: don't make up the name ourselves, just use the PowerPoint Slide object's name property instead. The name is already unique, and for slides by default does contain the number. This also allows this to work for master slides which don't have a number.
* Slide NVDAObject's _isEqual method: don't use slideID for comparison as master slides don't implement this property. Instead use the name property as this is guaranteed to be unique and both slides and masters contain this.

11 years agonvdaHelperLocal.cancellableSendMessageTimeout: don't foreceably remove SMTO_BLOCK...
Michael Curran [Thu, 27 Dec 2012 03:06:34 +0000 (13:06 +1000)]
nvdaHelperLocal.cancellableSendMessageTimeout: don't foreceably remove SMTO_BLOCK as it can freeze Powerpoint #2900. Lets see how this goes for now...

11 years agoAllow Powerpoint appModule to work with Powerpoint 2007 and 2003:
Michael Curran [Wed, 26 Dec 2012 01:23:30 +0000 (11:23 +1000)]
Allow Powerpoint appModule to work with Powerpoint 2007 and 2003:
* Use the PaneClassDC NVDAObject with the IAccessible client (objid_client) of PaneClassDC windows, rather than checking for PaneClassDC windows with a role of pane (roles seem to change between Office versions).
* Catch exceptions around another use of shape.title which I missed.

11 years agoPowerpoint appModule: refactor the way we switch apps to fix object model registratio...
Michael Curran [Tue, 25 Dec 2012 13:35:45 +0000 (23:35 +1000)]
Powerpoint appModule: refactor the way we switch apps to fix object model registration so that it doesn't cause infinit switching if the object model always fails.
Specifically:
* PaneClassDC.ppObjectModel no longer is in charge of switching apps if it fails, it simply tries to fetch it or returns None if it fails.
* PaneClassDC: allow initializing with a keyword argument of ppObjectModel, which overrides  its ppObjectModel getter with a pre existing Powerpoint object model instance.
* the appModule's event_gainFocus: If this a PaneClassDC window, specifically fetch the powerpoint object model first and if successful, pass it to the PaneClassDC NVDAObject when initializing.
If it fails to get the object model, then if it hasn't tried switching apps once, do it and return.

11 years agoPowerpoint appModule: handle the end of a slide show (no slide is currently being...
Michael Curran [Tue, 25 Dec 2012 11:54:26 +0000 (21:54 +1000)]
Powerpoint appModule: handle the end of a slide show (no slide is currently being viewed.

11 years agoPowerpoint appModule: fix bug that stopped NVDA from being able to provide access...
Michael Curran [Tue, 25 Dec 2012 11:31:33 +0000 (21:31 +1000)]
Powerpoint appModule: fix bug that stopped NVDA from being able to provide access to Powerpoint when it first opens with out either waiting 10 seconds or having the user alt tab away and back again. Although a better implementation may be possible in future, for now quickly flash up a temporary NVDA dialog if fetching the Powerpoint object model fails the first time. Fixes #2896

11 years agoPowerpoint appModule: better detection of Slide Show vs Document window:
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.

11 years agoPowerpoint: report bullets and numbering when editing text and when reading slide...
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.

11 years agoPowerpoint 2003 Shape objects do not have a title property so catch COMError.
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.

11 years agoMerged main
Michael Curran [Mon, 24 Dec 2012 11:39:48 +0000 (21:39 +1000)]
Merged main

11 years agoPowerpoint Slide Show view: detect slide changes when space is pressed.
Michael Curran [Mon, 24 Dec 2012 04:41:32 +0000 (14:41 +1000)]
Powerpoint Slide Show view: detect slide changes when space is pressed.

11 years agoDisplayModel_t::copyRectangle: refuse to copy if the source or destination rectangle...
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.

11 years agoAdd very basic support for reading running Slide Shows in Powerpoint. Currently just...
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.

11 years agoAdded an appModule providing initial support for MS Powerpoint. So far support only...
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.

11 years agodisplayModel.cpp: remove some debugging code
Michael Curran [Wed, 19 Dec 2012 03:04:51 +0000 (13:04 +1000)]
displayModel.cpp: remove some debugging code

11 years agoBetter handling of the raster codes for BitBlt/StretchBlt, now properly supporting...
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.

11 years agoHook gdiTransparentBlt
Michael Curran [Tue, 18 Dec 2012 00:30:39 +0000 (10:30 +1000)]
Hook gdiTransparentBlt

11 years agoTurkish (TR):
Rui Batista [Mon, 17 Dec 2012 10:05:07 +0000 (10:05 +0000)]
Turkish (TR):
Added changes.t2t.

11 years agoTraditional Chinese Taiwan (zh_TW):
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>

11 years agoTraditional Chinese Hong Kong (zh_HK):
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

11 years agoSimplified Chinese (zh_CN):
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

11 years agoTurkish (tr):
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

11 years agoTamil (ta):
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

11 years agoSlovenian (sl):
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

11 years agoSlovak (sk):
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>

11 years agoRussian (ru):
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>

11 years agoPortuguese (pt_PT):
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>

11 years agoBrazilian Portuguese (pt_BR):
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>

11 years agoPolish (pl):
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

11 years agoDuch (nl):
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>

11 years agoNepali (ne):
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

11 years agoNorwegian bokmål (nb_NO):
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>

11 years agoKorean (ko):
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>

11 years agoJapanese (ja):
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

11 years agoItalian (it):
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

11 years agoHungarian (hu):
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

11 years agoGalician (gl):
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

11 years agoFrench (fr):
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>

11 years agoFinnish (fi):
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

11 years agoSpanish (es):
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

11 years agoGerman (de):
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>

11 years agoDanish (da):
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>

11 years agoCzech (cs):
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>

11 years agoArabic (ar):
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

11 years agoAragonese (an):
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

11 years agoSupport for StretchBlt in the display model code. This allows NVDA to see tab labels...
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.

11 years agoAdd comments.
James Teh [Thu, 13 Dec 2012 07:58:50 +0000 (17:58 +1000)]
Add comments.

11 years agobrailleNote: Use MAC address range to detect Apex via Bluetooth, as the name can...
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.

11 years agoMerge 2012.3.
James Teh [Thu, 13 Dec 2012 04:16:07 +0000 (14:16 +1000)]
Merge 2012.3.

11 years agoBump version to 2012.3.1. release-2012.3.1
James Teh [Thu, 13 Dec 2012 02:10:23 +0000 (12:10 +1000)]
Bump version to 2012.3.1.

11 years agoMerged 2012.3
Michael Curran [Wed, 12 Dec 2012 23:18:36 +0000 (09:18 +1000)]
Merged 2012.3

11 years agolanguageHandler.getLanguageDescription: hard-coded map: Add translator comments,...
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.

11 years agoSlovenian (sl):
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

11 years agoFix for #2858: If Windows / Python fails to convert an ISO language code in to a...
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.

11 years agoinstaller._deleteKeyAndSubkeys: Don't close the handle before deleting the key. Other...
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.

11 years agoCandidateListItem behavior: gracefully handle the situation where there is no actual...
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.

11 years agoaddonHandler: don't make NVDA fail on restart if an addon cannot be removed because...
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.

11 years agoWhen disabling automatic checking for updates, NVDA no longer has to be restarted...
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.

11 years agoLinguistic fix.
James Teh [Sat, 8 Dec 2012 22:54:58 +0000 (08:54 +1000)]
Linguistic fix.

11 years agoAdd support for manual port selection in braille display drivers. Add BrailleNote...
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.

11 years agoAragonese (an):
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

11 years agoMerge main.
James Teh [Fri, 7 Dec 2012 08:43:02 +0000 (18:43 +1000)]
Merge main.

11 years agoRemove debugging code. :)
James Teh [Fri, 7 Dec 2012 08:42:26 +0000 (18:42 +1000)]
Remove debugging code. :)

11 years agohwPortUtils.getToshibaBluetoothPortInfo: Oops. Don't fail when encountering a bluetoo...
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.

11 years agoMerge main.
James Teh [Fri, 7 Dec 2012 06:35:18 +0000 (16:35 +1000)]
Merge main.

11 years agoWhen custom symbol pronunciation information is saved, the advanced preserve field...
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.

11 years agohwPortUtils: Restrict Toshiba bluetooth hardware ID check, as it's always exactly...
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.

11 years agohwPortUtils: Make spelling of ID consistent.
James Teh [Fri, 7 Dec 2012 06:15:21 +0000 (16:15 +1000)]
hwPortUtils: Make spelling of ID consistent.

11 years agohwPortUtils: Add support for the Toshiba bluetooth stack.
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.

11 years agovbuf utils: isWhitespace: Treat line feed as whitespace.
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.

11 years agogecko vbuf backend: If the name should be the content, as well as rendering the name...
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.

11 years agovbuf: Move code which checks for useful content (i.e. not empty or not just a small...
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.

11 years agoReplace all translatable strings with ambiguous positional arguments with appropriate...
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.

11 years agoFix a missed VBufRemote call where node is now an out param rather than return.
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.

11 years agoUpdate What's New.
James Teh [Wed, 5 Dec 2012 23:27:49 +0000 (09:27 +1000)]
Update What's New.

11 years agoSecureCRT: Add another window class name to support version 7.0.x.
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.

11 years agoUser Guide: Linguistic and syntax fixes.
James Teh [Wed, 5 Dec 2012 22:40:50 +0000 (08:40 +1000)]
User Guide: Linguistic and syntax fixes.

11 years agobrailleNote: Change description to include "HumanWare".
James Teh [Wed, 5 Dec 2012 21:45:01 +0000 (07:45 +1000)]
brailleNote: Change description to include "HumanWare".

11 years agoWhat's New: Remove general mention of support for serial displays, as this is only...
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.

11 years agoBraillenote driver:: remove unused variable and update docstring.
rui Batista [Thu, 6 Dec 2012 00:29:55 +0000 (00:29 +0000)]
Braillenote driver:: remove unused variable and update docstring.

11 years agoWhat's new: Add serial display support, fs port selection and brailleNote display...
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.

11 years agoMerged main.
rui Batista [Wed, 5 Dec 2012 16:00:03 +0000 (16:00 +0000)]
Merged main.

11 years agoUserguide: Add documentation about Braillenote terminal display support. Minor langua...
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.

11 years agoBraillnote driver: corrected small typo on gesture bindings for home key.
rui Batista [Wed, 5 Dec 2012 15:55:43 +0000 (15:55 +0000)]
Braillnote driver: corrected small typo on gesture bindings for home key.

11 years agomerge 2012.3
Mesar Hameed [Wed, 5 Dec 2012 06:52:57 +0000 (07:52 +0100)]
merge 2012.3

11 years agozh_CN: updated symbols.dic and characterDescriptions.dic.
Mesar Hameed [Wed, 5 Dec 2012 06:51:12 +0000 (07:51 +0100)]
zh_CN: updated symbols.dic and characterDescriptions.dic.