Skip to content

Commit 83c574e

Browse files
committed
Merge branch 'release/2.3.0'
2 parents bb917f5 + 5a831a8 commit 83c574e

21 files changed

+793
-247
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Customise GitHub Linguist
2+
3+
# Highlight Inno Setup's .ps files as Pascal
4+
*.ps linguist-language=Pascal
5+
# Include Markdown files in stats
6+
*.md linguist-detectable

CHANGELOG.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,43 @@ This change log begins with the first ever pre-release version of what was then
88

99
From release 2.0.0 the version numbering has attempted to adhere to the principles of [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1010

11+
## Release 2.3.0 - 2022-10-22
12+
13+
This release includes _PasHi_ v2.3.0 and _PasHiGUI_ v1.3.0
14+
15+
### PasHi 2.3.0 [build 15]
16+
17+
* Added new `--inhibit-styling` command to prevent `<span>` tags from being emitted for specified highlighter elements. [Issue 30]
18+
* Modified operation of `--trim` command to add facility to trim trailing spaces from source code lines. Added new parameters to specify whether lines, trailing spaces or nothing are to be trimmed. Maintained backward compatibility with older parameters, but deprecated them. [Issue 29]
19+
* Added new `-v` command as an alias for `--verbosity`. [Issue 38]
20+
* Added `frag` parameter as an alias for `fragment` in `--doc-type` command. [Issue 47]
21+
* Enabled `-` to be used as a parameter.
22+
* Added support for parsing set type parameters in form `{elem1,elem2,...}`.
23+
* Updated text of help screen re the new & modified commands.
24+
* Some minor refactoring.
25+
26+
### PasHiGUI 1.3.0 [build 9]
27+
28+
* Updated options pane to provide support for the new `--inhibit-styling` and modified `--trim` commands.
29+
30+
### General
31+
32+
* Update `UserGuide.html`:
33+
* Add information about new & modified commands.
34+
* Tweaked some content.
35+
* Restyled tales for impreved readability.
36+
* Bumped config files version from 5 to 6. [Issue 55]
37+
* Updated `config-template`:
38+
* Added comments detailing new `inhibit-styling` and modified `trim` commands.
39+
* Added information about `line-number-satrt` command omitted from previous release. [Issue 53]
40+
* Standardised formatting of comments.
41+
* Added content explaining how to get help on the purpose of the config file commands.
42+
43+
### Repository changes
44+
45+
* Added link to user guide in `README.md`. [Issue 50]
46+
* Corrected formatting of Inno Setup files on GitHub. [Issue 36]
47+
1148
## Release 2.2.1 - 2022-08-29
1249

1350
This release includes _PasHi_ v2.2.1 and _PasHiGUI_ v1.2.1. Changes are as follows:
@@ -56,9 +93,8 @@ This release includes _PasHi_ v2.2.0 and _PasHiGUI_ v1.2.0. Changes are as follo
5693
* Fixed CSS errors
5794
* Made minor changes to read-me file that is included in distributions.
5895
* Updated various web addresses in documentation.
59-
* Updated `config-template` comments:
60-
* noted fact that the `version` command can't be used in the `config` file
61-
* added details of new `line-number-start` command & its parameters
96+
* Updated `config-template` comments to note that the `version` command can't be used in the `config` file
97+
* Bumped config files version from 4 to 5.
6298

6399
## Release 2.1.0 - 2021-09-22
64100

@@ -96,6 +132,7 @@ This release includes _PasHi_ v2.1.0 and _PasHiGUI_ v1.1.0. Changes are as follo
96132
* noted fact that the `help` command can no longer be used in the `config` file
97133
* added details of new `viewport` and `edge-compatibility` commands
98134
* noted new command parameters
135+
* Bumped config files version from 3 to 4.
99136
* Commented all v1 CSS classes as deprecated in `.css` files.
100137

101138
## Release 2.0.0 - 2016-09-22

Config/config-template

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
#
6666
# A complete list of valid commands follows. Commands and parameters that are
6767
# slated for removal in the next major release are flagged as deprecated.
68+
#
69+
# For an explanation of what these commands do see the documentation of the
70+
# related command line command in the user guide or in PasHi's help screen,
71+
# accessed by typing "PasHi --help".
6872

6973

7074
# --- Input source commands ---
@@ -78,9 +82,12 @@
7882
# --- Input source trimming ---
7983
# Command:
8084
# trim <param>
81-
# where <param> ie either "yes" or "no"
85+
# where <param> is one of "-", "lines", "spaces", "all", "yes" or "no"
86+
# ** the "yes" and "no" parameters are DEPRECATED
87+
# use "lines" instead of "yes" and "-" instead of "no"
8288
# Default:
83-
# trim yes
89+
# trim lines
90+
# ** the default is DEPRECATED: may change to "all" in next release
8491

8592

8693
# --- Multiple input file separation ---
@@ -145,7 +152,7 @@
145152
# title-default
146153

147154

148-
# -- Output document encoding ---
155+
# --- Output document encoding ---
149156
# Command:
150157
# encoding <param>
151158
# where <param> is one of "utf-8", "utf-16", "windows-1252" or "iso-8859-1"
@@ -188,38 +195,62 @@
188195
# legacy-css no
189196

190197

191-
# -- Line numbering
198+
# --- Code generation ---
199+
# Command:
200+
# inhibit-styling <param>
201+
# where <param> is either:
202+
# a set of zero or more of the values, "space", "comment", "kwd", "ident",
203+
# "sym", "str", "num", "float", "hex", "preproc", "asm" or "err",
204+
# separated by commas, with no spaces, and enclosed in curly brackets,
205+
# or:
206+
# a single one of the above values,
207+
# or:
208+
# a minus sign, "-", as an alias for the empty set "{}".
209+
# Examples:
210+
# inhibit-styling {space}
211+
# inhibit-styling space
212+
# inhibit-styling {num,float,hex}
213+
# inhibit-styling {}
214+
# inhibit-styling -
215+
# Default:
216+
# inhibit-styling {}
217+
218+
219+
# --- Line numbering ---
192220
# Commands:
193221
# line-numbering <param>
194222
# where <param> is either "on" or "off"
195223
# line-number-width <param>
196224
# where <param> is a number in range 1..6
197225
# line-number-padding <param>
198226
# where <param> is one of "space", "zero", "dot" or "dash"
227+
# line-number-start <param>
228+
# where <param> is a number in range 1...9999
199229
# Defaults:
200230
# line-numbering off
201231
# line-number-width 3
202232
# line-number-padding space
233+
# line-number-start 1
203234

204235

205-
# -- Line styling
236+
# --- Line styling ---
206237
# Command:
207238
# striping <param>
208239
# where <param> is either "on" or "off"
209240
# Default:
210241
# striping off
211242

212243

213-
# -- Meta tags
244+
# --- Meta tags ---
214245
# Commands:
215246
# viewport <param>
216247
# where <param> is one of "phone" or "none"
217248
# edge-compatibility <param>
218249
# where <param> is either "on" or "off"
219-
# Defaults:
220-
# viewport none
221-
# ** the viewport default is DEPRECATED: may change in next major release
222-
# edge-compatibility off
250+
# Defaults:
251+
# viewport none
252+
# ** the viewport default is DEPRECATED: may change in next major release
253+
# edge-compatibility off
223254

224255

225256
# --- Output verbosity ---

Config/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5
1+
6

0 commit comments

Comments
 (0)