Posts

Showing posts with the label Pascal Code Bank

Released CodeSnip v4.21.2 (minor bug fixes)

Image
CodeSnip v4.21.2 has been released today, 14th July 2023. This is a patch release that fixes a few minor bugs: Fixed some broken and "unsafe" (http) links in the about box. Fixed error in version information. Fixed potential XSS vulnerability in JQuery code used in the program's easter egg . Updated and clarified license & some other docs. Do you need this release? Depends on how much you're bothered about the above errors. Up to you. ⏬ Get the new release from the  v4.21.2 release page  on GitHub.

Released CodeSnip v4.21.1 (bug fix)

Image
Back in December 2022 I was quite pleased with myself for releasing the v4.21.0 update to CodeSnip . The main feature that was added in v4.21.0 work fine - automatically detecting un-registered Delphi compilers at start up - worked fine. But, oh dear, the more obscure new feature that lets you use lists in snippet descriptions was a bit of a disaster. The main implementation of lists was a bit flaky, but the main problem is that I forgot to add the implementation of lists in snippets reports and in source code comments in generated units. This pretty much trashed the reports and comments. It's taken a lot of coding to fix these bugs, hence the 4 month delay before this bug fix materialised. But I think I've managed it, although whether the new feature was worth the effort is debatable. ⏬ Get the new release from the v4.21.1 release page on GitHub. Here's what a snippet looks like in the UI when it's description contains an unordered list: Here's how the same snippe...

Released CodeSnip v4.21.0

Image
To close off the year, here's a new release of CodeSnip  that adds a couple of new features that have been in the pipeline for quite a while. The first is one I've been working on ever since a user missed out on getting Delphi 11.x Alexandria support when I added it. He expected CodeSnip to just use it when test compiling snippets. It didn't do that. I think his expectation was valid, so I decided to make CodeSnip a bit cleverer! Until now, when support for a new Delphi version was added to CodeSnip you would have to remember to tell it you wanted to use the new compiler, if you had it installed. Now, when CodeSnip starts it checks if there are any versions of Delphi on your system that are not registered with CodeSnip for use when test compiling snippets. If it finds any it offers to register them for you. This feature only works for any version of Delphi that CodeSnip knows about, which for the moment is all of them from Delphi 2 to Delphi 11.x Alexandria. This doesn...

Released CodeSnip v4.20.2

Just released  CodeSnip  4.20.2 which is a bug fix update to CodeSnip 4.20.1. It fixes a bug in the main menu of the UI. To replicate the bug: Drop down a main menu item. Select an item on the dropped down menu using the cursor keys. Do not press enter. Press F1. This raises an exception in CodeSnip prior to v4.20.2 This release also update Windows OS Version detection to correctly detect Version 22H2 of both Windows 10 & 11. Because of the bug fix, I do suggest updating. As usual you can download the program from  GitHub  or from SourceForge: Download Standard Edition   Download Portable Edition Source is available to download from both  SourceForge  or  GitHub . Alternatively you can fork away in the  GitHub repo  - the master branch always contains the source of the latest release, while the develop branch has the latest development source and may not be stable.

Released CodeSnip v4.20.1

Just released CodeSnip 4.20.1 which is a bug fix update to CodeSnip 4.20.0. It fixes a problem in the library that detects operating system version information and makes a few minor documentation changes. There are no changes to functionality. Because of the bug fix, I do suggest updating. As usual you can download the program from  GitHub  or from SourceForge: Download Standard Edition   Download Portable Edition Source is available to download from both  SourceForge  or  GitHub . Alternatively you can fork away in the  GitHub repo  - the master branch always contains the source of the latest release, while the develop branch has the latest development source and may not be stable.

Released CodeSnip v4.20.0

Image
Here's the first CodeSnip update of 2022! First, there's an option to delete your user database if you really want to. Why would you do this? Well there's one possible reason and that's explained in this FAQ . The second main change is that now the size of font in the detail pane can be customised from the Display section of the Preferences dialogue box. This setting applies to all text in the pane with the exception of the source code. The size of the source code can be changed from the Syntax Highlighter section of the same dialogue box. While we're taking about the user database, I also fixed a bug that let you try to backup or move a non-existent user database, which wasn't pretty. There are a few other minor tweaks that you can read about in the  change log . As usual you can download the program from GitHub or from SourceForge: Download Standard Edition   Download Portable Edition Source is available to download from both SourceForge or GitHub . Alternat...