AlexPeshkoff
57e7035411
Added a sample of authentication plugin based on shared secret key
2020-02-07 20:36:20 +03: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
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
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
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
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
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
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
AlexPeshkoff
84a682bf17
Fixed some gcc8 warnings - WiP
2019-03-18 20:10:48 +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
4a8fcb322f
Next attempt to fix build with built-in tomcrypt
2018-12-07 11:17:06 +03: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
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
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
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
hvlad
ca71a54609
Merge branch 'master' into read_consistency
2018-07-16 16:16:22 +03:00
Alex Peshkoff
8a5b97db3c
Applied CORE-5851
2018-06-21 17:39:44 +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
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
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
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
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
hvlad
ccbf5c724a
Merge branch 'master' into read_consistency
2017-12-29 10:55:31 +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
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
Adriano dos Santos Fernandes
98702b9cda
Make posix build use libtomcrypt from extern or system.
2017-09-06 16:35:40 +00: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
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
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
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
b926d32a1c
Suggested by Michal fix
2017-02-22 17:32:30 +03: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
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
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
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
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
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
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
a11b0adb1e
Fixed CORE-5205: Add a switch to build linux binaries with builtin libtommath
2016-04-24 18:09:48 +03:00
hvlad
3c62d90518
Merge branch 'master' into read_consistency
2016-03-24 11:58:13 +02:00
Roman Simakov
f3fd2d7cb5
Initial apply patch of Nikolay
2016-03-22 17:43:58 +03:00
dimitr
7b69e1f195
Renamed security3.fdb -> security4.fdb.
2016-03-06 08:32:18 +00:00
aafemt
a1d55c3e6e
Optimized hash function for lock manager and hash join
2016-03-05 12:28:04 +00:00
alexpeshkoff
474538c7ff
Added support for using pascal to access OO API
2015-12-21 17:01:26 +00:00
alexpeshkoff
5447e62227
Added build of crypt application sample to posix build at least in order to keep it compilable
2015-11-18 15:57:26 +00:00
paulbeach
aae768b806
More changes to support the new pkgbuild installer for El Capitan
2015-10-15 13:22:52 +00:00
paulbeach
a4bcb40f11
New installer based on pkgbuild and productbuild to replace old deprecated installer on El Capitan
2015-10-13 12:10:20 +00:00
paulbeach
1bf4ae9cd5
Clang only supports TLS from MacOSX 10.7
2015-09-28 12:15:49 +00:00
paulbeach
1b97eb0162
Typo, adjust AR redefinition in extern.editline
2015-07-03 06:45:18 +00:00
paulbeach
20aabb2496
Fix problem where ar flags are duplicated in editline make on HPUX ia64
2015-07-02 11:28:55 +00:00
asfernandes
874efe6d20
This should fix the problem of building examples in Windows 64-bit, although it does not answear what exactly is happening there.
2015-06-29 01:38:16 +00:00
paulbeach
bf73e4f041
Fix for gcc 4.1 problem is no longer needed. gcc 4.2 from MacOSX 10.8
2015-06-16 11:27:49 +00:00
mapopa
eafce68f4d
gds_relay was removed by Alex
2015-06-15 15:22:09 +00:00
mapopa
acc7f68937
Apply libreoffice patch in trunk
2015-06-15 15:20:24 +00:00
asfernandes
2397bd0527
Copy new API include files to the Linux target directory.
2015-05-03 18:36:30 +00:00
asfernandes
5662729e6e
Integrate cloop in the posix build.
2015-04-07 03:19:51 +00:00
mapopa
008e8a77bb
Cleanup comments gds*f and gds*ada header files are in the old cvs tree
2015-03-29 18:19:57 +00:00
mapopa
bbfc74aef4
Cleanup old comments, GDSLIB_OBJECTS are no more
2015-03-29 18:08:08 +00:00
mapopa
c6c8915a08
Cleanup comments
2015-03-28 15:02:42 +00:00
mapopa
dcddde5c42
Sync code with firebird 2.5.x tree and libreoffice patch , even if is commented
2015-03-28 13:55:53 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
asfernandes
69ccf374b7
Fix Windows (cmake only) build. Linux build currently is not using udr_plugin.vers when linking examples/udr.
2015-02-03 14:56:20 +00:00
alexpeshkoff
69cdd58f19
Work in progress on CORE-3885: Firebird for Android, build is complete
2015-01-27 10:46:48 +00:00
asfernandes
157d5c4eb1
Split the UDR examples in multiple files to demonstrate how it should be done.
2015-01-26 14:52:54 +00:00
asfernandes
e9f74f04d1
Improvements to the UDR plugin.
2015-01-25 20:27:46 +00:00
alexpeshkoff
5d083dfb00
Avoid annoying warning in remote.h
2014-12-18 16:20:46 +00:00
mapopa
acde0b95fa
Remove hardcoded march to allow 64-bit builds
2014-12-08 16:58:41 +00:00
mapopa
e9f4705308
Remove deprecated GCC flag -mno-cygwin .
2014-12-08 16:35:22 +00:00
alexpeshkoff
30f28252cb
Fixed posix build
2014-11-26 10:01:51 +00:00
mapopa
5a2751edf9
add prefix file linux_powerpc64
2014-11-12 17:39:41 +00:00
mapopa
c26905cb96
add prefix file linux_powerpc64el
2014-11-11 16:52:21 +00:00
paulbeach
a30db5ff04
Typo
2014-10-30 08:03:14 +00:00
paulbeach
9d1d9d10ef
Build modifications for MacOSX/Clang
2014-10-29 09:04:54 +00:00
paulbeach
ade505bed5
3.0 Clang build
2014-09-03 11:35:12 +00:00
alexpeshkoff
553860f97a
Avoid loading <string> by ICU
2014-06-06 10:29:23 +00:00
alexpeshkoff
dd549a0a4d
Arm64 port
2014-05-22 10:47:03 +00:00
alexpeshkoff
949defe5e6
Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
...
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
alexpeshkoff
e2ef60330e
Fixed build - ids.h was regenerated too late
2013-12-03 10:52:23 +00:00
alexpeshkoff
0304dda406
Turn off one more warning - all places where UCHAR array is initated with constants like 12 (i.e. DPB and other clumplets) the warning is issued
2013-11-19 12:36:53 +00:00
alexpeshkoff
de258c2844
Convert legacy auth server to non-builtin plugin on posix
2013-10-28 10:27:40 +00:00
alexpeshkoff
6ac6b40bc0
Avoid dependency from aclocal-1.12 in editline
2013-10-23 11:49:59 +00:00
mapopa
b14c9245c9
make the paths a little more portable between versions
2013-09-25 15:01:51 +00:00
mapopa
b382008a24
make it compilable with android ndk-r9
2013-09-25 12:57:34 +00:00
paulbeach
9712625a5e
Enable support for the Cobol pre-compiler in libfbclient and libfbembed should anyone want to compile it and use it.
2013-08-30 08:42:24 +00:00
fsg
985e98a59e
enable UTF8 support for the new editline version and isql
2013-08-27 17:04:00 +00:00
asfernandes
b313573a42
Hope this fixes the POSIX build.
2013-08-23 15:37:20 +00:00
asfernandes
27062ad0bc
Fixed the problem with make -j when only parse.y is changed.
2013-08-14 15:41:37 +00:00
alexpeshkoff
74d7f061a7
Bring set of examples in posix builds up to date
2013-07-17 13:05:39 +00:00
alexpeshkoff
95f3fccfee
Fixed posix install and management scripts
2013-07-17 12:02:44 +00:00
alexpeshkoff
b3c33aeeb6
Renamed aliases.conf to databases.conf as suggested by Dmitry
2013-04-08 16:28:05 +00:00
asfernandes
850e529c81
Fixed CORE-4068 - create package fails on creating header as soon as there is at least 1 procedure name.
2013-03-27 01:34:44 +00:00
asfernandes
809508145c
Make line numbers of processed y-file matches parser.y lines.
2013-03-07 15:29:44 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
paulbeach
0cbd833b0f
Fix problem with Trace not working on MacOS
2012-11-01 09:13:13 +00:00
paulbeach
19730bf27b
Fix CORE-3740 - optimisation bug in GCC
2012-08-08 14:41:07 +00:00
alexpeshkoff
b91c68bb30
Cross-build support + android port: work in progress, currently can build fbclient for android
2012-06-22 11:39:24 +00:00
paulbeach
4d1651a327
Copy libfbclient.dylib to Firebird SuperServer Framework Libraries to support the ODBC driver
2012-06-20 09:30:39 +00:00
alexpeshkoff
292cf70723
Cleanup - no more separate classic/super builds support
2012-06-07 11:43:41 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00
alexpeshkoff
6a45fe32a1
Better track file dependencies
2012-03-15 09:52:55 +00:00
alexpeshkoff
6e6c7bcbcd
Fixed opening read-only databases on unix
2012-03-01 08:37:55 +00:00
alexpeshkoff
9a4670a33f
Fixed Darwin build
2012-02-27 16:59:01 +00:00
alexpeshkoff
b4c806385f
Fixed make syntax
2012-02-27 12:12:47 +00:00
alexpeshkoff
50bbe2e446
Mac port
2012-02-24 16:55:18 +00:00
alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
alexpeshkoff
173db599b7
Fixed CORE-3727: Support C preprocessor flags in firebird build system
2012-01-12 15:00:49 +00:00
alexpeshkoff
71ca2d9348
Applied Michal's patch
2012-01-11 12:56:48 +00:00
asfernandes
4b115ba622
Make the thing build with Ubuntu 11.10, binutils 2.21.53.20110810.
...
Was failing to build 'firebird' caused by common.a (BigInteger.o) usage of libtommath functions.
2011-12-29 00:21:21 +00:00
alexpeshkoff
4780466fcd
Fixed CORE-3677: Stop utilities to export entrypoints
2011-12-27 08:14:58 +00:00
asfernandes
359f74e73a
Misc.
2011-12-24 18:08:13 +00:00
alexpeshkoff
7fb8ebd3a9
Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation
2011-12-23 12:43:58 +00:00
alexpeshkoff
ef11481552
Fixed CORE-3606: Linker commands that use c or c++ compiler should apply CFLAGS and CXXFLAGS respectively
2011-10-12 11:55:18 +00:00
alexpeshkoff
0109520964
Fixed non-root build
2011-10-12 11:24:03 +00:00
alexpeshkoff
bf36c6a366
Cleanup
2011-10-11 13:42:55 +00:00
alexpeshkoff
d61e4a7344
Create metadata.fdb using isql
2011-10-11 08:20:16 +00:00