Posts

System Information Unit v5.26.0 Released

Image
With 2024 just one and bit days old here in the UK, it's time to update to my  System Information Unit  to recognise Windows 10 & 11 builds released in December 2023. Say hello to release v5.26.0. Grab this release from the project's GitHub  releases page .

Fractions unit v0.1.2-beta released

Image
Almost 10 years after the v0.1.1 was released there's been an update to my Fractions Unit . v0.1.2-beta contains a refactoring of the LCM function that gets called in several places in the unit. The refactoring, suggested by lukas-hribik, reduces the likelihood of an integer overflow. This update is recommended. Get it from the project's GitHub Releases page .  Maybe it's time for a v1 release!?

System Information Unit v5.25.0 released

Image
Just another routine update to my  System Information Unit  that updates the OS detection code to recognise new Windows 10 & 11 builds released in November 2023. This is the last release of this unit in 2023. Grab this release from the project's GitHub  releases page .

CodeSnip v4.22.0 released - supports Delphi 12

Image
Just released  CodeSnip  v4.22.0. The main new feature is the addition of support for test compiling snippets with the newly released Delphi 12: Delphi 12 had been released https://t.co/xnSXoMXhz9 — MarcoCantu (@marcocantu) November 7, 2023 Read more about the new release over on the  CodeSnip blog . ⏬ Download the new release from the  v4.22.0 release page  on GitHub.

System Information Unit v5.24.0 released

Image
It's been longer than usual since the last update to my  System Information Unit  on 1st July, but the wait is over. As is becoming normal, TPJOSInfo is the only class to be updated. It now detects Windows 10 & 11 builds and revisions released between 1st July and 2nd November 2023. The main addition was support for detecting Windows 11 23H2 that was released on 31st October. Grab this release from the project's GitHub  releases page .

New String Property Editor Planned For RAD Studio 12 Yukon

Image
This blog post is based on a pre-release version of the RAD Studio software and it has been written with specific permission by Embarcadero. No feature is committed until the product GA release. It seems I'm getting very excited about multi-line strings of late. My previous post was about multi-line string literals for Delphi  and this time I'm talking about the new multi-line string property editor being slated for the RAD Studio 12 IDE. For more years than I care to remember, I've been frustrated by the inability to enter multi-line strings in the Delphi IDE object inspector. That meant having to resort to code to initialise some multi-line labels. So frustrated was I that I wrote a little property editor of my own ( stringpe ), way back in 2004. It's still around and on GitHub. Here's what it (sometimes) looks like: Yeah, I know this is Vista - I used an old screenshot Sometimes? Well it looked like that until it got installed on DPI aware Delphis, and then it sh

Multi-line String Literals Planned For Delphi 12 Yukon

This blog post is based on a pre-release version of the RAD Studio software and it has been written with specific permission by Embarcadero. No feature is committed until the product GA release. The upcoming new release of RAD Studio 12 Yukon is a major update that's got a new Delphi language features that I've been wanting for years, or perhaps even decades since I first discovered heredocs in PHP. Yep, we're going to get multi-line string literals. This excites me just as much as the earlier introduction of inline var statements, which was a lot! I write a lot of multiline string constants in my code like this: const   S0 = ' Lorem ipsum dolor sit amet, consectetur adipiscing elit.' +         sLineBreak  +        '   Vestibulum eleifend elit id dapibus pulvinar.' +        sLineBreak +        'Suspendisse tincidunt, diam vel dapibus aliquam.'; Miss out one of the closing quotes or + signs and bang, compile failure. Annoying. But now we have multi-l