Skip to content

Commit 336aa34

Browse files
committed
Merge tag 'version-4.16.0' into develop
2 parents 8932002 + d9177d6 commit 336aa34

File tree

8 files changed

+84
-17
lines changed

8 files changed

+84
-17
lines changed

CHANGELOG.md

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,80 @@ This is the change log for _DelphiDabbler CodeSnip_.
55

66
All notable changes to this project are documented in this file.
77

8-
This change log begins with the first ever pre-release version of _CodeSnip_. Releases are sequential in reverse version number order.
8+
This change log begins with the first ever pre-release version of _CodeSnip_. Releases are listed in reverse version number order.
99

10-
> Note that _CodeSnip_ v4 was developed in parallel with v3 for a while. As a consequence some later v3 releases have later release dates than early v4 releases.
10+
> Note that _CodeSnip_ v4 was developed in parallel with v3 for a while. As a consequence some v3 releases have later release dates than early v4 releases.
1111
1212
From v4.1.0 the version numbering has attempted to adhere to the principles of [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1313

1414

15+
## Release v4.16.0 of 31 May 2020
16+
17+
This is a significant update. It's purpose is to remove CodeSnip's dependencies on the delphidabbler.com website and associated web services. This was done because of the expected June 2020 closure or reduced functionality of delphidabbler.com. Some affected features were removed and others replaced with alternatives.
18+
19+
+ Removed all dependencies on web services. The following changes were made as a consequence of this:
20+
- Replaced the option to update the main DelphiDabbler Code Snippets database from the web with an option to update it from locally stored data:
21+
- Replaced the _Update from Web_ dialogue box with a new wizard. Menu options on the _Snippets_ menu were renamed accordingly and the old tool bar button was removed.
22+
- Changed the database update code to use data that has been manually downloaded from the `delphidabbler/code-snippets` GitHub project.
23+
- Modified the database reading code to accept both the new Code Snippets database v2 format _and_ the legacy v1 format.
24+
+ Replaced the option to import SWAG snippets from an on-line REST service with an option to import snippets from locally stored data.
25+
- Revised the SWAG import wizard re the changes to the import method.
26+
- Modified the SWAG import code to use data that has been manually downloaded from the `delphidabbler/swag` GitHub project.
27+
- The option to register the program was removed. No registration key is now generated or stored.
28+
- Replaced the option to read and display the CodeSnip RSS news feed with one to display the CodeSnip Blog.
29+
- Removed the menu option used to check for program updates.
30+
- Removed the background task that automatically checked for program and database updates.
31+
- Removed the option to submit snippets for addition to the DelphiDabbler Code Snippets database.
32+
- Removed support for a proxy web server - now unnecessary.
33+
- Removed support for the `--test-server` command line option that enabled use of a different server to test web services.
34+
- Updated install program so it no longer displays a page stating that CodeSnip will go automatically go on-line to check for updates.
35+
+ Removed references and links to delphidabbler.com from the program, the installer, the help file and documentation. Some references were deleted while others were replaced with alternatives, including:
36+
- Changed the URL of the FAQs to refer to the `codesnip-faq` GitHub project.
37+
- References to swag.delphidabbler.com were replaced with references to the `delphidabbler/swag` project on GitHub.
38+
- URLs that were redirected via a service on delphidabbler.com were replaced by hard coded URLs.
39+
+ The export file format was changed to exclude personal user information. The original format can still be read but any user information is ignored and discarded.
40+
+ Config file processing changes:
41+
- Removed support for reading or writing data relating to removed features.
42+
- When CodeSnip is first run after updating from an earlier version, any pre-existing config files are purged of any information that is no longer relevant.
43+
- The common config file is no longer used by the portable edition. Any pre-existing file is deleted the first time the portable edition is run.
44+
- The common and per-user config file versions were bumped to 7 and 16 respectively.
45+
+ Welcome page changes:
46+
- Removed the _Update Checks_ and _Donate_ sections and related links.
47+
- Removed links used to check for program and database updates.
48+
- Replaced the link used to display the news feed with one that displays the CodeSnip blog.
49+
+ Added a "What's New" type of dialogue box that can be selectively displayed when a new version of CodeSnip is run for the first time. v4.16.0 _always_ displays the dialogue box when first run.
50+
+ The operating system detection code was updated to correctly detect all Windows and Windows Server releases as of March 2020.
51+
+ Revised the _About_ dialogue box:
52+
- To display version and licensing information extracted from Code Snippets Database v2 meta data.
53+
- To remove credits for 3rd party code that is no longer used.
54+
+ The bug tracker dialogue boxes were updated re the change of issue tracker from SourceForge to GitHub.
55+
+ Removed redundant pages and controls from the _Preferences_ dialogue box.
56+
+ Removed the _Donate_ dialogue box and associated menu options.
57+
+ Revised and re-ordered some menu options.
58+
+ The program no longer generates and saves an application identifier key.
59+
+ Bugs fixed:
60+
- Corrected license information stored in the _Extra_ information section of imported SWAG packages.
61+
- Fixed a text formatting error in the SWAG import wizard ([issue #4](https://github.com/delphidabbler/codesnip/issues/4)).
62+
- Fixed broken help topic links in some dialogue boxes ([issue #3](https://github.com/delphidabbler/codesnip/issues/3))
63+
- Fixed a bug in the portable edition's startup processing of its config file.
64+
- Fixed the dialogue box displayed when updating from CodeSnip v3 or earlier to display an icon in the Windows task bar.
65+
- Corrected the license details included in comments of generated source code that includes snippets from the main database.
66+
- Corrected typos and errors in the UI.
67+
+ Some source code refactoring and clarifications.
68+
+ Removed redundant library code:
69+
- Encryption library.
70+
- Indy Internet components.
71+
+ Help file overhauled: new topics added, redundant topics removed and many errors corrected. Some restyling.
72+
+ Updated documentation, including:
73+
- Major changes to `./README.md` and `./Docs/ReadMe.txt`.
74+
- Merged all the major version specific changelogs into a single `./CHANGELOG.md` file and deleted the old files.
75+
- File format documentation was overhauled re changes introduced in this release.
76+
- Edited `./Docs/License.html` to remove license information and acknowledgements for 3rd party code that is no longer used.
77+
- Fixed errors in `./Build.html` concerning the source code repository and made some other minor changes.
78+
- Removed the privacy statement document, `./Docs/Privacy.txt` since CodeSnip no longer stores or transmits any personal information. (Also removed privacy help topic and menu item.)
79+
- Removed `./Docs/Design/WebServices.txt` file that described the web services used by CodeSnip.
80+
81+
1582
## Release v4.15.1 of 22 September 2016
1683

1784
+ Updated OS detection code to detect Windows 10 Version 1607 (Anniversary update) and all technical previews of Windows 2016 Server to date.
@@ -389,7 +456,7 @@ _Internal CodeSnip version 4.0.1.212_
389456
+ Fixed bug #3578652 ~~(http://bit.ly/RXIwBC)~~: "Pre-processor directive errors in main db ini files" by removing support for problematic directives.
390457
+ Rolling mouse over links in detail pane no longer displays a hint in the status bar. This change fixes bug #3577407 ~~(http://bit.ly/VeSVGg)~~: Clicking detail pane snippet link leaves hint in status bar.
391458
+ Windows no longer scale automatically when screen DPI differs from that on design system. This fixes bugs #3591818 ~~(http://bit.ly/TvNaUL)~~ "Strange window behaviour in Windows 7" and bug #3591820 ~~(http://bit.ly/SEH6dO)~~ "Incorrect font size used for some bold text".
392-
+ Update operating system detection code to detect W0ndows 8 & 2012 server.
459+
+ Update operating system detection code to detect Windows 8 & 2012 server.
393460
+ Some refactoring and some redundant code removed.
394461
+ Updated documentation.
395462
+ Updated help topic that describes main display.
@@ -526,7 +593,7 @@ _Internal CodeSnip version 3.99.1_
526593
- Added controls to "Display" tab to set main and user database heading colours.
527594
- Changes that affect appearance of content of details pane are now reflected in the display as soon as the Preferences dialogue box closes, rather than on program restart.
528595
+ Changes to REML mark-up handling:
529-
- Any REML text not embedded in block level tags is now automatically wrapped in <p> tags.
596+
- Any REML text not embedded in block level tags is now automatically wrapped in `<p>`...`</p>` tags.
530597
- Nested REML block level tags are no longer allowed.
531598
- Changed handling of multiple spaces in REML code to be the same as in HTML.
532599
- Formatting of REML code improved when re-displayed.
@@ -635,7 +702,7 @@ _Internal CodeSnip version 3.98.1_
635702
+ Improved Delphi code syntax highlighter:
636703
- Recognises Delphi 2010 keywords
637704
- Correctly handles context sensitive directives within "property", "exports" and "external" statements.
638-
- Recognises '&' prefix that causes keywords to be treated as identifiers.
705+
- Recognises `&` prefix that causes keywords to be treated as identifiers.
639706
+ Compiler search paths can now be specified for included units permitting non-VCL units to be used by snippets.
640707
+ Database:
641708
- Non-empty categories can no longer be deleted.
@@ -714,7 +781,7 @@ _Internal CodeSnip version 3.98.1_
714781
+ Fixed bug #3578654 ~~(http://bit.ly/T7fTxu)~~: "Pre-processor directive errors in main db ini files" by removing support for problematic directives.
715782
+ Hints are no longer displayed in status bar when user rolls mouse over a link in the display pane. This fixes bug #3577408 ~~(http://bit.ly/WEzZGg)~~: "Clicking detail pane snippet link leaves hint in status bar".
716783
+ Windows no longer scale automatically when screen DPI differs from that on design system. This fixes bugs #3591818 ~~(http://bit.ly/TvNaUL)~~ "Strange window behaviour in Windows 7" and bug #3591820 ~~(http://bit.ly/SEH6dO)~~ "Incorrect font size used for some bold text".
717-
+ Updated operating system detection code to detect W0ndows 8 & 2012 server.
784+
+ Updated operating system detection code to detect Windows 8 & 2012 server.
718785
+ Updated documentation
719786

720787

Src/CodeSnip.todo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
{TODO -cPreRelease : Remove -[**dev**] from product and file versions in .vi files before bumping release number}

Src/FmDBUpdateDlg.pas

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
unit FmDBUpdateDlg;
1414

15-
// TODO -cHelp: Make help button visible once help topic is created.
1615

1716
interface
1817

18+
1919
uses
2020
// Project
2121
SysUtils,
@@ -41,6 +41,8 @@ interface
4141
UDBUpdateMgr;
4242

4343
type
44+
/// <summary>Wizard dialogue box that handles the updating of the main
45+
/// DelphiDabbler Code Snippets database from disk.</summary>
4446
TDBUpdateDlg = class(TWizardDlg, INoPublicConstruct)
4547
tsIntro: TTabSheet;
4648
tsFolder: TTabSheet;
-936 Bytes
Binary file not shown.

Src/Install/CodeSnip.iss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ Source: {#SrcExePath}{#HelpFile}; DestDir: {app}; Flags: ignoreversion
9191
Source: {#SrcDocsPath}{#LicenseTextFile}; DestDir: {app}; Flags: ignoreversion
9292
Source: {#SrcDocsPath}{#ReadMeFile}; DestDir: {app}; Flags: ignoreversion
9393
Source: {#SrcAssetsPath}UpdatingPreview.rtf; Flags: dontcopy
94-
Source: {#SrcAssetsPath}AutoUpdateChecks.rtf; Flags: dontcopy
9594
9695
[Icons]
9796
Name: {group}\{#AppPublisher} {#AppName}; Filename: {app}\{#ExeFile}

Src/Install/EventHandlers.ps

-898 Bytes
Binary file not shown.

Src/VCodeSnip.vi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99

1010
[Fixed File Info]
11-
File Version #=4, 15, 1, 256
12-
Product Version #=4, 15, 1, 0
11+
File Version #=4, 16, 0, 257
12+
Product Version #=4, 16, 0, 0
1313
File OS=4
1414
File Type=1
1515
File Sub-Type=0
@@ -24,14 +24,14 @@ Character Set=1252
2424
Comments=Released under the terms of the Mozilla Public License v2.0 (http://www.mozilla.org/MPL/2.0/)
2525
Company Name=DelphiDabbler
2626
File Description=CodeSnip Database Viewer
27-
File Version=<#F1>.<#F2>.<#F3> build <#F4>-[**dev**]
27+
File Version=<#F1>.<#F2>.<#F3> build <#F4>
2828
Internal Name=<SHORTFNAME>
2929
Legal Copyright=Copyright � P.D.Johnson, 2005-<YEAR>.
3030
Legal Trademark=
3131
Original File Name=CodeSnip.exe
3232
Private Build=
3333
Product Name=DelphiDabbler CodeSnip
34-
Product Version=Release <#P1>.<#P2>.<#P3>-[**dev**]
34+
Product Version=Release <#P1>.<#P2>.<#P3>
3535
Special Build=
3636

3737
[Configuration Details]

Src/VCodeSnipPortable.vi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99

1010
[Fixed File Info]
11-
File Version #=4, 15, 1, 256
12-
Product Version #=4, 15, 1, 0
11+
File Version #=4, 16, 0, 257
12+
Product Version #=4, 16, 0, 0
1313
File OS=4
1414
File Type=1
1515
File Sub-Type=0
@@ -24,14 +24,14 @@ Character Set=1252
2424
Comments=Released under the terms of the Mozilla Public License v2.0 (http://www.mozilla.org/MPL/2.0/)
2525
Company Name=DelphiDabbler
2626
File Description=CodeSnip Database Viewer (Portable Edition)
27-
File Version=<#F1>.<#F2>.<#F3> build <#F4>-[**dev**]
27+
File Version=<#F1>.<#F2>.<#F3> build <#F4>
2828
Internal Name=<SHORTFNAME>
2929
Legal Copyright=Copyright � P.D.Johnson, 2005-<YEAR>.
3030
Legal Trademark=
3131
Original File Name=CodeSnip-p.exe
3232
Private Build=
3333
Product Name=DelphiDabbler CodeSnip
34-
Product Version=Release <#P1>.<#P2>.<#P3>-[**dev**]
34+
Product Version=Release <#P1>.<#P2>.<#P3>
3535
Special Build=Portable
3636

3737
[Configuration Details]

0 commit comments

Comments
 (0)