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

1259 Commits

Author SHA1 Message Date
Vlad Khorsun
68a2f201f2 Moved ttmathuint_x86_64_msvc.obj from common (%FB_TEMP_DIR%\..\%FB_OBJ_DIR%\common) into dedicated folder (%FB_ROOT_PATH%\extern\ttmath\%FB_CONFIG%).
It allows to not call make_boot after cleaning up of "common" project.
2022-08-14 12:25:17 +03:00
Adriano dos Santos Fernandes
bffb43da9f Change OutDir configuration for default_profiler project. 2022-08-12 08:08:43 -03:00
Adriano dos Santos Fernandes
d4bd604b05 Separate debug/release output in different directories. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
780085554e Improve Windows build speed not building both release and debug external libraries. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
a7b7955503 Improve Windows build process making it generating public files directly in the output directory. 2022-08-12 08:04:49 -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
1f432c8f07
Merge pull request #7235 from FirebirdSQL/work/boost-test
Unit tests (start) with Boost.Test and build improvements
2022-08-02 20:41:13 -03:00
Adriano dos Santos Fernandes
30ff90bac1 Reference gds.cpp in src/yvalve. 2022-08-01 22:50:55 -03:00
e71b388896 Add option to prepare a zipped snapshot kit directly from run_all.bat 2022-07-25 12:16:28 +02:00
Adriano dos Santos Fernandes
28058cf464 Revert "Move gds.cpp to common."
This reverts commit f296f44ef6.
2022-07-21 08:17:02 -03:00
Adriano dos Santos Fernandes
f93852af9b Revert "Move gds_proto.h to common."
This reverts commit 8740a38802.
2022-07-21 08:16:50 -03:00
Adriano dos Santos Fernandes
3dda315fc2 Remove old and unused things from the Windows build. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
ecbbc9afb5 Put tests in Firebird.sln. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
ef361bc842 Separate projects in groups in Firebird.sln. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
cf63ea5228 Add tests for jrd/RecordNumber. 2022-07-18 08:16:16 -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
b4ba747d1e Add tests for common/classes/DoublyLinkedList. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
5e13cb6e1e Add tests for common/classes/Array. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
2139d4a5ac Add tests for common/classes/Aligner. 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
8740a38802 Move gds_proto.h to common. 2022-07-18 08:16:12 -03:00
Adriano dos Santos Fernandes
f296f44ef6 Move gds.cpp to common. 2022-07-18 08:16:11 -03:00
Adriano dos Santos Fernandes
8f8fdfa6e5 Fix build with VS build tools instead of Visual Studio. 2022-06-21 07:30:52 -03:00
Vlad Khorsun
6325174cfc
Merge pull request #7212 from FirebirdSQL/work/parallel_v5
Work/parallel v5
2022-06-21 11:46:49 +03:00
ac104845d1 Use correct path to redistributables 2022-06-17 19:33:12 +02:00
d7128b5701 Remove dependencies upon a specific version of Visual Studio 2022-06-17 18:07:25 +02:00
371cd3a01d Rework windows build process
All code detecting the version of Visual Studio to use
is now in setenvvar.bat.

run_all.bat has a new feature - TESTENV which will print out
the environment that will be used for the build and then quit.
2022-06-17 18:05:38 +02:00
Vlad Khorsun
fa90269460 Parallel backup, restore and sweep. 2022-05-31 20:29:36 +03:00
Adriano dos Santos Fernandes
4c9fffd9b9 Compiled statement cache. 2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
f4bc127704 Add class DoublyLinkedList.
It internally uses std::list with PoolAllocator.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
68783f0971 Rename src/jrd/JrdStatement.* files to Statement.* 2022-02-09 15:47:58 -03:00
dyemanov
2b2f66c001 Fixed the filter for optimizer files. 2022-02-09 10:40:45 +03:00
Dmitry Yemanov
19f2bfdd01 Refactored the optimizer. Better debug logging. 2022-02-09 10:20:16 +03:00
Adriano dos Santos Fernandes
391e7ef4fc Refactor statement and request parts so multiple DSQL requests could be created from a single compiled statement.
Pave the ground for compiled statement cache.
2022-02-07 15:52:12 -03:00
Dmitry Yemanov
82da31ccfd
Remove the WNET protocol (#7082)
* Wiped out the WNET support

* Remove the WNET files
2022-01-05 10:34:07 +03:00
Adriano dos Santos Fernandes
2f503f2e2d Profiler. 2021-12-23 15:08:04 -03:00
Adriano dos Santos Fernandes
ea8732fc80 Use SDK 10.0 for VS >= 2019.
See https://developercommunity.visualstudio.com/t/windowstargetplatformversion-makes-it-impossible-t/140294#T-N548052
2021-10-28 20:43:53 -03:00
Adriano dos Santos Fernandes
801784db69 Add support for VS 2022 build. 2021-10-28 14:31:45 -03:00
Adriano dos Santos Fernandes
440433fc7c Add support for VS 2019 build. 2021-10-28 14:31:45 -03:00
Adriano dos Santos Fernandes
56adbc7ab6 Remove remains of help.fdb after QLI removal. 2021-10-26 14:00:37 -03:00
Vlad Khorsun
7bfeeb9fb9 Fixed bug #6949 : On windows, engine may hung on initialization when another instance with different lock directory is running.
WIP
2021-09-22 13:47:06 +03:00
Adriano dos Santos Fernandes
fca0c841f8 Fix Windows kit. 2021-09-17 09:05:49 -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
Adriano dos Santos Fernandes
0e75c5ad59 Fix Windows empbuild build in DEBUG configuration. 2021-09-07 14:16:36 -03:00
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
39afbeb7f1 Remove old MSVC projects. 2021-06-08 14:59:39 -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
3ccba197da
Feature CORE-6482 - System table with keywords. (#310)
Feature CORE-6482 - System table with keywords.
2021-05-17 14:13:53 -03:00
03395fafb1 Do not let BuildExecutableInstall fail silently if an error has occurred. 2021-02-01 16:14:26 +01: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
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
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
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
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
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
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
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
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
Adriano dos Santos Fernandes
19713e7615 Unzip tzdata with unzip utility in Windows. 2020-02-12 13:02:30 -03:00
hvlad
4436a189f6 Update Windows build 2020-01-31 14:32:56 +02:00
Adriano dos Santos Fernandes
4b6eaa57c3 Move tzdata to extern/icu. 2020-01-21 12:57:31 -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
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
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
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
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
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
Adriano dos Santos Fernandes
45d5e3aa7a
Refactor public include files (#205)
Refactor include files.
2019-06-03 11:45:00 -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