Releases: delphidabbler/codesnip
Releases · delphidabbler/codesnip
v4.26.0 - 2025-05-02
Download
Download both the standard and portable versions below.
Changes
- Updated the dialogue box displayed when saving units and annotated source code [issue #166]:
- The File Encoding drop down list control is disabled if there is only one encoding option.
- Updated and clarified the naming of encodings in the File Encoding drop down list.
- The sole encoding option displayed for the Rich text file file type was changed from the erroneous ANSI to the correct ASCII.
- 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.
- Updated file formats available when the File | Save Snippet Information menu option is selected:
- Syntax highlighting of the existing RTF format output is now optional.
- Added the option to save snippet information in the following new formats:
- Plain text, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page. [issue #162]
- HMTL 5 with optional syntax highlighting, in UTF-8 format [issue #153].
- XHTML with optional syntax highlighting, in UTF-8 format [issue #153].
- Markdown, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page [issue #155].
- Changed the Save Snippet Information dialogue box:
- 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.
- The suggested file name was changed from "SnippetInfo" to the display name of the selected snippet.
- The dialogue box caption now contains the display name of the selected snippet.
- Changed the title of the Save Annotated Source dialogue box when displaying snippets.
- 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].
- The Help | CodeSnip News Blog menu item was changed to link to the DelphiDabbler Blog 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].
- Improved how the CSS used in generated HTML 5 and XHTML files is generated:
- The ordering of CSS selectors can now be pre-determined.
- CSS lengths and sizes can now be specified in units, such as
em
, instead of just pixels.
- Refactored the
USourceGen
unit to remove an unnecessary dependency on user preferences [issue #167]. - Updated the help file:
- Re changes when saving snippet information [issue #163].
- Re changes to the Save Unit and Save Annotated Source dialogue boxes.
- Re changes to the blog linked from the Help menu.
- Re the new option to inhibit comments in the implementation sections of generated units.
- Updated documentation:
- File format documentation was changed re the addition of the Markdown file format and the changes to the encodings used in saved files.
- Read-me files were updated re the change of news blog.
v4.25.0 - 2025-04-19
Download
Download both the standard and portable versions below.
Changes
- Added new feature to save snippet information to file in RTF format using the new File | Save Snippet Information menu option [issue #140].
- Added the option to save optionally highlighted annotated source code and units in HTML 5 format [issue #87].
- Fixed malformed bullet character(s) in the list of imported snippets on the last page of the Snippets Import Wizard dialogue box [issue #147].
- Improved the solution to the crash after hibernation bug, initially fixed in v4.24.1 and v4.24.2, with much improved and more stable code [issue #158]. Implemented by @SirRufo.
- Overhauled rich text format processing:
- Corrected the copyright date displayed in the About Box to include 2025 [issue #149].
- Documentation changes:
- Fixed error in the export file formation documentation and related help topic [issue #151].
- Corrected erroneous comments for the TREMLEntities.MapToEntity method [issue #84].
- Updated file format documentation with details the changes introduced when implementing issues #87 and #140.
- Updated the help file with details of the new features added in this release.
v4.24.2 - 2025-04-14
🔥 Hotfix
This is an important bug fix release.
Download
Download both the standard and portable versions below.
Changes
- Updated bug fix implemented in v4.24.1 to avoid relying on a potentially problematic windows event [issue #70 (2nd attempt)].
- Corrected release date error for v4.24.1 in
CHANGELOG.md
.
v4.24.1 - 2025-04-13
Download
Download both the standard and portable versions below.
Changes
- Fixed bug where CodeSnip occasionally crashes after a computer resumes from hibernation [issue #70].
- Bumped some copyright dates for 2025.
v4.24.0 - 2024-10-23
Download
Download both the standard and portable versions below.
Changes
- Compilers with which a snippet has not been tested are now omitted from snippet information that is copied to the clipboard and included in print outs [issue #143].
- Reversed order of compilers in the snippets editor's Compile Results tab so that later compilers are display first. This change was accidentally left out of release v4.22.0 when similar changes were made in other parts of the UI [issue #135].
- Release version number is now displayed in the program title bar [issue #122].
- Fixed incorrect copyright date displayed in About Box [issue #129].
- Fixed bug when checking for correct preamble bytes (BOMs) in UTF-8 and UTF-16 format text files [issue #139].
- Portable and Standard edition now use the same program names. Portable edition was previously declaring itself as DelphiDabbler CodeSnip-p instead of DelphiDabbler CodeSnip [issue #130].
- Updated operating system detection code [issues #126 and #144].
- Added
Deploy.bat
script to create and package both the CodeSnip standard and portable releases [issue #128]. - Documentation changes:
- CodeSnip standard and portable releases now each have their own release read-me files instead of both releases being shipped with the same read-me [issue #127]. Updated
Build.html
andREADME.md
re this change. - Updated and corrected REML documentation and REML help topic. Those documents and others that discuss REML were also changed to link to authoritative REML definitions in the
delphidabbler/reml
repository. [issues #131, #133 & #134]. - Updated
Build.html
with alternative, more secure, download link forzip.exe
program that is required to package releases [issue #137].
- CodeSnip standard and portable releases now each have their own release read-me files instead of both releases being shipped with the same read-me [issue #127]. Updated
v4.23.0 - 2024-04-02
Download
Download both the standard and portable versions below.
Changes
- Removed marketing names (e.g. "Athens" or "Rio") from Delphi compiler names to save space when the compiler names are displayed in the UI [issue #125].
- Added new
'
entity to REML markup language and boosted REML version to v6 as a consequence [issue #99]. - Refactored class helper code by splitting a single monolithic unit into three more specialised units [issue #90].
- Updated documentation and related help topic re change to REML v6.
v4.22.0 - 2023-11-08
Download
Download both the standard and portable versions below.
Changes
- Added support for test compiling snippets with Delphi 12 Athens [issue #121].
- Documentation changes re addition of support for Delphi 12:
- File format additions for config, export, user database and main database.
Docs/ReadMe.txt
.- Relevant help topics.
- Reversed order in which compilers are listed in the Configure Compilers and Find Compilers dialogue boxes so that the most recent version of Delphi is listed first [issue #51].
- Refactored out all
with
statements from Pascal source code [issue #118]. - Fixed error in
CHANGELOG.md
entry for release v4.21.2 [issue #120].
v4.21.2 - 2023-07-14
Download
Download both the standard and portable versions below.
Changes
- Removed broken links and fixed unsafe links in the About box [issue #105].
- Fixed bug in version information files that resulted in an error in the Comments section of the version information of both editions of CodeSnip [issue #106].
- Fixed potential XSS vulnerability in JQuery code used in Easter egg [issue #107].
- Documentation changes:
v4.21.1 - 2023-04-09
Download
Download both the standard and portable versions below.
Changes
- Completed implementation of support for REML version 5 (ommitted from v4.20.0 in error) and fixed some bugs in the original implementation [issues #81 and #82], including:
- Heavily revised "active text" handling code and document model to fix support for lists introduced in v4.21.0.
- Added support for rendering lists in plain text reports and generated source code header comments.
- Added support for rendering lists in Rich Text Format for use in printed information and in reports copied to the clipboard.
- Overhauled HTML rendering code that generates HTML for display in the UI.
- Heavily revised parsing and generation of REML code.
- Updated "active text" validation code.
- Prevented snippets editor from stripping REML
<p>
tags [issue #103]. - Fixed garbled copyright symbols in generated source code [issue #80].
- Fixed bug in code that compresses multiple white space into a single space [issue #95].
- Fixed out of range error in code that handles text encodings [issue #97].
- Fixed broken formatting of compiler result tables in text and rich text snippet reports & print outs [issue #101].
- Updated copyright date displayed in about box [issue #98].
- Updated operating system detection code to detect Windows 10/11 builds released in December 2022 and Q1 2023.
- Some refactoring [including issue #83]
- Changed build process to create all files in
_build
directory and to use different zip file names [issue #78]. - Documentation changes:
- Updated
Build.html
to document changes in build process. - Updated
CHANGELOG.md
to fix broken link [issue #76] and to remove information about semantic versioning. - Removed broken links in
Docs/License.html
. - Updated copyright date in various license files [including issue #96].
- Fixed errors and oversights in REML documentation.
- Updated
- Removed some redundant tests that were failing due to passing invalid parameters to the revised StrWrap routine [issue #79].
v4.21.0 - 2022-12-16
Download
Download both the standard and portable versions below.
Changes
- Updated to support REML version 5 in snippet description & extra information [issue #71]:
- Numerous new character entities supported.
- New list tags:
<ol>
,<ul>
&<li>
.
- Program now automatically detects new (supported) Delphi installations at startup and offers to register the compiler(s) to be used for test compiling snippets. This feature is on by default but can be turned off completely or for specifically excluded compilers [issue #19].
- Modified Configure Compilers dialogue box:
- Added facility to customise automatic compiler detection on per-compiler or global basis.
- Changed manually triggered compiler detection to ignore excluded compilers.
- Some refactoring [including issues #73 and #75].
- Minor changes to program license
- Bump per-user config file to version 19.
- Documentation updates:
- Updated
README.md
re abandoned and new Git repo branches. - Updated config file, database, export file & REML documentation re changes in this release [including issue #74].
- Help file updated with details of changes in this release.
- Updated development tool chain requirements in
Build.html
.
- Updated