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

Docs/ChangeLogs/ChangeLog-v4.txt

Lines changed: 5 additions & 0 deletions
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.

Docs/Design/FileFormats/config.html

Lines changed: 10 additions & 1 deletion
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>

Docs/Design/FileFormats/export.html

Lines changed: 4 additions & 1 deletion
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>

Docs/Design/FileFormats/main-db.html

Lines changed: 5 additions & 1 deletion
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>

Docs/Design/FileFormats/user-db.html

Lines changed: 4 additions & 1 deletion
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>

Docs/ReadMe.txt

Lines changed: 2 additions & 2 deletions
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

Src/Compilers.UBDS.pas

Lines changed: 7 additions & 1 deletion
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;

Src/Compilers.UGlobals.pas

Lines changed: 3 additions & 2 deletions
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

Src/DBIO.UIniDataReader.pas

Lines changed: 2 additions & 2 deletions
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 }

Src/FirstRun.UConfigFile.pas

Lines changed: 2 additions & 1 deletion
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 }

0 commit comments

Comments
 (0)