4 new commits in StationPlaylist:
https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/9a80cfce4fea/
Changeset: 9a80cfce4fea
Branch: None
User: josephsl
Date: 2019-07-28 20:36:22+00:00
Summary: SConstruct: allow building SPL add-on with Python 2 or 3.
NVDA 2019.2 is Python 2, and 2019.3 is Python 3. Therefore support both Python
2 and 3 when attempting to build this add-on.
This will be backported to LTS18 for consistency.
Affected #: 1 file
diff --git a/sconstruct b/sconstruct
index 2069cd1..4570167 100755
--- a/sconstruct
+++ b/sconstruct
@@ -21,7 +21,7 @@ def md2html(source, dest):
}
with codecs.open(source, "r", "utf-8") as f:
mdText = f.read()
- for k, v in headerDic.iteritems():
+ for k, v in headerDic.items():
mdText = mdText.replace(k, v, 1)
htmlText = markdown.markdown(mdText)
with codecs.open(dest, "w", "utf-8") as f:
@@ -127,7 +127,11 @@ def generateManifest(source, dest):
f.write(manifest)
def generateTranslatedManifest(source, language, out):
- _ = gettext.translation("nvda", localedir=os.path.join("addon",
"locale"), languages=[language]).ugettext
+ # No ugettext in Python 3.
+ if sys.version_info.major == 2:
+ _ = gettext.translation("nvda", localedir=os.path.join("addon",
"locale"), languages=[language]).ugettext
+ else:
+ _ = gettext.translation("nvda", localedir=os.path.join("addon",
"locale"), languages=[language]).gettext
vars = {}
for var in ("addon_summary", "addon_description"):
vars[var] = _(buildVars.addon_info[var])
@@ -167,7 +171,7 @@ for mdFile in env.Glob(os.path.join('addon', 'doc', '*',
'*.md')):
# Pot target
i18nFiles = expandGlobs(buildVars.i18nSources)
gettextvars={
- 'gettext_package_bugs_address' :
'nvda-translations@xxxxxxxxxxxxx',
+ 'gettext_package_bugs_address' : 'nvda-translations@xxxxxxxxx',
'gettext_package_name' : buildVars.addon_info['addon_name'],
'gettext_package_version' :
buildVars.addon_info['addon_version']
}
https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/46591d9d0a0b/
Changeset: 46591d9d0a0b
Branch: None
User: josephsl
Date: 2019-07-28 20:37:03+00:00
Summary: SConstruct: do not write build vars bytecode, clean up English
readme and dblite files (credit: Abdel).
Affected #: 1 file
diff --git a/sconstruct b/sconstruct
index 4570167..600db4a 100755
--- a/sconstruct
+++ b/sconstruct
@@ -8,6 +8,8 @@ import gettext
import os
import os.path
import zipfile
+import sys
+sys.dont_write_bytecode = True
import buildVars
@@ -190,3 +192,4 @@ env.Depends(manifest, "buildVars.py")
env.Depends(addon, manifest)
env.Default(addon)
+env.Clean (addon, ['.sconsign.dblite', 'addon/doc/en/'])
https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/15cc8724dc41/
Changeset: 15cc8724dc41
Branch: None
User: josephsl
Date: 2019-07-29 16:58:26+00:00
Summary: Readme: some 19.08 items only apply to 19.08.
Affected #: 1 file
diff --git a/readme.md b/readme.md
index 4d3c8be..d530295 100755
--- a/readme.md
+++ b/readme.md
@@ -193,8 +193,8 @@ If you are using Studio on a touchscreen computer running
Windows 8 or later and
## Version 19.08/18.09.11-LTS
-* NVDA 2019.1 or later is required.
-* NVDA will no longer appear to do nothing or play error tones when restarting
it while Studio add-on settings dialog is open.
+* 19.08: NVDA 2019.1 or later is required.
+* 19.08: NVDA will no longer appear to do nothing or play error tones when
restarting it while Studio add-on settings dialog is open.
* NVDA will remember profile-specific setttings when switching between
settings panels even after renaming the currently selected broadcast profile
from add-on settings.
* NVDA will no longer forget to honor changes to time-based profiles when OK
button is pressed to close add-on settings. This bug has been present since
migrating to multi-page settings in 2018.
https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/6ad86aa94c85/
Changeset: 6ad86aa94c85
Branch: stable
User: josephsl
Date: 2019-07-29 17:00:37+00:00
Summary: StationPlaylist add-on 19.08
Signed-off-by: Joseph Lee <joseph.lee22590@xxxxxxxxx>
Affected #: 1 file
diff --git a/buildVars.py b/buildVars.py
index 633467f..88aa857 100755
--- a/buildVars.py
+++ b/buildVars.py
@@ -20,7 +20,7 @@ addon_info = {
"addon_description" : _("""Enhances support for StationPlaylist Studio.
In addition, adds global commands for the studio from everywhere."""),
# version
- "addon_version" : "19.07",
+ "addon_version" : "19.08",
# Author(s)
"addon_author" : u"Geoff Shang, Joseph Lee and other contributors",
# URL for the add-on documentation support
Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.