[nvda-addons] Re: commit/wintenApps: 3 new changesets

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>, <nvda-addons-commits@xxxxxxxxxxxxx>
  • Date: Tue, 6 Dec 2016 07:52:14 -0800

Hi all,
I'll release WinTenApps 16.12.1 today that includes suggestion announcements
in Groove Music and l10n updates. Thanks.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons-commits-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-commits-bounce@xxxxxxxxxxxxx] On Behalf Of
commits-noreply@xxxxxxxxxxxxx
Sent: Tuesday, December 6, 2016 7:48 AM
To: nvda-addons-commits@xxxxxxxxxxxxx
Subject: commit/wintenApps: 3 new changesets

3 new commits in wintenApps:

https://bitbucket.org/nvdaaddonteam/wintenapps/commits/9ab334a4c6cd/
Changeset:   9ab334a4c6cd
Branch:      None
User:        josephsl
Date:        2016-11-28 17:09:07+00:00
Summary:     Groove music: Allow detection of controller for event for
search box.

he search box in Groove Music does raise controller for event. However, the
UI Automation ID is same as Start meny's search box, thus import global
plugin search field handler for this app module.

Affected #:  1 file

diff --git a/addon/appModules/music_ui.py b/addon/appModules/music_ui.py new
file mode 100755 index 0000000..ca7cd8a
--- /dev/null
+++ b/addon/appModules/music_ui.py
@@ -0,0 +1,16 @@
+# WinTenApps/music_ui.py
+# Part of Windows 10 App Essentials collection # Copyright 2016 Joseph 
+Lee, released under GPL.
+
+# Various workarounds for Groove music.
+
+import appModuleHandler
+import controlTypes
+from NVDAObjects.UIA import UIA
+from globalPlugins.wintenObjs import SearchField
+
+class AppModule(appModuleHandler.AppModule):
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if obj.UIAElement.cachedClassName in ("TextBox",
"RichEditBox") and obj.UIAElement.cachedAutomationID == "SearchTextBox":
+                       clsList.insert(0, SearchField)


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/2977484707d0/
Changeset:   2977484707d0
Branch:      None
User:        josephsl
Date:        2016-12-01 15:37:49+00:00
Summary:     Headers: standardized header text, removed control types from
modules imported in Groove Music.

Affected #:  6 files

diff --git a/addon/appModules/bankofamerica.py
b/addon/appModules/bankofamerica.py
index 6bf031e..83f48a4 100755
--- a/addon/appModules/bankofamerica.py
+++ b/addon/appModules/bankofamerica.py
@@ -1,4 +1,4 @@
-# WinTenApps/BankOfAmeria.py
+# WinTenApps/BankOfAmerica.py
 # Part of Windows 10 App Essentials collection  # Copyright 2016 Joseph
Lee, released under GPL.
 

diff --git a/addon/appModules/music_ui.py b/addon/appModules/music_ui.py
index ca7cd8a..3473fa1 100755
--- a/addon/appModules/music_ui.py
+++ b/addon/appModules/music_ui.py
@@ -5,12 +5,11 @@
 # Various workarounds for Groove music.
 
 import appModuleHandler
-import controlTypes
 from NVDAObjects.UIA import UIA
 from globalPlugins.wintenObjs import SearchField
 
 class AppModule(appModuleHandler.AppModule):
 
        def chooseNVDAObjectOverlayClasses(self, obj, clsList):
-               if obj.UIAElement.cachedClassName in ("TextBox",
"RichEditBox") and obj.UIAElement.cachedAutomationID == "SearchTextBox":
+               if isinstance(obj, UIA) and obj.UIAElement.cachedClassName
in ("TextBox", "RichEditBox") and obj.UIAElement.cachedAutomationID ==
"SearchTextBox":
                        clsList.insert(0, SearchField)

diff --git a/addon/appModules/skypeapp.py b/addon/appModules/skypeapp.py
index c2083f9..bba3c90 100755
--- a/addon/appModules/skypeapp.py
+++ b/addon/appModules/skypeapp.py
@@ -1,5 +1,5 @@
 # Skype Preview/UWP
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Workarounds for Skype UWP, providing similar features to Skype for
Desktop client support (skype.py found in NVDA Core).

diff --git a/addon/appModules/systemsettings.py
b/addon/appModules/systemsettings.py
index cfc656e..b64fa00 100755
--- a/addon/appModules/systemsettings.py
+++ b/addon/appModules/systemsettings.py
@@ -1,5 +1,5 @@
 # Windows 10 Settings
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Several hacks related to Settings app.

diff --git a/addon/appModules/winstore_app.py
b/addon/appModules/winstore_app.py
index 50b06bf..48acf38 100755
--- a/addon/appModules/winstore_app.py
+++ b/addon/appModules/winstore_app.py
@@ -1,5 +1,5 @@
 # Windows 10 Store
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.

diff --git a/addon/appModules/winstore_mobile.py
b/addon/appModules/winstore_mobile.py
index de7bb1d..17f0a61 100755
--- a/addon/appModules/winstore_mobile.py
+++ b/addon/appModules/winstore_mobile.py
@@ -1,5 +1,5 @@
 # Windows 10 Store
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/0d46724da112/
Changeset:   0d46724da112
Branch:      stable
User:        josephsl
Date:        2016-12-06 15:47:37+00:00
Summary:     Merge branch 'master' into stable

Affected #:  6 files

diff --git a/addon/appModules/bankofamerica.py
b/addon/appModules/bankofamerica.py
index 6bf031e..83f48a4 100755
--- a/addon/appModules/bankofamerica.py
+++ b/addon/appModules/bankofamerica.py
@@ -1,4 +1,4 @@
-# WinTenApps/BankOfAmeria.py
+# WinTenApps/BankOfAmerica.py
 # Part of Windows 10 App Essentials collection  # Copyright 2016 Joseph
Lee, released under GPL.
 

diff --git a/addon/appModules/music_ui.py b/addon/appModules/music_ui.py new
file mode 100755 index 0000000..3473fa1
--- /dev/null
+++ b/addon/appModules/music_ui.py
@@ -0,0 +1,15 @@
+# WinTenApps/music_ui.py
+# Part of Windows 10 App Essentials collection # Copyright 2016 Joseph 
+Lee, released under GPL.
+
+# Various workarounds for Groove music.
+
+import appModuleHandler
+from NVDAObjects.UIA import UIA
+from globalPlugins.wintenObjs import SearchField
+
+class AppModule(appModuleHandler.AppModule):
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if isinstance(obj, UIA) and obj.UIAElement.cachedClassName
in ("TextBox", "RichEditBox") and obj.UIAElement.cachedAutomationID ==
"SearchTextBox":
+                       clsList.insert(0, SearchField)

diff --git a/addon/appModules/skypeapp.py b/addon/appModules/skypeapp.py
index c2083f9..bba3c90 100755
--- a/addon/appModules/skypeapp.py
+++ b/addon/appModules/skypeapp.py
@@ -1,5 +1,5 @@
 # Skype Preview/UWP
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Workarounds for Skype UWP, providing similar features to Skype for
Desktop client support (skype.py found in NVDA Core).

diff --git a/addon/appModules/systemsettings.py
b/addon/appModules/systemsettings.py
index cfc656e..b64fa00 100755
--- a/addon/appModules/systemsettings.py
+++ b/addon/appModules/systemsettings.py
@@ -1,5 +1,5 @@
 # Windows 10 Settings
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Several hacks related to Settings app.

diff --git a/addon/appModules/winstore_app.py
b/addon/appModules/winstore_app.py
index 50b06bf..48acf38 100755
--- a/addon/appModules/winstore_app.py
+++ b/addon/appModules/winstore_app.py
@@ -1,5 +1,5 @@
 # Windows 10 Store
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.

diff --git a/addon/appModules/winstore_mobile.py
b/addon/appModules/winstore_mobile.py
index de7bb1d..17f0a61 100755
--- a/addon/appModules/winstore_mobile.py
+++ b/addon/appModules/winstore_mobile.py
@@ -1,5 +1,5 @@
 # Windows 10 Store
-# Part of Windows 10 App Essentials
+# Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.

Repository URL: https://bitbucket.org/nvdaaddonteam/wintenapps/

--

This is a commit notification from bitbucket.org. You are receiving this
because you have the service enabled, addressing the recipient of this
email.

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs. 

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts:

  • » [nvda-addons] Re: commit/wintenApps: 3 new changesets - Joseph Lee