CodeSnip / News: Recent posts

CodeSnip website launched

CodeSnip now has its own website on its own delphidabbler.com sub-domain. The website. More info on the CodeSnip blog (linked).
link

Posted by SourceForge Robot 2014-02-19

CodeSnip Blog moved to Blogger

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

Posted by SourceForge Robot 2014-02-19

New CodeSnip blog

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

Posted by SourceForge Robot 2014-02-16

Proposed licensing changes for Code Snippets Database

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

Posted by SourceForge Robot 2014-02-02

CodeSnip v4.8.5 released

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:

Posted by Peter Johnson 2014-01-13

Bug in Code Snippets Database Take 2 on Google Chrome fixed.

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

Posted by SourceForge Robot 2014-01-01

Two new utility routines added to the Code Snippets Database

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

Posted by SourceForge Robot 2014-01-01

Support for CodeSnip 3 now ended

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

Posted by SourceForge Robot 2014-01-01

CodeSnip v3 Support Now Ended

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

Posted by Peter Johnson 2014-01-01

New Array manipulation snippet added to Code Snippets Database

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

Posted by SourceForge Robot 2013-12-20

Added 3 miscellaneous snippets to the Code Snippets Database

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

Posted by SourceForge Robot 2013-12-17

Two new routines added to Windows category of Code Snippets Database

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

Posted by SourceForge Robot 2013-11-29

CodeSnip v4.8.4 released

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:

Posted by Peter Johnson 2013-11-28

Support for CodeSnip 3 ending soon

I've decided to stop supporting CodeSnip 3 after the end of this year. See the linked blog post for more information.
link

Posted by SourceForge Robot 2013-11-28

CodeSnip v3 Support Ending Soon

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!

Posted by Peter Johnson 2013-11-28

CodeSnip 4.8.3 has been released

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

Posted by SourceForge Robot 2013-11-06

CodeSnip v4.8.3 released

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:

Posted by Peter Johnson 2013-11-06

CodeSnip 3.13.2 has been released

This is a maintenance release for users of CodeSnip 3. CodeSnip 4 users should not install the update. The update fixes a few registry access issues when running on 64 bit Windows, fixes a potential operating system detection bug when running on Windows 2000 and removes "vertical" font names from the font list displayed when editing syntax highlighters.
link

Posted by SourceForge Robot 2013-10-31

CodeSnip 3.13.2 Released

CodeSnip 3.13.2 has been released.

This is maintenance release for users of CodeSnip 3. CodeSnip 4 users should not install the update.

The update fixes a few registry access issues when running on 64 bit Windows, fixes a potential operating system detection bug when running on Windows 2000 and removes "vertical" font names from the font list displayed when editing syntax highlighters.

You can get the update here.

Posted by Peter Johnson 2013-10-31

Released v4.8.2 of CodeSnip

CodeSnip v4.8.2 has been released. It fixes a bug that may affect operating system detection when CodeSnip is run on Windows 2000. It also tidies up the font list that is displayed when customising synta highlighters. The few remaining Windows 2000 users are strongly urged to update. For users of later OSs, the update is purely cosmetic.
link

Posted by SourceForge Robot 2013-10-30

CodeSnip v4.8.2 released

CodeSnip 4.8.2 has been released.

This release prevents "vertical" fonts from appearing in the list of available fonts displayed on the Syntax Highlight tab of the Preferences dialogue box.

It also fixes a potential bug in the operating system detection code when CodeSnip is run on Windows 2000.

You can download this new release from:

Posted by Peter Johnson 2013-10-30

Added 2 new string handling snippets to Code Snippets Database

Two new snippets have been added to the string management category of the Code Snippets database. Both snippets remove duplicate strings from a collection of strings. One routine removes duplicates from a string list, the other operates on an array of strings.
link

Posted by SourceForge Robot 2013-10-27

Old version of the online Code Snippets Database removed

The old version of the online Code Snippets Database has been retired and replaced by the Code Snippets Database - Take 2. I've made quite an effort to ensure that bookmarks and links to the old database redirect somewhere sensible. See the linked blog post for full details.
link

Posted by SourceForge Robot 2013-10-13

3 new DOS shell snippets added to Code Snippets Database

Three new snippets have been added to the "System" category of the Code Snippets Database. They are all concerned with running DOS command in the command processor. The first, DOSCommand, simply executes a given DOS command like "COPY" or "DEL" and can optionally show a window or wait for the command to complete. The remaining two are overloaded and named DOSCommandRedirect. Both execute a DOS command in a hidden window and redirect its output. One version sends output to a TStream while the other sends output to a file. Thanks to Joe Donth for most of the work on these snippets.
link

Posted by SourceForge Robot 2013-10-12

Added two new String Management snippets to Code Snippets Database

Two new string comparison routines have been added to the Code Snippets Database. They are: (1) CompareNumberStr that compares two strings case-sensitively, while treating any embedded digits as numbers rather than text and (2) InString that checks if one string contains another, optionally ignoring case.
link

Posted by SourceForge Robot 2013-10-07