Ilya Eremin
566bebf2d5
Make return-type a compilation error ( #8362 )
...
This protects from undefined behavior cases that can be added to the code by mistake.
2024-12-26 14:38:50 +03:00
Adriano dos Santos Fernandes
3f7f82d640
Move public headers to include/firebird with wrappers in include for legacy files.
2024-09-29 15:29:04 -03:00
Adriano dos Santos Fernandes
74c3725e0e
perf.h: a public file that depends on private file should not be a public file
2024-09-29 14:48:05 -03:00
AlexPeshkoff
3a993adae6
Postfix for #8197 : Add generated files for OO API for C language to distribution; Use macros instead functions, removed static library
2024-09-05 16:57:23 +03:00
AlexPeshkoff
c69a94344e
Implemented #8197 : Add generated files for OO API for C language to distribution
2024-08-13 13:36:02 +03:00
AlexPeshkoff
7e774b9503
Avoid getting warning about unknown flag for plain-C files
2024-08-13 13:29:12 +03:00
AlexPeshkoff
1ce4734ab4
Try to fix build on linux/arm32 (attempt 3)
2024-08-08 11:46:30 +03:00
AlexPeshkoff
68a740e25a
Try to fix build on linux/arm32 (attempt 2)
2024-08-08 10:41:16 +03:00
AlexPeshkoff
4511be5f60
Try to fix build on linux/arm32
2024-08-08 08:49:42 +03:00
Adriano dos Santos Fernandes
7c1691bbeb
Switch Linux docker build from ubuntu to debian.
2024-04-18 22:04:22 -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
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
AlexPeshkoff
7870a3b513
Fixed minor "make clean" bug
2023-10-11 09:05:32 +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
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
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
AlexPeshkoff
c5df777d12
Misc
2023-09-07 19:40:31 +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
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
AlexPeshkoff
6707c7c2cc
POSIX-only fix for #7582 : Missing isc_info_end in Firebird.pas. Appropriate fix for windows build is needed.
continuous-integration/drone/push Build is passing
2023-05-17 19:10:49 +03:00
th1722
3a180120c4
fix macOS (Apple Silicon) build ( #7502 )
...
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
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
85b84da6df
Link with Android log library.
2023-02-04 18:32:54 -03:00
Piotr Kubaj
a6ab775f97
Add support for FreeBSD/powerpc
2022-12-22 10:40:37 +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
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
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
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
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
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
581795ed78
Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge
2022-08-10 22:26:38 -03:00
Jiaxun Yang
2284632207
Add linux/mips64el support
...
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2022-08-04 16:08:49 +03:00
Adriano dos Santos Fernandes
1f432c8f07
Merge pull request #7235 from FirebirdSQL/work/boost-test
...
Unit tests (start) with Boost.Test and build improvements
2022-08-02 20:41:13 -03:00
Adriano dos Santos Fernandes
30ff90bac1
Reference gds.cpp in src/yvalve.
2022-08-01 22:50:55 -03:00
Piotr Kubaj
9693120034
Add support for FreeBSD/powerpc64le
2022-07-29 20:20:19 +03:00