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

153 Commits

Author SHA1 Message Date
alexpeshkoff
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
47584a86f0 Avoid unneeded module in fb_smp_server 2008-11-05 09:02:30 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
370ed679ec Refactored services code 2008-09-11 09:03:08 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
asfernandes
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
alexpeshkoff
2065872514 Use DFW to store data for user management 2008-05-21 08:14:09 +00:00
asfernandes
d52dc96278 1) Move the new Node classes to appropriate files
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained

Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +00:00
asfernandes
1679cfdd17 Fix POSIX build 2008-04-30 01:47:10 +00:00
alexpeshkoff
ef2b605cf6 Removed JString 2008-04-24 15:53:04 +00:00
asfernandes
6e59d736df 1) Fix Linux build
2) Misc
2008-04-11 01:38:50 +00:00
alexpeshkoff
17886bed31 Cleanup - always build utilities in std mode - no more SUPERCLIENT/STD_UTIL macros. 2008-04-08 14:19:55 +00:00
alexpeshkoff
ccc4a8d5d6 removed ALLR 2008-03-24 15:29:31 +00:00
asfernandes
5c7c0b500b Fix GCC build 2008-03-21 02:39:32 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00
dimitr
1ebd372868 Cleanup. 2008-03-12 17:07:49 +00:00
asfernandes
0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
dimitr
f9b75ffc74 Cleanup the makefiles. 2008-02-20 15:38:36 +00:00
alexpeshkoff
c14a900271 add Database.cpp to posix build 2008-02-15 08:47:23 +00:00
asfernandes
607ef7d9fa Encapsulate the parser and make it thread safe 2008-02-03 19:16:12 +00:00
dimitr
0cda20a31a Cleanup AliceMemoryPool. 2008-01-29 12:28:28 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
cf84ebd910 The merge continued. 2008-01-16 10:41:58 +00:00
paulbeach
4a2f1647fe Apply MacOS changes to HEAD 2007-12-27 10:55:58 +00:00
asfernandes
9dd863d6d7 Create class to buffer random bytes generation as process of generate many small random bytes is slow - thanks to Nickolay 2007-10-28 14:54:16 +00:00
alexpeshkoff
d6c27896ec Added StatusHolder to posix build 2007-05-18 07:19:48 +00:00
aafemt
19d132c8f6 Fix MinGW build 2007-05-11 06:40:19 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
asfernandes
8c7076b67f Port of Yaffil builtin functions 2007-04-12 15:56:34 +00:00
aafemt
07bb8336e9 Some tweaks for POSIX builds 2007-03-29 06:08:47 +00:00
alexpeshkoff
ca83abfce9 fixed posix built after latest changes 2007-03-28 11:32:13 +00:00
aafemt
604d85dc77 Fix MinGW build 2007-02-06 12:18:18 +00:00
alexpeshkoff
ecae1bcc5c fixed posix build 2006-10-31 12:24:56 +00:00
alexpeshkoff
9aae126eb9 fixed posix build 2006-10-23 11:41:00 +00:00
asfernandes
1d422a8330 1) Refactor intl_classes.h and intl.cpp
2) Make conversions from CharSet1->UTF16->CharSet2 job of CsConvert class
2006-10-10 19:40:33 +00:00
aafemt
01d5526423 Misc 2006-08-10 11:29:44 +00:00
asfernandes
eb4fb2f491 1) Concatenate of BLOBs
2) Start a refactoration on descriptor manipulations
2006-08-10 02:53:16 +00:00
asfernandes
c13b4cc61a Work on collation attributes:
1) Define a common format for it
2) Merge attributes of the base collation in the attributes of the derived one
2006-07-30 20:31:25 +00:00
alexpeshkoff
0b79d0f5d8 fixed posix build 2006-07-25 13:21:19 +00:00
mkubecek
acd23a069c adjust makefiles to recent changes 2006-06-01 07:33:26 +00:00
robocop
85f98f6d8b The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
First step: remove them from the build configurations. More to come.
2006-02-01 08:51:09 +00:00
alexpeshkoff
f13cdb88d2 deleted libfbcommon as was suggested by Jim 2005-12-18 17:56:43 +00:00
kkuznetsov
d65fb07878 Allowing using SERVICE_THREAD in CLASSIC server as platform option 2005-08-24 12:12:23 +00:00
alexpeshkoff
826d92c6d9 Added ods.cpp to posix. Also fixes for SS build. 2005-08-17 14:07:19 +00:00
alexpeshkoff
7eeb60267d Applied suggested by Dmitry changes with some additions, this should be OK for both linux and MinGW 2005-08-08 13:47:25 +00:00
alexpeshkoff
4d182bc6fb fixed posix build 2005-08-08 09:56:29 +00:00
aafemt
ded6a80c4a Use libfbcommon wherever possible and drop ancient workaround for dependencies (use -MMD switch instead) 2005-07-22 10:26:30 +00:00
aafemt
c7a7155dc6 ICU adaptation and some improvements 2005-06-10 10:32:51 +00:00
alexpeshkoff
e031878ff4 fixed posix build after Dmitry's change 2005-06-08 09:58:40 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
a84dab163b Applied class MetaName 2005-05-12 18:28:49 +00:00
kkuznetsov
e78207ddba Splitting thd.cpp into 2 files
ThreadData.cpp - thread control class to use in Client
thd.cpp -  thread control class to use in Server
To avoid making global visibility of a lot of THD_* ISC_event and so functions in libfbclient.so
(Can be breakable but needed)
2005-03-01 15:49:10 +00:00
fsg
071e9652c9 Add Optimizer.cpp to posix build.
FSG
2005-02-14 21:02:04 +00:00
robocop
3229363ef6 val.h and val.cpp are unrelated.
Change was agreed a year ago in the list.
2004-12-17 06:21:39 +00:00
skidder
f808b2b9af Update makefiles 2004-11-24 20:45:19 +00:00
alexpeshkoff
bdd3b32278 use ClumpletReader to parse dpb options 2004-11-24 18:26:24 +00:00
skidder
16faeb6372 Fix POSIX build 2004-11-22 22:33:33 +00:00
skidder
c0a1bd4a8a Fix posix build 2004-11-15 04:15:20 +00:00
alexpeshkoff
8af7bdaffc security fix
1. added separate gsec.client build
2. added new files to posix build
2004-11-07 13:47:05 +00:00
skidder
a3184703a1 Fix POSIX build 2004-11-03 23:47:29 +00:00
skidder
02a0915156 Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally 2004-09-28 06:28:38 +00:00
brodsom
2f675febb2 llio is not used actually 2004-05-07 07:47:02 +00:00
robocop
4b3e5da421 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:54:12 +00:00
robocop
56f95e9a11 Third step to rename 2004-03-11 05:09:33 +00:00
aafemt
69c2d5de45 Fix for my previous commit 2004-02-11 11:14:36 +00:00
aafemt
9e0ed5af92 Add fb_string to POSIX build 2004-02-10 11:27:22 +00:00
brodsom
90ccb542cf Fix Posix build after
- utils.cpp creation
- WAL/JOURNAL removal
2004-01-07 00:31:32 +00:00
brodsom
eb3c552424 Fix posix build, add new source btn.cpp. 2003-12-02 02:50:16 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
7a04ed0496 -Corrections to wal build
-Add walw.exe build to msvc6
2003-09-01 12:08:56 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
499337fda5 Split utilities dir 2003-07-15 02:43:36 +00:00
brodsom
5829455596 Move win32 specific sources in remote to remote/os/win32 2003-07-14 23:29:45 +00:00
brodsom
523e000333 Update 2003-07-14 09:45:18 +00:00
brodsom
41497ef6d8 -Split posix build output between 'gen' and 'temp'(compiler .o .d)
- Remove some redundant variables
2003-07-08 01:05:22 +00:00
alexpeshkoff
b38217d127 Dropped second entry for rpb_chain 2003-05-05 07:38:28 +00:00
alexpeshkoff
3511117b07 added rpb_chain to posix build 2003-04-29 14:23:52 +00:00
fsg
bdd4752745 Update linux makefiles to reflect rpb_chain changes 2003-04-28 18:57:39 +00:00
alexpeshkoff
2af60e8991 Exit on missing / wrong firebird.conf with error report in system log 2003-04-19 16:46:24 +00:00
alexpeshkoff
70c9d082ba Now external tables are checked against directories list 2003-03-15 20:20:41 +00:00
brodsom
c7f5f1ee5a Blob_filter is not a epp file since 1999, change the name to .cpp and modify the makefiles 2003-03-06 00:43:32 +00:00
brodsom
5c2576400d Changes for MINGW build
-Use SHRLIB_EXT
-Add locks to FBCLASSES_ClientFiles(only used by windows but not part of the os specific files)
2003-03-05 15:51:44 +00:00
fsg
e0dcb77416 Fixed some really old typos.
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
aafemt
1f1e2cc489 blrtable.h is generated and must not be in tree 2003-02-28 05:22:13 +00:00
eku
7a74c7bfd8 This file does not compile on POSIX platforms. Exclude it from the build
process until someone has fixed it.
2003-02-20 06:17:25 +00:00
aafemt
d861d96c63 XNET and somewhere WNET were added to remote interfaces 2003-02-19 05:16:46 +00:00
eku
e9e3967a47 Fixed POSIX build after removal of pipe/csv directories. 2003-02-17 08:26:10 +00:00
aafemt
e55e271385 Little step towards MinGW build. Physical IO module is platform-depended now 2003-02-11 05:13:36 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
skidder
9b57d8b649 Several little changes to make engine compilable again on Linux 2002-12-16 21:19:51 +00:00
eku
ec71a0cb44 Fixed compilation and linking on SINIX-Z (and probably on other POSIX
platforms).
2002-11-20 08:30:03 +00:00
dimitr
fe1c935023 A few changes contributed by Dimitry Sibiryakov. 2002-11-14 13:53:37 +00:00
skywalker
19addcf638 Slight changes for linux compile to work with new ConfigRoot class 2002-11-09 13:23:56 +00:00
skidder
183c7b4ee8 Make new config stuff compile on POSIX 2002-11-06 20:18:40 +00:00
skidder
40f937f4cf Make new config stuff compile on POSIX 2002-11-06 20:10:30 +00:00
skywalker
a91efa1ae8 Added config_root.cpp file for posix. 2002-11-05 16:49:05 +00:00
skywalker
f35570a03b A few makefile dependancies fixed.
Started work on upgrading rpm build scripts
Fix makefiles for super build
Exchange editline for readline in isql
2002-10-07 01:29:13 +00:00