Skip to content

Commit

Permalink
CodeSnip version 4.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
delphidabbler committed May 6, 2015
1 parent 4324d8c commit 09f43c1
Show file tree
Hide file tree
Showing 16 changed files with 62 additions and 28 deletions.
5 changes: 5 additions & 0 deletions Docs/ChangeLogs/ChangeLog-v4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
; Change Log for CodeSnip Release 4
; ------------------------------------------------------------------------------

Release v4.12.0 of 6 May 2015
+ Added support for test compilation with, and detection of, Delphi XE8 compiler.
+ Updated documentation re changes.
+ Updated help file re changes and fixed some spelling mistakes.

Release v4.11.1 of 26 October 2014
+ Corrected an erroneous error message that is displayed when circular snippet references are detected in the snippets editor (no bug report filed).
+ Corrected some spelling errors in UI.
Expand Down
11 changes: 10 additions & 1 deletion Docs/Design/FileFormats/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -288,6 +288,9 @@ <h4>
<li>
<em>DXE7</em> &ndash; Delphi XE7
</li>
<li>
<em>DXE8</em> &ndash; Delphi XE8
</li>
<li>
<em>FPC</em> &ndash; Free Pascal
</li>
Expand Down Expand Up @@ -576,6 +579,12 @@ <h4>
<dd>
Indicates whether Delphi XE7 was included in search.
</dd>
<dt>
<strong>DXE8</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi XE8 was included in search.
</dd>
<dt>
<strong>FPC</strong> (Boolean)
</dt>
Expand Down
5 changes: 4 additions & 1 deletion Docs/Design/FileFormats/export.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -512,6 +512,9 @@ <h2>
<li>
<em>dXE7</em> &ndash; Delphi XE7 compiler
</li>
<li>
<em>dXE8</em> &ndash; Delphi XE8 compiler
</li>
<li>
<em>fpc</em> &ndash; Free Pascal compiler
</li>
Expand Down
6 changes: 5 additions & 1 deletion Docs/Design/FileFormats/main-db.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -155,6 +155,7 @@ <h3>
DelphiXE5=&lt;Y|N|Q|W&gt;
DelphiXE6=&lt;Y|N|Q|W&gt;
DelphiXE7=&lt;Y|N|Q|W&gt;
DelphiXE8=&lt;Y|N|Q|W&gt;
FPC=&lt;Y|N|Q|W&gt;
Extra=&lt;extra-info-REML&gt;
StandardFormat=&lt;0|1&gt;
Expand Down Expand Up @@ -339,6 +340,9 @@ <h3>
<li>
<em>DelphiXE7</em> &ndash; Delphi XE7 compiler
</li>
<li>
<em>DelphiXE8</em> &ndash; Delphi XE8 compiler
</li>
<li>
<em>FPC</em> &ndash; Free Pascal compiler
</li>
Expand Down
5 changes: 4 additions & 1 deletion Docs/Design/FileFormats/user-db.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -562,6 +562,9 @@ <h3>
<li>
<em>dXE7</em> &ndash; Delphi XE7 compiler
</li>
<li>
<em>dXE8</em> &ndash; Delphi XE8 compiler
</li>
<li>
<em>fpc</em> &ndash; Free Pascal compiler
</li>
Expand Down
4 changes: 2 additions & 2 deletions Docs/ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ online DelphiDabbler Code Snippets database as well as maintain a database of
user-defined snippets.

It displays details of each snippet in the database and can test-compile them
with each installed Win32 version of Delphi from v2 to XE7 along with Free
with each installed Win32 version of Delphi from v2 to XE8 along with Free
Pascal.

Compilable Pascal units can be created that contain selected snippets.
Expand Down Expand Up @@ -225,7 +225,7 @@ dialogue" in the help file index).

Each user can configure compilers differently.

Delphi XE2 to XE7 may need to be configured to search for required units in the
Delphi XE2 to XE8 may need to be configured to search for required units in the
correct namespaces. This is explained in the Add/Edit Snippet Dialogue Box help
topic and in the FAQ at http://delphidabbler.com/url/codesnip-and-xe2.

Expand Down
8 changes: 7 additions & 1 deletion Src/Compilers.UBDS.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2006-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2006-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -141,6 +141,8 @@ function TBDSCompiler.GetIDString: string;
Result := 'DXE6';
ciDXE7:
Result := 'DXE7';
ciDXE8:
Result := 'DXE8';
else
raise EBug.Create(ClassName + '.GetIDString: Invalid ID');
end;
Expand All @@ -156,6 +158,7 @@ function TBDSCompiler.GetName: string;
sDelphiXE5 = 'Delphi XE5'; // name of Delphi XE5 compiler
sDelphiXE6 = 'Delphi XE6'; // name of Delphi XE6 compiler
sDelphiXE7 = 'Delphi XE7'; // name of Delphi XE7 compiler
sDelphiXE8 = 'Delphi XE8'; // name of Delphi XE8 compiler
begin
case GetID of
ciDXE:
Expand All @@ -172,6 +175,8 @@ function TBDSCompiler.GetName: string;
Result := sDelphiXE6;
ciDXE7:
Result := sDelphiXE7;
ciDXE8:
Result := sDelphiXE8;
else
Result := Format(sCompilerName, [ProductVersion]);
end;
Expand Down Expand Up @@ -199,6 +204,7 @@ function TBDSCompiler.InstallationRegKey: string;
ciDXE5 : Result := '\Software\Embarcadero\BDS\12.0';
ciDXE6 : Result := '\Software\Embarcadero\BDS\14.0';
ciDXE7 : Result := '\Software\Embarcadero\BDS\15.0';
ciDXE8 : Result := '\Software\Embarcadero\BDS\16.0';
else raise EBug.Create(ClassName + '.InstallationRegKey: Invalid ID');
end;
end;
Expand Down
5 changes: 3 additions & 2 deletions Src/Compilers.UGlobals.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -40,6 +40,7 @@ interface
ciDXE5, // Delphi XE5
ciDXE6, // Delphi XE6
ciDXE7, // Delphi XE7
ciDXE8, // Delphi XE8
ciFPC // Free Pascal
);

Expand All @@ -52,7 +53,7 @@ interface
/// compilers.</summary>
cBDSCompilers = [
ciD2005w32, ciD2006w32, ciD2007, ciD2009w32, ciD2010, ciDXE, ciDXE2,
ciDXE3, ciDXE4, ciDXE5, ciDXE6, ciDXE7
ciDXE3, ciDXE4, ciDXE5, ciDXE6, ciDXE7, ciDXE8
];

const
Expand Down
4 changes: 2 additions & 2 deletions Src/DBIO.UIniDataReader.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -237,7 +237,7 @@ implementation
'Delphi2', 'Delphi3', 'Delphi4', 'Delphi5', 'Delphi6', 'Delphi7',
'Delphi2005Win32', 'Delphi2006Win32', 'Delphi2007', 'Delphi2009Win32',
'Delphi2010', 'DelphiXE', 'DelphiXE2', 'DelphiXE3', 'DelphiXE4',
'DelphiXE5', 'DelphiXE6', 'DelphiXE7', 'FPC'
'DelphiXE5', 'DelphiXE6', 'DelphiXE7', 'DelphiXE8', 'FPC'
);

{ TIniDataReader }
Expand Down
3 changes: 2 additions & 1 deletion Src/FirstRun.UConfigFile.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2007-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2007-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -481,6 +481,7 @@ procedure TUserConfigFileUpdater.UpdateNamespaces;
UpdateForCompiler('DXE5');
UpdateForCompiler('DXE6');
UpdateForCompiler('DXE7');
UpdateForCompiler('DXE8');
end;

{ TCommonConfigFileUpdater }
Expand Down
3 changes: 2 additions & 1 deletion Src/FrCodeGenPrefs.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2010-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2010-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -679,6 +679,7 @@ procedure TCodeGenPrefsFrame.PopulatePreDefCompilerMenu;
AddMenuItem('Delphi XE5', 26.0);
AddMenuItem('Delphi XE6', 27.0);
AddMenuItem('Delphi XE7', 28.0);
AddMenuItem('Delphi XE8', 29.0);
end;

procedure TCodeGenPrefsFrame.PreDefCompilerMenuClick(Sender: TObject);
Expand Down
4 changes: 2 additions & 2 deletions Src/Help/HTML/about_compiler_checks.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -37,7 +37,7 @@ <h1>
</p>
<p>
The supported compilers are the Win32 Delphi compilers from Delphi 2 to
Delphi XE7 and Free Pascal.
Delphi XE8 and Free Pascal.
</p>
<h2>
Configuring CodeSnip
Expand Down
10 changes: 5 additions & 5 deletions Src/Help/HTML/dlg_configcompilers.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -167,7 +167,7 @@ <h2>
Delphi XE2 or later qualify units from the RTL and VCL are prefixed with
the name of the unit's namespace. Much of the code managed by
<em>CodeSnip</em> uses unqualified unit names for reasons of backward
compatibility. In order for the unqualifed units to be found on Delphi
compatibility. In order for the unqualified units to be found on Delphi
XE2 and later the compiler has to be given a list of namespaces to search
for the units.
</p>
Expand Down Expand Up @@ -247,7 +247,7 @@ <h2>
summary of the logged output can be displayed by the user when warnings
or errors occur. Instead of displaying the whole log the program filters
out the required messages. It does this by looking for some common text
that preceeds the messages in the log. These prefixes are listed in the
that precedes the messages in the log. These prefixes are listed in the
<em>Log Prefixes</em> editor.
</p>
<p>
Expand All @@ -268,7 +268,7 @@ <h2>
</ul>
<p>
For languages other than English you need to compile some code that
generates warnings, errors and fatal errors then check what text preceeds
generates warnings, errors and fatal errors then check what text precedes
each kind of message. This text should be entered in the <em>Log
Prefixes</em> editor. Failure to do this will mean that CodeSnip
won't detect warnings and won't report errors correctly.
Expand All @@ -278,7 +278,7 @@ <h2>
</h2>
<p>
<em>CodeSnip</em> can automatically detect the presence of Win 32 Delphi
compilers from versions 2 to XE7. Click the <em>Detect Delphi
compilers from versions 2 to XE8. Click the <em>Detect Delphi
Compilers</em> button to do this. Any supported installed version of
Delphi will be recorded. This can save considerable time and avoid
errors.
Expand Down
5 changes: 3 additions & 2 deletions Src/UXMLDocConsts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2008-2014, Peter Johnson (www.delphidabbler.com).
* Copyright (C) 2008-2015, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
Expand Down Expand Up @@ -73,7 +73,8 @@ interface
cCompilerIDs: array[TCompilerID] of string = (
'd2', 'd3', 'd4', 'd5', 'd6', 'd7',
'd2005', 'd2006', 'd2007', 'd2009', 'd2010',
'dXE', 'dXE2', 'dXE3', 'dDX4' {error, but in use}, 'dXE5', 'dXE6', 'dXE7',
'dXE', 'dXE2', 'dXE3', 'dDX4' {error, but in use},
'dXE5', 'dXE6', 'dXE7', 'dXE8',
'fpc'
);

Expand Down
6 changes: 3 additions & 3 deletions Src/VCodeSnip.vi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; v. 2.0. If a copy of the MPL was not distributed with this file, You can
; obtain one at http://mozilla.org/MPL/2.0/
;
; Copyright (C) 2008-2014, Peter Johnson (www.delphidabbler.com).
; Copyright (C) 2008-2015, Peter Johnson (www.delphidabbler.com).
;
; $Rev$
; $Date$
Expand All @@ -11,8 +11,8 @@


[Fixed File Info]
File Version #=4, 11, 1, 249
Product Version #=4, 11, 1, 0
File Version #=4, 12, 0, 250
Product Version #=4, 12, 0, 0
File OS=4
File Type=1
File Sub-Type=0
Expand Down
6 changes: 3 additions & 3 deletions Src/VCodeSnipPortable.vi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; v. 2.0. If a copy of the MPL was not distributed with this file, You can
; obtain one at http://mozilla.org/MPL/2.0/
;
; Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
; Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
;
; $Rev$
; $Date$
Expand All @@ -11,8 +11,8 @@


[Fixed File Info]
File Version #=4, 11, 1, 249
Product Version #=4, 11, 1, 0
File Version #=4, 12, 0, 250
Product Version #=4, 12, 0, 0
File OS=4
File Type=1
File Sub-Type=0
Expand Down

0 comments on commit 09f43c1

Please sign in to comment.