Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 877ad21

Browse files
Merge tag 'version-4.26.0' into develop
Release v4.26.0
2 parents 220b6ef + 3ef4f1e commit 877ad21

File tree

6 files changed

+46
-6
lines changed

6 files changed

+46
-6
lines changed

‎CHANGELOG.md‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@ Releases are listed in reverse version number order.
66

77
> 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.
88
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+
943
## Release v4.25.0 of 19 April 2025
1044

1145
* 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.
1549
* Overhauled rich text format processing:
1650
* Fixed bug where Unicode characters that don't exist in the system code page were not being displayed correctly [issue #157].
1751
* 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].
1953
* Corrected the copyright date displayed in the About Box to include 2025 [issue #149].
2054
* Documentation changes:
2155
* Fixed error in the export file formation documentation and related help topic [issue #151].

‎Docs/Design/FileFormats/config.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h3>
167167
</p>
168168

169169
<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 <code class="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 <code class="key">UseCommentsInUnitImpl</code> key in the <code>[Prefs:SourceCode]</code> section.
171171
</p>
172172

173173
<p>
@@ -771,7 +771,7 @@ <h4>
771771
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 <code class="value">1</code>.
772772
</div>
773773
<div class="half-spaced">
774-
The current value is <code class="value">19</code>.
774+
The current value is <code class="value">20</code>.
775775
</div>
776776
</dd>
777777
<dt>

‎Docs/ReadMe-portable.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ Thanks to:
248248
+ The authors of the third party source code and images used by the program. See
249249
the program's about box or License.html for details.
250250

251+
+ SirRufo for helping to fix a long standing bug where CodeSnip would crash on
252+
resuming from hibernation.
253+
251254
+ Various contributors to the DelphiDabbler Code Snippets database. Names of
252255
contributors are listed in the program's About Box (use the "Help | About"
253256
menu option then select the "About the Database" tab). The list will be empty

‎Docs/ReadMe-standard.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ Thanks to:
293293
+ geoffsmith82 and an anonymous contributor for information about getting
294294
CodeSnip to work with Delphi XE2.
295295

296+
+ SirRufo for helping to fix a long standing bug where CodeSnip would crash on
297+
resuming from hibernation.
298+
296299
+ The authors of the third party source code and images used by the program. See
297300
the program's about box or License.html for details.
298301

‎Src/FirstRun.UConfigFile.pas‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ TUserConfigFileUpdater = class(TConfigFileUpdater)
8282
strict private
8383
const
8484
/// <summary>Current user config file version.</summary>
85-
FileVersion = 19;
85+
FileVersion = 20;
8686
strict protected
8787
/// <summary>Returns current user config file version.</summary>
8888
class function GetFileVersion: Integer; override;

‎Src/VersionInfo.vi-inc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CodeSnip Version Information Macros for Including in .vi files
22

33
# Version & build numbers
4-
version=4.25.0
5-
build=275
4+
version=4.26.0
5+
build=276
66

77
# String file information
88
copyright=Copyright © P.D.Johnson, 2005-<YEAR>.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /