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

2888 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
426cb08b59 Upgrade glibc to 2.28 and arm64 binutils to 2.40. 2024-04-19 08:04:57 -03:00
Adriano dos Santos Fernandes
7c1691bbeb Switch Linux docker build from ubuntu to debian. 2024-04-18 22:04:22 -03:00
Adriano dos Santos Fernandes
fc362ecb46 Update Linux build to use gcc 13.2 and binutils 2.40.
Binutils update except for arm64.
2024-04-18 22:01:53 -03:00
TreeHunter
a429459b76
Change some aspects of the string-to-date conversion with format to make it more similar to the SQL standard #2388 (#7881)
* Use current TimeStamp for data in stringToDate conversion if it's not specify

Also fix RM pattern and change (A/P)M to (A/P).M.

* Add more tests

* Add TimeStamp validation

Also move duplicated code to functions.

* Add more unit tests for "YY" and "YYY" patterns

* Use Callback for getting current date

It's better because we can mock Callback for unit tests.

* Fix exception and README description

* Add ability to print blr_cast_format

* Put a comment about new BLR in the right place

* Add information about behavior of string to datetime conversion

* Rework old patterns and add new ones

Add A.M, P.M., RR and RRRR patterns.
Rework YY, YYY, HH and HH12 patterns due to new patterns.
Add restriction from SQL standard to format.
Fix incorrect error message for mismatched pattern.
Fix bug with 0 hours in HH12.

* Add more unit tests

* Update doc for cast format

* Allow specification of log_level for BOOST_TESTS in make

* Change enum class to enum in namespace

* Switch from plain enum to constexpr values

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-03-04 14:43:14 +03:00
Dmitry Yemanov
1b4d390b0e Refactored outer joins into a separate class 2024-02-09 18:07:30 +03:00
Vlad Khorsun
fe82a29d13
Remove FileSystemCacheSize setting (#7984) 2024-01-29 22:23:26 +02:00
Vlad Khorsun
55fd220006
Remove FileSystemCacheThreshold setting (#7983) 2024-01-29 22:15:53 +02:00
Dmitry Yemanov
4cd3b0e47a
Cleanup RelaxedAliasChecking configuration setting (#7982) 2024-01-29 18:05:05 +03:00
Tommi Prami
854d7fb849
Minor typo fixed (#7959) 2024-01-29 17:18:57 +03:00
cacb2c77d4 #7926 Do not touch files during packaging 2023-12-19 11:42:39 +01:00
5933ce8ca2 white space 2023-12-14 11:56:24 +01:00
Adriano dos Santos Fernandes
ccdc281dc5 Task #7900 - Remove compatibility options MaxIdentifierByteLength and MaxIdentifierCharLength. 2023-12-02 15:00:58 -03:00
Vlad Khorsun
e98e1dc11b Task #7897 : Remove obsolete setting ClearGTTAtRetaining 2023-12-01 15:59:49 +02:00
Adriano dos Santos Fernandes
f3205ff81d
Feature SET AUTOTERM in ISQL. (#7868) 2023-11-23 08:48:39 -03:00
Adriano dos Santos Fernandes
4facd1b200 Fix docker/windows CI. 2023-11-22 23:04:52 -03:00
Adriano dos Santos Fernandes
518292ed74 Remove -flat_namespace from MacOS build - see #7827. 2023-11-15 10:48:32 -03:00
Adriano dos Santos Fernandes
37f9809338 Fix #7827 - Problem using python firebird-driver with either intel or m1 Mac buiilds. 2023-11-15 10:48:25 -03:00
Adriano dos Santos Fernandes
c2328fe14c Task #7796 - Update official Windows compiler to VS 17.7.4. 2023-10-11 06:39:58 -03:00
Adriano dos Santos Fernandes
ec4f175e30 Revert "Update VS docker build to 17.7.4"
This reverts commit e74cf8a579.
2023-10-11 06:37:32 -03:00
AlexPeshkoff
7870a3b513 Fixed minor "make clean" bug 2023-10-11 09:05:32 +03:00
Vlad Khorsun
e74cf8a579 Update VS docker build to 17.7.4
While there is a channel with "most current" version, I have no idea how to set --version value to use it.
2023-10-10 18:42:57 +03:00
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