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

2609 Commits

Author SHA1 Message Date
hvlad
781b51fa0d Fix typo 2019-09-30 14:45:32 +03:00
Alexander Peshkov
861d536fc2
Int128 - new datatype (#220)
* Int128 support - work in progress

* Work in progress

* Int128 datatype appears to be mostly OK except sort & index

* Fixed divide scaling, added sorting & network (xdr) support

* Binding control, aggregate nodes, cleanup and documentation

* Fixed VS2017 AppVeyor build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Update MSVC build.

* Set VS architecture correctly

* Fixed a number of issues noticed by Mark
2019-09-16 20:59:54 +03:00
Adriano dos Santos Fernandes
e98188a96e Hope to fix VS 2015 build. 2019-09-07 10:05:25 -03:00
Adriano dos Santos Fernandes
0969fb70e8 Use -static-libstdc++ to avoid crashes. 2019-08-26 21:47:44 -03:00
Adriano dos Santos Fernandes
bb6e08c7d1 Misc. 2019-08-13 22:31:10 -03:00
Adriano dos Santos Fernandes
3d47c2224c Adjust posix build. 2019-08-13 22:14:58 -03:00
hvlad
100d7b07db It is not required to specify VS version 2019-08-13 01:05:50 +03:00
hvlad
f1964ffc5f 1. cmake supplied with VS 2017 doesn't support switch -B
2. Correct usage of target platform (Win32\x64)
2019-08-13 00:57:10 +03:00
hvlad
c5a211a33a Fixed typo 2019-08-12 20:57:07 +03:00
Adriano dos Santos Fernandes
4a1677750f Windows build adjustments. 2019-08-12 13:19:19 -03:00
Adriano dos Santos Fernandes
28e18749ff WIP: Reimplementation of SIMILAR TO and SUBSTRING...SIMILAR using Google's re2 library.
This should fix:
CORE-4874
CORE-5664
CORE-3858
CORE-6088
CORE-3773
CORE-5931
CORE-6088
CORE-4893
2019-08-10 22:39:19 -03:00
Artyom Smirnov
d7fc847bff Fix POSIX build (#211) 2019-07-03 13:18:30 +03:00
hvlad
4287e43291 Update Widows builds 2019-07-01 20:22:09 +03:00
hvlad
1791eb89df Update Widows builds 2019-06-28 19:35:51 +03:00
Alex Peshkoff
a021ed4418 Fixed CORE-6061: Building with --with-builtin-tommath doesn't work 2019-06-14 16:34:17 +03:00
Adriano dos Santos Fernandes
45d5e3aa7a
Refactor public include files (#205)
Refactor include files.
2019-06-03 11:45:00 -03:00
AlexPeshkoff
638c4a84d2 Fixed CORE-5888: Firebird server on Android has problem with numerics 2019-05-24 20:11:17 +03:00
AlexPeshkoff
249c64a74c Fixed android port - some android kernels accept only PIE binaries 2019-05-24 20:05:35 +03:00
Adriano dos Santos Fernandes
f6b1929f14 Fixed CORE-6065 - Windows kits does have incomplete include headers directory. 2019-05-19 12:31:07 -03:00
Adriano dos Santos Fernandes
4173806796
Windows build with msbuild to also work with VS Build Tools. (#195)
Do not call VS set env. script ourselves, but instead expected it to be already called by user.
2019-04-25 12:20:02 -03:00
Paul Reeves
b049c468cf Output correct log file name when empbuild fails. 2019-04-24 18:30:30 +02:00
AlexPeshkoff
38674688be Linux installer enhancements 2019-04-15 16:01:11 +03:00
hvlad
7ce2a344f0 Fixed bug CORE-6043 : GTTs do not release used space 2019-04-12 15:44:18 +03:00
AlexPeshkoff
84a682bf17 Fixed some gcc8 warnings - WiP 2019-03-18 20:10:48 +03:00
hvlad
6fb0cda616 Update MSVC15 project files to use latest SDK version 2019-02-21 11:54:11 +02:00
KarloX2
a0692f497c CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
renamed the new config setting
2019-02-20 18:13:07 +01:00
KarloX2
540c90546f CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option (Windows only) 2019-02-19 17:22:11 +01:00
dyemanov
818f12cf0f Fixed CRT libs distribution for MSVC17. 2019-02-16 11:05:40 +03:00
Paul Reeves
360c96cd6c Target and %PROCESSOR_ARCHITURE% are no longer synonymous in VS 2017. 2019-02-10 18:56:53 +01:00
Paul Reeves
f933376486 Comment out installation of deprecated udf libraries for FB4 2019-02-09 09:12:44 +01:00
Paul Reeves
bbbffb9e9f Upgrade installer to use runtimes for MSVC15 (VS 2017) 2019-02-09 09:11:56 +01:00
Paul Reeves
ae355bb048 Whitespace 2019-02-09 09:08:56 +01:00
Paul Reeves
f5b5021bb1 Upgrade installer to use runtimes for MSVC15 (VS 2017) 2019-02-09 09:04:35 +01:00
Paul Reeves
f4565169cc Misc code formatting changes 2019-02-08 21:48:29 +01:00
Paul Reeves
61138cf026 Use correct path to locate vcvarsall.bat when building with VS150COMNTOOOLS. 2019-02-08 21:41:56 +01:00
Paul Reeves
f1a6c63a73 Add files to build msi form msvc runtimes 2019-02-08 21:40:06 +01:00
AlexPeshkoff
faf87dd6ce Add v.4 upgrade script to linux binary package 2019-02-05 12:51:16 +03:00
hvlad
c967b43991 Update Windows build 2019-01-25 13:27:25 +02:00
AlexPeshkoff
4921f08031 Cleanup - do not create directory for UDF 2019-01-25 13:58:00 +03:00
AlexPeshkoff
b4d03d475b Added files to "clean" target 2019-01-25 13:58:00 +03:00
Dmitry Yemanov
932ca51574
Replication support (#182)
* Initial implementation of replication

* Postfixes for configuration and Windows builds

* Misc Windows adjustments

* Forgotten changes from prior commits

* Last round (fingers crossed) of fixing the Windows build

* Improve self-documentation

* Misc improvements

* Updates the docs

* More configuration

* Frontported some remaining pieces

* Installation post-fixes

* Special permission for replication
2019-01-25 12:09:01 +03:00
AlexPeshkoff
5da970b8c6 Cleaned up use of compiler flags in posix build 2019-01-11 20:12:37 +03:00
AlexPeshkoff
88d5b899e6 Fixed issue with wrong soname of libtommath 2019-01-11 20:12:37 +03:00
AlexPeshkoff
2279f67d74 Increase page cache for security DB - difference is negligible from RAM usage POV but reported to increase performance of security DB operations 2019-01-09 18:56:48 +03:00
Adriano dos Santos Fernandes
ee05dbf7b9 Merge branch 'work/time-zone-support-mon' 2018-12-29 15:38:22 -02:00
Adriano dos Santos Fernandes
3ca18c540c Add config. parameter DefaultTimeZone. 2018-12-28 15:52:39 -02:00
AlexPeshkoff
134abffbb1 Fixed CORE-5724: Add ability to use "install.sh -path /opt/my_path" without need to install FB first in the default folder ("/opt/firebird") 2018-12-26 17:19:10 +03:00
hvlad
0ea61c13f8 Rename setting: TpcBlockSize -> TipCacheBlockSize 2018-12-16 15:27:40 +02:00
AlexPeshkoff
49023ccee1 Fixed libtomcrypt installation 2018-12-07 11:17:06 +03:00
AlexPeshkoff
4a8fcb322f Next attempt to fix build with built-in tomcrypt 2018-12-07 11:17:06 +03:00
hvlad
fa5867a5cb Update MSVC12 build 2018-11-27 16:06:17 +02:00
Adriano dos Santos Fernandes
4f91424a51 VS 2017 build changes. 2018-11-13 16:38:40 -02:00
Adriano dos Santos Fernandes
de2ff27255 Work in progress to fix the Windows build. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
fda3d6cb55 Adding new files to MSVC14 projects. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e0450a79d9 Add encode/decode functions to IUtil and remove partially added legacy API functions. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
b11daa52cc Fixed Windows build. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
141f62611b Changing descriptors to store in memory date/time tz in UTC and usage of ICU for time zone regions.
This version is fixedly configured only with America/Sao_Paulo and America/Los_Angeles.
2018-11-12 13:18:00 -02:00
hvlad
573044fe88 Enable "Enhance Optimized Debugging" for MSVC14 and MSVC15 builds 2018-11-12 00:21:18 +02:00
hvlad
b0116d7177 Enable "Enhance Optimized Debugging" to produce more useful debug info (.pdb files) 2018-11-09 12:47:44 +02:00
AlexPeshkoff
ab31df2699 Add gcc's libatomic only when needed (this fixes snapshot builds broken in the beginning of August) 2018-09-23 16:14:23 +03:00
Vlad Khorsun
4ef89423dd MSVC15 (VS 2017) build 2018-09-02 16:02:58 +03:00
Adriano dos Santos Fernandes
980432a12a After usage of is_lock_free, Linux debug (at least with clang) build started failing. 2018-08-08 23:10:20 -03:00
Adriano dos Santos Fernandes
c5aea12432 Fix clang 6.0.0-1ubuntu2 build. 2018-08-06 13:03:31 -03:00
Adriano dos Santos Fernandes
a9983cf812 Make appveyor fail when build script fail and disable Visual Studio 2017 build. 2018-08-06 13:03:31 -03:00
hvlad
614ce5ccf8 Update MSVC builds 2018-08-06 15:09:15 +03:00
Adriano dos Santos Fernandes
a3e24613e8 Misc. 2018-08-05 22:39:28 -03:00
hvlad
ca71a54609 Merge branch 'master' into read_consistency 2018-07-16 16:16:22 +03:00
hvlad
aab7364129 Update documentation. 2018-07-03 15:34:22 +03:00
Alex Peshkoff
8a5b97db3c Applied CORE-5851 2018-06-21 17:39:44 +03:00
Alex Peshkoff
54bf8a3130 Postfix for CORE-5788, thanks to Mark 2018-06-21 17:22:21 +03:00
hvlad
0a2082628f Add sha2 into Windows builds (vc10, vc12 and vc14) 2018-06-21 16:16:31 +03:00
Alex Peshkoff
b9a93f5312 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:49:16 +03:00
hvlad
3e057e10ca Merge branch 'master' into read_consistency 2018-05-27 17:32:54 +03:00
hvlad
2930edb9c0
Merge branch 'master' into ExternalConnectionsPool 2018-05-25 13:42:38 +03:00
AlexPeshkoff
a545b78c36 Postfix for CORE-5791 - no GNU extensions in awk are actually needed 2018-04-12 16:28:13 +03:00
AlexPeshkoff
affb39894b Fixed CORE-5791: ODS for windows builds and linux-x64 (on the one side) and linux-x86 (on the other side) does not match 2018-04-11 20:17:45 +03:00
Artyom Smirnov
21b42b2e8f Allow to redirect server's stdout and stderr to file (#143)
Before these changes guardian and server binary closed
stdin/stdout/stderr/... and server can reuse those
descriptors when opening files or using shmem for
example. So some stray stdout can introduce
unwanted data or even crash server. Server do not
emit any stdout/stderr in release build but
UDRs or external libraries can print to stdout.

After these changes stdout/stderr will be kept opened
and user have options to redirect it to /dev/null (by default)
or other file by choise or just allow server to print.

New config option OutputRedirectionFile was introduced to
allow user control server behavior.
2018-03-21 14:47:20 +03:00
AlexPeshkoff
a27f4b8a5f Fixed CORE-5778: install.sh fails if -path argument contains "firebird" 2018-03-20 18:37:38 +03:00
hvlad
fdecfd1319 Merge branch 'master' into read_consistency 2018-02-20 13:50:04 +02:00
Alexander Peshkov
a6d57fc4d8
Gbak (#139)
* Rewritten gbak using OO API
* Make gbak correctly work with wide records (if record format to be made > 64K)
* Improve gbak performance over network using batch interface
* Enhanced template AutoPtr to make use of it more comfortable
2018-02-19 13:38:28 +03:00
AlexPeshkoff
95cd9d1908 Hopefully better test for ICU presence 2018-02-19 09:48:17 +03:00
Adriano dos Santos Fernandes
bee3105b47 Revert wrong push (branch gbak) to master. 2018-02-16 15:42:41 -02:00
AlexPeshkoff
54607bbce4 Build gbak using OO API 2018-02-16 13:06:16 -02:00
AlexPeshkoff
2703470749 Added check for presence of ICU when installing 2018-02-16 13:13:20 +03:00
Maciej S. Szmigiero
6c65ccfc8b ARM needs MSG_NOSIGNAL in FB_SEND_FLAGS, too (#140)
We need to add MSG_NOSIGNAL to FB_SEND_FLAGS for ARM, too, otherwise
clients get killed with SIGPIPE when server connection breaks, just like
commit 37bcd38740 did for other platforms.

Use this opportunity to also split out common build flags to COMMON_FLAGS
variable, as the above commit did.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2018-02-15 15:26:21 +03:00
AlexPeshkoff
9bb4ce764b Fixed cross build for android/arm 32-bit 2018-02-08 20:21:48 +03:00
AlexPeshkoff
854e1f5208 Android build - work in progress 2018-02-07 20:16:57 +03:00
AlexPeshkoff
a686559fba Fresh tools version 2018-02-07 19:11:42 +03:00
hvlad
f162f2336e Initial implementation of external connections pool 2018-02-06 12:52:00 +02:00
AlexPeshkoff
38fcc6e48e Enhanced docs 2018-01-29 19:45:32 +03:00
Dmitry Yemanov
eaa0df55cd CORE-5718: Make TempCacheLimit setting database-wise 2018-01-21 12:11:11 +03:00
hvlad
682bf54cd0 Update MSVC10 build.
Note: it can not compile some files which uses new C++ features, unfortunately.
2018-01-08 15:47:13 +02:00
hvlad
50a2905148 Merge branch 'master' into read_consistency
Fixed post-merge conflicts
2017-12-29 14:00:56 +02:00
hvlad
ccbf5c724a Merge branch 'master' into read_consistency 2017-12-29 10:55:31 +02:00
Egor Pugin
5e6135a959 Update and fix cmake build. 2017-12-02 19:40:30 +03:00
hvlad
9c83689981 Update MSVC14 build. 2017-11-10 13:00:01 +02:00
hvlad
c7d6c4f234 Update Windows build (CORE-5657)
MSVC12 only so far
2017-11-09 14:44:08 +02:00
b9c17656e9 Fixed CORE-5657: Various UDF-related security vulnerabilities 2017-11-09 13:15:00 +03:00
f418336819 Fixed CORE-5654: Mixed intermediate build files for plugins examples 2017-11-03 14:44:13 +03:00
005d1565fe This should fix VC10 build - thanks to Adriano 2017-10-23 17:23:53 +03:00
Alexander Peshkov
f53c23c17a New interface Batch helping to efficiently implement JDBC prepared statement batches (#99)
Batch interface implementation
2017-10-23 17:10:49 +03:00
hvlad
c83f7e535b Update MSVC14 build. 2017-10-13 15:16:08 +03:00
hvlad
0d11d6ecad Remove libtomcrypt files from common.
Integrate libtomcrypt in extern into Windows build.
2017-09-14 15:55:48 +03:00
Adriano dos Santos Fernandes
98702b9cda Make posix build use libtomcrypt from extern or system. 2017-09-06 16:35:40 +00:00
Paul Reeves
9fbb7fcb07 Tidy up packaging for windows.
Improve detection of missing components and halt packaging on error.
2017-09-01 15:34:13 +02:00
Paul Reeves
e8323305bf Port misc windows packaging features from B3_0_Release 2017-08-29 12:23:47 +02:00
Paul Reeves
865176380f misc 2017-08-29 12:20:31 +02:00
Paul Reeves
8e58be5b80 port cz install readme from B3_0_Release 2017-08-29 12:20:00 +02:00
Paul Reeves
837ee4b5f8 port i18n installer messages from B3_0_Release 2017-08-29 12:18:32 +02:00
Paul Reeves
84dd61e41b port i18n installer messages from B3_0_Release 2017-08-29 12:17:30 +02:00
Paul Reeves
0225dfbb35 Tidy up readme for alpha/beta test releases 2017-08-29 12:16:50 +02:00
Paul Reeves
3d12fc329e port i18n installer messages from B3_0_Release 2017-08-29 12:14:32 +02:00
Paul Reeves
954d40e87a Include the include/firebird directory in the kits 2017-08-28 12:45:43 +02:00
Paul Reeves
6c58449aaf Make necessary installer changes for Fb 4.0 Alpha 1 release 2017-08-23 16:44:58 +02:00
Paul Reeves
d62a074050 Make actual deployed windows readme file dependant upon DEV or PROD status. 2017-08-23 16:44:18 +02:00
Paul Reeves
96c1bb84bd Add wix config files to build msvc runtimes for Fb4.0 2017-08-23 16:38:21 +02:00
Paul Reeves
53e9f73c57 Merge branch 'master' of https://github.com/FirebirdSQL/firebird 2017-08-23 16:30:54 +02:00
Dmitry Yemanov
025c66c8f9 Misc version adjustments 2017-08-09 12:44:30 +03:00
hvlad
eae0a1d62f Merge branch 'master' into read_consistency 2017-08-08 12:16:18 +03:00
e131cb3eda Implemented CORE-5238: Replace xinetd support with the native listener 2017-08-04 18:08:00 +03:00
hvlad
a6633a01e6 Fixed typo 2017-07-27 14:24:42 +03:00
hvlad
3b14537956 Adjust Windows build 2017-07-24 18:52:57 +03:00
Adriano dos Santos Fernandes
ca33f71291 Added src/common/tomcrypt to POSIX build. 2017-07-24 12:07:07 +00:00
samofatov
e26a4e544c Fix make clean - make install now works again after make clean (#97) 2017-07-19 17:33:10 +03:00
hvlad
bdc7bd8d3e Merge branch 'master' into read_consistency 2017-07-10 23:54:42 +03:00
Paul Reeves
ba481987b1 Catch error and fail the build if udrcpp_example fails. 2017-07-04 16:51:33 +02:00
Adriano dos Santos Fernandes
50b959d04e Set writable permission for employee.fdb in the Linux install, otherwise it's unusable. 2017-06-07 16:40:59 +00:00
Bernhard M. Wiedemann
3278b68b35 have constant link order (#92)
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

Without this patch g++ would order functions in libEngine12.so and fbintl
depending on random order of files in the build system's filesystem.

partial fix for http://tracker.firebirdsql.org/browse/CORE-5548
2017-05-22 17:36:06 +03:00
nikolay.samofatov
e31dec1a44 Fix comment 2017-04-03 16:08:10 +03:00
hvlad
2a2a991fe0 Merge branch 'master' into read_consistency 2017-04-03 12:01:56 +03:00
f995ed4408 Merges changes from master 2017-04-02 19:12:18 +03:00
a0d9690d1c Fixed typo 2017-03-21 12:36:18 +03:00
1e8833ed7a misc 2017-03-21 12:35:12 +03:00
ab2e4ea31b Completed renaming parameter from CORE-5472 2017-03-16 16:16:17 +03:00
114885eecc Fixed CORE-5503: Classical server has a maximum of 64 connections when using systemd init scripts 2017-03-16 13:16:13 +03:00
b926d32a1c Suggested by Michal fix 2017-02-22 17:32:30 +03:00
hvlad
2c49e6fcf2 New feature CORE-5488 : Timeouts for running SQL statements and idle connections 2017-02-22 14:30:57 +02:00
028248b194 Merged changes from master branch 2017-02-16 17:56:23 +03:00
hvlad
aff780ca94 Merge branch 'master' into read_consistency 2017-01-31 23:59:31 +02:00
4da3997b49 Fixed CORE-5472: Problems with dbcrypt key transfer 2017-01-31 17:38:53 +03:00
Adriano dos Santos Fernandes
7fadd8e9f9 Make parse.y not build in every make call. 2017-01-30 23:15:52 -02:00
Maciej S. Szmigiero
d5146be51e Don't use libintl.so SONAME for libfbintl.so (#74)
POSIX build by default uses libintl.so.1 SONAME for libfbintl.so.1.
This means that on Linux ldconfig will make libintl.so.1 symlink to
libfbintl.so.1.
However, actual libintl is a very different library, incompatible with
libfbintl.
This breaks other software which tries to link to libintl.

Fix it by making libfbintl SONAME match its actual name.
2017-01-09 15:23:04 +04:00
Adriano dos Santos Fernandes
b8e9675b75 Restored the line removal which leaves temporary files in Windows. 2017-01-05 15:32:15 -02:00
94bdb099b5 This should fix bug reported by Gabor: ./install.sh: 1570: [: /opt/firebird: unexpected operator 2016-12-27 16:27:35 +03:00
hvlad
16a276089b Support for VC 2013 (MSVC12) 2016-12-01 13:13:25 +02:00
383c511cfc Postfix for CORE-5204 2016-11-21 18:23:18 +03:00
f1cf5cc278 make clean in extern/decNumber 2016-11-15 14:17:56 +03:00
5aede150e3 Decimal floating point numbers - first draft 2016-11-11 17:59:55 +03:00
Popa Marius Adrian
8e02445260 Fix android include paths related to c++11 (#62)
* Fix android include paths for c++11

* Fixed android arm 32 build
2016-11-06 11:36:02 +03:00
Popa Marius Adrian
a7eb6ef195 Create android x86/arm64/x86_64 scripts and ports (master pull request) (#60)
* add android.arm64 cross file

* add android arm64 makefile

* Deprecated in android-2x

* Add Android x86_64 cross and makefile

* Add Android x86 32bit makefile and cross

* Add CXXFLAGS -std=c++11 to android builds also
2016-10-28 14:39:13 +03:00