Skip to content

Commit 09f43c1

Browse files
committed
CodeSnip version 4.12.0
1 parent 4324d8c commit 09f43c1

16 files changed

+62
-28
lines changed

Diff for: Docs/ChangeLogs/ChangeLog-v4.txt

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
; Change Log for CodeSnip Release 4
1212
; ------------------------------------------------------------------------------
1313

14+
Release v4.12.0 of 6 May 2015
15+
+ Added support for test compilation with, and detection of, Delphi XE8 compiler.
16+
+ Updated documentation re changes.
17+
+ Updated help file re changes and fixed some spelling mistakes.
18+
1419
Release v4.11.1 of 26 October 2014
1520
+ Corrected an erroneous error message that is displayed when circular snippet references are detected in the snippets editor (no bug report filed).
1621
+ Corrected some spelling errors in UI.

Diff for: Docs/Design/FileFormats/config.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
66
* obtain one at http://mozilla.org/MPL/2.0/
77
*
8-
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
8+
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
99
*
1010
* $Rev$
1111
* $Date$
@@ -288,6 +288,9 @@ <h4>
288288
<li>
289289
<em>DXE7</em> &ndash; Delphi XE7
290290
</li>
291+
<li>
292+
<em>DXE8</em> &ndash; Delphi XE8
293+
</li>
291294
<li>
292295
<em>FPC</em> &ndash; Free Pascal
293296
</li>
@@ -576,6 +579,12 @@ <h4>
576579
<dd>
577580
Indicates whether Delphi XE7 was included in search.
578581
</dd>
582+
<dt>
583+
<strong>DXE8</strong> (Boolean)
584+
</dt>
585+
<dd>
586+
Indicates whether Delphi XE8 was included in search.
587+
</dd>
579588
<dt>
580589
<strong>FPC</strong> (Boolean)
581590
</dt>

Diff for: Docs/Design/FileFormats/export.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
66
* obtain one at http://mozilla.org/MPL/2.0/
77
*
8-
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
8+
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
99
*
1010
* $Rev$
1111
* $Date$
@@ -512,6 +512,9 @@ <h2>
512512
<li>
513513
<em>dXE7</em> &ndash; Delphi XE7 compiler
514514
</li>
515+
<li>
516+
<em>dXE8</em> &ndash; Delphi XE8 compiler
517+
</li>
515518
<li>
516519
<em>fpc</em> &ndash; Free Pascal compiler
517520
</li>

Diff for: Docs/Design/FileFormats/main-db.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
66
* obtain one at http://mozilla.org/MPL/2.0/
77
*
8-
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
8+
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
99
*
1010
* $Rev$
1111
* $Date$
@@ -155,6 +155,7 @@ <h3>
155155
DelphiXE5=&lt;Y|N|Q|W&gt;
156156
DelphiXE6=&lt;Y|N|Q|W&gt;
157157
DelphiXE7=&lt;Y|N|Q|W&gt;
158+
DelphiXE8=&lt;Y|N|Q|W&gt;
158159
FPC=&lt;Y|N|Q|W&gt;
159160
Extra=&lt;extra-info-REML&gt;
160161
StandardFormat=&lt;0|1&gt;
@@ -339,6 +340,9 @@ <h3>
339340
<li>
340341
<em>DelphiXE7</em> &ndash; Delphi XE7 compiler
341342
</li>
343+
<li>
344+
<em>DelphiXE8</em> &ndash; Delphi XE8 compiler
345+
</li>
342346
<li>
343347
<em>FPC</em> &ndash; Free Pascal compiler
344348
</li>

Diff for: Docs/Design/FileFormats/user-db.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
66
* obtain one at http://mozilla.org/MPL/2.0/
77
*
8-
* Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
8+
* Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
99
*
1010
* $Rev$
1111
* $Date$
@@ -562,6 +562,9 @@ <h3>
562562
<li>
563563
<em>dXE7</em> &ndash; Delphi XE7 compiler
564564
</li>
565+
<li>
566+
<em>dXE8</em> &ndash; Delphi XE8 compiler
567+
</li>
565568
<li>
566569
<em>fpc</em> &ndash; Free Pascal compiler
567570
</li>

Diff for: Docs/ReadMe.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ online DelphiDabbler Code Snippets database as well as maintain a database of
1414
user-defined snippets.
1515

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

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

226226
Each user can configure compilers differently.
227227

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

Diff for: Src/Compilers.UBDS.pas

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2006-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2006-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -141,6 +141,8 @@ function TBDSCompiler.GetIDString: string;
141141
Result := 'DXE6';
142142
ciDXE7:
143143
Result := 'DXE7';
144+
ciDXE8:
145+
Result := 'DXE8';
144146
else
145147
raise EBug.Create(ClassName + '.GetIDString: Invalid ID');
146148
end;
@@ -156,6 +158,7 @@ function TBDSCompiler.GetName: string;
156158
sDelphiXE5 = 'Delphi XE5'; // name of Delphi XE5 compiler
157159
sDelphiXE6 = 'Delphi XE6'; // name of Delphi XE6 compiler
158160
sDelphiXE7 = 'Delphi XE7'; // name of Delphi XE7 compiler
161+
sDelphiXE8 = 'Delphi XE8'; // name of Delphi XE8 compiler
159162
begin
160163
case GetID of
161164
ciDXE:
@@ -172,6 +175,8 @@ function TBDSCompiler.GetName: string;
172175
Result := sDelphiXE6;
173176
ciDXE7:
174177
Result := sDelphiXE7;
178+
ciDXE8:
179+
Result := sDelphiXE8;
175180
else
176181
Result := Format(sCompilerName, [ProductVersion]);
177182
end;
@@ -199,6 +204,7 @@ function TBDSCompiler.InstallationRegKey: string;
199204
ciDXE5 : Result := '\Software\Embarcadero\BDS\12.0';
200205
ciDXE6 : Result := '\Software\Embarcadero\BDS\14.0';
201206
ciDXE7 : Result := '\Software\Embarcadero\BDS\15.0';
207+
ciDXE8 : Result := '\Software\Embarcadero\BDS\16.0';
202208
else raise EBug.Create(ClassName + '.InstallationRegKey: Invalid ID');
203209
end;
204210
end;

Diff for: Src/Compilers.UGlobals.pas

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -40,6 +40,7 @@ interface
4040
ciDXE5, // Delphi XE5
4141
ciDXE6, // Delphi XE6
4242
ciDXE7, // Delphi XE7
43+
ciDXE8, // Delphi XE8
4344
ciFPC // Free Pascal
4445
);
4546

@@ -52,7 +53,7 @@ interface
5253
/// compilers.</summary>
5354
cBDSCompilers = [
5455
ciD2005w32, ciD2006w32, ciD2007, ciD2009w32, ciD2010, ciDXE, ciDXE2,
55-
ciDXE3, ciDXE4, ciDXE5, ciDXE6, ciDXE7
56+
ciDXE3, ciDXE4, ciDXE5, ciDXE6, ciDXE7, ciDXE8
5657
];
5758

5859
const

Diff for: Src/DBIO.UIniDataReader.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -237,7 +237,7 @@ implementation
237237
'Delphi2', 'Delphi3', 'Delphi4', 'Delphi5', 'Delphi6', 'Delphi7',
238238
'Delphi2005Win32', 'Delphi2006Win32', 'Delphi2007', 'Delphi2009Win32',
239239
'Delphi2010', 'DelphiXE', 'DelphiXE2', 'DelphiXE3', 'DelphiXE4',
240-
'DelphiXE5', 'DelphiXE6', 'DelphiXE7', 'FPC'
240+
'DelphiXE5', 'DelphiXE6', 'DelphiXE7', 'DelphiXE8', 'FPC'
241241
);
242242

243243
{ TIniDataReader }

Diff for: Src/FirstRun.UConfigFile.pas

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2007-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2007-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -481,6 +481,7 @@ procedure TUserConfigFileUpdater.UpdateNamespaces;
481481
UpdateForCompiler('DXE5');
482482
UpdateForCompiler('DXE6');
483483
UpdateForCompiler('DXE7');
484+
UpdateForCompiler('DXE8');
484485
end;
485486

486487
{ TCommonConfigFileUpdater }

Diff for: Src/FrCodeGenPrefs.pas

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2010-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2010-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -679,6 +679,7 @@ procedure TCodeGenPrefsFrame.PopulatePreDefCompilerMenu;
679679
AddMenuItem('Delphi XE5', 26.0);
680680
AddMenuItem('Delphi XE6', 27.0);
681681
AddMenuItem('Delphi XE7', 28.0);
682+
AddMenuItem('Delphi XE8', 29.0);
682683
end;
683684

684685
procedure TCodeGenPrefsFrame.PreDefCompilerMenuClick(Sender: TObject);

Diff for: Src/Help/HTML/about_compiler_checks.htm

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
55
* obtain one at http://mozilla.org/MPL/2.0/
66
*
7-
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
7+
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
88
*
99
* $Rev$
1010
* $Date$
@@ -37,7 +37,7 @@ <h1>
3737
</p>
3838
<p>
3939
The supported compilers are the Win32 Delphi compilers from Delphi 2 to
40-
Delphi XE7 and Free Pascal.
40+
Delphi XE8 and Free Pascal.
4141
</p>
4242
<h2>
4343
Configuring CodeSnip

Diff for: Src/Help/HTML/dlg_configcompilers.htm

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
55
* obtain one at http://mozilla.org/MPL/2.0/
66
*
7-
* Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
7+
* Copyright (C) 2005-2015, Peter Johnson (www.delphidabbler.com).
88
*
99
* $Rev$
1010
* $Date$
@@ -167,7 +167,7 @@ <h2>
167167
Delphi XE2 or later qualify units from the RTL and VCL are prefixed with
168168
the name of the unit's namespace. Much of the code managed by
169169
<em>CodeSnip</em> uses unqualified unit names for reasons of backward
170-
compatibility. In order for the unqualifed units to be found on Delphi
170+
compatibility. In order for the unqualified units to be found on Delphi
171171
XE2 and later the compiler has to be given a list of namespaces to search
172172
for the units.
173173
</p>
@@ -247,7 +247,7 @@ <h2>
247247
summary of the logged output can be displayed by the user when warnings
248248
or errors occur. Instead of displaying the whole log the program filters
249249
out the required messages. It does this by looking for some common text
250-
that preceeds the messages in the log. These prefixes are listed in the
250+
that precedes the messages in the log. These prefixes are listed in the
251251
<em>Log Prefixes</em> editor.
252252
</p>
253253
<p>
@@ -268,7 +268,7 @@ <h2>
268268
</ul>
269269
<p>
270270
For languages other than English you need to compile some code that
271-
generates warnings, errors and fatal errors then check what text preceeds
271+
generates warnings, errors and fatal errors then check what text precedes
272272
each kind of message. This text should be entered in the <em>Log
273273
Prefixes</em> editor. Failure to do this will mean that CodeSnip
274274
won't detect warnings and won't report errors correctly.
@@ -278,7 +278,7 @@ <h2>
278278
</h2>
279279
<p>
280280
<em>CodeSnip</em> can automatically detect the presence of Win 32 Delphi
281-
compilers from versions 2 to XE7. Click the <em>Detect Delphi
281+
compilers from versions 2 to XE8. Click the <em>Detect Delphi
282282
Compilers</em> button to do this. Any supported installed version of
283283
Delphi will be recorded. This can save considerable time and avoid
284284
errors.

Diff for: Src/UXMLDocConsts.pas

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2008-2014, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2008-2015, Peter Johnson (www.delphidabbler.com).
77
*
88
* $Rev$
99
* $Date$
@@ -73,7 +73,8 @@ interface
7373
cCompilerIDs: array[TCompilerID] of string = (
7474
'd2', 'd3', 'd4', 'd5', 'd6', 'd7',
7575
'd2005', 'd2006', 'd2007', 'd2009', 'd2010',
76-
'dXE', 'dXE2', 'dXE3', 'dDX4' {error, but in use}, 'dXE5', 'dXE6', 'dXE7',
76+
'dXE', 'dXE2', 'dXE3', 'dDX4' {error, but in use},
77+
'dXE5', 'dXE6', 'dXE7', 'dXE8',
7778
'fpc'
7879
);
7980

Diff for: Src/VCodeSnip.vi

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; v. 2.0. If a copy of the MPL was not distributed with this file, You can
33
; obtain one at http://mozilla.org/MPL/2.0/
44
;
5-
; Copyright (C) 2008-2014, Peter Johnson (www.delphidabbler.com).
5+
; Copyright (C) 2008-2015, Peter Johnson (www.delphidabbler.com).
66
;
77
; $Rev$
88
; $Date$
@@ -11,8 +11,8 @@
1111

1212

1313
[Fixed File Info]
14-
File Version #=4, 11, 1, 249
15-
Product Version #=4, 11, 1, 0
14+
File Version #=4, 12, 0, 250
15+
Product Version #=4, 12, 0, 0
1616
File OS=4
1717
File Type=1
1818
File Sub-Type=0

Diff for: Src/VCodeSnipPortable.vi

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; v. 2.0. If a copy of the MPL was not distributed with this file, You can
33
; obtain one at http://mozilla.org/MPL/2.0/
44
;
5-
; Copyright (C) 2012-2014, Peter Johnson (www.delphidabbler.com).
5+
; Copyright (C) 2012-2015, Peter Johnson (www.delphidabbler.com).
66
;
77
; $Rev$
88
; $Date$
@@ -11,8 +11,8 @@
1111

1212

1313
[Fixed File Info]
14-
File Version #=4, 11, 1, 249
15-
Product Version #=4, 11, 1, 0
14+
File Version #=4, 12, 0, 250
15+
Product Version #=4, 12, 0, 0
1616
File OS=4
1717
File Type=1
1818
File Sub-Type=0

0 commit comments

Comments
 (0)