Tuesday, 9 June 2020

Server move underway

As previously notified, the delphidabbler.com domain is being moved over to a new server today, 9 June 2020.

Read more about the move

This means that, as the change of server propagates across the net the web services used by CodeSnip <= 4.15.1 will stop working. So, another hint, it's time to update to v4.16.0!

It also means that the web apps on http://snippets.delphidabbler.com/ and http://swag.delphidabbler.com/ will also cease to work over the next few hours.

CodeSnip can still be found at http://delphidabbler.com/software/codesnip

Brave new world!

Monday, 8 June 2020

Whoops! CodeSnip 4.16.0 download links broken

I managed to provide broken links to SourceForge on CodeSnip 4.16.0's GitHub release page.

Fixed it now! Go to the release page.

Sunday, 7 June 2020

DelphiDabbler web services to close 9th June

As a consequence of the move of DelphiDabbler.com to its new web host due on 9th June the web services that CodeSnip versions up to v4.15.1 used will close down.

If you've not already done so you are strongly advised to update to CodeSnip v4.16.0 immediately. v4.16.0 has no dependencies on the old web services.

Historical note: CodeSnip 4.16.0 doesn't access DelphiDabbler.com at all, because when development started I firmly believed that the site would be closing completely. That's no longer the case because the site has been saved. It is possible that the web services may come back at some point, in which case some of the changes may be reverted.

Thanks for your patience.

Sunday, 31 May 2020

CodeSnip v4.16.0 Released

As promised a few days ago CodeSnip v4.16.0 has just been released.

You can download it from GitHub or SourceForge.

This version removes all dependencies on delphidabbler.com and the web services it provides. The web services are due to cease operating sometime between 12th and 15th June 2020. delphidabbler.com will continue on a different server with reduced content and functionality.

For full details of changes see the change log.

The source code can be downloaded or cloned from the delphidabbler/codesnip Git repository on GitHUb.

IMPORTANT: All current users are strongly advised to update as soon as possible. Quite an important chunk of functionality in v4.15.1 and earlier depends on the web services and will stop working when the old website and web services go away.

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.

Wednesday, 22 January 2020

DelphiDabbler.com Closure And Impact On CodeSnip

This post has been superseded - please see the Change Of Heart post for details.

On 15 June 2020 DelphiDabbler.com will be closing down.

This will have the following impact on users of CodeSnip:

  • Users will loose access to the online Code Snippets database. If the database has already been downloaded by then you will retain access to it.
  • Access to the online SWAG database will also cease. Any snippets from that database that have been downloaded before 15 June will remain available because they're stored locally.
  • CodeSnip will no longer be able to check for programs and online database updates. In the latter case that won't be a problem because there will not be any more updates, but you won't get notified of any new program updates that may follow 15 June.
  • The CodeSnip news feature will stop working - not that there's been any news for a long time!

In addition I'm not taking any more feature requests or bug reports for CodeSnip versisons up to 4.15.1] and, although the online bug reporter may work until 15 June, the bug report page it points to already gives a 404 error.

So, will there be any more programs updates?

I'm planning one final one that removes all the options that require DelphiDabbler.com to be alive. I'm also hoping to merge the online database with the user databasethat enables the online one to be downloaded from GitHub and to make it editable.I'm changing the online database to be downloadable from GitHub.

Whether I'll manage it before 15 June is debatable. If you want to follow progress please look at CodeSnip's GitHub page from time to time.

And finally, thanks for using CodeSnip this past 15 years!