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

851 Commits

Author SHA1 Message Date
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
asfernandes
162ad97d38 Do not remove cpp files generated from epp ones 2010-06-15 15:20:09 +00:00
paulbeach
14824da4b2 Grand Central Dispatch - 10.6 Darwin only 2010-06-08 14:44:45 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
2d082d1927 Fix parallel make 2010-04-17 15:14:02 +00:00
alexpeshkoff
4ce63669c1 finished fb_inet_server cleanup 2010-04-16 13:33:22 +00:00
alexpeshkoff
98a72dc866 cleanup 2010-04-16 08:26:08 +00:00
asfernandes
fed89f1f51 Duplicate line 2010-04-16 02:34:42 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
asfernandes
4bc6f2f660 Make makefile dependency handling not broke when header files are deleted 2010-04-14 01:35:30 +00:00
alexpeshkoff
815fd88e4b fixed posic build 2010-03-24 13:27:05 +00:00
alexpeshkoff
04b4781e6c Avoid backslash escapes that behave differently even on different linux boxes 2010-03-15 09:52:53 +00:00
robocop
7546c2282d Misc. 2010-03-15 06:38:49 +00:00
asfernandes
35fadf9056 Fixed the Linux build 2010-03-14 15:58:13 +00:00
alexpeshkoff
77c86ad5a7 Fixed CORE-2844: Unresolved symbol references when linking fbsvcmgr and fbtracemgr 2010-03-14 14:16:55 +00:00
alexpeshkoff
fd7232231e Use same export symbol lists for all posix platforms, added script building platform-specific format 2010-03-14 13:44:57 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
d3c0e1971a 1) Feature CORE-2830 - Window functions: DENSE_RANK, RANK and ROW_NUMBER
2) Fix BLR filter for some procedure verbs
2010-02-14 19:08:22 +00:00
asfernandes
0affd15dc5 Merge OrderedWindowStream into AggregatedStream 2010-02-13 23:55:48 +00:00
asfernandes
c737d6a807 Create ExprNode class hierarchy.
Convert CONCATENATE and aggregate functions to it.

Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00
alexpeshkoff
49a4e3fb88 Frontported fix for freebsd and related OSs, including CORE-2825 2010-02-04 16:05:08 +00:00
alexpeshkoff
16ad48dea8 freebsd port 2010-01-27 15:55:50 +00:00
asfernandes
b68658534f Feature CORE-2823 - Support the ORDER BY subclause for current aggregate functions (except LIST) 2010-01-23 03:02:53 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
asfernandes
bc2fdf4c6a Fix Linux build 2010-01-14 14:36:46 +00:00
asfernandes
d89082f434 Make the UDR shared libraries prefixed with "lib" in POSIX. That fixes they don't working since the change to doctorModuleExtension function. 2010-01-13 22:23:09 +00:00
robocop
fb161097df Finally use the same logic to detect ODS capabilities in backup and restore. 2010-01-03 03:45:09 +00:00
asfernandes
9a5ad8b604 Do not pass -RAW to GPRE in the build, to facilitate the analyse of generated files 2010-01-01 18:39:42 +00:00
robocop
1d084192b1 Put class Attachment in its own files by brute force. 2009-12-25 10:25:16 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
asfernandes
4495355833 Use the correct translation files in posix build, pointed by Claudio 2009-12-21 15:43:23 +00:00
asfernandes
2f4715d0d0 Fix Linux build 2009-12-20 20:49:47 +00:00
alexpeshkoff
a2b325bf63 It was bad idea to try to make fbsvcmgr more intellectual than it should be - rolled back part of my changes 2009-12-16 12:34:17 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
alexpeshkoff
eeb4bfd847 fixed posix build 2009-12-14 12:09:49 +00:00
asfernandes
e71e4d1e3e Rename file to match class name 2009-12-10 13:46:22 +00:00
asfernandes
933af8f7c2 Make it build in Linux 2009-12-09 20:55:12 +00:00
aafemt
2efbb460ff No hardcoded library extension, please 2009-12-06 10:38:37 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
ecd01da22d Goodbye gdef. 2009-12-04 10:05:41 +00:00
paulbeach
6fbdecc3b9 Add trace plugin for Darwin 2009-11-30 11:59:18 +00:00
asfernandes
a088b60936 Fix symbols not being exported in Linux embedded fbudf 2009-11-15 02:00:37 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
verbguy
6fe23f8f33 commit missing Solaris inline assembly routines - SPARC and AMD64 2009-11-10 15:53:38 +00:00
verbguy
28a1670403 front port fix - international library fails to load on AIX with unresolved symbols. reviewed by Alex 2009-11-10 15:36:34 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
alexpeshkoff
6914ea456b Fixed posix build 2009-11-05 11:52:43 +00:00
alexpeshkoff
c40737ca56 cleanup unused NDEBUG macro 2009-11-04 10:04:33 +00:00
alexpeshkoff
370806c17f Small fixes to make best of binreloc during development - can run all binaries now directly from gen/firebird/bin 2009-11-03 13:35:19 +00:00
alexpeshkoff
abefcea0ca Avoid useless warning 2009-11-03 13:29:50 +00:00
alexpeshkoff
28f5f5a703 As long as we have backward compatible API no use changing SONAME 2009-11-03 13:29:15 +00:00
verbguy
5e904927f7 front port recent 2.5 HPUX changes 2009-11-02 21:08:58 +00:00
verbguy
c5e4dde5ac front port AIX porting changes
- suppress "unknown pragma message" messages for production build
- fix comment, -qstaticinline is still used in production build
2009-11-02 20:38:21 +00:00
asfernandes
79e9320875 Refactor aggregate handling into AggregateRsb class 2009-10-31 19:03:30 +00:00
paulbeach
4b0cafaf29 Missing symbols 2009-10-23 11:37:02 +00:00
paulbeach
88a5d71506 remove -lfbembed from the link line, as it breaks the Mac build. - if you need this amend LINK_UDF_LIBS in the prefix file instead. 2009-10-23 09:44:53 +00:00
paulbeach
059c8cc7e8 Missing symbols.... 2009-10-21 12:53:49 +00:00
asfernandes
19fac12314 Misc 2009-10-21 01:01:04 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
paulbeach
d5cde9b2d6 MacOSX 10.6 and gcc 4.1.2 changes 2009-10-20 14:02:32 +00:00
paulbeach
eba69c9d7b MacOSX 10.6 and gcc 4.1.2 changes 2009-10-20 13:46:02 +00:00
alexpeshkoff
946893600b Fixed darwin built with gcc4.1 2009-10-12 13:44:35 +00:00
asfernandes
90dfb9a411 Misc 2009-09-30 01:10:11 +00:00
verbguy
56f291e05f HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options 2009-09-29 19:13:51 +00:00
verbguy
804b6107f5 1) it seems we *do* own Solaris/Intel boxes that do *not* support -xarch=sse2
2) -xmemalign not supported on Solaris/Intel and not wanted on Solaris/SPARC
2009-09-29 14:54:34 +00:00
alexpeshkoff
323d9bcb75 Cleanup - do not build unneeded files 2009-09-29 10:33:10 +00:00
verbguy
44bbcf6a76 on HP-UX we need the optional AtomicAPI SPK software package 2009-09-24 19:15:03 +00:00
alexpeshkoff
ec2eb3f144 Improvement CORE-1643: Use DatabaseAccess configuration parameter for default database location 2009-09-22 13:17:41 +00:00
alexpeshkoff
2ca82515cd Impovement CORE-2625: Port to s390 (32-bit), patch from Damyan Ivanov 2009-09-18 13:08:47 +00:00
aafemt
e506c6fbd2 No more ibconfig 2009-09-12 12:47:15 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
verbguy
ed6ef283d2 make perf64_format, perf64_get_info, perf64_report visible for unix builds 2009-09-09 14:00:07 +00:00
verbguy
626f4ccfbd solaris distribution kit changes, reviewed by alex 2009-09-08 20:11:30 +00:00
verbguy
608b4dc06c suppress more HP-UX warnings 2009-08-26 14:13:51 +00:00
paulbeach
08a1fde1a8 Adjust installer and add script to handle SuperClassic 2009-08-26 08:47:59 +00:00
verbguy
3ece88d3bc +Ofast is too much. For example, it implies +DSnative, but we really want default +DSblended 2009-08-17 17:57:00 +00:00
paulbeach
ae8eeb3333 64bit MacOSX needs the same flags as 32bit 2009-08-10 10:13:51 +00:00
alexpeshkoff
46e7388ecc We perform C++, not plain C compilation - therefore ese CXXFLAGS instead of CFLAGS 2009-08-07 13:29:02 +00:00
paulbeach
060957aa2b Fix a problem with the name and location of the util library 2009-08-06 10:45:41 +00:00
uid87371
15b9a3c73c Bug in clean_all - patch from Bill Oliver 2009-08-05 11:45:07 +00:00
alexpeshkoff
1f53a3e437 Fixed posix build - thanks to Bill Oliver 2009-08-05 11:16:56 +00:00
alexpeshkoff
e7fd0e4168 s390 port - added forgotten file 2009-08-04 11:01:22 +00:00
alexpeshkoff
7e31cce6d1 Solaris port - -fast does not provide correct FB code 2009-08-04 10:59:00 +00:00
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
alexpeshkoff
c4255b2f4e Always build threaded binaries. This lets simplify configure.in a bit. 2009-07-29 10:56:26 +00:00
alexpeshkoff
fa6f01ca3e Remove symbolic links in build directory when doing "make clean" 2009-07-29 08:15:51 +00:00
alexpeshkoff
fec5a06b91 HPUX port 2009-07-28 12:28:26 +00:00
paulbeach
540788a587 Missing symbols on MacOSX 2009-07-24 13:10:05 +00:00
alexpeshkoff
440fad4858 HPUX port by Bill Oliver and Jerry Adair 2009-07-23 08:58:26 +00:00
alexpeshkoff
f0a3fda727 fixed "make clean" after my changes 2009-07-22 06:36:33 +00:00
paulbeach
9cab803d97 And the long march to making Firebird build and run on MacOSX continues 2009-07-21 13:34:20 +00:00
alexpeshkoff
af74fb5d1f Applied sligtly modified patch from Dan Horak to use system libread 2009-07-21 13:00:54 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +00:00
asfernandes
ccbcb4e7fa Add fbtracemgr to POSIX builds 2009-06-25 01:17:43 +00:00
alexpeshkoff
ee56675152 comments 2009-06-10 13:42:27 +00:00
alexpeshkoff
e1b45b34ae isc_ipc usage cleanup 2009-06-10 09:18:33 +00:00
aafemt
4c1906de6a Don't be strictive 2009-06-09 14:29:13 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
alexpeshkoff
806ad281bb Better way to compile utilities/ntrace/os/*/platform.cpp for different platforms 2009-06-03 13:05:36 +00:00
alexpeshkoff
e2e6b8bd10 Solaris port, related cleanup 2009-05-25 15:47:20 +00:00
alexpeshkoff
ee0f3992ff Avoid annoying warning 2009-05-25 12:28:38 +00:00
alexpeshkoff
86f3176307 Fixed CORE-2467: security risk in 2.5 beta1 2009-05-19 14:33:36 +00:00
alexpeshkoff
ce2b51848f AIX xlC port 2009-05-19 06:48:42 +00:00
alexpeshkoff
d98a326129 AIX xlC port 2009-05-08 10:41:02 +00:00
alexpeshkoff
e6cf9a69be Fixed bug, reported by Dmitry privately - in isc_sync per attachment buffer can not be used for strings 2009-05-08 08:36:18 +00:00
alexpeshkoff
a37d818726 AIX port - native compiler support 2009-05-07 14:49:40 +00:00
alexpeshkoff
4e4a570aba Solaris port 2009-05-06 07:13:42 +00:00
alexpeshkoff
cef41b3286 1. Solaric/Sparc SunProCC port.
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
alexpeshkoff
5bbb9d909c Fixed misc binreloc-related issues 2009-04-22 15:49:28 +00:00
alexpeshkoff
70b168c91b Fixed SS gsec build 2009-04-22 15:45:06 +00:00
alexpeshkoff
7523076da6 Use parallel build for editline 2009-04-22 14:02:26 +00:00
alexpeshkoff
46ce24b8d7 This should fix HPUX build 2009-04-22 07:58:47 +00:00
paulbeach
b2a9094af1 Problem with weak symbols and Apple's version of GCC 4.0.1 on PPC 2009-04-17 10:21:03 +00:00
alexpeshkoff
775e23b43b 1. Added utilities/err.cpp where needed.
2. Cleaned up most of platform-specific additions - most opf them are not needed any more,
still causing troubles when porting. It will be better to re-add that which are really needed.

3. Do not build gds_drop utility on platforms where not needed.
2009-04-16 11:54:19 +00:00
alexpeshkoff
7ed47ae7dd Removed flags for ancient compilers 2009-04-09 12:15:03 +00:00
alexpeshkoff
334157b27d Added minimum support for parallel build on SMP machines.
Due to logic of phases in main makefile duirect use of -j switch breaks build.
Now you may specify it in command line as "make CPU=4" and in all safe places appropriate
-j switch will be added.
2009-04-09 09:57:02 +00:00
alexpeshkoff
1aeacbb94e Add new API calls to HPUX export list 2009-04-08 06:24:42 +00:00