CodeSnip v4.6.4 has been released.
This is a critical update for users who have Internet Explorer 9 installed. CodeSnip uses the Internet Explorer web browser control and differences between IE 9 and 10 mean that v4.6.3, which fixed some bugs with the IE 10 engine broke CodeSnip when used with IE 9.
I hope this has finally fixed the various IE related problems.
Here are the links to the portable and standard editions of this release:... read more
Release 4.6.4 fixes a serious bug in v4.6.3 for users running Internet Explorer 9. v4.6.3's fix of an Internet Explorer 10 related bug managed to break the program for users of IE 9 due to differences in the web browser control used by CodeSnip. If you're using IE 9 (and earlier?) you should update ASAP.
link
CodeSnip now has a forum / discussion group over on SourceForge. There is only the one forum called "General Discussion". It is for use for anyone having trouble using or compiling CodeSnip who've not been able to resolve their problem by reading the help file or the CodeSnip FAQs (see http://wiki.delphidabbler.com/index.php/FAQs/CodeSnipApp\).
link
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.
link
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.
link
CodeSnip v4.6.3 has been released.
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.... read more
Two new snippets based on code provided by new contributor Johan Keizer have been added to the System category of the Code Snippets database. They are SysUserErrorMessage and GetErrorMessageWithId.
link
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.
link
CodeSnip v4.6.2 has been released.
This release attempts to fix a bug reported by a user using Windows 8 who says the program crashes on start-up with a web-browser control error.
So this is a tentative fix that I hope may fix the problem. Don't know though because I don't have Windows 8 installed so I can't test it.
I'd be very grateful if anyone using Windows 8 could test this for me. And if it doesn't work please tell me the last release that does work on Win 8.... read more
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.
link
Some floating point error bugs have been reported for CodeSnip 3 and 4 that cause a fatal crash at start-up.
I've not been able to reproduce the bug with CodeSnip 4 but have seen it on CodeSnip 3.
It appears the bug appears when Internet Explorer 10 is installed.
Anyhow, I've fixed the bug in CodeSnip 3 and have applied the same patch to CodeSnip 4 in the hope that it makes the similar bug go away, although I haven't tested this because I can't replicate the bug in the first place!... read more
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.
link
There's an online CodeSnip-style viewer for the Code Snippets Database currently in development. v0.5 beta has just been released and I think it's now a a stage of development that makes it worth mentioning here.
You can't enter your own snippets (and probably never will be able to) but you might find it useful for viewing the online code snippets database.
See it at http://snippets.delphidabbler.com/cs.... read more
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.
link
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.
link
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.
link
"Code Snippets Database - Take 2", the online viewer for the Code Snippets database has been updated to v0.4 beta. This new release adds syntax highlighting of each snippet's source code.
link
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.
link
My web host has now resolved the problem with DelphiDabbler.com noted in the previous post, and so updates to the Code Snippets database are once again available to CodeSnip users.
During the outage CodeSnip's automatic database update checking service will have failed. For info, the last update was on 14th June. If you missed it you will need to use the Database | Update From Web menu option to get it.... read more
Updates to the online Code Snippets database are not currently available since the host site, DelphiDabbler.com is down.
I'm working to resolve the problem - my web host thinks the account hasn't been renewed even though it has.
Watch this space for further info.
Two new routines have been added to the System category of the Code Snippets Database. GetTotalPhysMemory returns the total memory on the system and handles memory greater than 4Gb on 64 bit Windows. TerminateProcessByID kills a process given its process handle. Both these routines are by new contributors - thanks guys.
link
CodeSnip release 4.6.0 improves cross reference searching and allows the background colour of source code displayed in the main display to be customised.
link
CodeSnip v4.6.0 has been released.
This new releases improves cross reference searching and allows the background colour of source code displayed in the main display to be customised.
Download the new release below:
Four new snippets for working with TWebBrowser controls have been added to the CodeSnippets database. There are routines to undo and redo edit operations and routines to select and clear text collections.
link
Every snippet in the Code Snippet Database has now been test compiled with Delphi XE4 and the database has been updated with the results. All snippets that compiled with XE3 also compile with XE4. In the few cases where snippets will not compile wtih XE3 and XE4, alternatives are available that work with both compilers. NOTE: compile results are not displayed in the current beta of the online database - you will need CodeSnip v4.5.0 or 3.12.0 or later to see the results.
link