As I mentioned before, Embarcadero will turn off Code Central which will result in a wealth of Delphi code and tools vanishing from the face of the earth. I have just saved two more entries for posterity: Code Template Script examples [Archive.org] Code Template example for seeding a live template point with the clipboard contents. … Continue reading Code Template examples saved from Code Central oblivion
Category: Delphi
TCsvWriter added to dzlib
Yes, I know, there are many already existing solutions for writing a CSV file in Delphi. And some are probably better than mine (for general purpose usage), but those I looked at had too many shortcomings for my particular use case, so I wrote my own. (There might also have been some not invented here … Continue reading TCsvWriter added to dzlib
Digging in Archive.org: StringList value class
I was just prompted to dig into archive.org to find an ancient (2008) blog post by Alan Bauer A "Nullable" Post which I used back then to implement the nullable types in dzlib. A comment there mentioned this post on code central (archived). It's about a StringList value class which frees you of the additional … Continue reading Digging in Archive.org: StringList value class
All known generics related bugs in GExperts code formatter fixed
I just fixed all known generics related bugs in the GExperts code formatter (again) \o/ You are extensively using Generics? Go ahead, compile your own dll and file bug reports for the ones I missed.
GExperts 1.3.14 experimental twm 2019-09-08 released
I just released GExperts 1.3.14 for all supported Delphi versions. Apart from the bug fixes to the source code formatter there are the following changes: Export and Import entries for the Tools menu (blog post) Copy and paste for Delphi Tool menu entries (blog post) The Uses Clause Manager builds its list of identifiers in … Continue reading GExperts 1.3.14 experimental twm 2019-09-08 released
Various bugs in the GExperts code formatter fixed
There were some long standing bugs in the GExperts code formatter, most of them concerning language features that didn't exist back in Delphi 2007 (and therefore were not my primary concern for a long time). I have fixed several of them now: Anonymous methods were not indented correctly Various problems with Generics as reported here … Continue reading Various bugs in the GExperts code formatter fixed
Fixed two more formatter bugs
Two more formatter bugs just got axed: #133 Code formatter does not support the "Final" keyword #134: Formatter does not handle variant records with methods correctly Also found and fixed a problem with the Uses Expert, but that was not in the released code yet. Still no new release yet, but you can always compile … Continue reading Fixed two more formatter bugs
dzBdsLauncher 1.0 released
As I work with multiple Delphi versions on the same computer it happens frequently that I simply double click on a project and the wrong IDE starts. It then either tells me that the .dproj file format is invalid (if it was created with a later version) or it updates an older file format to … Continue reading dzBdsLauncher 1.0 released
GPS time vs. UTC
If you have ever worked with GPSes you probably know about the NMEA protocol. Many of the sentences there have got a time stamp that is in UTC (universal time coordinated - thank the French for the odd word order). Like me, you might have assumed that GPS works with UTC, but that is not … Continue reading GPS time vs. UTC
Common unit aliases for backwards compatibility to older Delphi versions
Backwards compatibility to older Delphi versions is an issue mostly encountered by component and IDE plugin developers. Borland, Codegear and Embarcadero actually did quite a good job in that area. Many ancient projects (at least back to Delphi 6) can simply be loaded into a later IDE and they just compile. The IDE usually makes … Continue reading Common unit aliases for backwards compatibility to older Delphi versions