Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e27a494
fpc/linux compatibility
Makhaon Aug 7, 2018
e9d4920
fix readme.md
Makhaon Aug 8, 2018
e0cb19b
fix readme.md
Makhaon Aug 8, 2018
a1ff0a4
include/jclfpc.inc, update of readme.md
Makhaon Aug 8, 2018
6489a25
fixed readme.md
Makhaon Aug 8, 2018
37846b0
fixed readme.md
Makhaon Aug 8, 2018
9acb8ba
Update readme.md
Makhaon Aug 8, 2018
e09b645
Update readme.md
Makhaon Aug 8, 2018
a265724
Update readme.md
Makhaon Aug 8, 2018
1e5ed93
Update readme.md
Makhaon Aug 8, 2018
0222679
Update readme.md
Makhaon Aug 9, 2018
62f42f9
fix types
Makhaon Aug 10, 2018
ed4a752
Merge branch 'master' of https://github.com/Makhaon/jcl
Makhaon Aug 10, 2018
253a8f1
Update readme.md
Makhaon Aug 10, 2018
3a616b8
compatibility fixes
Makhaon Aug 11, 2018
7c14789
Merge branch 'master' of https://github.com/Makhaon/jcl
Makhaon Aug 11, 2018
610f55c
linux fixes for JclVcl.lpk compilation
Makhaon Aug 13, 2018
fabb52d
fixes for 3.0.4
Makhaon Aug 14, 2018
d2585e3
fpc 3.1.1 fixes
Makhaon Aug 15, 2018
968b91c
fixes for 3.1.1
Makhaon Aug 15, 2018
ea6ba2b
Update readme.md
Makhaon Aug 21, 2018
c0921a6
merged with main repository
Makhaon Aug 21, 2018
02ba51b
Merge branch 'master' of https://github.com/Makhaon/jcl
Makhaon Aug 21, 2018
33601b5
compatibilty fixes, consts added where are needed
Makhaon Dec 14, 2018
45eea3a
merge with main rep
Makhaon Dec 15, 2018
201b074
merge with main rep, hotfix
Makhaon Dec 17, 2018
7ffd812
last fixes
Makhaon Apr 29, 2019
51986b3
include last fixes
Makhaon Jul 11, 2019
71a2fb7
include last fixes
Makhaon Jul 11, 2019
d136589
FPC 3.0.4 / Lazarus 2.0.2 win+linux compatibility
Makhaon Jul 18, 2019
4199a55
compatibility fixes
Makhaon Sep 4, 2019
09c1d29
latest fixes from main rep
Makhaon Apr 24, 2020
f1ca262
latest fixes from main rep, Delphi 10.4 Sydney compatibility, better …
Jan 7, 2021
bdcf35d
merged with main repo
Mar 1, 2021
d5c6730
added last change, Linux compilation on the Delphi 10.4.1, the FPC co…
Oct 9, 2021
c96b4a7
libclite and fixes
Jan 3, 2022
415dfa9
fixes, merge with main branch
Jul 7, 2022
7b247e9
update to the last sources
Jan 4, 2024
c57c888
sync with main repo
Mar 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion jcl/Install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ JEDI Code Library v 2.7 Installation

Supported development tools versions:

- Delphi 12 (Win32 and Win64) and C++Builder 12 (Win32 and Win64)
- Delphi 11 (Win32 and Win64) and C++Builder 11 (Win32 and Win64)
- Delphi 10.4 (Win32 and Win64) and C++Builder 10.4 (Win32 and Win64)
- Delphi 10.3 (Win32 and Win64) and C++Builder 10.3 (Win32 and Win64)
- Delphi 10.2 (Win32 and Win64) and C++Builder 10.2 (Win32 and Win64)
- Delphi 10.1 (Win32 and Win64) and C++Builder 10.1 (Win32 and Win64)
- Delphi 10 (Win32 and Win64) and C++Builder 10 (Win32 and Win64)
Expand Down Expand Up @@ -72,4 +76,4 @@ To execute for
>install d6

--------------------------------
Document last updated 2017-03-31
Document last updated 2023-09-02
8 changes: 8 additions & 0 deletions jcl/devtools/included_files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ copy ..\source\include\jcl.template.inc ..\source\include\jcld24win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld24win64.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld25win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld25win64.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld26win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld26win64.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld27win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld27win64.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld28win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld28win64.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld29win32.inc
copy ..\source\include\jcl.template.inc ..\source\include\jcld29win64.inc


copy ..\source\include\jcl.template.inc ..\source\include\jclfpc.inc
8 changes: 8 additions & 0 deletions jcl/devtools/included_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ cp ../source/include/jcl.template.inc ../source/include/jcld24win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld24win64.inc
cp ../source/include/jcl.template.inc ../source/include/jcld25win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld25win64.inc
cp ../source/include/jcl.template.inc ../source/include/jcld26win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld26win64.inc
cp ../source/include/jcl.template.inc ../source/include/jcld27win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld27win64.inc
cp ../source/include/jcl.template.inc ../source/include/jcld28win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld28win64.inc
cp ../source/include/jcl.template.inc ../source/include/jcld29win32.inc
cp ../source/include/jcl.template.inc ../source/include/jcld29win64.inc


cp ../source/include/jcl.template.inc ../source/include/jclfpc.inc
2 changes: 1 addition & 1 deletion jcl/devtools/jpp/jpp.dof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Directories]
OutputDir=..
UsePackages=0
SearchPath=..\..\source\include
SearchPath=..\..\source\include;..\..\source\common;..\..\source\windows
2 changes: 1 addition & 1 deletion jcl/devtools/jpp/jppContainers.dof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Directories]
OutputDir=..
UsePackages=0
SearchPath=..\..\source\include
SearchPath=..\..\source\include;..\..\source\common;..\..\source\windows
2 changes: 1 addition & 1 deletion jcl/devtools/jpp/jppExceptionDialogs.dof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Directories]
OutputDir=..
UsePackages=0
SearchPath=..\..\source\include
SearchPath=..\..\source\include;..\..\source\common;..\..\source\windows
47 changes: 34 additions & 13 deletions jcl/devtools/pgEdit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Configuration>
<!-- These are the values stored by jaxStore -->
<pgEdit/>
<pgEdit>
<FormVersion>0</FormVersion>
<ShowCmd>1</ShowCmd>
<Flags>0</Flags>
<PixelsPerInch>96</PixelsPerInch>
<MinMaxPos_2960x1050_>-1,-1,-1,-1</MinMaxPos_2960x1050_>
<MinMaxPos>-1,-1,-1,-1</MinMaxPos>
<NormPos_2960x1050_>428,199,1251,820</NormPos_2960x1050_>
<NormPos>428,199,1251,820</NormPos>
<pnlList_Width>137</pnlList_Width>
<jsgDependencies_Height>129</jsgDependencies_Height>
<pnlEdit_Width>668</pnlEdit_Width>
<jsgFiles_Height>168</jsgFiles_Height>
<odlAddFiles_InitialDir>..\..\run</odlAddFiles_InitialDir>
<cmbModel_ItemIndex>-1</cmbModel_ItemIndex>
<MinMaxPos_3840x1080_>-1,-1,-1,-1</MinMaxPos_3840x1080_>
<NormPos_3840x1080_>428,199,1251,820</NormPos_3840x1080_>
</pgEdit>
<!--
The nodes below are read by the generation process.
Packages are generated according to a model. The models are defined
Expand Down Expand Up @@ -84,28 +101,32 @@
<target name="d23" defines="BCB" IsBds="1"/>
<target name="d24" defines="BCB" IsBds="1"/>
<target name="d25" defines="BCB" IsBds="1"/>
<target name="d26" defines="BCB" IsBds="1"/>
<target name="d27" defines="BCB" IsBds="1"/>
<target name="d28" defines="BCB" IsBds="1"/>
<target name="d29" defines="BCB" IsBds="1"/>
</targets>
<aliases>
<!-- language aliases -->
<alias name="Delphi" value="d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="Bcb" value="c6,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="Pascal" value="fpc,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="Delphi" value="d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="Bcb" value="c6,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="Pascal" value="fpc,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<!-- platform aliases -->
<alias name="Windows" value="help,fpc,c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="Windows" value="help,fpc,c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="Linux" value="help,fpc"/>
<!-- package aliases -->
<alias name="allv11up" value="d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="allv14up" value="d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="allv15up" value="d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="allv11up" value="d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="allv14up" value="d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="allv15up" value="d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<!-- GUI aliases -->
<alias name="Clx" value="help,c6,d6,d7"/>
<alias name="Vcl" value="help,c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="Vcl" value="help,c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<!-- IDE aliases -->
<alias name="BDS" value="cs1,d8,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="runtimeBDS" value="d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="BDS" value="cs1,d8,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="runtimeBDS" value="d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="OldStyleIDE" value="c6,d6,d7"/>
<alias name="runtimeIDE" value="c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="designtimeIDE" value="c6,d6,d7,d8,d9,d10,cs1,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25"/>
<alias name="runtimeIDE" value="c6,d6,d7,d9,d10,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
<alias name="designtimeIDE" value="c6,d6,d7,d8,d9,d10,cs1,d11,d12,d14,d15,d16,d17,d18,d19,d20,d21,d22,d23,d24,d25,d26,d27,d28,d29"/>
</aliases>
<ProjectProperties>
<ProjectProperty name="VersionMajorNumber" value="2"/>
Expand Down
26 changes: 25 additions & 1 deletion jcl/docs/Readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3><a name="about">About this release</a></h3>

<p>For BDS 2006, RAD Studio 2007, RAD Studio 2009, RAD Studio 2010, RAD Studio XE, RAD Studio XE2,
RAD Studio XE3, RAD Studio XE4, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8,
RAD Studio 10, RAD Studio 10.1, and RAD Studio 10.2 the
RAD Studio 10, RAD Studio 10.1, RAD Studio 10.2, RAD Studio 10.3, RAD Studio 10.4, RAD Studio 11 and RAD Studio 12 the
compiler introduced a new option to make the same packages available in C++,
by checking the "Dual packages" option of the "Packages" node, you will be able
to call functions of the JCL from C++ code.</p>
Expand Down Expand Up @@ -183,6 +183,14 @@ <h3><a name="targets">Supported Tools</a></h3>

<li>Delphi 10.2 and C++Builder 10.2.</li>

<li>Delphi 10.3 and C++Builder 10.3.</li>

<li>Delphi 10.4 and C++Builder 10.4.</li>

<li>Delphi 11 and C++Builder 11.</li>

<li>Delphi 12 and C++Builder 12.</li>

</ul>

<hr><br>
Expand Down Expand Up @@ -318,6 +326,22 @@ <h3><a name="manual">Manual Installation</a></h3>

<li>For Delphi 10.2 and C++Builder 10.2 Win64: source\include\jcld25win64.inc</li>

<li>For Delphi 10.3 and C++Builder 10.3 Win32: source\include\jcld26win32.inc</li>

<li>For Delphi 10.3 and C++Builder 10.3 Win64: source\include\jcld26win64.inc</li>

<li>For Delphi 10.4 and C++Builder 10.4 Win32: source\include\jcld27win32.inc</li>

<li>For Delphi 10.4 and C++Builder 10.4 Win64: source\include\jcld27win64.inc</li>

<li>For Delphi 11 and C++Builder 11 Win32: source\include\jcld28win32.inc</li>

<li>For Delphi 11 and C++Builder 11 Win64: source\include\jcld28win64.inc</li>

<li>For Delphi 12 and C++Builder 12 Win32: source\include\jcld29win32.inc</li>

<li>For Delphi 12 and C++Builder 12 Win64: source\include\jcld29win64.inc</li>

<li>For FreePascal: source\include\jclfpc.inc</li>
</ul>

Expand Down
16 changes: 14 additions & 2 deletions jcl/docs/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Getting involved in JCL development


About this release
JCL release 2.9 provides support for RAD Studio 11 (including Delphi and C++Builder) an updated support for all targets.
JCL release 2.9 provides support for RAD Studio 12 (including Delphi and C++Builder) an updated support for all targets.

Multiple bugs have been fixed; for detailed change logs, use the facilities of our Subversion repository at Sourceforge.net http://sourceforge.net/projects/jcl/ , see below.

Expand Down Expand Up @@ -64,7 +64,7 @@ The JEDI Code Library packages are required by some 3rd party packages (includin

The installer can generate MAP informations for each package. These informations can be linked into binaries to become JCL debug data or be converted to .jdbg files. Once linked MAP files could be deleted. These options are subnodes of the "Packages" node.

For BDS 2006, RAD Studio 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10, 10.1 and 10.2 the compiler introduced a new option to make the same packages available in C++, by checking the "Dual packages" option of the "Packages" node, you will be able to call functions of the JCL from C++ code.
For BDS 2006, RAD Studio 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10, 10.1, 10.2, 10.3, 10.4, 11 and 12 the compiler introduced a new option to make the same packages available in C++, by checking the "Dual packages" option of the "Packages" node, you will be able to call functions of the JCL from C++ code.


--------------------------------------------------------------------------------
Expand Down Expand Up @@ -101,6 +101,10 @@ Delphi XE8 and C++Builder XE8.
Delphi 10 and C++Builder 10.
Delphi 10.1 and C++Builder 10.1.
Delphi 10.2 and C++Builder 10.2.
Delphi 10.3 and C++Builder 10.3.
Delphi 10.4 and C++Builder 10.4.
Delphi 11 and C++Builder 11.
Delphi 12 and C++Builder 12.

--------------------------------------------------------------------------------

Expand Down Expand Up @@ -165,6 +169,14 @@ For Delphi 10.1 and C++Builder 10.1 Win32: source\include\jcld24win32.inc
For Delphi 10.1 and C++Builder 10.1 Win64: source\include\jcld24win64.inc
For Delphi 10.2 and C++Builder 10.2 Win32: source\include\jcld25win32.inc
For Delphi 10.2 and C++Builder 10.2 Win64: source\include\jcld25win64.inc
For Delphi 10.3 and C++Builder 10.3 Win32: source\include\jcld26win32.inc
For Delphi 10.3 and C++Builder 10.3 Win64: source\include\jcld26win64.inc
For Delphi 10.4 and C++Builder 10.4 Win32: source\include\jcld27win32.inc
For Delphi 10.4 and C++Builder 10.4 Win64: source\include\jcld27win64.inc
For Delphi 11 and C++Builder 11 Win32: source\include\jcld28win32.inc
For Delphi 11 and C++Builder 11 Win64: source\include\jcld28win64.inc
For Delphi 12 and C++Builder 12 Win32: source\include\jcld29win32.inc
For Delphi 12 and C++Builder 12 Win64: source\include\jcld29win64.inc
For FreePascal: source\include\jclfpc.inc
In the IDE, open and compile package Jcl.dpk (or Jcl.bpk for C++Builder) located in a subdirectory of the "packages" directory matching your version of the IDE. This package doesn't have to be installed since it doesn't provide any components.
If you want to install experts, open package JclBaseExpert.dpk and compile it, then you can install all the experts you want (packages are located in the same directory).
Expand Down
12 changes: 6 additions & 6 deletions jcl/examples/common/filesearch/FileSearchDemoMain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ procedure TFileSearchForm.FormCreate(Sender: TObject);
{$IFDEF MSWINDOWS}
cbSymLink.Visible := False;
{$ENDIF MSWINDOWS}
{$IFDEF UNIX}
{$IFDEF LINUX}
FileList.Columns.Add.Caption := 'Link';
cbArchive.Visible := False;
{$ENDIF UNIX}
{$ENDIF LINUX}
end;

procedure TFileSearchForm.FormDestroy(Sender: TObject);
Expand Down Expand Up @@ -129,10 +129,10 @@ procedure TFileSearchForm.AddFile(const Directory: string; const FileInfo: TSear
{$ENDIF ~RTL230_UP}
SubItems.Add(FormatDateTime(' yyyy-mm-dd hh:nn:ss ', FileDateTime));
SubItems.Add(FileAttributesStr(FileInfo));
{$IFDEF UNIX}
{$IFDEF LINUX}
if (FileInfo.Attr and faSymLink) <> 0 then
SubItems.Add(SymbolicLinkTarget(Caption));
{$ENDIF UNIX}
{$ENDIF LINUX}
SubItems.Add(FileGetOwnerName(Caption));
SubItems.Add(FileGetGroupName(Caption));
end;
Expand Down Expand Up @@ -216,9 +216,9 @@ procedure TFileSearchForm.cbFileAttributeClick(Sender: TObject);
cbSystem.State := CBState[System];
cbDirectory.State := CBState[Directory];
cbNormal.State := CBState[Normal];
{$IFDEF UNIX}
{$IFDEF LINUX}
cbSymLink.State := CBState[SymLink];
{$ENDIF def UNIX}
{$ENDIF LINUX}
{$IFDEF MSWINDOWS}
cbArchive.State := CBState[Archive];
{$ENDIF def MSWINDOWS}
Expand Down
4 changes: 2 additions & 2 deletions jcl/examples/common/graphics/StretchGraphicDemoMain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ TStretchDemoForm = class(TForm)
FDir: string;
FWidth: Integer;
FHeight: Integer;
FStretchTime: LongWord;
FStretchTime: FixedUInt;
FPreserveAspectRatio: Boolean;
FResamplingFilter: TResamplingFilter;
procedure AddToFileList(const Directory: string; const FileInfo: TSearchRec);
Expand Down Expand Up @@ -314,7 +314,7 @@ procedure TStretchDemoForm.SelectFilter(Sender: TObject);
procedure TStretchDemoForm.DoStretch;
var
W, H: Integer;
T: LongWord;
T: FixedUInt;
begin
with OriginalImage.Picture do
if (Graphic = nil) {$IFDEF VCL} or (Graphic is TMetafile) {$ENDIF} then
Expand Down
7 changes: 6 additions & 1 deletion jcl/experts/debug/converter/JclDebugIdeImpl.pas
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ procedure TJclDebugExtension.AfterCompile(const Project: IOTAProject; Succeeded:
end;

begin
if JclDisablePostCompilationProcess or (Project = nil) then
// There are no ProjectOptions if we have a Language Ressouce DLL project (Mantis #5740)
if JclDisablePostCompilationProcess or (Project = nil) or (Project.ProjectOptions = nil) then
Exit;

OTAMessageServices := GetOTAMessageServices;
Expand Down Expand Up @@ -605,6 +606,10 @@ procedure TJclDebugExtension.DisplayResults;
begin
if FBuildError or (Length(FResultInfo) = 0) then
Exit;

if Assigned(Settings) and (Settings.LoadBool(JclDebugQuietSetting, false)) then
Exit;

with TJclDebugResultForm.Create(Application, Settings) do
try
for I := 0 to Length(FResultInfo) - 1 do
Expand Down
2 changes: 1 addition & 1 deletion jcl/experts/debug/simdview/JclSIMDUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ function GetThreadJclContext(AThread: IOTAThread; out JclContext: TJclContext):
try
if (TJclAddr(ContextMemory) and 15) <> 0 then
// PAnsiChar: TJclAddr is signed and would cause an int overflow for half the address space
AlignedContext := PContext(TJclAddr(PAnsiChar(ContextMemory) + 16) and -16)
AlignedContext := PJclContext(TJclAddr(PAnsiChar(ContextMemory) + 16) and -16)
else
AlignedContext := ContextMemory;
AlignedContext^.ScalarContext.ContextFlags := CONTEXT_EXTENDED_REGISTERS;
Expand Down
12 changes: 12 additions & 0 deletions jcl/experts/debug/simdview/JclSIMDView.pas
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@ TJclDebuggerNotifier = class(TNotifierObject,IOTADebuggerNotifier,
procedure ProcessModuleDestroyed({$IFDEF RTL170_UP} const {$ENDIF} ProcessModule: IOTAProcessModule);
// IOTAThreadNotifier
procedure ThreadNotify(Reason: TOTANotifyReason);
{$IFNDEF RTL340_UP}
procedure EvaluteComplete(const ExprStr, ResultStr: string;
CanModify: Boolean; ResultAddress, ResultSize: LongWord; ReturnCode: Integer);
{$ENDIF ~RTL340_UP}
procedure EvaluateComplete(const ExprStr, ResultStr: string;
CanModify: Boolean; ResultAddress, ResultSize: LongWord; ReturnCode: Integer);
procedure ModifyComplete(const ExprStr, ResultStr: string; ReturnCode: Integer);
property Owner: TJclSIMDWizard read FOwner;
end;
Expand Down Expand Up @@ -456,8 +460,16 @@ procedure TJclDebuggerNotifier.BreakpointDeleted({$IFDEF RTL170_UP} const {$ENDI

end;

{$IFNDEF RTL340_UP}
procedure TJclDebuggerNotifier.EvaluteComplete(const ExprStr, ResultStr: string;
CanModify: Boolean; ResultAddress, ResultSize: LongWord; ReturnCode: Integer);
begin
EvaluateComplete(ExprStr, ResultStr, CanModify, ResultAddress, ResultSize, ReturnCode);
end;
{$ENDIF ~RTL340_UP}

procedure TJclDebuggerNotifier.EvaluateComplete(const ExprStr, ResultStr: string;
CanModify: Boolean; ResultAddress, ResultSize: LongWord; ReturnCode: Integer);
begin
try
Owner.ThreadEvaluate(ExprStr, ResultStr, ReturnCode);
Expand Down
7 changes: 5 additions & 2 deletions jcl/install/JclInstall.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,10 @@ function TJclInstallation.Install: Boolean;
Target.BCC.Options.Add('-fno-spell-checking');
Target.BCC.Options.Add('-fno-use-cxa-atexit');
Target.BCC.Options.Add('-x c++');
Target.BCC.Options.Add('-std=c++11');
if Target.IDEVersionNumber >= 20 then
Target.BCC.Options.Add('-std=c++17')
else
Target.BCC.Options.Add('-std=c++11');
Target.BCC.Options.Add('-O0');
Target.BCC.Options.Add('-tC');
Target.BCC.Options.Add('-tM');
Expand Down Expand Up @@ -3331,7 +3334,7 @@ function TJclDistribution.CreateInstall(Target: TJclBorRADToolInstallation): Boo
Result := Target.VersionNumber in [6];
brBorlandDevStudio :
Result := ((Target.VersionNumber in [1, 2]) and (bpDelphi32 in Target.Personalities))
or (Target.VersionNumber in [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19]);
or (Target.VersionNumber in [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]);
else
Result := False;
end;
Expand Down
Binary file modified jcl/install/JediInstaller.res
Binary file not shown.
Binary file added jcl/install/JediInstaller_Icon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions jcl/install/JediProfiles.pas
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ function TJediProfilesManager.CheckPrerequisites: Boolean;
if FMultipleProfileMode and Result then
LoadProfiles;
{$ENDIF MSWINDOWS}
{$IFDEF UNIX}
{$IFDEF LINUX}
// don't know how to enumerate profiles on Linux
Result := not FMultipleProfileMode;
FMultipleProfileMode := False;
{$ENDIF UNIX}
{$ENDIF LINUX}
end;

function TJediProfilesManager.GetMultipleProfileMode: Boolean;
Expand Down
Loading