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
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