Tuesday, 26 May 2020

CodeSnip v4.16.0 Due Soon!

Just a quick update to say that CodeSnip v4.16.0 is nearing completion.

I'm aiming to release it on 2nd June, barring last minute gotchas. Downloads will be available from both GitHub and SourceForge.

The new release will be announced here first, so please check back often. Also keep an eye on one of the above download sites as the code will be available there first.

There's a degree of urgency about getting v4.16 released. As I've mentioned in other posts, my current web server is due to close on 15 June and current versions of CodeSnip use that server to get database updates, to import from SWAG and to get news and update notifications.

I've found alternative ways for the Code Snippets Database and SWAG† to be delivered but they are incompatible with current CodeSnip versions: v4.16 and later will be required to handle them.

† You can get more information about these revised arrangements by reading these blog posts:
  1. New Release of the DelphiDabbler Code Snippets Database
  2. New Release of the SWAG Snippet Collection

New Release of the SWAG Snippet Collection

I've just released a "new" version of the 1997 SWAG collection of Pascal code and programming examples.

The main reason is so that the soon-to-arrive v4.16 of CodeSnip will still be able to import SWAG snippets after the old web server closes on 15 June. When that server goes the SWAG REST service that CodeSnip currently uses will go away. So, this is just in time.

For more information please see the more detailed post on DelphiDabbler's Blog


Sunday, 3 May 2020

Delays, Delays, Hold Ups and Delays

I had planned to get the forthcoming update to CodeSnip out into the wild by 14 May.

Well, my laptop has other plans. It just died. And its my only development machine.

Local repair shops are shut down under the corona virus lockdown, so repair is out of the question. So I'm researching suitable machines that can both run Delphi and my music production software. Could take a while!

So I've put back the provisional release date to 31 May. It's got to get done before 15 June, cos that's when the current delphidabbler.com server closes down, which will break current versions of CodeSnip.

And while we're talking about the web server there could are problems with the planned move to a new host - this blog post and this one explain further.

Keep an eye on this blog and the delphidabbler/codesnip GitHub project.

Saturday, 2 May 2020

New Release of the DelphiDabbler Code Snippets Database

In my previous post I said that a new version of the DelphiDabbler Code Snippets Database would be released on GitHub as one of the prerequisites of releasing a new version of CodeSnip.

Well the database has just been released as part of the delphidabbler/code-snippets project on GitHub. This is version 2.0.

Here are a few details:

  • The v2 database is not backwards compatible with the earlier versions.
  • It has been revised to stand alone from the CodeSnip program in as much as the code is available to be accessed by other applications.
  • There are no new snippets: the only change to the content is that the two string management categories have been merged into one. Why there were two is a long story to do with maintaining backward compatibility.
  • License, copyright and version information is now included with the database.
  • The snippets are now formally licensed under the MIT license.
There's now just a revision of the SWAG database to finish before CodeSnip can be released.

Saturday, 21 March 2020

Change Of Heart

A couple of days ago, over on DelpDabbler's Blog, I announced that DelphiDabbler.com is no longer to close down.

The site is more than likely to be moving to a new host. Even if that falls through the site will relocate to GitHub.

So what does this mean for CodeSnip?

Well, alongside my decision to keep DelphiDabbler.com running I've also decided to update CodeSnip at long last - work is well underway on the new release - expected to be v4.16.0.

I'm still planning to make some of the changes I announced in January, but other things have changed. Here's what's happening now:

Firstly, here's the deal with all the current versions of CodeSnip (i.e. up to v4.15.1):

  • Support has ceased. Please don't report any bugs. The old bug reporter on SourceForge has been taken down.
  • The web services that CodeSnip uses are still going to close on 15th June.
  • CodeSnip will no longer be able to download the online database, access the SWAG database or submit code after 15th June.
  • The news feed and program & database update checkers will cease to work on 15th June.

As for the new version:

  • It will not use any of the old web services. (I've done this because I can't guarantee they'll be supported on the new host).
  • A new version of the online database will be released on GitHub. CodeSnip will be able to load a load that database or continue to display any existing copy. However the user will have to manually download it from GitHub. There's a new wizard to help with this.
  • Likewise there's a revised version of SWAG due to be released that can be downloaded from GitHub. The import wizard is being modified to help load the new format.
  • Submissions to the online database will no longer be possible, although the export of code for sharing with others will continue to be supported.
  • The news feed and update checkers will be removed. News about updates will be posted on this blog. The blog is linked to from CodeSnip's Help menu.
  • The program will be supported: bugs will be able to be reported on GitHub (account required).

The upshot is that users need to update as soon as the new version of CodeSnip is released, and certainly before 15th June.

Watch this blog for more info.

Friday, 7 February 2020

Online Code Snippets Database Frozen

There will be no further updates to the online Code Snippets Database for users of all current versions of CodeSnip (i.e. up to v4.15.1).

There is a new GitHub repo containing a version of the online database. This has been done so the the database will not be lost after DelphiDabbler.com closes down on 15 June 2020. (EDIT: site no longer closing [more info]).

The database is being reformatted (EDIT: now complete and released). The only change to content is that the two String Management categories have been merged.

The new release of CodeSnip I'm working on will be able to import the reformatted database, although it will have to be downloaded manually and imported from file.

Note that although all current versions of CodeSnip 4 will allow you to submit new code to the database (at least until DelphiDabbler.com closes), such submissions are no longer being accepted.

Thursday, 6 February 2020

CodeSnip FAQs Moved To GitHub

The FAQs for using and compiling CodeSnip have moved from wiki.delphidabbler.com to a Git repo on GitHub. See https://github.com/delphidabbler/codesnip-faq/blob/master/README.md.

EDIT: site no longer closing [more info]. This has been done so that the FAQs are preserved ready for the scheduled closure of DelphiDabbler.com.

Most versions of CodeSnip should handle the change transparently. If yours doesn't then please update to the latest version.