Sunday, 21 February 2016

Code Snippets Database Now Tested With Free Pascal v3.0.0

All the snippets in the Online Code Snippets Database have now been test compiled with Free Pascal v3.0.0 and the database has been updated with the results.

Previously the v2.x of the Free Pascal Compiler was used to run these tests.

Some snippets that had previously failed to compile with Free Pascal v2 do now compile with v3. There were no cases where snippets that compiled under v2 failed to compile with v3.

Please note that all that has been tested is whether the snippets compile, not whether they function correctly. However, all snippets have undergone some testing. A few have unit tests.

CodeSnip v4.13.2 Released

CodeSnip v4.13.2 has just been released.

The main feature of this maintenance release is that an additional default namespace has been added when using Delphi XE and later to enable snippets that use the Registry unit to compile. Fo more info about how and why CodeSnip manages compiler namespaces see the "Using CodeSnip" FAQ#7.

Some of the hints in the main window had errors, so they have all been fixed. In addition a few menu items and dialogue box names have been altered.

Download this new release using the following links:
You can also download the source from GitHub.

This release is the first one to be developed using the new Git repo instead of the old Subversion one. The old repo has been frozen at release v4.13.1.

Saturday, 20 February 2016

Move From Subversion To Git Now Complete

CodeSnip's source code has finally been exported from it's Subversion repo to Git, hosted on GitHub.

The code was imported as of release 4.13.1. Much of CodeSnip's update history was successfully imported, although some deleted branches did not bring their history with them. So that the history is not lost I'm leaving the old Subversion repo up on SourceForge in a frozen state.

Releases will continue to be hosted on SourceForge - there are too many links pointing there to change it.

For the moment the issue tracker is also still on SourceForge.

EDIT: At the time of writing there are some outdated links on DelphiDabbler.com that still point to the SourceForge repo, but they're mostly on CodeSnip's beta site. I'll fix them in due course.

EDIT: The CodeSnip FAQ also needs updating.

The new repo will be using the Git Flow methodology to manage updates and releases.