8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
Commit Graph

2867 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
c88d9ba35c Remove dependency of engine in isql project in Windows. 2023-09-29 19:01:35 -03:00
Adriano dos Santos Fernandes
4070fe8c0d Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
Adriano dos Santos Fernandes
83440fe70c Fix Windows installer automation requiring non-installed files. 2023-09-27 21:59:59 -03:00
Adriano dos Santos Fernandes
9d6bd05f25 Fix Windows installer automation. 2023-09-27 20:23:20 -03:00
3f12caa082 Fix #7766 - Test if ServerComponent was chosen, not ServerInstall 2023-09-27 20:28:30 +02:00
837cf80a79 Parse FB_BUILD_SUFFIX to extract release type during packaging.
This removes the need to set the string via an env var prior to building
2023-09-25 16:49:51 +02:00
Adriano dos Santos Fernandes
48e7bb2607 Fix MacOS package name. 2023-09-22 20:41:12 -03:00
Adriano dos Santos Fernandes
39b019574a
Feature #7675 - EXPLAIN statement and RDB$SQL package. (#7697)
* Feature #7675 - EXPLAIN statement and RDB$SQL package.

* Change ObjectsArray::back() to match STL semantics and add front() method.

* Fix indentation problem.

* Add OBJECT_TYPE column.

* Add CARDINALITY column.

* Add conversion from bid to ISC_QUAD.

* Replace fb_assert by static_assert.

* Change ACCESS_PATH output parameter to blob.

* Improve docs.
2023-09-18 21:52:20 -03:00
Adriano dos Santos Fernandes
f8ed006057 Ressurect TriState, replace Nullable<bool> by TriState, remove Nullable. 2023-09-18 20:38:33 -03:00
Adriano dos Santos Fernandes
8693554daf Fix MacOS build. 2023-09-18 20:20:38 -03:00
Dmitry Yemanov
875f0a25a3 New release version in scripts 2023-09-17 18:29:37 +03:00
Adriano dos Santos Fernandes
2de7e723f5
Fix problem with client-only build requiring btyacc's generated files present (#7445)
This also fixes annoying problem of incorrect dependencies build of parser.y with parallel make.
2023-09-15 22:27:52 -03:00
Dmitry Yemanov
f239ca161f
Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels (#7405)
* Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels.
* Add session-level control over the optimization strategy
* More informative name as suggested by Adriano
* Cost-based approach for the first-rows optimization mode
2023-09-13 21:21:12 +03:00
AlexPeshkoff
c5df777d12 Misc 2023-09-07 19:40:31 +03:00
Vlad Khorsun
b2eb581b2f Per-attachment cache of often used BDB's 2023-09-01 11:15:04 +03:00
loongson
fcc471e420 Add LoongArch support 2023-08-30 11:09:19 +03:00
Adriano dos Santos Fernandes
25b76bb26c
Merge pull request #7720 from FirebirdSQL/work/vcpkg-macos
MacOS: build libicu and static libc++ using vcpkg
2023-08-24 22:07:26 -03:00
AlexPeshkoff
86dad8fe39 Make it possible to build / install with any combination of tommath versions 0/1 2023-08-24 19:24:37 +03:00
Adriano dos Santos Fernandes
b31d37b787 MacOS: build libicu and static libc++ using vcpkg.
Also improve non-CI build automation.
2023-08-23 23:09:49 -03:00
AlexPeshkoff
18258a9651 Fixed posix build to ensure regeneration of cloop-generated files after "make clean". Regenerated .pas file is also here. 2023-08-23 19:42:20 +03:00
Mark Rotteveel
c846731947 Revert unintented change in case 2023-08-08 16:09:44 +02:00
Mark Rotteveel
8b99914840 Improve consistency of firebird.conf documentation
Some copy-editing, removed mention of ancient Windows versions, and replaced broken links
2023-08-08 16:09:44 +02:00
Vlad Khorsun
4071211e55 Better handling errors when databases built.
Fallback to "copy" when "mklink" failed.
2023-07-16 18:34:27 +03:00
Vlad Khorsun
8d6a79863f Let make_boot fail early. 2023-07-16 18:13:08 +03:00
Vlad Khorsun
192e06f1e1 Change way to search for unzip utility:
- allow caller (user) to explicitly set full path to the unzip.exe using FB_UNZIP environment variable,
- if FB_UNZIP is not set, look up in PATH,
- try GIT folder,
- at last use simple VBS script.
2023-07-16 17:50:52 +03:00
Vlad Khorsun
b5bdc13eb2 Move some compiler options into property sheet.
All checks were successful
continuous-integration/drone/push Build is passing
Change InlineFunctionExpansion to AnySuitable (was OnlyExplicitInline).
2023-06-19 11:55:22 +03:00
Vlad Khorsun
57bc21288a Change Platform Toolset from v141_xp to v141 for Win32 builds by VS 2017.
It doesn't compiles after recent changes, and we anyway use VS 2022 as official compiler and VS have no support for WinXP anymore.
2023-06-19 11:22:22 +03:00
Vlad Khorsun
24d4819ed4 Documentation 2023-06-16 13:30:29 +03:00
Adriano dos Santos Fernandes
d00be282a5
Fix typo.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 20:46:46 -03:00
AlexPeshkoff
4cb59f3ace Mark Redirection as deprecated
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 20:02:48 +03:00
AlexPeshkoff
8437e4dcf7 This should fix windows build for #7582: Missing isc_info_end in Firebird.pas
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-29 19:58:22 +03:00
AlexPeshkoff
6707c7c2cc POSIX-only fix for #7582: Missing isc_info_end in Firebird.pas. Appropriate fix for windows build is needed.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 19:10:49 +03:00
Adriano dos Santos Fernandes
68922442fc Add CompressorTest to Windows build. 2023-04-18 06:49:40 -03:00
7e4e70e29f Use consistent file naming for md5sum file and indicate platform in filename 2023-04-01 19:45:22 +02:00
88da52606a Include build type in the displayed version string 2023-03-30 12:16:30 +02:00
18ad25f4ad Doc notes 2023-03-30 12:15:21 +02:00
bdece9f348 Be sure to add build suffix after the file version number 2023-03-30 12:14:46 +02:00
034f8c0517 Use ERRORLEVEL consistently 2023-03-30 12:10:39 +02:00
Adriano dos Santos Fernandes
4ef8abef8b Adjust scripts and add source bundle to snapshots. 2023-03-27 23:02:16 -03:00
th1722
3a180120c4
fix macOS (Apple Silicon) build (#7502)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Change the specified minimum version of macOS (Apple Silicon)  from 12 (Monterey) to 11(big sur).
2023-03-15 07:31:19 -03:00
AlexPeshkoff
9356f8772c Misc
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-03-09 18:15:40 +03:00
Adriano dos Santos Fernandes
d1cde0b02a Replace usage of icu.exe by icu_windows.zip. 2023-02-04 18:32:59 -03:00
Adriano dos Santos Fernandes
76685f7696 Extract ICU data from icudt.zip. 2023-02-04 18:32:58 -03:00
Adriano dos Santos Fernandes
a4d2f3aeba Generate static libs in temp directory. 2023-02-04 18:32:57 -03:00
Adriano dos Santos Fernandes
14507af30d Flat Android tree. 2023-02-04 18:32:57 -03:00
Adriano dos Santos Fernandes
56da7b245b Fix Android cross build script running in Linux. 2023-02-04 18:32:57 -03:00
Adriano dos Santos Fernandes
85b84da6df Link with Android log library. 2023-02-04 18:32:54 -03:00
Adriano dos Santos Fernandes
543d59e720 Split icu data file (used in Android) outside .exe compressed file. 2023-02-04 18:32:48 -03:00
9f37b29f77 Add missing ConfigurationTaget 2023-01-23 10:32:12 +01:00
689d3f16eb Generate new upgrade codes for the vc runtime msi 2023-01-19 12:59:47 +01:00
7ea43aff2c Forward port the fix for #7096 2023-01-18 12:34:53 +01:00
Piotr Kubaj
a6ab775f97 Add support for FreeBSD/powerpc 2022-12-22 10:40:37 +03:00
Dmitry Yemanov
5c7030d12a Misc 2022-12-21 11:46:15 +03:00
Adriano dos Santos Fernandes
73c1ab807a
RDB$BLOB_UTIL system package. (#281)
* RDB$BLOB_UTIL system package.

* Do not checkout from engine when calling system packages.

* Remove usage of Attachment::SyncGuard in RDB$BLOB_UTIL.

* Fix Windows build.

* Fix RDB$BLOB_UTIL.SEEK.

* Fix crash.

* Rework changing routines and names for better fit after creation of BLOB_APPEND.

* Add RDB$BLOB_UTIL.IS_WRITABLE function.

* Misc.

* Fix documentation.

* Re-add and use RDB$BLOB_UTIL_HANDLE domain.

* Rename domain RDB$LONG_NUMBER to RDB$INTEGER.
2022-12-16 06:53:47 -03:00
Adriano dos Santos Fernandes
4c78ac43eb array.epp and blob.epp do not exist anymore. 2022-12-15 22:03:50 -03:00
Piotr Kubaj
4cd5c17b29 Add support for FreeBSD/powerpc64 2022-12-13 12:01:50 +03:00
Adriano dos Santos Fernandes
deb9f77701 Fix Android package version. 2022-12-10 23:01:34 -03:00
Adriano dos Santos Fernandes
2b1a24585e Improvement to make TARGET usage allowing usage of Release/Debug independently of DefaultTarget.
Add libcds cleanup.
2022-12-10 22:06:01 -03:00
Adriano dos Santos Fernandes
a25f3c3cf8 Fix docker Linux build after introduction of libcds. 2022-12-02 22:28:13 -03:00
Adriano dos Santos Fernandes
b117239f3d Windows build support for CLIENT_ONLY. 2022-11-27 11:24:57 -03:00
Adriano dos Santos Fernandes
30cb67da8d Cleanup POSIX/MacOS build. 2022-11-27 11:24:18 -03:00
Adriano dos Santos Fernandes
0c5db1d2a3 POSIX build with support for --enable-client-only and --without-tomcrypt. 2022-11-27 11:24:13 -03:00
Adriano dos Santos Fernandes
a791ccd02e Replace src/yvalve/array.epp by array.cpp. 2022-11-27 11:18:34 -03:00
Adriano dos Santos Fernandes
91f2eecd10 Replace src/yvalve/blob.epp by blob.cpp. 2022-11-27 11:18:34 -03:00
Vlad Khorsun
57218a90a7
Merge pull request #7339 from hvlad/PageCache/HashTable_PR
Hash table based on lock-free list for page cache.
2022-11-22 00:00:21 +02:00
Vlad Khorsun
9bfeb842ad Use correct Windows SDK version 2022-11-15 13:00:43 +02:00
Vlad Khorsun
28dd13903d Old cmake syntax to please AppVeyor build on Ubuntu 18 2022-10-09 20:51:05 +03:00
Vlad Khorsun
82ba27fd5d Hash table based on lock-free list (implemented in libcds). 2022-10-08 20:54:55 +03:00
Adriano dos Santos Fernandes
7ab1fc1622 Add crosstool-ng firebird-builder docker images for arm32/arm64.
This image contains x64 cross compiler targeting arm32/64 running in arm32/64 image.

So gcc/binutils run fast natively while generated and OS (container) tools runs
emulated with qemu-*-static using host's binfmt_misc system.
2022-09-25 11:21:26 -03:00
Adriano dos Santos Fernandes
5cfec066e1 Replace firebird-builder docker images for x32/x64 with ones built using crosstool-ng.
This allow to use newer container image, since we're now also buinding (an old) libc.
2022-09-25 11:21:24 -03:00
Adriano dos Santos Fernandes
a47a1699af Allow to build using prefixed toolchain (configure --host). 2022-09-25 11:21:23 -03:00
AlexPeshkoff
fa154ca832 Support use of system libedit 2022-09-15 16:59:34 +03:00
Adriano dos Santos Fernandes
5860d73ca7 Add tzdata to Android packages. 2022-09-07 10:03:02 -03:00
Adriano dos Santos Fernandes
d44f3cb94b Adjust Android x86/x64 build. 2022-09-07 10:03:01 -03:00
Adriano dos Santos Fernandes
84a0168870 Split Android package into two phases, second one to run in emulator.
Add GitHub action to run second phase in MacOS machine, where Android emulator can run.

Currently this is done for ARM 32/64 builds.
2022-09-06 08:50:47 -03:00
Adriano dos Santos Fernandes
14fc962ed3
Merge pull request #7284 from FirebirdSQL/work/release-filenames
Change release filenames as the following examples
2022-09-06 07:43:00 -03:00
Vlad Khorsun
f0c87bbb02 Copy udrcpp_example.dll to the output folder. 2022-09-04 20:08:35 +03:00
Vlad Khorsun
fb18d3371a Try to use default placement of 7zip, if env var SEVENZIP is not set by the user. 2022-09-04 18:32:38 +03:00
Vlad Khorsun
e9227aa31c Revert build destination to the temp\...\firebird folder.
make_boot now copies .conf and security.db files into temp\...\firebird, if it not exists there before.
yachts.lnk and security.fdb now symlinks, not a copy of metadata.fdb and securityXXX.fdb.
2022-09-04 18:30:30 +03:00
Adriano dos Santos Fernandes
47a829a8bf Package ICU with Android build and more fixes to AfterUntar phase. 2022-09-01 22:46:43 -03:00
Adriano dos Santos Fernandes
dcd86cf05e
Make Android build work with modern NDK and fix build issues (#7286) 2022-09-01 20:51:12 -03:00
Adriano dos Santos Fernandes
f3926489b8 Change Android release filenames. 2022-08-30 08:47:47 -03:00
Adriano dos Santos Fernandes
b4bda10e17 Change Posix/MacOS release filenames. 2022-08-30 08:47:47 -03:00
Adriano dos Santos Fernandes
d10a82ea65 Change Windows release filenames. 2022-08-30 08:47:47 -03:00
AlexPeshkoff
401ece980b Fixed #7283: Suspicious error message during install 2022-08-29 19:47:06 +03:00
AlexPeshkoff
5bac471fa1 Avoid build-time static libraries in android packages 2022-08-29 19:31:27 +03:00
Adriano dos Santos Fernandes
b4c4cd1acf Fix output directory of profiler plugin in Windows build. 2022-08-24 07:48:57 -03:00
Adriano dos Santos Fernandes
0d7c8280d2 Save PDB packages in Windows snapshots. 2022-08-23 23:01:58 -03:00
Vlad Khorsun
46bf89d84c Improvement #7259 : Remove TcpLoopbackFastPath and use of SIO_LOOPBACK_FAST_PATH 2022-08-22 01:44:08 +03:00
Adriano dos Santos Fernandes
27bb3795a8
Merge pull request #7265 from FirebirdSQL/work/windows-build-config
Make Windows build scripts reuse previous configuration
2022-08-18 12:24:34 -03:00
Adriano dos Santos Fernandes
81a3d7fad3 Use two environment variables for the same purpose in different places.
Make run_all.bat default to RELEASE (even when previous build was configured for DEBUG).
2022-08-18 08:57:50 -03:00
Adriano dos Santos Fernandes
5dab361d89 Fix #7241 - mac installer - firebird user not created correctly if group already exists.
Solution by: Jonathan Frutos
2022-08-16 21:02:28 -03:00
Adriano dos Santos Fernandes
d2f64be550 Make Windows build scripts reuse previous configuration. 2022-08-16 07:24:59 -03:00
Vlad Khorsun
5bfb721680 Don't generate browse info by MSVC build. It saves 15-20% of build time on Windows. 2022-08-14 12:43:18 +03:00
Vlad Khorsun
68a2f201f2 Moved ttmathuint_x86_64_msvc.obj from common (%FB_TEMP_DIR%\..\%FB_OBJ_DIR%\common) into dedicated folder (%FB_ROOT_PATH%\extern\ttmath\%FB_CONFIG%).
It allows to not call make_boot after cleaning up of "common" project.
2022-08-14 12:25:17 +03:00
Adriano dos Santos Fernandes
bffb43da9f Change OutDir configuration for default_profiler project. 2022-08-12 08:08:43 -03:00
Adriano dos Santos Fernandes
d4bd604b05 Separate debug/release output in different directories. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
780085554e Improve Windows build speed not building both release and debug external libraries. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
0117da2839 Upload zip generated in builds/install_images in GitHub actions. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
33b4f5b53d Create and save Windows installer in GitHub actions. 2022-08-12 08:04:50 -03:00