Adding remote repositories to your mercurial.ini

Among a lot of other things you can add names for remote repositories to your mercurial.ini so you can access them without having to type that long path. This can be quite convenient e.g. [path] dzlib=ssh://twm@hg.code.sf.net/p/dzlib/hgdzmaincode allows me to clone a copy of my dzlib+tools main repository on sourceforge like this: hg clone dzlib dzlib+tools … Continue reading Adding remote repositories to your mercurial.ini

Avoiding long timeouts when connecting to Mercurial repositories on SourceForge

As described in a previous post I initially had some problems connecting to Mercurial repositories on SourceForge that went away without me changing anything. In that post I give the following entry for mercurial.ini: [ui] ssh="C:\Program Files (x86)\PuTTY\plink.exe" -ssh -agent -v -i "D:\path\to\my\private_key.ppk" While this works well, if Pageant is already running and has loaded … Continue reading Avoiding long timeouts when connecting to Mercurial repositories on SourceForge

TStringList.CaseSensitive

Did you know that TStringList has got a property called CaseSensitive? It's no surprise that it is used when comparing the strings while sorting. But did you know that it defaults to FALSE? WTF? (This is Delphi 2007.)

Segmentation fault on startup in Delphi XE6 Firemonkey application for Android

After I attended the Delphi Power Workshop on mobile development with Delphi XE6 in Essen last week, the mobile development virus has taken hold of me. So I tried successfully to compile the demo apps for both, my Nexus 7 tablet and my Samsung Galaxy Note (GT-N7000) smartphone. That these worked out of the box … Continue reading Segmentation fault on startup in Delphi XE6 Firemonkey application for Android

Determine the Delphi installation directory from a batch file

Since I work on several projects that require multiple Delphi installations, I needed a way to start the correct Delphi IDE and call the correct command line compiler for each of these projects. There apparently is no way to automatically detect the Delphi version from the .dof,.dpr or .dproj file (or at least this is … Continue reading Determine the Delphi installation directory from a batch file