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

2647 Commits

Author SHA1 Message Date
Paul Reeves
6648b512cc Add option to pass REALCLEAN to run_all.bat 2020-04-22 16:08:47 +02:00
Paul Reeves
cf2612a699 Setup vc environment for run_all script 2020-04-22 16:07:32 +02:00
Paul Reeves
64632adca5 Even more thorough cleaning - Add option to pass REALCLEAN to clean_all.bat to clean up files shared by win32 and x64 builds 2020-04-22 16:04:00 +02:00
Paul Reeves
69bb7aca0a Be sure to include /extern in the cleaning process 2020-04-22 15:57:32 +02:00
Paul Reeves
6da5d068f2 Throw an error if re2 fails to build 2020-04-22 15:41:11 +02:00
Dmitry Yemanov
0cc87ef415 Cleanup 2020-04-21 19:36:43 +03:00
AlexPeshkoff
1b6b717f78 Place precompiled samples of plugins into binary package according to new rules 2020-04-21 18:58:37 +03:00
Adriano dos Santos Fernandes
3dde086c3d Fix Linux build. 2020-04-18 23:11:08 -03:00
Adriano dos Santos Fernandes
476a54bc8a Cleanup: remove trailing spaces. 2020-04-18 23:10:09 -03:00
hvlad
34ad4218ef Avoid creating folders for the build logs of misc libraries 2020-04-18 19:31:13 +03:00
hvlad
c091605bea Add pre-built binaries of ExtAuth plugin (\examples\prebuilt\plugins)
and its keygen (\examples\prebuilt\bin).
2020-04-18 19:30:01 +03:00
Adriano dos Santos Fernandes
9921988470
Correction. 2020-04-17 14:22:07 -03:00
Dmitry Yemanov
9d616b9017 Cleanup 2020-04-17 19:18:38 +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
d0add7d82c Shrink MacOS pkg size not including three copies of each ICU library. 2020-03-02 08:20:17 -03:00
AlexPeshkoff
de498a38bc Avoid annoying error in release build 2020-02-18 20:17:50 +03:00
Adriano dos Santos Fernandes
19713e7615 Unzip tzdata with unzip utility in Windows. 2020-02-12 13:02:30 -03:00
AlexPeshkoff
57e7035411 Added a sample of authentication plugin based on shared secret key 2020-02-07 20:36:20 +03:00
hvlad
4436a189f6 Update Windows build 2020-01-31 14:32:56 +02:00
AlexPeshkoff
95163e7455 Fixed CORE-6237: Performance issue - security database connections cache in SRP plugin 2020-01-24 19:02:52 +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
AlexPeshkoff
d8be3d534f Add chacha to default config and use it when available. Clients, missing required plugin, will continue using rc4. 2020-01-20 19:20:01 +03:00
55ef2beb20 firebird.conf and databases.conf without .in suffix 2020-01-16 13:41:34 +03:00
9164797892 Refined Windows package creation (#251) 2020-01-15 16:50:18 +03:00
5e525588bf Use static_assert to check ODS layout (#234) 2020-01-14 19:49:43 +03:00
Adriano dos Santos Fernandes
64ecbd8dd2 CORE-6214 - Update outdated tzdata version.
Added documentation and script for update.

zipjs.bat is downloaded from https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/zipjs.bat
2020-01-14 12:41:15 -03:00
Vlad Khorsun
6e8b9663e7
Windows file description (#245)
* Let's use something meaningful at version info's "File Description" field.
Move common resource compiler settings from project files to the property sheets.

* Update VC14 projects

* Update VC12 projects

* Update VC10 projects

* Adjust descriptions as Dmitry suggested
2019-12-24 18:50:56 +02:00
Alexander Peshkov
4ea61ec05b
Wire encryption plugin using chacha cypher (#244)
* Added wire crypt plugin using ChaCha cipher
Co-authored-by: Vlad Khorsun <hvlad@users.sourceforge.net>
2019-12-24 11:16:59 +03:00
hvlad
9cf48629e1 Update Windows build 2019-12-06 18:35:43 +03:00
AlexPeshkoff
be6c4c2d28 Documentation, firebird.conf 2019-12-06 18:35:43 +03:00
Adriano dos Santos Fernandes
2e8060f081 Frontport changes for MacOS build. 2019-12-03 21:57:12 -03:00
Adriano dos Santos Fernandes
de57ae7f5e Fixes for MacOS build. 2019-12-01 10:37:05 -03:00
AlexPeshkoff
f9d2dcb56a Added cloop-generated file to clean target 2019-11-29 20:03:56 +03:00
Adriano dos Santos Fernandes
ee143e06c4 Hope it fixes CORE-6174: ibase.h missing from nightly (Windows) builds. 2019-11-01 13:04:21 -03:00
35e479b9b0 Fix Windows build in path with spaces. Update ignore lists (#228) 2019-10-28 14:50:10 -03:00
AlexPeshkoff
bf51db842e Comment 2019-10-25 13:22:46 +03:00
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