Sunday, 26 October 2014

CodeSnip v4.11.1 released

CodeSnip v4.11.1 has been released.

This is a minor release that simply fixes a few spelling mistakes in the UI and fixes an incorrect error message that can be displayed by the snippets editor.

For a full list of changes see the changelog.

Download this new release using the following links:

You can also grab the source from the Subversion repo.

Thursday, 25 September 2014

CodeSnip v4.11.0 released

CodeSnip v4.11.0 has been released.

The main changes in this release are concerned with the change of licensing used for the online Code Snippets Database: snippets from the database are now MIT licensed.

This has necessitated the following changes to CodeSnip.

  • Generated source code now carries the MIT license whenever it contains code from the online database.
  • The Snippet Submission wizard used to submit new snippets for inclusion in the database now requires the user to confirm they have the right to submit the snippet and are prepared to release it under the MIT license.

There are a few related changes throughout the program and documentation.

There are a couple of internal changes to help with development.

For a full list of changes see the changelog.

Download this new release using the following links:

You can also grab the source from the Subversion repo.

Monday, 15 September 2014

Code Snippets Database support for CodeSnip program changing

Just under a year ago I stopped making updates to the Code Snippets Database available to users of CodeSnip 1 & 2 - the download option continues to work, but the version of the database those programs are fed never changes.

I'm now giving notice that, at the end of 2014, the same will apply to CodeSnip 3. So, if you are one of the very few remaining users of CodeSnip 3, please update to v4 if you want to keep getting updates to the database.

Why am I doing this? Well, I'm making inreasing use of features only supported by CodeSnip 4 and the online Code Snippets Database Take 2 web app. It's becomming more and more time consuming to serve an alternative version to CodeSnip v3. Given there are so few users of CodeSnip 3 I feel the time spent would be better used elsewhere.

If you violently object, I may still be persuaded to reconsider. But only if you leave a comment containing a sound argument before the end of October 2014!

Friday, 12 September 2014

CodeSnip 4.10.0 released

CodeSnip v4.10.0 has just been released and adds supports for test compiling snippets with Delphi XE7.

The program's Configure Compilers dialogue box should be able to auto-detect XE7 on systems where it is installed. Since I don't have XE7 I'd be grateful if any users who do can let me know if this works: please leave a comment.

To configure to CodeSnip to work with XE7, select the Tools | Configure Compilers menu option and in the resulting dialogue box click the Detect Delphi Compilers button. If Delphi XE7 has been detected it will appear in bold in the list of compilers on the left of the dialogue window.

Note: Any AppMethod installations are detected and reported as Delphi XE6 (AppMethod 1.4) or XE7 (AppMethod 2). I'm looking into a fix for this.

Download this new release using the following links:

Wednesday, 30 April 2014

CodeSnip v4.9.0 released

CodeSnip v4.9.0 has just been released.

This release adds supports for test compiling snippets with Delphi XE6.

The program's Configure Compilers dialogue box should be able to auto-detect XE6 on systems where it is installed. However, I've not been able to test this because I haven't updated to XE6 myself. So I'd be grateful if any users with XE6 can let me know if this works: please leave a comment.

To configure to CodeSnip to work with XE6, select the Tools | Configure Compilers menu option and in the resulting dialogue box click the Detect Delphi Compilers button. If Delphi XE6 has been detected it should appear in bold in the list of compilers on the left of the dialogue window. Update: It seems that AppMethod installations are also detected and reported as Delphi XE6.

Download this new release using the following links:

Saturday, 15 March 2014

Planned changes to CodeSnip's handling of the Code Snippets Database - comments please

I'm considering a major change to the way CodeSnip handles the online Code Snippets Database and am seeking comments, either here or on CodeSnip's Google+ page.

First, a little background

CodeSnip v1 was just a read-only viewer for the online database. It simply displayed a searchable snapshot of the database. Users could update the snapshot from time to time as the database changed.

Users wanted the ability to store their own snippets alongside those from the database. That was tagged on in CodeSnip 2 and developed in versions 3 and 4, but underneath its still rather a hack. (User snippets are still stored separately the imported database code - the two even use different data formats).

The program needs, and is getting, a major overhaul in an attempt to cure its split peronality.

Proposed changes in CodeSnip 5

  • There will be just a single code bank where users will store all snippets, both user-created and imported.
  • Instead of treating the online database a separate entity users will be able to import a some, none or all snippets from the database into their code bank. The ability to import only a selection of the database should help keep the size of the code bank manageable: there are currently over 600 snippets in the database. My thinking is that very few people want all of them!
  • Snippets will also be able to be imported from other sources, e.g. other users or the SWAG database. This means that users will be able to share snippets and keep them in synch if they wish†.
  • All snippets will now be editable.
  • The rigid system of categorisation of snippets will be scrapped and replaced with a flexible system of user-defined tags, where each snippet can be grouped under one or more tags (a bit like in GMail and GistBox).
  • The code bank will now be friendlier towards non-Pascal snippets, with a new sytax highlighted editor etc. However, Pascal snippets will continue to be the main focus with unit generation and test compilation etc. still available.

† NOTE: Over a year ago I had a request to allow users to share their snippets via a web space. While I would like to include that it's proving harder to implement than I first thought, so it may have to slip to version 6. Unless there's demand of course.

My questions

Before I go too much further with development I'd like to get some feedback from you about these proposed changes. In particular:

  • What do you think of them: useful or not?
  • Anything else / different you'd like to see?
  • Should CodeSnip become mainly a code bank for your own code with links to the online database and other sources, or should it treat the online database as special as now?
  • Is there any demand for an online code sharing repository accessible from CodeSnip? What what it do that can't be done with the likes of Gists on Github.

I'm still hoping (rather than planning!) to get a preview release out before the end of Q2 this year and hope to start the next stage in development around the end of March.

Friday, 14 March 2014

CodeSnip now on Google+

CodeSnip now has a page on Google+.

I'll be using the page to note any periferal issues that have some kind of relevance to CodeSnip.

You can also get to the page from the "CodeSnip Google+ Page" gadget on the right of each blog page.

Saturday, 8 March 2014

Some posts of interest from my other Blog

Before this blog got started, I blogged about developments with CodeSnip on my programming blog.

There are some posts on that blog that may still be relevant. Rather than re-post them here I've just listed a few links below, most recent post first.

If you've comments on any of these post please add them to the original post, not here.

Thursday, 6 March 2014

CodeSnip v4.8.7 Released

Hot on the heels of last week's release of v4.8.6, CodeSnip v4.8.7 has just been released.

This is a recommended update. It fixes a bug in the code that checks online for program and database updates. The code was ignoring the required update checking frequency and was, much of the time, checking for updates every time the program was started.

Download v4.8.7 using the following links:

Friday, 28 February 2014

CodeSnip v4.8.6 Released

Just released CodeSnip v4.8.6

This release makes a few tweaks that makes CodeSnip more friendly towards Windows 8.1.

Download the new release:

Tuesday, 25 February 2014

Dropping Support for Windows 2000

Until now CodeSnip has supported all Windows OSs from Windows 2000.

It's probable that I'll only be able to support XP and later in CodeSnip 5 when its released later this year. My stats show that no-one who updates CodeSnip is still using Windows 2000, so this shouldn't be a problem.

But, if you are still using the OS and this change will cause a problem please leave a comment.

Wednesday, 19 February 2014

CodeSnip Website Launched

CodeSnip now has its own website at http://codesnip.delphidabbler.com/.

It is a micro-site on the codesnip sub-domain of delphidabbler.com.

The site is currently in beta, so please check it out. I'd welcome feedback about the usability and if you find any bugs - just leave a comment on this post.

I've tried for a responsive, HTML5 based, design, so the site should adapt to different display resolutions providing JavaScript is enabled. I'm still working on the mobile sized design, but the others seem to be OK.

The plan is that the new site will replace the old CodeSnp pages on DelphiDabbler.com. The rationale is that CodeSnip is by far my most popular program, and it is outgrowing the space available within the framework of the main site. (BTW I'm considering a radical overhaul of delphidabbler.com to present all the applications more concisely).

Comments please.

New CodeSnip Blog

Welcome to this new blog for and about the CodeSnip code bank program and related items.

Here's the new home for information and news about the program. Until now CodeSnip information has been dominating the DelphiDabbler Programming Blog and kind of subverting its original intention. So it seems to be time to pull the CodeSnip content out into its own blog - and here it is.

I'm planning to use this blog for:

  • Announcing new releases and bug fixes.
  • Current developments.
  • Discussing proposed new features.
  • Changes to CodeSnip's web pages.
  • News about the Online Code Snippets database.

More soon!