News for September 2011

   
Online Code Snippets Database now supports Delphi XE2
The online version of the Code Snippets Database has been updated to recognise Delphi XE2 as one of the compilers for which compilation results can be displayed.
19 September 2011
CodeSnip v3.9.1 released. This is a bug fix release.
Release 3.9.1 of CodeSnip fixes a bug in the syntax highlighter where malformed Pascal general format floating point numbers were causing an assertion failure.
18 September 2011
Four new date routines added to Code Snippets Database
Four new routines have been added to the Code Snippets Database's Date and Time category. They are named DateMonthStart, DateMonthEnd, DateYearStart and DateYearEnd and provide the date of the start and end of the month or year that contains a given date.
18 September 2011
Three new string routines added to Code Snippets Database
Three new string management routines have been added to the Code Snippets Database. ReverseStr and ReverseStrR both reverse the given string, with ReverseStrR using recursion. The other routine is StripAccelChars which removes any accelerator or shortcut characters ('&') from a given string.
16 September 2011
Stream Extension Classes documentation expanded and moved to Wiki.
Documentation of the Stream Extension Classes has been moved from Google Code to the DelphiDabbler wiki. It's also been greatly expanded.
13 September 2011
New "Delphi Notes" section added to Wiki
A new "Delphi Notes" section has been added to the Wiki. This section provides information on Delphi compilers and the IDE. The first three pages give details of version numbers, Delphi features and when they were added to the compiler, and IDE editor keyboard shortcuts.
10 September 2011
Error fixed in article#14, How to load and save documents in TWebBrowser in a Delphi-like way
Ivan Kozhuharov has pointed out an error in one of this article's supporting functions. This has now been fixed both in the article and in the accompanying demo code. You need to get the updated code if you are building the demo - there may be spurious results if you don't.
10 September 2011
New mathematics routines added to Code Snippets Database for testing maximum, minimum and mid values
Overloaded versions of http://delphidabbler.com/url/1111three different routines have been added to the Code Snippets Database. They are: to find the minimum value of an array, MaxOfArray finds the maximum value of an array and Mid finds the middle of three values. Single, Double, Extended, Integer and Int64 overloads are provided for each routine. If you are using the CodeSnip program you need v3.0 or later to view these routines.
10 September 2011
Code Snippets Database IsValidFileName routine modified to compile without warnings
The Code Snippets Database's IsValidFileName routine has been modified to compile without warnings on Unicode versions of Delphi.
09 September 2011
Fixed errors in Code Snippets Database
Some overloaded routines were visible to v1 and v2 of CodeSnip program and caused compilation problems. These routines were changed so that they are visible only to CodeSnip v3. A compilation error in the SysImageListHandleEx was also fixed.
09 September 2011
New Maths routines added to Code Snippets Database
Seven new mathematics routines have been added to the Code Snippets Database. They include recursive versions of the Greatest Common Divisor routine (GCD2) and digit counting routines (DigitCountR). There is also a new DigitSum routine for adding the digits of an integer. Finally there are overloaded routines for resizing and stretching rectangles (ResizeRect and StretchRect).
09 September 2011
CodeSnip v3.9.0 released
CodeSnip v3.9.0 has been released. This version adds support for test compilation of snippets using the Delphi XE2 32 bit compiler. Support for the 64 bit compiler will hopefully come later. I've had to add this support without access to XE2, so if you have it please let me know if the update has been successful!!
07 September 2011