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

899 Commits

Author SHA1 Message Date
95be92c57b Fixed posix build after Vlad's changes 2016-12-30 11:41:46 +03:00
hvlad
52d9a05a0f Backport from master:
Optimized hash function for lock manager and hash join
Notes:
- lock print extension is not backported
- Alex, please review linux build. I did not include changes in builds/posix/make.rules here as i'm not sure it is required
2016-12-30 02:11:24 +02:00
Popa Marius Adrian
fbbb31e8f6 create android x86/arm64/x86_64 scripts and ports (#59)
* 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
2016-10-28 14:38:43 +03:00
John Paul Adrian Glaubitz
bd35281a05 Add platform support for Linux/m68k for the 3.0 branch (#52)
* 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.

* 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:21 +03:00
ab0ddd8010 Fix for CORE-5284: Firebird fails to build with USE_VALGRIND 2016-07-07 18:58:12 +03:00
8729f2b9f3 Backported fix for CORE-5205: Add a switch to build linux binaries with builtin libtommath 2016-04-24 18:11:08 +03:00
955e6796f5 Firebird 3.0 64bit MacOSX build with downloaded ICU and tommath 2016-03-17 12:34:25 +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
alexpeshkoff
963096063f Fronported CORE-3615: add silent_install target to firebird's Makefile (and some other misc install-related fixes) 2011-10-06 09:31:22 +00:00
paulbeach
78dfea75db 2011-09-14 13:01:11 +00:00
asfernandes
4463186e19 Correction for my last commit to make it work without gen's bin directory in the $PATH. 2011-08-22 01:07:27 +00:00
asfernandes
7545b8d172 Make Linux build faster.
It seems the usage of databases with FW=ON in ext4 filesystems mounted with barriers=1 (default) is very slow.

This change decreased build time in my machine from 2m41s to 1m21s.
2011-08-21 04:11:41 +00:00
alexpeshkoff
40ef6666d5 Enabled use of any available on the target system ICU version for non-collation calls 2011-08-02 11:54:30 +00:00
alexpeshkoff
9a58295f44 Reflect Vlad's changes in posix build 2011-07-01 07:55:13 +00:00
paulbeach
317430bc0d Fix typo 2011-06-15 08:35:30 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +00:00
alexpeshkoff
2d6355645f misc 2011-05-20 16:44:12 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
alexpeshkoff
2ce69ffac3 Applied patch from Damyan Ivanov: no compiler flag repetinion when CXXFLAGS is set in the environment 2011-03-27 11:22:57 +00:00
alexpeshkoff
abeb17be14 Fix boot build 2011-03-21 13:43:51 +00:00
alexpeshkoff
0102a5c9fc Follow Vlad's changes in posix build 2011-03-03 08:36:02 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
alexpeshkoff
ada72e8ec2 Damyan's fix for an error, noticed by him 2011-02-24 14:06:39 +00:00
alexpeshkoff
dc9e744fc3 Fixed binary packages build. No more CS/SS difference. No more linux RPMs on SF. 2011-01-17 17:38:25 +00:00
alexpeshkoff
0492d1ff83 cleanup 2011-01-16 14:03:18 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
4318920100 An attempt which seems to work to not lose cpp files generated from epp ones. 2010-12-12 19:53:27 +00:00