Posts

CodeSnip v4.24.0 released

Image
CodeSnip v4.24.0 has just been released. There's no main feature in this release. It's a bit of a mish-mash of numerous minor bug fixes and tweaks that have been implemented since the previous release. I'm not going into detail about the numerous small changes here: check out the change log if you're interested. Do you need this release? Well, its not going to knock your socks off, but there are a couple of bug fixes, so installing it wouldn't do any harm. ✅ Get v4.24.0 from its GitHub releases page .

Released v2.2.0 of the Code Snippets Collection

Image
Finally, months after I meant to, I've released v2.2.0 of the DelphiDabbler Code Snippets Collection. This is a collection of snippets that can be loaded into CodeSnip program. To do so, download csdb-v2.2.0-data.zip from the GitHub release page . Unzip it somewhere on your system then run CodeSnip. Select the Install or Update DelphiDabbler Snippets Database  menu option and follow the wizard. If you would like to run tests on some of the snippets then download  csdb-v2.2.0-tests.zip  from the same place. Read the included read-me file for info about how to run the tests. Finally there's comprehensive documentation in  csdb-v2.2.0-docs.zip . In this release the main feature is the addition of a few routines to the Mathematics category. Specifically there are three IEEE conformant Pown routines and a couple of heavily overloaded summing functions. For details of these and other changes see the change log .

CodeSnip and Delphi 12.1

Image
Now that Delphi 12.1 has been released the question of whether a new release of CodeSnip is needed to work with it. The answer is no, it's not. That's because Delphi 12.1 can't be installed alongside Delphi 12.0 - it's either/or. Furthermore, Delphi 12.1 appears to CodeSnip just like Delphi 12.0, so CodeSnip will happily use it to test compile snippets if it is installed.

CodeSnip v4.23.0 Released

Image
Today I released an  update to CodeSnip  that makes two little changes: The marketing names have been removed from later Delphi versions (e.g. Athens & Rio) to save space in the UI if you have several versions of Delphi registered. So now instead of seeing Delphi 12 Athens you will see Delphi 12.x , for example. The built in REML markup language that can be used to format snippet descriptions and "Extra" text, now supports the ' character entity that gets replaced by a single quote when rendered. For the complete change log see here . Compiler name changes in v4.23.0 New REML character entity in v4.23.0

CodeSnip v4.22.0 released

Image
Yesterday, Delphi 12 was released as part of RAD Studio 12 "Athens" . Today there's an update to CodeSnip  that gives the option of using the new Delphi 12 to test compile your code snippets. It's really simple to configure CodeSnip to use Delphi 12. The first time you start CodeSnip after installing Delphi 12 a dialogue box will pop up and ask if you want to use the compiler alongside any other versions you may have: That will happen only if you haven't turned off the auto-register compiler option. If that's the case you'll need to use the Tools | Configure Compilers menu option to set it up yourself. The Detect Delphi Compilers button in the Configure Compilers dialogue box will do the trick: The only other user-facing change is that the list of compilers in the Configure Compilers and Find Compilers dialogue boxes is now sorted with the newest Delphi versions first instead of them being hidden down the bottom an increasingly long list. There's

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