This is a maintenance release for users of CodeSnip 3. CodeSnip 4 users should not install the update. The update fixes a few registry access issues when running on 64 bit Windows, fixes a potential operating system detection bug when running on Windows 2000 and removes "vertical" font names from the font list displayed when editing syntax highlighters.
link
CodeSnip 3.13.2 has been released.
This is maintenance release for users of CodeSnip 3. CodeSnip 4 users should not install the update.
The update fixes a few registry access issues when running on 64 bit Windows, fixes a potential operating system detection bug when running on Windows 2000 and removes "vertical" font names from the font list displayed when editing syntax highlighters.
You can get the update here.
CodeSnip v4.8.2 has been released. It fixes a bug that may affect operating system detection when CodeSnip is run on Windows 2000. It also tidies up the font list that is displayed when customising synta highlighters. The few remaining Windows 2000 users are strongly urged to update. For users of later OSs, the update is purely cosmetic.
link
CodeSnip 4.8.2 has been released.
This release prevents "vertical" fonts from appearing in the list of available fonts displayed on the Syntax Highlight tab of the Preferences dialogue box.
It also fixes a potential bug in the operating system detection code when CodeSnip is run on Windows 2000.
You can download this new release from:
Two new snippets have been added to the string management category of the Code Snippets database. Both snippets remove duplicate strings from a collection of strings. One routine removes duplicates from a string list, the other operates on an array of strings.
link
The old version of the online Code Snippets Database has been retired and replaced by the Code Snippets Database - Take 2. I've made quite an effort to ensure that bookmarks and links to the old database redirect somewhere sensible. See the linked blog post for full details.
link
Three new snippets have been added to the "System" category of the Code Snippets Database. They are all concerned with running DOS command in the command processor. The first, DOSCommand, simply executes a given DOS command like "COPY" or "DEL" and can optionally show a window or wait for the command to complete. The remaining two are overloaded and named DOSCommandRedirect. Both execute a DOS command in a hidden window and redirect its output. One version sends output to a TStream while the other sends output to a file. Thanks to Joe Donth for most of the work on these snippets.
link
Two new string comparison routines have been added to the Code Snippets Database. They are: (1) CompareNumberStr that compares two strings case-sensitively, while treating any embedded digits as numbers rather than text and (2) InString that checks if one string contains another, optionally ignoring case.
link
This latest release of the Online Code Snippets Database "Take 2", which follows hard on the heels of v0.6, adds some functionality to make it easier to select snippets for inclusion in a Pascal unit. There's a new "Select" toolbar button that leads to a drop down menu from where all snippets can be selected or de-selected in one action. Also, in response to user requests, there's an option to select all the snippets that are compatible with a given version of Delphi or FreePascal. That makes it easy to generate a unit that will compile on your compiler.
link
A single new routine that returns the date of Easter as used by Western Christian churches has been added to the Code Snippets Database. The snippet is named WesternEaster nad is based on code from the SWAG archive. Unit tests for the snippets are available in the CodeSnippets project within the trunk of the Delphi Doodlings repo at http://delphidabbler.com/url/doodlings-repo
link
A new version of the online Code Snippets database. Take 2 has just been released.
It adds the facility to select a whole group of snippets for inclusion in generated Pascal units. The way generated units are displayed has also been changed to make it easier to copy and paste them.
Finally, a snippet's creation and last modification date are now displayed.
You can see this web app at http://snippets.delphidabbler.com/cs
This new release of Code Snippets Database "Take 2" adds the facility to select a whole group of snippets for inclusion in generated Pascal units. I've also changed the way generated units are displayed to make it easier to copy and paste them. Finally, a snippet's creation and last modification date are now displayed.
link
CodeSnip 4.8.1 and 3.13.1 have been released to fix a problem with printer page setup. If you set page options using the File | Page Setup menu option and then printed a snippet the options had been forgotten. It's only if you set the option from the Print dialogue box that the options are recognised. Therefore the fix was simple - the Page Setup menu option has been removed! This is a recommended update.
link
A bug in setting Print Options has been fixed for CodeSnip versions 3 and 4. See the bug report for details.
The v4 fix is in CodeSnip 4.8.1, which is available in both standard and potable editions. Get these here:
As I move on with developing CodeSnip 5 I've come across a couple of features that seem clumsy and will be harder to maintain in the new version. I never use them and I would not be surprised if no-one else does.
So, I'm planning to delete them.
Before I go ahead and remove them I want to find out if anyone is using them and wants them retained. The proposal is discussed in detail in the this blog post.... read more
As I move on with developing CodeSnip 5 I've come across a couple of features that seem clumsy and will be harder to maintain in the new version. Before I go ahead and remove them I want to find out if anyone is using them and wants them retained. The proposal is discussed in detail in the linked blog post. If you want to vote to keep the feature then let me know.
link
Support for test compiling with the new Delphi XE5 compiler has been added to CodeSnip v4 and v3.
Only Windows 32 targets are supported when test compiling.
The main release is CodeSnip 4.8.0, which is available in both standard and potable editions. Get these here:
As from today the Code Snippets Database as seen by CodeSnip versions 1 and 2 has been frozen - no more updates will be available.
Furthermore any v0.x beta versions and v1.0 RC1 and RC2 will no longer even be able to access the online database.
Full details are available on the DelphiDabbler blog.
As from today the Code Snippets Database as seen by CodeSnip versions 1 and 2 has been frozen - no more updates will be available. Furthermore any v0.x beta versions and v1.0 RC1 and RC2 will no longer even be able to access the online database. Full details available on the DelphiDabbler blog.
link
Two new TWebBrowser related routines have been added to the Code Snippets database. They are WBGetOpticalZoomRange and WBSetOpticalZoom. Also the CheckInternetConnection snippet has had a long standing bug fixed: while the snippet was named "CheckInternetConnection" it's source code used IsInternetConnected for the function name. This could clash with the existing IsInternetConnected snippet, causing units containing both snippets to fail to compile. After the fix name of CheckInternetConnection is now as expected. NOTE: it's just possible that this name change could break existing code if a unit containing CheckInternetConnection is re-generated.
link
CodeSnip 4.7.2 has been released.
This fixes a display bug in the SWAG Import Wizard.
Download the new release using these links:
CodeSnip 4.7.1 has been released. This fixes bugs relating to closing tabs in the detail pane in response to the Close Tab option in the tab set's context menu.
link
CodeSnip 4.7.1 has been released.
This fixes bugs relating to closing tabs in the detail pane in response to the Close Tab option in the tab set's context menu.
Download the new release using these links:
Six new snippets have been added to the TWebBrowser section of the Code Snippets database. Each snippet opens one of the browser control's dialogue boxes. They are the Find, Page Setup, Print, Print Preview, Properties dialog boxes and the "Show Source" option that displays the current document's source code.
link
CodeSnip 4.7.0 has been released.
Key new features are:
In addition a few bugs were squashed, the help file and privacy statement were updated and there are numerous under-the-hood improvements.... read more