added support for TColor and Local Variables to dzDebugVisualizer

 Delphi, dzDebugVisualizer  Comments Off on added support for TColor and Local Variables to dzDebugVisualizer
Jul 312022
 

After making the source code of dzDebugVisualizer available I got interested in Debug Visualizers in general and had a look at how they are supported in Delphi 11. I wrote a visualizer for TColor, based on an old EDN article (now only in the Internet Archive). And after that I simply added that functionality to dzDebugVisualizer. It supports both, the Watch window and Evaluate and Modify dialog. In the latter, there is now a new modifyer key ‘L’ for Co*l*or. The output shows three values:

  • The color name, e.g. “clLime”
  • The web color name, e.g. “clWebLime”
  • The RGB value, e.g. “RGB(0, 255, 0)”

On top of that I moved the new menu items to a “Visualizers” submenu and added support to the “Local Variables” window as well.

These changes have already been committed to the svn repository on OSDN.

 Posted by on 2022-07-31 at 17:57

dzDebugVisualizer source code available

 Delphi, dzDebugVisualizer  Comments Off on dzDebugVisualizer source code available
Jul 312022
 

Several years ago I wrote a Delphi IDE plugin to extend the functionality of the “Evaluate and Modify” dialog as well as the Watches window called dzDebugVisualizer and even released an update for it. Back then I wasn’t sure whether I wanted to open source it or possibly commercialize it. I am now sure that the latter isn’t worth the effort, so I have made it open source under the Mozilla Public Licence 2.

You can find the source code on OSDN. And since I was at it, I also added support for Delphi 2009. To install it, get the source code, open the appropriate package, build and install it into the IDE.

For the description see the links to my old block posts.

dzBdsLauncher 1.0.9 released

 Delphi, dzBdsLauncher  Comments Off on dzBdsLauncher 1.0.9 released
Jul 312022
 

I just released dzBdsLauncher 1.0.9.

If started with a .bdsproj file, it will now not just assume that a .dpr file must exist but will check for it and if it does not exist, will try for a .dpk file.

 Posted by on 2022-07-31 at 11:35

Thunderbird 102.0.3 no longer asks to accept a self signed certificate for IMAP

 Linux, thunderbird  Comments Off on Thunderbird 102.0.3 no longer asks to accept a self signed certificate for IMAP
Jul 282022
 

One of my computer’s hard disk didn’t survive a recent power failure so I had to set up its Thunderbird client again (a backup didn’t work, don’t ask). My internal IMAP server uses a self signed certificate which worked like a charm until now. Normally, the first time Thunderbird connects to the server after the account has been set up, it will display a warning for this certificate with an option to permanently accept it. This warning did not come, so no emails were available. The same procedure worked fine for the similarly configured SMTP server, so apparently the feature/workaround for self signed certificates wasn’t removed on purpose.

I found two workarounds for this:

  1. Start with an older Thunderbird version (102.0.0 worked fine for me) and upgrade to the latest one. Unfortunately older versions seem to vanish from the interwebs within a very short time when a new release comes out (or equally possible my Google Fu has failed me again [it did, here they are]).
  2. With Thunderbird 102.0.3, in Account Settings -> Server Settings set Connection Security from “SSL/TLS” to “none”, then try to get the emails. All of a sudden the missing dialog popped up, I could accept the certificate and emails started being downloaded. While that was running, I changed the setting back to “TLS/SSL” and all seems good now.
    I found this by pure chance because I was desperate enough to completely disable SSL just to get to my emails.

I am posting this so I can look it up later in case I need it again (Google will hopefully turn it up when I search for a solution). But if it helps others too: You are welcome.

I’m sure many people are now itching to suggest other possible solutions. If your’s is “Use Let’s encrypt certificates”, please read the following link on why you might not want to do that for internal servers.

 Posted by on 2022-07-28 at 09:57