News for 2013

Numerous new snippets have been added to the Code Snippets Database that can get, set and delete environment variables, get the size of a process' environment block and notify other programs of changes made to the environment variables in the registry.

This release is another attempt to a similar bug to that dealt with by CodeSnip 4.6.1 where floating point errors were being reported when displaying items in the main page. This time I've completely revised the code that displays information in the details pane to avoid the call into the web browser control that seemded to be causing the problems when IE 10 is installed. This is an intermitant bug, so lets hope it's finally fixed. Please let me know either way by commenting on the bug report at http://bit.ly/12zAWSp, mentioning that you're using v4.6.3.

This is a tentative fix for a bug reported for CodeSnip running on Windows 8 that I can't reproduce. I hope it works, but I'm relying on feedback from Windows 8 users to let me know either way. Please leave feedback on whether it works or not as comments on the bug report at http://bit.ly/12eUV5Y. It's just as useful to know if it works as it is if the bug's still there. It would also be useful to know what the last good working version on Windows 8 is.

As I promised in the previous news item I've now released a patch for CodeSnip 4.6 - v4.6.1 - that attempts to fix a floating point bug that's been reported on some systems with CodeSnip 4. I've never been able to replicate the bug but, from the minimal information given in the bug report, it seems to similar to the IE 10 related problem that v3.12.1 fixes for CodeSnip 3. So, I've applied a similar patch for CodeSnip in the hope it fixes the problem. You are recommended to apply this update ASAP.

The arrival of Internet Explorer 10 has stopped CodeSnip v3.x working for some users. v3.12.1 fixes this problem and should allow you to continue using CodeSnip 3. If you don't want to update to v4, please update to v3.12.1 immediately. A similar bug has been reported, albeit very sketchily, for CodeSnip 4 portable. Although I can't replicate the bug I will be releasing a patch to v4 very soon that is similar to the one in v3.12.1 just in case.

This new release of Code Snippets Database "Take 2" is a major step forward in that it finally implements the functionality of the "Generate Unit" button. Snippets that have been "pinned" can now be included a compilable unit that is displayed in the main displayed. You need to copy and paste the unit into a suitably named file. *** NOTE ** there a lot of changes to way the app is implemented in this release - you may need to force a full refresh or clear your browser's cache if the display is corrupted.

The online SWAG Pascal Database viewer application has been updated once more. This new release, v0.3 beta, adds support for caching snippets to reduce the number of round trips to the web service that are required. The first time you access a snippet it is fetched from the web service. Selecting the same snippet again will fetch it from the local cache, subject to the cache not being full. This release also fixes a nasty bug that was slowing down loading snippets etc from the web service once a few tens of snippets had been selected. The app's JavaScript code is now compatible with JSLint.

The online SWAG Pascal Database viewer application has been updated to v0.2 beta. This release adds syntax highlighting to all SWAG snippets that are flagged as being source code. Entries flagged as plain text are not highlighted.

Because of a website outage CodeSnip has been unable to get updates for the Code Snippets database over the past day or so. This was due to an error on behalf of the web host which they have now fixed. For more info, follow the link. Sorry for the inconvenience.