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

971 Commits

Author SHA1 Message Date
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
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
asfernandes
9c42d4e5af Finish the statements refactor in the engine. Get rid of jrd_nod. 2010-12-04 22:15:03 +00:00
alexpeshkoff
a77b580d8c Fixed build without --with-system-editline switch 2010-12-01 16:20:22 +00:00
alexpeshkoff
108fd3a000 Make it work with long paths, when ":" is placed on the second line of file 2010-11-30 08:57:10 +00:00
alexpeshkoff
e5825e97da Better handling of absolute and relative paths 2010-11-23 09:43:58 +00:00
alexpeshkoff
de453fcfd3 Check for presence of ICU development package in configure, related cleanup 2010-11-08 18:12:03 +00:00
alexpeshkoff
f694b301be Damyan's patch for distro-untegrated posix builds 2010-11-04 17:06:59 +00:00
asfernandes
b5cfdbf513 Misc 2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729 Patches from Damyan Ivanov 2010-10-25 15:48:35 +00:00
alexpeshkoff
d951c8e2da misc examples build 2010-10-25 15:07:11 +00:00
alexpeshkoff
b31eb6fdf5 Changed libraries' names. Improved a bit ModLoader. 2010-10-19 13:48:56 +00:00
asfernandes
9ef31ce972 Fix the UDR engine build 2010-10-16 01:15:51 +00:00
alexpeshkoff
1be5683394 CORE-3185: Firebird compilation on a box, already running firebird server 2010-10-15 15:52:44 +00:00
alexpeshkoff
407f7654a3 CORE-3185: Firebird compilation on a box, already running firebird server 2010-10-15 14:54:23 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
5586a7d450 We have to many dependencies on blrtable - build it explicitly at boot phase 2010-10-12 11:33:00 +00:00
alexpeshkoff
6f5a8b2a81 Forgotten changes 2010-10-12 09:35:10 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
paulbeach
78ca999d4a Fix for UDFs on Darwin 2010-10-05 12:43:24 +00:00
asfernandes
c1b5abfdf2 1) Refactor all types of boolean nodes.
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
asfernandes
b7b63becf3 Refactor a number of expression nodes: nod_add, nod_divide, nod_multiply, nod_negate, nod_user_name, nod_subtract, nod_current_date, nod_current_time, nod_current_timestamp, nod_add2, nod_subtract2, nod_multiply2, nod_divide2, nod_current_role, nod_internal_info 2010-09-04 21:36:41 +00:00
asfernandes
52a4c39f41 1) Separate DsqlCompilerScratch in its own files.
2) Move BlockNode functionality to it.
3) Move some related CTE functions to it.
2010-08-27 02:18:00 +00:00
asfernandes
48d83b8fef Refactor nod_rse, nod_relation, nod_procedure, nod_union, nod_aggregate and nod_window. 2010-08-24 03:25:01 +00:00
alexpeshkoff
fc74f8d4e2 Mistyped - thanks to Adriano 2010-08-06 15:16:33 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +00:00
dimitr
58f8384cec Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon. 2010-07-13 12:32:36 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
asfernandes
12079f5ece Created class BlrWriter and reorganization (move BLR generation from statement to scratch) 2010-06-17 01:18:40 +00:00