Skip to content

Commit 3e1c884

Browse files
committed
Finalization of v1.0.1, which fixes an installation problem that sometimes happened on older Windows versions.
(Probably caused by non-Unix newlines in code.) Added note about Semantic Versioning, updated readme, and made slight comment changes to code.
1 parent 03dc570 commit 3e1c884

4 files changed

Lines changed: 18 additions & 16 deletions

File tree

addon/globalPlugins/debugHelper.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Debug Helper (debugHelper.py), version 1.0.01-dev
2+
# Debug Helper (debugHelper.py), version 1.0.1
33
# An NVDA global plugin to make dealing with the NVDA log easier and more efficient.
44

55
# Copyright (C) 2019 Luke Davis <newanswertech@gmail.com>
@@ -12,7 +12,9 @@
1212
# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc.,
1313
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1414

15-
# This add-on is intended to make debugging tasks easier for developers. If you make frequent use of the NVDA log, this may provide features that help you.
15+
# This add-on complies with Semantic Versioning: https://semver.org/
16+
17+
# Debug Helper is intended to make debugging tasks easier for developers. If you make frequent use of the NVDA log, this may provide features that help you.
1618
# Other things are planned, but currently the only implemented feature is:
1719
# Press NVDA+shift+F1, to insert a sequentially numbered line in the log. (Can be remapped under Tools in Input Gesture settings.)
1820
# This makes it easier to find where you were last, before or after you performed a certain action.
@@ -28,8 +30,7 @@
2830
import gui, wx
2931
import addonHandler
3032

31-
# This is an apparently undocumented function of addonHandler. Since everybody seems to call it, I do, but just guessing what it probably does.
32-
addonHandler.initTranslation()
33+
addonHandler.initTranslation() # Makes translations work correctly.
3334

3435
# CONSTANTS:
3536
DH_DEFAULT_BLANKS_BEFORE = 1

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
version: "{branch}-{build}"
22

3-
max_jobs: 3
3+
max_jobs: 1
44

55
environment:
66
PY_PYTHON: 3.7-32
77

88
init:
99
- ps: |
1010
if ($env:APPVEYOR_REPO_TAG_NAME) {
11-
if ($env:APPVEYOR_REPO_TAG_NAME.StartsWith("beta-")) {
12-
Set-AppveyorBuildVariable -Name "prerelease" -Value tru
11+
if ($env:APPVEYOR_REPO_TAG_NAME.EndsWith("-dev")) {
12+
Set-AppveyorBuildVariable -Name "prerelease" -Value "tru"
1313
} else {
14-
Set-AppveyorBuildVariable -Name "prerelease" -Value false
14+
Set-AppveyorBuildVariable -Name "prerelease" -Value "false"
1515
}
1616
}
1717
@@ -39,7 +39,7 @@ deploy:
3939
secure: ayZmtkNXgFmwTjA6LMI7/cCcFVAL9w7IiKuCOFeegjntytcAOY8Wzb2LAX2ZqKgY
4040
artifact: addon
4141
draft: false
42-
prerelease: true
42+
prerelease: false
4343
on:
4444
appveyor_repo_tag: true # deploy on tag push only
4545

buildVars.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
Inserts sequentially numbered mark lines in the log when you press NVDA+shift+F1, to make it easy to search for things, by "tagging" them.
2222
Contact me if you find it useful, and especially with feature ideas."""),
2323
# version
24-
"addon_version" : "1.0.01-dev",
24+
"addon_version" : "1.0.1",
2525
# Author(s)
2626
"addon_author" : u"Luke Davis <newanswertech@gmail.com>",
2727
# URL for the add-on documentation support
@@ -33,7 +33,7 @@
3333
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
3434
"addon_lastTestedNVDAVersion" : "2019.3",
3535
# Add-on update channel (default is stable or None)
36-
"addon_updateChannel" : "dev",
36+
"addon_updateChannel" : None,
3737
}
3838

3939
import os.path

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Debug Helper
22

33
* Author: Luke Davis
4-
* Download [stable version][1]
4+
* Download [stable version](https://github.com/XLTechie/debugHelper/releases/download/1.0.1/debugHelper-1.0.1.nvda-addon)
5+
56
* Download [development version][2]
67

78
The purpose of this add-on is to make debugging things in NVDA easier.
@@ -42,12 +43,12 @@ Note: the mark count will survive the reloading of plugins (NVDA+control+F3), bu
4243
In the Settings section of NVDA Preferences, you will find a "Debug Helper" category. In the settings dialog you can change the number of blank lines inserted before and after each mark line. The default is one line before, and zero after, although you can use zero through 10 lines for either.
4344
Under the Tools category of NVDA's Input Gestures panel, you can change NVDA+shift+F1 to a key sequence of your choice.
4445

45-
## Change log
46+
## Changelog
4647

47-
### Version 1.0.01-dev (2019-08-26)
48+
### Version 1.0.1 (2019-08-26)
4849

49-
* Minor bugfix version to possibly fix an install problem on certain versions of Windows.
50-
- CRLF fixes in code.
50+
* Minor bugfix version to fix an install problem on certain versions of Windows.
51+
- CRLF fixes in code (DOS/Windows newlines converted to Unix style).
5152
- Forced UTF8 encoding.
5253

5354
### Version 1.0 (2019-08-22)

0 commit comments

Comments
 (0)