Posts

Showing posts from 2020

CodeSnip HotFix v4.17.2 released

CodeSnip v4.17.2 has just been released. This is a hotfix release that fixes a potential vulnerability in the jQuery code used by the program's easter egg . It's extremely unlikely this would have caused a problem, but better safe etc.! You can download the fixed program from the CodeSnip SourceForge project: go to the files tab and open the Release-4.17.2 folder. Alternatively you can get it from from GitHub . The source code is available from the delphidabbler/codesnip repository on GitHub – just make sure you're on the master branch to get the latest release or choose the version-4.17.2 tag.

Unit Tests for the Code Snippets Database

In answering a comment on my previous post I recalled I had written some unit tests for a few snippets from the Code Snippets database. Well I've tracked them down to a dusty old Subversion repository on Assembla.com. The sub-repo is here . Better still, I've downloaded the source and made it available on my GoogleDrive as CodeSnippetsUnitTests.zip . So, if anyone fancies running the tests using Delphis from XE5 onwards and can report the results on a per-compiler & per snippet basis, I'd be more than grateful. I can then (laboriously!) update the database with the results.

CodeSnip Hotfix v4.17.1 released

CodeSnip v4.17.1 has just been released. This is a hotfix release that makes changes to the "What's New" dialogue box that appears only when updating from a release of CodeSnip prior to v4.16.0. These changes should have been included in v4.17.0 but were overlooked. NOTE: if you have already updated to v4.17.0 you do not need this release since you will never see the dialogue box that has been changed. You can download both the standard and portable editions of the hotfix from either GitHub or SourceForge, as usual: Get the program from GitHub . Get the program from SourceForge .

CodeSnip v4.17.0 released

I've just release CodeSnip v4.17.0. This release belatedly adds support for test compiling snippets with Delphi 10.2 Tokyo, Delphi 10.3 Rio and Delphi 10.4 Sydney compilers. You can download both the standard and portable editions from either GitHub or SourceForge. Get the program from GitHub . Get the program from SourceForge . Since I don't have any of these compilers I've not been able to check the code, so I'd be grateful if anyone can give me some feedback. Also, if anyone test compiles the coed in the DelphiDabbler Code Snippets Database in any of those compilers, or Delphi 10 Seattle or 10.1 Berlin for that matter, please do send your results and I'll update the database. Thanks.

Quick and Dirty Theme Change

Since I just changed the theme on my main DelphiDabbler's Blog I thought I'd better update this one too. The main aims were (1) to make it mobile friendly (2) to spend no more than 10 mins doing it for now! I've achieved both aims by simply using a pre-built Blogger theme and spending zero time customising it. Not the best it could look, but at least it's usable on mobile now.

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!

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 .

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.

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.

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: New Release of the DelphiDabbler Code ...

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 .

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.

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 release...

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 c...

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.

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.

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 ...