Posts Tagged ‘Embarcadero’

Cross-platform Special Folders in FireMonkey

There was a question on the ADUG list last week about how to retrieve “special folder” locations on OS X. By special folder, I mean locations like the user’s Home directory, the Documents directory, Temp directory, etc. I thought I’d write up the solution both because it’s probably something that more people will be wondering and also because it’s a nice little introduction to calling out to the OS X API.

If you want either the path to the Home or the Temp directory, this is ridiculously easy. The IOUtils unit already contains TPath.GetTempPath and TPath.GetHomePath, and these work on both Windows and OS X.

However, if you want another directory, such as the Documents directory, you need to do a little more work.

Read On…

RAD Studio World Tour, now with more cities and a few more details.

I promised to post more details of these upcoming events when I could. Well, now I can.

Current cities:

…and here’s the very high-level description:

Whether you are building new applications, or migrating existing systems, this workshop will help you decide where to invest your team’s time and effort to make the most positive impact on your business, today and into the future.

You will hear about:

  • Application frameworks
  • Delphi 64-bit
  • The future of database access
  • DataSnap and Cloud
  • Mobile development

 

Before you ask, yes, there will be more cities and countries added soon. Not just in Asia but around the world.

Uwe continues to do great work on the community version of VersionInsight

Uwe Schuster just keeps on adding new features to VersionInsight.

If you’re using Subversion he’s posted a long list of changes/fixes/new features here. He’s well underway on adding Mercurial and Git support as well and LiveBlame is looking very cool also.

If you haven’t updated the version of VersionInsight that comes with XE to the Community version yet, he’s even got you covered with instructions. Nice one Uwe!

I am presenting at ADUG Sydney in July, but come anyway as there will be pizza.

I’ll be presenting at the July ADUG Sydney meeting. I’ll be giving a practical introduction to the generic collection classes in Delphi, covering the different collections (TList, TQueue, TDictionary, etc) and also some common capabilities across the classes (such as sorting, searching, comparators, enumerators, etc). Even if you haven’t yet got your head around generics in Delphi, my aim is that you can walk out knowing when and how to use these classes.

It’s also the 10th anniversary of the founding of the ADUG Sydney chapter, so come along for either reason and have some pizza.

VersionInsight in RAD Studio XE – Part 4 : Blame/Annotations

I’ve recorded a few videos giving an overview of the VersionInsight capabilities in RAD Studio XE (Delphi XE and C++Builder XE, to be specific).

Part 4 covers VersionInsight’s support for Blame or Annotations, the ability to see the details of the last time a particular line of code was changed. This can be very handy when trying to understand why something no longer works, or the larger context of why some changes were made.

Read On…

VersionInsight in RAD Studio XE – Part 3 : Rename Support

versioninsight3_large I’ve recorded a few videos giving an overview of the VersionInsight capabilities in RAD Studio XE (Delphi XE and C++Builder XE, to be specific).

Part 3 covers VersionInsight’s ability to track when you rename a file in the IDE, and ensure that the version control repository recognises that as a rename, and not a new file. This is important in order to maintain file history before and after a rename.

Read On…

VersionInsight in RAD Studio XE – Part 1

versioninsight1_large I’ve recorded a few videos giving an overview of the VersionInsight capabilities in RAD Studio XE (Delphi XE and C++Builder XE, to be specific).

Part 1 covers a brief introduction to what VersionInsight is, shows how to add a project to a repository for the first time, then demos a few of the IDE integration points, such as the ability to browse a repository, view the repository logs, check-in and the History View and Diff integrations.

Read On…