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

108 Commits

Author SHA1 Message Date
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
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
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
Dmitry Yemanov
875f0a25a3 New release version in scripts 2023-09-17 18:29:37 +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.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 19:10:49 +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
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
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
a47a1699af Allow to build using prefixed toolchain (configure --host). 2022-09-25 11:21:23 -03:00
Adriano dos Santos Fernandes
5860d73ca7 Add tzdata to Android packages. 2022-09-07 10:03:02 -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
Adriano dos Santos Fernandes
30ff90bac1 Reference gds.cpp in src/yvalve. 2022-08-01 22:50:55 -03:00
Adriano dos Santos Fernandes
637c92403b Build and use static libc++ in MacOS.
We are already using static libstdc++ in Linux due to a problem
now appearing in MacOS when using Boost.Test.

When shared C++ library (with C++ interface) is used and
executable does not export its new/delete operators, a situation
of one program/library allocating objects with "new" operator
and another program/library deallocating them with "delete"
operator makes program to crash.

We haven't yet seen these crashes in Windows, even using
Boost.Test. That may be pure luck or because Microsoft std C++
library is coded in a way that makes it not happen.
2022-07-20 23:00:44 -03:00
Adriano dos Santos Fernandes
76dbad5002 Add test framework in engine library. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
bb5a1e0149 Add test framework in common library. 2022-07-18 08:16:15 -03:00
Adriano dos Santos Fernandes
2f503f2e2d Profiler. 2021-12-23 15:08:04 -03:00
Adriano dos Santos Fernandes
d2ba43ad25 Add rpath to empbuild in MacOS. 2021-12-17 09:25:09 -03:00
Adriano dos Santos Fernandes
59f0d23c26 Postfix for #7037 for MacOS. 2021-11-02 17:04:14 -03:00
Adriano dos Santos Fernandes
94479776de Fix #7037 - Build problem when using both --with-builtin-tommath and --with-builtin-tomcrypt. 2021-11-02 16:32:39 -03:00
real-dam
da33c229ab
use be.zip for timezone data source on big-endian platforms (#7030)
resolves "FIXME: For big-endian, be.zip must be used" in Makefile.in

the configure.ac usage of AC_C_BIGENDIAN is expanded so apart from
defining `WORDS_BIGENDIAN` on big-endian platforms, it also defines
`TZDATA_ZIP` to be `be.zip` or `le.zip` and that substitution is used later
in the makefiles

my initial attempt was to use the result of the plain `AC_C_BIGENDIAN`
check, but that is not propagated to the makefiles, just to `autoconf.h`
2021-10-29 08:08:25 -03:00
Adriano dos Santos Fernandes
46616c6f4f Change absl build after #6970. 2021-09-27 16:24:26 -03:00
Adriano dos Santos Fernandes
0cec1e65d6
Improve build of external projects using same tools and flags specified by user. (#6970)
When using different tools in configure (CC= CXX=) these tools were not passed
to external projects, making them using different tools.
2021-09-27 15:40:42 -03:00
AlexPeshkoff
cc1950a156 Fix for #6978: FB4 build fails on big endian 2021-09-22 13:11:49 +03:00
real-dam
615c034957
add --with-system-boost configure option for using system-wide boost headers (#6972) 2021-09-17 09:19:53 -03:00
Adriano dos Santos Fernandes
ee088c22e3
Rework messages processing, simplifying the build and avoiding store generated files in git. (#6958) 2021-09-15 08:37:17 -03:00
real-dam
f6cb4a7aa9
add --with-system-re2 configure option for using system-wide libre2 (#6964) 2021-09-14 08:08:46 -03:00
Adriano dos Santos Fernandes
c46f6cd344 Fix problem happening when epp file is modified after initial build.
Problem introduced with QLI removal.
2021-07-25 17:09:40 -03:00
AlexPeshkoff
11f69dee65 Avoid any files in gen after 'make clean_all' 2021-07-01 15:34:13 +03:00
Adriano dos Santos Fernandes
184bab6083 Do not remove versioned filed with make clean. 2021-06-21 14:15:02 -03:00
Adriano dos Santos Fernandes
010c3a8bd5
Remove QLI. (#6840) 2021-06-08 10:31:18 -03:00
Dmitry Yemanov
eac0f27e12 Renamed the package and the security database to v5 2021-05-31 14:36:48 +03:00
AlexPeshkoff
6b851de60b Android build completes successfully with NDK r21b and gmake 4.3 2021-01-07 18:06:58 +03:00
faserg1
91140c0095 Fixing uncreated directories for tzdata 2020-10-07 16:20:24 -03:00
AlexPeshkoff
8c1ef78fcf Avoid unneeded dependencies from termcap/curses library 2020-07-16 18:32:44 +03:00
AlexPeshkoff
a94107e410 Fixes for Android port 2020-05-18 16:30:12 +03:00
AlexPeshkoff
30784c1db2 Fixed CORE-6305: Android port build failure 2020-05-15 18:03:52 +03:00
AlexPeshkoff
2d8ebe0395 Partial fix for CORE-6157: Firebird.pas : avoid use of awk and grep to build target 2020-04-10 16:19:09 +03:00
AlexPeshkoff
77437e443b Applied freebsd-related changes from PR#72 2020-04-09 17:18:41 +03:00
Adriano dos Santos Fernandes
4b6eaa57c3 Move tzdata to extern/icu. 2020-01-21 12:57:31 -03:00
5d1bcc284c Generate ids.h without m4 2020-01-21 13:14:21 +03:00