Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

Commit 8e5d904

Browse files
committed
Merge remote-tracking branch 'origin/develop' into rip-out-folder-data
2 parents 63c929a + 561539e commit 8e5d904

4 files changed

Lines changed: 12 additions & 15 deletions

File tree

.github/build_macos.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ fpc_lazarus_build_install() {
3333
mkdir -p "$sdk_dir"
3434
cd "$sdk_dir"
3535

36-
# use a private fork which includes a fix for compilation under Sequoia
37-
readonly fpc324_rc1_commit='dae96b96a1839e1a3624c664d6293661cc4bed67'
38-
curl -L -o fpc-src.tar.bz2 "https://gitlab.com/dkk089/fpc-src/-/archive/${fpc324_rc1_commit}/fpc-src-${fpc324_rc1_commit}.tar.bz2"
36+
readonly fpc324_rc1_commit='56baf314b5ebf4e5a44fe3e214914fa2e1b34adb'
37+
curl -L -o fpc-src.tar.bz2 "https://gitlab.com/freepascal.org/fpc/source/-/archive/${fpc324_rc1_commit}/fpc-src-${fpc324_rc1_commit}.tar.bz2"
3938
tar xf fpc-src.tar.bz2
40-
mv "fpc-src-${fpc324_rc1_commit}" fpc-src
39+
mv "source-${fpc324_rc1_commit}" fpc-src
4140
cd fpc-src
4241

4342
mkdir -p "${fpc_installdir}"

.github/build_windows.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function FPC-Lazarus-Build-Install {
2828

2929
$env:Path = "${fpc322}\bin\i386-win32;" + $env:Path
3030

31-
$fpc324_commit = 'cd84c2d5cd1f7b17de0ca0b62c3d35c661f535b1'
31+
$fpc324_commit = '56baf314b5ebf4e5a44fe3e214914fa2e1b34adb'
3232
My-Download -Uri "https://gitlab.com/freepascal.org/fpc/source/-/archive/${fpc324_commit}/source-${fpc324_commit}.zip" -OutFile fpc-324-rc1.zip
3333

3434
# we could use Expand-Archive but it takes an eternity and then some
@@ -43,7 +43,7 @@ function FPC-Lazarus-Build-Install {
4343
fpcmkcfg -d basepath=${fpc324} -o "${fpc324}\bin\i386-win32\fpc.cfg"
4444

4545
cd "$sdk_dir"
46-
$lazarus_commit = 'dab5c509c6fd70f8fac2144e468291899286616f'
46+
$lazarus_commit = 'cadda6230398688d6106fe37fb0673a9a2bf0cf3'
4747
My-Download -Uri "https://gitlab.com/dkk089/lazarus/-/archive/${lazarus_commit}/lazarus-${lazarus_commit}.zip" -OutFile lazarus-src.zip
4848
7z x lazarus-src.zip
4949

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build-linux:
1111

1212
runs-on: ubuntu-latest
13-
container: lighterowl/transgui-sdk:1.2
13+
container: lighterowl/transgui-sdk:1.3
1414

1515
steps:
1616
- uses: actions/checkout@v1

main.pas

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,14 +1246,12 @@ function CheckAppParams: boolean;
12461246
Ini.CacheUpdates:=True;
12471247

12481248
// Check for outdated IPC file
1249-
if FileExistsUTF8(FIPCFileName) then begin
1250-
h:=FileOpenUTF8(FIPCFileName, fmOpenRead or fmShareDenyNone);
1251-
if h <> INVALID_HANDLE_VALUE then begin
1252-
i:=FileGetDate(h);
1253-
FileClose(h);
1254-
if (i > 0) and (Abs(Now - FileDateToDateTime(i)) > 1/MinsPerDay) then
1255-
DeleteFileUTF8(FIPCFileName);
1256-
end;
1249+
h:=FileOpenUTF8(FIPCFileName, fmOpenRead or fmShareDenyNone);
1250+
if h <> System.THandle(feInvalidHandle) then begin
1251+
i:=FileGetDate(h);
1252+
FileClose(h);
1253+
if (i > 0) and (Abs(Now - FileDateToDateTime(i)) > 1/MinsPerDay) then
1254+
DeleteFileUTF8(FIPCFileName);
12571255
end;
12581256

12591257
for i:=1 to ParamCount do begin

0 commit comments

Comments
 (0)