Skip to content

Commit b76cd8b

Browse files
authored
Merge branch 'master' into work/gh_6413_restore_swept
2 parents 9a09c9a + cfc1185 commit b76cd8b

File tree

318 files changed

+22528
-13518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+22528
-13518
lines changed

.github/actions/create-release/action.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# TODO: Replace asfernandes/action-gh-release@master by softprops/action-gh-release@v1
2-
# once https://github.com/softprops/action-gh-release/pull/343 is merged.
3-
41
name: Create release
52
description: Create release
63

@@ -44,7 +41,7 @@ runs:
4441

4542
- name: Release
4643
id: release_try1
47-
uses: asfernandes/action-gh-release@master
44+
uses: softprops/action-gh-release@master
4845
if: steps.release-info.outputs.artifacts-tag
4946
continue-on-error: true
5047
with:
@@ -65,7 +62,7 @@ runs:
6562
files: ${{ inputs.uploadFiles }}
6663

6764
- name: Release (retry)
68-
uses: asfernandes/action-gh-release@master
65+
uses: softprops/action-gh-release@master
6966
if: |
7067
steps.release-info.outputs.artifacts-tag &&
7168
steps.release_try1.outcome == 'failure'

.github/workflows/main.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,13 @@ jobs:
156156
if: github.ref_type != 'tag'
157157
runs-on: ${{ matrix.os }}
158158
env:
159-
VS_VERSION: ${{ (matrix.os == 'windows-2019' && '2019' || (matrix.os == 'windows-2022' && '2022' || '')) }}
159+
VS_VERSION: 2022
160160

161161
strategy:
162162
fail-fast: false
163163
matrix:
164164
os:
165-
- windows-2022
166-
- windows-2019
165+
- windows-2025
167166
platform: [x64, x86]
168167

169168
steps:
@@ -186,7 +185,7 @@ jobs:
186185
shell: cmd
187186
env:
188187
PLATFORM: ${{ matrix.platform }}
189-
VS_SCRIPT: ${{ matrix.os == 'windows-2022' && 'C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat' || 'C:\Program Files (x86)\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat' }}
188+
VS_SCRIPT: C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat
190189
run: |
191190
set SEVENZIP=C:\Program Files\7-Zip
192191
set INNO6_SETUP_PATH=C:\Program Files (x86)\Inno Setup 6
@@ -362,8 +361,6 @@ jobs:
362361
build-macos:
363362
name: build-macos-${{ matrix.arch }}
364363
runs-on: ${{ (matrix.arch == 'arm64' && 'macos-14') || 'macos-13' }}
365-
env:
366-
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
367364

368365
strategy:
369366
fail-fast: false
@@ -384,14 +381,16 @@ jobs:
384381

385382
- name: Prepare - Install tools
386383
run: |
387-
brew install automake autoconf-archive libtool ninja
384+
brew install --quiet automake autoconf-archive libtool ninja
388385
389-
- name: Export GitHub Actions cache environment variables
390-
uses: actions/github-script@v7
386+
- name: Restore vcpkg cache
387+
uses: actions/cache/restore@v4
388+
id: restore-vcpkg-cache
391389
with:
392-
script: |
393-
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
394-
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
390+
path: ~/.cache/vcpkg/archives
391+
key: vcpkg-cache-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('vcpkg-custom/**', 'vcpkg.json', 'vcpkg-configuration.json') }}
392+
restore-keys: |
393+
vcpkg-cache-${{ runner.os }}-${{ matrix.arch }}-
395394
396395
- name: Build
397396
run: |
@@ -419,6 +418,14 @@ jobs:
419418
mkdir gen/artifacts
420419
mv gen/Release/*.pkg gen/artifacts
421420
421+
- name: Save vcpkg cache
422+
uses: actions/cache/save@v4
423+
# Saves if the key changed (hashes on vcpkg/**, vcpkg.json, vcpkg-configuration.json)
424+
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
425+
with:
426+
path: ~/.cache/vcpkg/archives
427+
key: ${{ steps.restore-vcpkg-cache.outputs.cache-primary-key }}
428+
422429
- name: Upload installer
423430
uses: actions/upload-artifact@v4
424431
with:

builds/install/arch-specific/hpux/super/postInstall.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ writeNewPassword() {
137137
if [ $NewPasswd = "masterkey" ]
138138
then
139139
echo "# for install on `hostname` at time `date`" >> $DBAPasswordFile
140-
echo "# You should change this password at the earliest oportunity" >> $DBAPasswordFile
140+
echo "# You should change this password at the earliest opportunity" >> $DBAPasswordFile
141141
else
142142
echo "# generated on `hostname` at time `date`" >> $DBAPasswordFile
143143
fi

builds/install/misc/firebird.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@
700700
# active connections. If you do not like its default 2-hour keepalive timeout,
701701
# then adjust your server OS settings appropriately. On UNIX-like OS's,
702702
# modify contents of /proc/sys/net/ipv4/tcp_keepalive_*. On Windows,
703-
# follow instrutions of this article:
703+
# follow instructions of this article:
704704
# https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-and-nbt-configuration-parameters
705705
#
706706
# Per-connection configurable.

builds/install/misc/replication.conf

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,25 @@ database
1111
#
1212
# plugin =
1313

14+
# Pattern (regular expression) that defines what schemas must be included into
15+
# replication. By default, tables from all schemas are replicated.
16+
#
17+
# include_schema_filter =
18+
19+
# Pattern (regular expression) that defines what schemas must be excluded from
20+
# replication. By default, tables from all schemas are replicated.
21+
#
22+
# exclude_schema_filter =
23+
1424
# Pattern (regular expression) that defines what tables must be included into
1525
# replication. By default, all tables are replicated.
1626
#
17-
# include_filter =
27+
# include_filter =
1828

1929
# Pattern (regular expression) that defines what tables must be excluded from
2030
# replication. By default, all tables are replicated.
2131
#
22-
# exclude_filter =
32+
# exclude_filter =
2333

2434
# Boolean parameters describing how replication errors must be handled.
2535
#
@@ -42,20 +52,20 @@ database
4252

4353
# Directory to store replication journal files.
4454
#
45-
# journal_directory =
55+
# journal_directory =
4656

4757
# Prefix for replication journal file names. It will be automatically suffixed
4858
# with an ordinal sequential number. If not specified, database filename
4959
# (without path) is used as a prefix.
5060
#
51-
# journal_file_prefix =
61+
# journal_file_prefix =
5262

5363
# Maximum allowed size for a single replication segment.
5464
#
5565
# journal_segment_size = 16777216 # 16MB
5666

5767
# Maximum allowed number of full replication segments. Once this limit is reached,
58-
# the replication process is temporarily delayed to allow the archiving to catch up.
68+
# the replication process is temporarily delayed to allow the archiving to catch up.
5969
# If any of the full segments is not archived during one minute,
6070
# the replication fails with an error.
6171
#
@@ -76,7 +86,7 @@ database
7686
# Directory to store archived replication segments.
7787
# It also defines the $(archpathname) substitution macro (see below).
7888
#
79-
# journal_archive_directory =
89+
# journal_archive_directory =
8090

8191
# Program (complete command line with arguments) that is executed when some
8292
# replication segment gets full and needs archiving.
@@ -97,7 +107,7 @@ database
97107
# or
98108
# Windows: "copy $(pathname) $(archivepathname)"
99109
#
100-
# journal_archive_command =
110+
# journal_archive_command =
101111

102112
# Timeout, in seconds, to wait until incomplete segment is scheduled for archiving.
103113
# It allows to minimize the replication gap if the database is modified rarely.
@@ -121,7 +131,7 @@ database
121131
#
122132
# Multiple entries are allowed (for different synchronous replicas).
123133
#
124-
# sync_replica =
134+
# sync_replica =
125135
#
126136
# It's also possible to configure replicas as separate sub-sections, e.g.:
127137
#
@@ -175,13 +185,13 @@ database
175185

176186
# Directory to search for the journal files to be replicated.
177187
#
178-
# journal_source_directory =
188+
# journal_source_directory =
179189

180190
# Filter to limit replication to the particular source database (based on its GUID).
181191
# Expected format: "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"
182192
# Note that double quotes are mandatory, as well as curly braces.
183193
#
184-
# source_guid =
194+
# source_guid =
185195

186196
# If enabled, replication.log contains the detailed log of operations performed
187197
# by the replication server. Otherwise (by default), only errors and warnings are logged.
@@ -202,6 +212,14 @@ database
202212
# then reconnects back and tries to re-apply the latest segments from the point of failure.
203213
#
204214
# apply_error_timeout = 60
215+
216+
# Schema search path for compatibility with Firebird versions below 6.0
217+
#
218+
# Firebird master databases below v6 has no schemas, so use this search path in the replica to
219+
# locate the objects.
220+
# Used only with asynchronous replication.
221+
#
222+
# schema_search_path =
205223
}
206224

207225
#

builds/make.new/config/install-sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# install - install a program, script, or datafile
33

4-
scriptversion=2023-11-23.18; # UTC
4+
scriptversion=2024-06-19.01; # UTC
55

66
# This originates from X11R5 (mit/util/scripts/install.sh), which was
77
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -170,7 +170,7 @@ while test $# -ne 0; do
170170

171171
-T) is_target_a_directory=never;;
172172

173-
--version) echo "$0 $scriptversion"; exit $?;;
173+
--version) echo "$0 (GNU Automake) $scriptversion"; exit $?;;
174174

175175
--) shift
176176
break;;
@@ -345,15 +345,15 @@ do
345345
' 0
346346

347347
# Because "mkdir -p" follows existing symlinks and we likely work
348-
# directly in world-writeable /tmp, make sure that the '$tmpdir'
348+
# directly in world-writable /tmp, make sure that the '$tmpdir'
349349
# directory is successfully created first before we actually test
350350
# 'mkdir -p'.
351351
if (umask $mkdir_umask &&
352352
$mkdirprog $mkdir_mode "$tmpdir" &&
353353
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354354
then
355355
if test -z "$dir_arg" || {
356-
# Check for POSIX incompatibilities with -m.
356+
# Check for POSIX incompatibility with -m.
357357
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
358358
# other-writable bit of parent directory when it shouldn't.
359359
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.

builds/win32/msvc15/FirebirdCommon.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<ItemDefinitionGroup>
1010
<ClCompile>
11-
<AdditionalOptions>/EHsc- %(AdditionalOptions)</AdditionalOptions>
11+
<AdditionalOptions>/EHsc- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
1212
<OmitFramePointers>true</OmitFramePointers>
1313
<AdditionalIncludeDirectories>../../../src/include;../../../src/include/gen;../../../extern/libtomcrypt/src/headers;../../../extern/libtommath;../../../extern/icu/include;../../../extern/zlib;../../../extern/re2;../../../extern/boost;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
1414
<ExceptionHandling>

builds/win32/msvc15/common.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
<ClInclude Include="..\..\..\src\common\classes\NoThrowTimeStamp.h" />
154154
<ClInclude Include="..\..\..\src\common\classes\objects_array.h" />
155155
<ClInclude Include="..\..\..\src\common\classes\ParsedList.h" />
156-
<ClInclude Include="..\..\..\src\common\classes\QualifiedName.h" />
156+
<ClInclude Include="..\..\..\src\common\classes\QualifiedMetaString.h" />
157157
<ClInclude Include="..\..\..\src\common\classes\RefCounted.h" />
158158
<ClInclude Include="..\..\..\src\common\classes\RefMutex.h" />
159159
<ClInclude Include="..\..\..\src\common\classes\rwlock.h" />

builds/win32/msvc15/common.vcxproj.filters

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,6 @@
449449
<ClInclude Include="..\..\..\src\common\classes\objects_array.h">
450450
<Filter>headers</Filter>
451451
</ClInclude>
452-
<ClInclude Include="..\..\..\src\common\classes\QualifiedName.h">
453-
<Filter>headers</Filter>
454-
</ClInclude>
455452
<ClInclude Include="..\..\..\src\common\classes\RefCounted.h">
456453
<Filter>headers</Filter>
457454
</ClInclude>
@@ -611,6 +608,9 @@
611608
<ClInclude Include="..\..\..\src\common\classes\ParsedList.h">
612609
<Filter>headers</Filter>
613610
</ClInclude>
611+
<ClInclude Include="..\..\..\src\common\classes\QualifiedMetaString.h">
612+
<Filter>headers</Filter>
613+
</ClInclude>
614614
<ClInclude Include="..\..\..\src\common\Int128.h">
615615
<Filter>headers</Filter>
616616
</ClInclude>

builds/win32/msvc15/common_test.vcxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,16 @@
255255
</ResourceCompile>
256256
</ItemGroup>
257257
<ItemGroup>
258-
<ClCompile Include="..\..\..\src\common\classes\tests\ClumpletTest.cpp" />
259-
<ClCompile Include="..\..\..\src\common\classes\tests\VectorTest.cpp" />
260258
<ClCompile Include="..\..\..\src\common\tests\CommonTest.cpp" />
261259
<ClCompile Include="..\..\..\src\common\tests\CvtTest.cpp" />
262260
<ClCompile Include="..\..\..\src\common\tests\StringTest.cpp" />
263261
<ClCompile Include="..\..\..\src\common\classes\tests\AlignerTest.cpp" />
264262
<ClCompile Include="..\..\..\src\common\classes\tests\ArrayTest.cpp" />
263+
<ClCompile Include="..\..\..\src\common\classes\tests\ClumpletTest.cpp" />
265264
<ClCompile Include="..\..\..\src\common\classes\tests\DoublyLinkedListTest.cpp" />
265+
<ClCompile Include="..\..\..\src\common\classes\tests\MetaStringTest.cpp" />
266+
<ClCompile Include="..\..\..\src\common\classes\tests\QualifiedMetaStringTest.cpp" />
267+
<ClCompile Include="..\..\..\src\common\classes\tests\VectorTest.cpp" />
266268
<ClCompile Include="..\..\..\src\yvalve\gds.cpp" />
267269
</ItemGroup>
268270
<ItemGroup>

0 commit comments

Comments
 (0)