Archive for the ‘Delphi’ Category
Posted by jpluimers on 2014/04/19
GExperts 1.37 (commit 875, but no tag yet) now supports Delphi XE6 and XE5, and ahost of older Delphi versions. Binary downloads are available at Download | GExperts
These were the release news items:
In addition to what is in those items, 1.37contain a substantial speed improvement and some other fixes from me (I hope this fix also will get in later) in the Grep Search.
It is likely that this will be the last GExperts that support Pre-Delphi-2007 versions (currently 2006, 2005, 8.02, 7.1 and 6.02).
It is not clear if there will be a GExperts for Appmethod, as Appmethod does not provide functioning command-line compilers like I already blogged about in Spring4D now has projects for Appmethod, but it cannot support Appmethod in the automated build engine.
You can get an Experimental GExperts version for Delphi XE6..6.02 (that includes a source formatter) from Experimental GExperts Version » twm’s blog.
From Thomas Mueller (the author of the experimental GExperts versions), there are also a few other interesting blog posts you probably will like:
–jeroen
via: Download | GExperts.
Posted in Appmethod, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 6, Delphi 7, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | Tagged: GExperts | 6 Comments »
Posted by jpluimers on 2014/04/16
I just watched the 2nd Launch Webinar Today for Delphi XE6, C++Builder XE6 and RAD Studio XE6.
Below my signature is the Q&A of it. A whole lot of them (:
–jeroen
Welcome to this Embarcadero webinar event!
Read the rest of this entry »
Posted in Delphi, Delphi XE6, Development, Diagram, QC, Software Development, UML | 2 Comments »
Posted by jpluimers on 2014/04/16
Thanks Olivier SCHWAB for pointing me to this nice interview with Florian Klämpfl on SourceForge about April 2014 Project of the Month, Free Pascal | SourceForge Community Blog.
Two things I didn’t know yet:
- FreePascal started in the Turbo Pascal era (the first version was before Delphi 1.0 got released) as a 32-bit compiler project.
- FreePascal 3.0 will support jvm output (like Oxygene does).
Besides Florian, there are quite a few more people on the FreePascal team. I met most of them at last years PasCon: really nice guys.
–jeroen
Posted in Delphi, Development, FreePascal, Object Pascal, Oxygene, Pascal, Software Development, Turbo Pascal | Tagged: Free Pascal, FreePascal, sourceforge, Turbo Pascal era | 5 Comments »
Posted by jpluimers on 2014/04/16
Once every while, one of your StackOverflow answers gets an edit suggestion that is really valuable.
This case it was Edwin Yip who suggested to emphasize the difference between TStringBuilder and TStringList (adding characters versus lines).
Too bad that freshly 10k user Makoto showed he hates bold emphasis, intentional property casing and post signatures by removing the added value (there is so much emphasis he could remove on other answers to warrant at least a day time job).
I know that not all emphasis is welcomed at StackOverflow, but in this case I think it added real value.
So I edited my own answer to add even more value: showing the idioms I use for building strings, and now it is time to quote it: Read the rest of this entry »
Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/15
Today I learned that each Google Group has RSS and ATOM feeds. That allows you to add them to Feedly (a great online RSS reader that won a lot of market share when Google Reader got ditched).
This is how you do it (I’m using the Spring4D group as an example).
- Go to the group page https://groups.google.com/forum/#!forum/spring4d
- On the right side, click on “About” which brings you to https://groups.google.com/forum/#!aboutgroup/spring4d
- Copy any of the RSS or ATOM links and add it to Feedly.
–jeroen
Posted in Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Google, GoogleGroups, Power User, Software Development, Spring4D | 7 Comments »
Posted by jpluimers on 2014/04/15
Interesting: didn’t see this on the Embarcadero site yet, so the announcment of Welkom RAD Studio/Delphi/C++Builder XE6! by Barnsten B.V. – Google+ is a bit surprising.
Edit:
Given the XE6 webinar on the 16th (that is tomorrow!), it wasn’t that surprising, but in my memory those webinars usually were before the product became actually available.
Barnsten was a tad bit faster than me picking up these two posts that had the official announcemts:
So here are some of the Embarcadero.com links for XE6: Read the rest of this entry »
Posted in Delphi, Delphi XE6, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/04/10
On turning W1025 into an error [WayBack] Why is “W1025 Unsupported language feature: ‘custom attribute’ “only a warning?… – mezen – Google+:

+Fabian S. Biehn This question has been answered by Nick already.
However you don’t need to turn it on in ALL projects. You change it in the base configuration, tick the Default checkbox in the bottom left corner of the settings dialog and from then on every new project will have this warning treated as error. However for existing projects you have to change it retrospectively.
You can even pass this option to the commandline compiler as explained here:
http://stackoverflow.com/a/360947/587106
[WayBack] compiler construction – Delphi 2009 where is the ‘treat warnings as errors’ option? – Stack Overflow
On a related note, if you are using the command line compiler (DCC32.exe) the switch is -W^ to have warnings treated as errors. If you are using this, it’s important to note that the default command shell in Windows (cmd.exe) treats the caret (^) as an escape character, so you have to use -W^^ instead if you are executing the compiler directly from the command line, a batch file or even the from the Pre-Build or Post-Build events in the IDE.
It’s also worth mentioning that you can have only certain warnings treated as errors. The switch to do this on the command line would look something like this: -W^^WARNING-NAME. You would substitute the string that is associated with the warning you are wanting to have treated as an error.
The point about -W^ being problematic within BAT files is a good one. Using -W^^ works if you are modifying the compile line directly. Otherwise, I found that using surrounding double quotes "-W^" works, for example when building an env var that contains all compiler parameters, that env var being subsequently passed to dcc32.exe. Tested with XE, XE2, XE3, XE4.
SET CompilerParams=-B -M "-W^" -U"..\Source;%dcuoutdir%;%DUnitPath%" -I"..\Source\inc" "-N0%dcuoutdir%" -DDebugMode
"%dcc%bin\dcc32.exe" %FuTFolder%ADDTests.dpr %CompilerParams% -U"%FuTSource%" %ExtraPath32%>%DCCLogFilename%
if errorlevel 1 %Alerter% %DCCLogFilename%
–jeroen
Posted in Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/10
I just discovered that almost 2 weeks ago, the FastMM code repository added support for these defines in Mac OS X in Commit [r67].:
- FullDebugMode
- LogErrorsToFile
- LogMemoryLeakDetailToFile
This is great news!
Note: this is not a full FastMM release, but since the original change by Sebastian Zierer has been done about half a year ago, the code is pretty stable.
Thanks mnasman for mentioning this on Delphi Redit, and Ralf Stocker for announcing this in the Non-Tech newsgroup.
–jeroen
via: FastMM / Code / Commit [r67].
Posted in Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, FastMM, Software Development | 2 Comments »