Two new functions for getting information about physical memory have been added to the Code Snippets Database. They are: GetAvailablePhysMemory that returns the currently available physical memory in bytes; and GetPercentMemoryUsed that returns the approximate percentage of physical memory that is currently in use.
link
Two new snippets have been added to the onine Code Snippets Database. The first, NowGMT, returns a TDateTime value containing the current date and time in GMT / UTC. The second routine is RFC1123DateGMT which displays a given date in RFC1123 format. The given date is expected to be GMT / UTC.
link
After a long wait the Code Snippets Database has been updated with two new string management routines that provide slightly different takes on the problem of splitting strings on delimiters. There are now several different implementations of string splitting routines to choose from.
link
There's a new post on the CodeSnip that provides information about the direction that CodeSnip 5 is likely to take and that invites comments. The way it is currently planned there will be quite a lot of difference between CodeSnip 4 and 5, particularly with regard to how it handles the online Code Snippets Database. Comments are invited from users and potential users. Development of the first preview release resumes in April.
link
The CodeSnip program now has its own page on Google+. I'll be using the page to note any periferal issues that have some kind of relevance to CodeSnip. It will also get a summary of new posts on the CodeSnip blog.
link
This new release of CodeSnip fixes a bug in the online program and database update checker. This is a recommended release.
link
CodeSnip v4.8.6 has just been released. It improves the way the program works with Windows 4.8.6.
link
There's a new CodeSnip blog post that notifies of my intention to drop support for Windows 2000 in CodeSnip 5.
link
CodeSnip now has its own website on its own delphidabbler.com sub-domain. The website. More info on the CodeSnip blog (linked).
link
After only three days I've just moved the CodeSnip blog from SourceForge to Blogger and started again! The SF solution couldn't handle everything I wanted to do, but I didn't notice until I came to do the second post! If you subscribed using the FeedBurner link (which is linked from here) then your subscription will still work. If not, please re-subscribe there. Sorry for any inconvenience.
link
I've just set up a new blog for CodeSnip and Code Snippets Database related issues. I be using the blog for the desktop and online versions of CodeSnip and the Code Snippets database. The blog only has one entry at the time of writing, but it will become the primary source of information about CodeSnip in future. If you're a CodeSnip user, please consider subscribing using FeedBurner (see link). The blog itself is hosted on SourceForge.
link
I'm considering changing the licensing arrangements for source code in the Code Snippets Database. At present licensing is not clear and I'm thinking of changing the code to use the MIT License. The linked blog post explains why and seeking comments.
link
CodeSnip 4.8.5 has been released.
This update fixes a bug in the compiler directives that are written to generated source files when the user has elected to generate $WARN directives. The bug meant that affected code could fail to compile with Delphi XE5.
This is a recommended update
Get the new version from:
A bug which caused the Code Snippets Database Take 2 web application to freeze on start-up when running on Google Chrome has now been fixed. If you're a Chrome user and the bug persists, then clear your browser's cache and reload the app: all should now be working.
link
Two overloaded versions of a routine have been added to the Utilities secion of the Code Snippets database. The routines convert Integer and Int64 values into their binary representation.
link
As announced at the end of November, support for CodeSnip 3 has now ceased. For full details please read the linked news item on SourceForge.
link
Happy new year!
Just a reminder that support for CodeSnip 3 has now ended.
Please don't report any bugs you find in CodeSnip 3 or earlier, I'm afraid I won't fix them. Neither will any new features be added, and that includes support for new Delphi compilers as they are released.
So, if you're one of the very few still using CodeSnip 3, please update to the latest version, which you will find on the SourceForge Files Page.... read more
A new snippet for the manipulation of arrays has been added to the Code Snippets Database. This snippet, named TArrayUtils is a method-only advanced record that provides utility methods for working with generic arrays. Note that this snippet requires Delphi 2009 or later to compile and is only available for CodeSnip v4 and the online Code Snippets Database Take 2.
link
A rag bag of three new snippets have been added to the Code Snippets Database. They are: (1) JPEGPixelFormatToPixelFormat that converts a JPEG pixel format into the equivalent TJPEGPixelFormat, (2) SimplifyFraction that reduces a fraction to its lowest terms and (3) VariantIsObject that tests if a Variant or OleVariant contains an object.
link
Two new routines have been added to the Code Snippets Database's Windows category. Both are concerned with detecting focus in a TWinControl. The first is ContainsFocus which tests if a given control has focus. The second is FocusedControl which returns a reference to the TWinControl that contains the focus (if any).
link
CodeSnip 4.8.4 has been released.
This update focuses on some small UI changes. It improves the usability and layout of the SWAG Import Wizard and also tweaks some main menu items and associated hints.
Get the new version from:
I've decided to stop supporting CodeSnip 3 after the end of this year. See the linked blog post for more information.
link
Given the small number of users of CodeSnip 3 out there, and the even smaller number of bug reports for it, I've decided to end support for this version at the end of 2013.
So, from January 2014, no more bugs will be fixed and no new features will be added. That means that any new Delphi compilers released after the end of this year will not be added to CodeSnip 3.
Sorry if that causes inconvenience, but this is a one-main operation and I need my time to be spent developing v5!
CodeSnip 4.8.3 has been released. This is a minor update that fixes a few registry access issues when running on 64 bit Windows and avoids the use of a deprecated API call when using the Windows Browse for Folder dialogue box.
link
CodeSnip 4.8.3 has been released.
This is a minor update that fixes a few registry access issues when running on 64 bit Windows and avoids the use of a deprecated API call when using the Windows Browse for Folder dialogue box.
Get the new version from: