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