Skip to content

Commit 99e7128

Browse files
committed
Merge branch 'release/4.27.0'
Release v4.27.0
2 parents 3ef4f1e + b0697b9 commit 99e7128

15 files changed

+57
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Releases are listed in reverse version number order.
66

77
> 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.
88
9+
## Release v4.27.0 of 12 September 2025
10+
11+
* Added support for test compiling snippets with Delphi 13 Florence [issue #170].
12+
* Documentation changes re addition of support for Delphi 13:
13+
* File format additions for config file, export files, user database and main database.
14+
* `Docs/ReadMe-portable.txt` & `Docs/ReadMe-standard.txt`
15+
* Relevant help topics.
16+
917
## Release v4.26.0 of 02 May 2025
1018

1119
* Updated the dialogue box displayed when saving units and annotated source code [issue #166]:

Docs/Design/FileFormats/config.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ <h4>
262262
<li>
263263
<em>D12Y</em> &ndash; Delphi 12 Athens
264264
</li>
265+
<li>
266+
<em>D13F</em> &ndash; Delphi 13 Florence
267+
</li>
265268
<li>
266269
<em>FPC</em> &ndash; Free Pascal
267270
</li>
@@ -622,6 +625,12 @@ <h4>
622625
<dd>
623626
Indicates whether Delphi 12 Athens was included in the search.
624627
</dd>
628+
<dt>
629+
<code class="key">D13F</code> (Boolean)
630+
</dt>
631+
<dd>
632+
Indicates whether Delphi 13 Florence was included in the search.
633+
</dd>
625634
<dt>
626635
<code class="key">FPC</code> (Boolean)
627636
</dt>

Docs/Design/FileFormats/export.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,9 @@ <h2>
619619
<li>
620620
<em>d12y</em> &ndash; Delphi 12 Athens compiler <span class="highlight">(v7.4 &amp; later)</span>
621621
</li>
622+
<li>
623+
<em>d13y</em> &ndash; Delphi 13 Florence compiler <span class="highlight">(v8.1 &amp; later)</span>
624+
</li>
622625
<li>
623626
<em>fpc</em> &ndash; Free Pascal compiler <span class="highlight">(all versions)</span>
624627
</li>
@@ -1011,6 +1014,14 @@ <h2>
10111014
The <em>codesnip-export/routines/routine/xref</em> and <em>codesnip-export/routines/routine/xref/pascal-name</em> tags were removed from the specification. See <a href="#erratum">Erratum</a> above for details.
10121015
</p>
10131016
</dd>
1017+
<dl>
1018+
<dt>
1019+
<em>Version 8.1 - 11 September 2025</em>
1020+
</dt>
1021+
<dd>
1022+
Updated with CodeSnip v4.27.0 to add support for Delphi 13 Florence.
1023+
</dd>
1024+
</dl>
10141025
</dl>
10151026

10161027
</section>

Docs/Design/FileFormats/main-db.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ <h4>
422422
<li>
423423
<code class="key">Delphi12A</code> – Delphi 12 Athens compiler *
424424
</li>
425+
<li>
426+
<code class="key">Delphi13F</code> – Delphi 13 Florence compiler *
427+
</li>
425428
<li>
426429
<code class="key">FPC</code> – Free Pascal compiler
427430
</li>

Docs/Design/FileFormats/user-db.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ <h3 id="xml-file">
641641
<li>
642642
<em>d12y</em> &ndash; Delphi 12 Athens compiler <span class="highlight">(v6.12 &amp; later)</span>
643643
</li>
644+
<li>
645+
<em>d13f</em> &ndash; Delphi 13 Florence compiler <span class="highlight">(v6.14 &amp; later)</span>
646+
</li>
644647
<li>
645648
<em>fpc</em> &ndash; Free Pascal compiler <span class="highlight">(all versions)</span>
646649
</li>
@@ -1042,6 +1045,12 @@ <h2>
10421045
<dd>
10431046
Updated with CodeSnip v4.23.0 to add support for <a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/delphidabbler/reml/main/docs/reml-v6.html">REML v6</a>, which is backwards compatible with <a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/delphidabbler/reml/main/docs/reml-v4.html">REML v4</a>.
10441047
</dd>
1048+
<dt>
1049+
Version 6.14 - 12 September 2025
1050+
</dt>
1051+
<dd>
1052+
Updated in time for CodeSnip v4.27.0 to add support for Delphi 13 Florence.
1053+
</dd>
10451054
</dl>
10461055
</dd>
10471056
</dl>

Docs/ReadMe-portable.txt

Lines changed: 1 addition & 1 deletion
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 Delphi 2 to Delphi 12.x and
17+
with each installed Win32 version of Delphi from Delphi 2 to Delphi 13.x and
1818
Free Pascal.
1919

2020
Compilable Pascal units can be created that contain selected snippets.

Docs/ReadMe-standard.txt

Lines changed: 1 addition & 1 deletion
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 Delphi 2 to Delphi 12.x and
17+
with each installed Win32 version of Delphi from Delphi 2 to Delphi 13.x and
1818
Free Pascal.
1919

2020
Compilable Pascal units can be created that contain selected snippets.

Src/Compilers.UBDS.pas

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ function TBDSCompiler.GetIDString: string;
154154
Result := 'D11A';
155155
ciD12A:
156156
Result := 'D12Y';
157+
ciD13F:
158+
Result := 'D13F';
157159
else
158160
raise EBug.Create(ClassName + '.GetIDString: Invalid ID');
159161
end;
@@ -179,6 +181,7 @@ function TBDSCompiler.GetName: string;
179181
sDelphi104S = 'Delphi 10.4'; // Sydney
180182
sDelphi11A = 'Delphi 11.x'; // Alexandria
181183
sDelphi12A = 'Delphi 12.x'; // Athens
184+
sDelphi13F = 'Delphi 13.x'; // Florence
182185
begin
183186
case GetID of
184187
ciDXE:
@@ -211,6 +214,8 @@ function TBDSCompiler.GetName: string;
211214
Result := sDelphi11A;
212215
ciD12A:
213216
Result := sDelphi12A;
217+
ciD13F:
218+
Result := sDelphi13F;
214219
else
215220
Result := Format(sCompilerName, [ProductVersion]);
216221
end;
@@ -246,6 +251,7 @@ function TBDSCompiler.InstallationRegKey: string;
246251
ciD104S : Result := '\Software\Embarcadero\BDS\21.0';
247252
ciD11A : Result := '\Software\Embarcadero\BDS\22.0';
248253
ciD12A : Result := '\Software\Embarcadero\BDS\23.0';
254+
ciD13F : Result := '\Software\Embarcadero\BDS\37.0';
249255
else raise EBug.Create(ClassName + '.InstallationRegKey: Invalid ID');
250256
end;
251257
end;

Src/Compilers.UGlobals.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ interface
4545
ciD104S, // Delphi 10.4 Sydney,
4646
ciD11A, // Delphi 11.x Alexandria
4747
ciD12A, // Delphi 12 Athens
48+
ciD13F, // Delphi 13 Florence
4849
ciFPC // Free Pascal
4950
);
5051

@@ -58,7 +59,7 @@ interface
5859
cBDSCompilers = [
5960
ciD2005w32, ciD2006w32, ciD2007, ciD2009w32, ciD2010, ciDXE, ciDXE2,
6061
ciDXE3, ciDXE4, ciDXE5, ciDXE6, ciDXE7, ciDXE8, ciD10S, ciD101B, ciD102T,
61-
ciD103R, ciD104S, ciD11A, ciD12A
62+
ciD103R, ciD104S, ciD11A, ciD12A, ciD13F
6263
];
6364

6465
const

Src/DBIO.UIniDataReader.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ implementation
236236
'Delphi2010', 'DelphiXE', 'DelphiXE2', 'DelphiXE3', 'DelphiXE4',
237237
'DelphiXE5', 'DelphiXE6', 'DelphiXE7', 'DelphiXE8', 'Delphi10S',
238238
'Delphi101B', 'Delphi102T', 'Delphi103R', 'Delphi104S', 'Delphi11A',
239-
'Delphi12A',
239+
'Delphi12A', 'Delphi13F',
240240
'FPC'
241241
);
242242

0 commit comments

Comments
 (0)