Large Commits have some content hidden by default. Use the searcx below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
42 files changed
+3334
-370
lines changed
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,40 @@ Releases are listed in reverse version number order.
6
6
7
7
> Note that _CodeSnip_ v4 was developed in parallel with v3 for a while. As a consequence some v3 releases have later release dates than early v4 releases.
8
8
9
+
## Release v4.26.0 of 02 May 2025
10
+
11
+
* Updated the dialogue box displayed when saving units and annotated source code [issue #166]:
12
+
* The _File Encoding_ drop down list control is disabled if there is only one encoding option.
13
+
* Updated and clarified the naming of encodings in the _File Encoding_ drop down list.
14
+
* The sole encoding option displayed for the _Rich text file_ file type was changed from the erroneous ANSI to the correct ASCII.
15
+
* Fixed bug where, when ANSI encoding was selected in the _Save Unit_ and _Save Annotated Source_ dialogue boxes, snippets containing characters not supported in the default locale's code page were being rendered diffently in the Preview dialogue box to when saved to file [issue #164]. The previewed code is now the same as that of the saved source code.
16
+
* Updated file formats available when the _File | Save Snippet Information_ menu option is selected:
17
+
* Syntax highlighting of the existing RTF format output is now optional.
18
+
* Added the option to save snippet information in the following new formats:
19
+
* Plain text, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page. [issue #162]
20
+
* HMTL 5 with optional syntax highlighting, in UTF-8 format [issue #153].
21
+
* XHTML with optional syntax highlighting, in UTF-8 format [issue #153].
22
+
* Markdown, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page [issue #155].
23
+
* Changed the _Save Snippet Information_ dialogue box:
24
+
* It is now based on that used for saving unit and annotated source code in that file encoding and snippet highlighting can be customised where relevant, although the _Comment style_ controls are disabled since they are not relevant.
25
+
* The suggested file name was changed from "SnippetInfo" to the display name of the selected snippet.
26
+
* The dialogue box caption now contains the display name of the selected snippet.
27
+
* Changed the title of the _Save Annotated Source_ dialogue box when displaying snippets.
28
+
* Added option to prevent descriptive comments from appearing in the implementation section of generated units. A check box for this option has been added to the _Code Formatting_ tab of the _Preferences_ dialogue box [issue #85].
29
+
* The _Help | CodeSnip News Blog_ menu item was changed to link to the [DelphiDabbler Blog](https://delphidabbler.blogspot.com/) instead of the CodeSnip Blog, because the latter is to be closed down. The menu item was renamed to _Help | CodeSnip News On DelphiDabbler Blog_[issue #161].
30
+
* Improved how the CSS used in generated HTML 5 and XHTML files is generated:
31
+
* The ordering of CSS selectors can now be pre-determined.
32
+
* CSS lengths and sizes can now be specified in units, such as `em`, instead of just pixels.
33
+
* Refactored the `USourceGen` unit to remove an unnecessary dependency on user preferences [issue #167].
34
+
* Updated the help file:
35
+
* Re changes when saving snippet information [issue #163].
36
+
* Re changes to the _Save Unit_ and _Save Annotated Source_ dialogue boxes.
37
+
* Re changes to the blog linked from the _Help_ menu.
38
+
* Re the new option to inhibit comments in the implementation sections of generated units.
39
+
* Updated documentation:
40
+
* File format documentation was changed re the addition of the Markdown file format and the changes to the encodings used in saved files.
41
+
* Read-me files were updated re the change of news blog.
42
+
9
43
## Release v4.25.0 of 19 April 2025
10
44
11
45
* Added new feature to save snippet information to file in RTF format using the new _File | Save Snippet Information_ menu option [issue #140].
@@ -15,7 +49,7 @@ Releases are listed in reverse version number order.
15
49
* Overhauled rich text format processing:
16
50
* Fixed bug where Unicode characters that don't exist in the system code page were not being displayed correctly [issue #157].
17
51
* Fixed potential bug where some reserved ASCII characters may not be escaped properly [issue #159].
18
-
* Refactored and improved the rich text handling code [issue #100].
52
+
* Refactored and improved the rich text handling code [issue #100].
19
53
* Corrected the copyright date displayed in the About Box to include 2025 [issue #149].
20
54
* Documentation changes:
21
55
* Fixed error in the export file formation documentation and related help topic [issue #151].
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ <h3>
167
167
</p>
168
168
169
169
<p>
170
-
There have been several versions of this file. The current one is version 19. The change to version 19 came with CodeSnip v4.21.0 and the addition of the [Compilers] section and the <codeclass="key">CanAutoInstall</code> key in the [Cmp:XXX] sections.
170
+
There have been several versions of this file. The current one is version 20. The change to version 20 came with CodeSnip v4.26.0 and the addition of the <codeclass="key">UseCommentsInUnitImpl</code> key in the <code>[Prefs:SourceCode]</code> section.
171
171
</p>
172
172
173
173
<p>
@@ -771,7 +771,7 @@ <h4>
771
771
The version number of the config file. Incremented whenever the file format changes. If this section or this value is missing then the default value is <codeclass="value">1</code>.
772
772
</div>
773
773
<divclass="half-spaced">
774
-
The current value is <codeclass="value">19</code>.
774
+
The current value is <codeclass="value">20</code>.
775
775
</div>
776
776
</dd>
777
777
<dt>
@@ -1262,6 +1262,12 @@ <h4>
1262
1262
<dd>
1263
1263
Flag indicating whether multi-paragraph snippet descriptions are to be truncated to the first paragraph only in documentation comments. <codeclass="value">True</code> ⇒ truncate the description; <codeclass="value">False</code> ⇒ use the full description.
Flag indicating whether source code comments are repeated in a generated unit's implementation section. <codeclass="value">True</code> ⇒ emit comments in both the interface and implementation sections; <codeclass="value">False</code> ⇒ emit comments in the interface section only.
By saving snippet information to file from the <em>File | Save Snippet Information</em> menu option.
54
+
By saving snippet information using the <em>File | Save Snippet Information</em> menu option.
55
55
</li>
56
56
<li>
57
-
By saving snippets to file from the <em>File | Save Snippet</em> menu option.
57
+
By saving snippets using the <em>File | Save Snippet</em> menu option.
58
58
</li>
59
59
<li>
60
-
By saving units to file from the <em>File | Save Unit</em> menu option.
60
+
By saving units using the <em>File | Save Unit</em> menu option.
61
61
</li>
62
62
</ol>
63
63
64
64
<p>
65
-
In the first case the snippet is always saved in rich text format.
65
+
In the first case the snippet information can be saved as one of the following file types:
66
66
</p>
67
67
68
+
<ul>
69
+
<li>
70
+
Plain text.
71
+
</li>
72
+
<li>
73
+
HTML 5 files.
74
+
</li>
75
+
<li>
76
+
XHTML files.
77
+
</li>
78
+
<li>
79
+
Rich text files.
80
+
</li>
81
+
<li>
82
+
Markdown files.
83
+
</li>
84
+
</ul>
85
+
68
86
<p>
69
87
In the second two cases the following file types can be chosen by the user:
70
88
</p>
@@ -88,7 +106,7 @@ <h2>
88
106
</ul>
89
107
90
108
<p>
91
-
There is no specific file format for these files, except that HTML 5, XHTMLand RTF
109
+
There is no specific file format for these files, except that HTML 5, XHTML, RTF and Markdown
92
110
files conform to published specifications.
93
111
</p>
94
112
@@ -97,11 +115,7 @@ <h2>
97
115
</h2>
98
116
99
117
<p>
100
-
In the first case the RTF is always saved in ASCII format.
101
-
</p>
102
-
103
-
<p>
104
-
In the 2nd and 3rd cases the encodings used depend on the file type and user choice. Different file
118
+
The available encodings depend on the file type and user choice. Different file
105
119
types have different encoding choices, as follows:
106
120
</p>
107
121
@@ -118,10 +132,10 @@ <h2>
118
132
UTF-8
119
133
</li>
120
134
<li>
121
-
Unicode little endian (UTF16-LE)
135
+
UTF-16LE
122
136
</li>
123
137
<li>
124
-
Unicode big endian (UTF16-BE)
138
+
UTF-16BE
125
139
</li>
126
140
</ul>
127
141
</dd>
@@ -164,7 +178,26 @@ <h2>
164
178
<dd>
165
179
<ulclass="squashed">
166
180
<li>
167
-
ANSI (system default code page). ASCII format is actually used.
181
+
ASCII
182
+
</li>
183
+
</ul>
184
+
</dd>
185
+
<dt>
186
+
Markdown
187
+
</dt>
188
+
<dd>
189
+
<ulclass="squashed">
190
+
<li>
191
+
ANSI (system default code page)
192
+
</li>
193
+
<li>
194
+
UTF-8
195
+
</li>
196
+
<li>
197
+
UTF-16LE
198
+
</li>
199
+
<li>
200
+
UTF-16BE
168
201
</li>
169
202
</ul>
170
203
</dd>
Original file line number
Diff line number
Diff line change
@@ -144,8 +144,8 @@ Updating the Program
144
144
Updates are published on . See
145
145
https://.com/delphidabbler/codesnip/releases
146
146
147
-
News of new updates is published on the CodeSnip Blog:
148
-
https://codesnip-app.blogspot.com/.
147
+
News of new updates is published on the DelphiDabbler Blog:
148
+
https://delphidabbler.blogspot.com/.
149
149
150
150
151
151
Known Installation and Upgrading Issues
@@ -248,6 +248,9 @@ Thanks to:
248
248
+ The authors of the third party source code and images used by the program. See
249
249
the program's about box or License.html for details.
250
250
251
+
+ SirRufo for helping to fix a long standing bug where CodeSnip would crash on
252
+
resuming from hibernation.
253
+
251
254
+ Various contributors to the DelphiDabbler Code Snippets database. Names of
252
255
contributors are listed in the program's About Box (use the "Help | About"
253
256
menu option then select the "About the Database" tab). The list will be empty
Original file line number
Diff line number
Diff line change
@@ -179,8 +179,8 @@ Updating the Program
179
179
Updates are published on . See
180
180
https://.com/delphidabbler/codesnip/releases
181
181
182
-
News of new updates is published on the CodeSnip Blog:
183
-
https://codesnip-app.blogspot.com/.
182
+
News of new updates is published on the DelphiDabbler Blog:
183
+
https://delphidabbler.blogspot.com/.
184
184
185
185
186
186
Known Installation and Upgrading Issues
@@ -293,6 +293,9 @@ Thanks to:
293
293
+ geoffsmith82 and an anonymous contributor for information about getting
294
294
CodeSnip to work with Delphi XE2.
295
295
296
+
+ SirRufo for helping to fix a long standing bug where CodeSnip would crash on
297
+
resuming from hibernation.
298
+
296
299
+ The authors of the third party source code and images used by the program. See
297
300
the program's about box or License.html for details.
298
301
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The following support is available to CodeSnip users:
35
35
* A comprehensive help file.
36
36
* A read-me file that discusses installation, configuration, updating and known issues. There are different versions of this file for each edition of CodeSnip: one for the [standard edition](https://raw.usercontent.com/delphidabbler/codesnip/master/Docs/ReadMe-standard.txt) and another for the [portable edition](https://raw.usercontent.com/delphidabbler/codesnip/master/Docs/ReadMe-portable.txt). [^1]
37
37
* The [Using CodeSnip FAQ](https://.com/delphidabbler/codesnip-faq/blob/master/UsingCodeSnip.md).
38
-
* The [CodeSnip Blog](https://codesnip-app.blogspot.co.uk/).
38
+
* The [DelphiDabbler Blog](https://delphidabbler.blogspot.co.uk/) that provides CodeSnip news.
39
39
* CodeSnip's own [Web Page](https://delphidabbler.com/software/codesnip).
40
40
41
41
There's also plenty of info available on how to compile CodeSnip from source - see below.
0 commit comments