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

2884 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
dd70263c99 Avoid wipe out others path because of spaces in path. 2021-09-07 14:16:36 -03:00
Adriano dos Santos Fernandes
b32f96f2a9 Feature #6815 - Support multiple rows for DML RETURNING. 2021-08-25 14:56:20 -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
Adriano dos Santos Fernandes
c16a3cf571 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -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
39afbeb7f1 Remove old MSVC projects. 2021-06-08 14:59:39 -03:00
Adriano dos Santos Fernandes
936e045d50 Set POSIX build to use C++17. 2021-06-08 14:59:02 -03:00
Adriano dos Santos Fernandes
01d4995fd7 Set VS build to use C++17. 2021-06-08 14:59: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
Adriano dos Santos Fernandes
4ab967b73f
Replace old SQLDA/SQLVAR by XSQLDA/XSQLVAR. (#6820) 2021-05-25 16:26:13 -03:00
Adriano dos Santos Fernandes
5ddf2bfca7
Cleanup obsolete and generated Fortran files. (#6819) 2021-05-25 16:24:35 -03:00
Paul Reeves
c336cf4079 Remove unnecessary (and incorrect) code to copy the boost folder 2021-05-22 12:27:22 +02:00
AlexPeshkoff
0397853401 Next attempt to better detect default libdir 2021-05-20 16:39:51 +03:00
AlexPeshkoff
e4fbeb5bb8 New method to define default lib directory 2021-05-20 15:57:50 +03:00
Adriano dos Santos Fernandes
3ccba197da
Feature CORE-6482 - System table with keywords. (#310)
Feature CORE-6482 - System table with keywords.
2021-05-17 14:13:53 -03:00
Adriano dos Santos Fernandes
c5c8e5f1b1 Improve firebird.conf comments for #6800. 2021-05-10 10:55:53 -03:00
Adriano dos Santos Fernandes
60c906a6ee Misc - remove trailing spaces. 2021-05-10 10:55:13 -03:00
Dmitry Yemanov
340bd02363 Renamed replication 'log' to 'journal' 2021-05-04 20:37:49 +03:00
AlexPeshkoff
1a5535a9f1 Resolved #6780: added post-install script for Android to create architecture-specific files after cross build 2021-04-27 18:24:10 +03:00
Vlad Khorsun
4f42e155d1
Merge pull request #311 from FirebirdSQL/TempTableDirectory
Temp table directory
2021-04-20 14:17:03 +03:00
AlexPeshkoff
08a0bf6769 Postfix for CORE-6006 2021-04-13 15:50:40 +03:00
AlexPeshkoff
1fbc1d0996 Fixed CORE-6516: Protect included tomcrypt library from being overwritten by system package 2021-03-16 20:06:52 +03:00
AlexPeshkoff
96b134a718 Front-ported MacOS related changes from FB3 2021-03-02 19:08:42 +03:00
hvlad
f2805020a6 New setting TempTableDirectory.
Used to set directory where engine should put data of temporary tables and temporary blobs.
2021-02-10 12:42:09 +02:00
AlexPeshkoff
ecb17cef2a Android port, both armv7a & aarch64 2021-02-05 21:06:20 +03:00
169ae3104a Be sure to include the upgrade scripts for Fb 3 and FB 4 from the misc dir.
Keep the version names. Sub-dir v3.0 was previously renamed to security for deployment on windows.
2021-02-01 16:21:32 +01:00
d3585454b9 Do not let missing FB4 QSG break the packaging of RC1. 2021-02-01 16:20:07 +01:00
8c64f4c9ce Be sure to include the upgrade scripts for Fb 3 and FB 4 from the misc dir.
Keep the version names. Sub-dir v3.0 was previously renamed to security for deployment on windows.
2021-02-01 16:18:04 +01:00
03395fafb1 Do not let BuildExecutableInstall fail silently if an error has occurred. 2021-02-01 16:14:26 +01:00
AlexPeshkoff
9159861fe1 Doc fix 2021-01-22 13:22:56 +03:00
Paul Reeves
3f8e21d679 Add fbit - the firebird binary test_installer. This is for internal testing of the firebird binary install kits. 2021-01-19 15:30:00 +01:00
Paul Reeves
00d6f8f0e1 Remove obsolete [messages] section 2021-01-19 15:26:54 +01:00
Paul Reeves
33bdf6beb6 Comment out Bosnian as a language option at install time because Bosnian is not currently supported up stream by InnoSetup :-( 2021-01-19 15:26:15 +01:00
Paul Reeves
cecd298918 Replace hard-coded minimum windows version strings with MINVER define 2021-01-19 15:24:21 +01:00
Paul Reeves
b1c660910d Update InnoSetup script to latest version (6.1.2) and document effect on the minimum version of windows that is now supported by the binary installer. 2021-01-19 15:20:44 +01:00
Paul Reeves
f7d2f58847 Silence unnecessary warning 2021-01-19 15:16:52 +01:00
Paul Reeves
034c5a14d6 Use underscore consistently in setting FBBUILD_FILE_ID 2021-01-19 15:16:32 +01:00
AlexPeshkoff
6b851de60b Android build completes successfully with NDK r21b and gmake 4.3 2021-01-07 18:06:58 +03:00
Paul Reeves
e5435f65d2 Simplify the innosetup section for the examples directory - if we want to exclude any examples we should do it in make_examples.bat instead of during packaging. 2021-01-04 15:10:28 +01:00
Paul Reeves
c8748ab99e use correct wildcard for zip pack. *.* excluded files without a file extension. 2021-01-04 15:05:34 +01:00
AlexPeshkoff
108587661c Warnings 2020-12-30 12:51:53 +03:00
Dmitry Yemanov
8e692d2374 Frontported sorting improvement from RedDb/HQbird, this also resolves CORE-2650 2020-12-17 11:09:50 +03:00
Vlad Khorsun
95f96a18f6
Merge pull request #295 from FirebirdSQL/config
Config
2020-11-12 22:33:18 +02:00
hvlad
afe101eff5 Update MSVC12 and MSVC14 builds. 2020-11-11 19:19:18 +02:00
hvlad
0746ba3466 Some renaming and other misc changes, as suggested by Dmitry.
Added documentation of new setting into firebird.conf.
Show default value for WireCrypt setting from server side view.
Fixed assert pointed by Alex.
2020-10-27 16:27:05 +02:00
Paul Reeves
8a7357d20f CORE-6424 - Be sure to fail the build process if the employee database cannot be copied to the output directory for packaging. 2020-10-21 10:36:45 +02:00
hvlad
7e61b9f698 Reworked Config: correct work with 64-bit integer in 32-bit code, refactor config values checks and defaults,
remove some type casts.
Introduce new virtual table RDB$CONFIG.
Implement CORE-6332 : Get rid of FileSystemCacheThreshold parameter
  new boolean setting UseFileSystemCache overrides legacy FileSystemCacheThreshold,
  FileSystemCacheThreshold will be removed in the next major Firebird release.
2020-10-13 15:20:13 +03:00
AlexPeshkoff
5e2ee2e27c Implemented CORE-6413: Remove PIDFile/-pidfile directive/option from firebird Super(Server/Classic) systemd unit 2020-10-08 16:03:17 +03:00
faserg1
91140c0095 Fixing uncreated directories for tzdata 2020-10-07 16:20:24 -03:00
Dmitry Yemanov
a2e08294bc Fixed some errors, changed the logic slightly 2020-09-22 15:41:15 +03:00
1677359553
Replication plug (#280)
* Support for replication plugins + sample plugin
* Renamed TDBB flag
* Configurable replication errors handling
* Commit in two phases
* Move call to dispose() out of commit/rollback for code simplification
* A comment and manual fix for constant wrongly generated by CLOOP
* Log replication warnings as well
2020-09-18 11:45:51 +03:00
hvlad
572348cae0 Lets build CLOOP using same make file that generates interface files.
It allows to avoid binding to the particular MSVC compiler version.
Undo most of the changes in cloop.vcxproj to restore ability to use MSVC older than v2017.
2020-09-03 11:40:33 +03:00
cb21d4365d Include CLOOP build and interfaces generation to Windows build 2020-08-28 17:53:35 +02:00
86f17fd7c9 employe2.sql is used by two api examples and one gpre example.
It seems to have got lost in a cleanup a long time ago.
2020-08-17 17:03:22 +02:00
Adriano dos Santos Fernandes
8132256a3a Export functions fb_get_transaction_interface and fb_get_statement_interface in fbclient.dll. 2020-07-23 13:22:38 -03:00
AlexPeshkoff
acff3adc79 Implemented CORE-6366: Check presence of tomcrypt & curses libraries before installing firebird 2020-07-16 20:03:07 +03:00
AlexPeshkoff
8c1ef78fcf Avoid unneeded dependencies from termcap/curses library 2020-07-16 18:32:44 +03:00
Alexander Peshkov
cb6fee68eb
Small meta name (#271)
Keep metadata name strings in hash table having just a pointer to a hash table member in all places where metadata name is needed in order to save RAM. Hash table of metadata names is almost lock-less: mutex is used only when new segment of memory is needed or hash table should be grown.

Co-authored-by: hvlad <hvlad@users.sourceforge.net>
2020-06-16 19:22:15 +03:00
Alex Peshkoff
a9cef6d9ae Implemented CORE-6320: Replace Util methods to get interface pointer by legacy handle with plain functions 2020-05-29 15:44:54 +03:00
Adriano dos Santos Fernandes
6a54cfd200
Fix run_all.bat NOCLEAN. 2020-05-26 22:31:28 -03:00
hvlad
5ad667c195 Added simple ITimer implementation, independent of system time changes. 2020-05-19 17:06:32 +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
Paul Reeves
08f953ebfb Be sure to include all the latest additions to the examples directory. 2020-05-13 17:56:06 +02:00
Paul Reeves
60db0feed9 Do not allow a packaging warning to return an error. This needs to be reviewed.
Exclude wixpdb file from zip kits
2020-05-13 17:56:06 +02:00
AlexPeshkoff
cbf8e9a030 Additional check in installer for correct CWD - specially for P.Zotov 2020-05-13 13:38:04 +03:00
Paul Reeves
2af22cbb7b Resolve CORE-6011 - Remove option to support addition of legacy_auth from windows installer. 2020-05-13 11:30:49 +02:00
Dmitry Yemanov
a3bb11e933 Misc 2020-05-12 16:07:34 +03:00
Adriano dos Santos Fernandes
cec0c6ff3a Add tzdata to MacOS package. 2020-05-08 13:36:11 -03:00
hvlad
425eb5c6a4 Renamed exauth sample plugins\app.
Windows build for dbcrypt sample plugins\app.
Fixed dbcrypt sample app to compile on Windows.
make_examples.bat updated.
2020-05-07 18:41:27 +03:00
AlexPeshkoff
0839d1c200 Reflect changed sample plugin names in posix built&install scripts 2020-05-07 13:22:19 +03:00
Adriano dos Santos Fernandes
f440a7d77c
Added tzdata directory to Linux install and allow to configure its default location in build time (#267)
* Added tzdata directory to Linux install and allow to configure its default location in build time.
2020-04-30 12:36:23 -03:00
Paul Reeves
63fae7cabb Don't allow installation of the msvc runtims to force a restart 2020-04-30 13:20:01 +02:00
Paul Reeves
5f727d31f2 Revert "Be sure to package .md filetypes with a .txt extension. Windows does not seem to have a native reader for this type."
This reverts commit 2b18b0e82a.
2020-04-29 10:30:23 +02:00
Dmitry Yemanov
87c499ad36 Added the forgotten config option 2020-04-28 18:27:03 +03:00
Paul Reeves
49bf80035e Include sub-dirs added since beta 1 2020-04-28 16:32:29 +02:00
Paul Reeves
e7e83a4024 whitespace 2020-04-28 16:31:26 +02:00
Paul Reeves
2b18b0e82a Be sure to package .md filetypes with a .txt extension. Windows does not seem to have a native reader for this type. 2020-04-28 16:29:11 +02:00
Paul Reeves
52a8d42a99 Upgrade to v6 of the InnoSetup installer. 2020-04-28 16:25:29 +02:00
Paul Reeves
23dcc30058 Remove some InnoSetup compiler warnings 2020-04-28 16:14:41 +02:00
Paul Reeves
bfe66caabe Be sure to fail windows packaging if firebird.pas not found. 2020-04-27 16:21:57 +02:00
Paul Reeves
9b3644515a Be sure to call SETVCENV first as even REPACK depends upon setting VC env correctly 2020-04-24 16:19:57 +02:00
AlexPeshkoff
b83f4b10f5 misc 2020-04-23 23:46:02 +03:00
AlexPeshkoff
9722a77be4 Updated gentoo init.d script to make it match current OS requirements 2020-04-23 23:36:55 +03:00
AlexPeshkoff
a3ca34253d Moved less-specific test down to the end of list, should help with distro detection on elbrus linux 2020-04-23 20:09:03 +03:00
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
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
Adriano dos Santos Fernandes
6b18b2e6d4 Correction - thanks to Alex. 2016-10-26 16:30:52 -02:00
Adriano dos Santos Fernandes
475da71917 Added conflict number information from btyacc to the source tree to be noticed after parser changes. It exploded recently more or less unnoticed. 2016-10-26 14:31:37 -02:00
4c28eac6f5 Postfix #3 for CORE-5204 - fixed install on systemd-based linux 2016-10-22 00:01:26 +03:00
John Paul Adrian Glaubitz
7ba46163c7 Add platform support for Linux/m68k (#51)
* Add generic platform support for Linux/m68k

* Include sem_t when determining values for FB_ALIGNMENT and FB_DOUBLE_ALIGN

On m68k, 'long long' is 16-bit aligned while 'sem_t' is 32-bit aligned
and we must therefore include 'sem_t' when determining the values for
FB_ALIGNMENT and FB_DOUBLE_ALIGN. Otherwise, the futex system call
will fail on these systems.

* Don't try to include headers for __cpuid on non-x86 targets

* Make sure that the version scripts include _IO_stdin_used on Linux

The GNU C library supports two ABIs for libio, one is the pre-2.1
ABI and the other is the current one. In order to determine which
ABI is to be used, the C library checks whether the _IO_stdin_used
symbol is exported by the executable. In case the symbol is present,
the new ABI is assumed, if the symbol is missing, the old ABI is
assumed. Thus, if an application is linked against a modern version
of glibc, it must export the _IO_stdin_used symbol as otherwise the
executable can crash or provoke other unexpected behavior on some
architectures like PowerPC or MIPS because the C library is using
the old ABI in this case.
2016-10-14 13:12:09 +03:00
Adriano dos Santos Fernandes
f864a6d68a Removed all KW_ prefixes from parse.y and adds by script TOK_ prefix to all #define tokens generated by btyacc.
This change is done because using strongly-typed C++11 enums, prefixes are removed from enum items
(as they're scoped) and that has a big tendency to clash with generated parser defines.

Windows build untested.
2016-09-23 15:12:13 -03:00
Adriano dos Santos Fernandes
c6d9135586 Merge pull request #48 from FirebirdSQL/work/c++11
Use restricted list of C++11 features
2016-09-22 11:56:42 -03:00
6d7e4d91a6 Postfix for CORE-5204: take into an account --enable-binreloc flag 2016-09-16 14:01:44 +03:00
b994354b9c Postfix for CORE-5204: fixed typo 2016-09-15 15:33:36 +03:00
1d2990f7e8 Implemented CORE-5204: create an option in the installer to install in different locations than /opt/firebird 2016-09-15 15:21:54 +03:00
Adriano dos Santos Fernandes
62d2a001f8 Merge remote-tracking branch 'origin/master' into work/c++11 2016-09-10 14:18:27 -03:00
87b24ebe3f Comment 2016-09-07 21:45:20 +03:00
hvlad
b12869f23b Fixed bug CORE-5348 : Databases created at build process are owned by Windows administrator, not SYSDBA 2016-09-07 13:21:56 +03:00
Adriano dos Santos Fernandes
2f3dc8bca8 Added -std=c++11 flag to Linux builds. 2016-09-01 22:40:36 -03:00
44e97a7a73 Fixed CORE-5284: Firebird fails to build with USE_VALGRIND 2016-07-11 12:09:57 +03:00
b247a5c0c0 Changed on Helen's request 2016-07-05 12:50:25 +03:00
hvlad
79542dfe66 Misc 2016-06-22 23:43:08 +03:00
hvlad
168eaf39c7 More VC files to ignore 2016-06-18 09:55:25 +03:00
Adriano dos Santos Fernandes
91a2a3c78f Complements CORE-749 with configuration options. 2016-06-14 17:05:36 +00:00
224c7011d7 Committed patch for CORE-5265 2016-06-09 18:08:56 +03:00
Dmitry Yemanov
f07281c9af Adjust library name to match the new ODS version. 2016-06-01 11:40:49 +03:00
Dmitry Yemanov
0c277723fb Drop support for some old MSVC versions. 2016-05-31 20:30:54 +03:00
Dmitry Starodubov
6347882209 Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" (#30) 2016-05-30 17:50:02 +03:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
hvlad
8f311f3c27 Merge branch 'master' into read_consistency
# Conflicts:
#	src/include/fb_types.h
#	src/jrd/Database.cpp
#	src/jrd/tpc.cpp
#	src/jrd/tra.cpp
#	src/jrd/vio_proto.h
2016-05-21 21:17:31 +03:00
hvlad
c95aaf9300 Place expression index support routines where it should be.
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 14:03:01 +03:00