asfernandes
6e59d736df
1) Fix Linux build
...
2) Misc
2008-04-11 01:38:50 +00:00
dimitr
6203ec728f
1) Enabled proper error reporting for unexpected crashes in Classic.
...
2) Attempted to make the async error handling independent from the engine.
Alex, please verify the UNIX part of my changes.
2008-04-10 09:25:48 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
asfernandes
1305691003
Misc
2008-02-28 02:43:23 +00:00
dimitr
2e4d036eed
Get rid of the Win9x/ME specifics. We don't support them anymore.
2008-02-26 11:03:09 +00:00
robocop
10d74a7642
Style.
2008-02-13 12:57:04 +00:00
dimitr
34573c2eab
Allow mixed in-process/cross-process events on Windows (like they work in POSIX).
2008-02-11 17:34:58 +00:00
dimitr
14b4079d5c
Make the routine behavior consistent across platforms.
2008-02-04 15:00:26 +00:00
dimitr
43594ed53a
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:17:19 +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
alexpeshkoff
db16316647
typo
2008-01-17 16:17:31 +00:00
dimitr
e08c5da397
The merge continued.
2008-01-16 09:07:24 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
dimitr
60711a239e
Let's always use the explicit security attributes.
2007-11-06 12:03:57 +00:00
hvlad
8a4c649ee1
Frontport fix for CORE-1207 : FB embedded requires extra OS privileges
2007-09-16 18:46:50 +00:00
asfernandes
f676883248
Misc
2007-04-21 03:27:36 +00:00
robocop
46df6dd844
Misc.
2007-04-18 11:02:41 +00:00
hvlad
38b20de751
Restored Yaffil's fast mutex code and made thread priority adjustment for classic server
2007-04-17 21:34:22 +00:00
robocop
628a66c360
Casting a spell over the code to allow VC6 compilation.
2007-04-15 11:27:15 +00:00
asfernandes
a4ba5377d8
Misc
2007-04-12 02:27:42 +00:00
hvlad
7213cfa90d
More simple (and stable i hope) implementation of fast mutex for NT platform
2007-04-11 13:24:55 +00:00
aafemt
7cbc856a03
Fix MinGW build
2007-03-13 05:33:02 +00:00
robocop
a9b21b503d
Hack, hack, haaack!
2007-03-01 10:35:11 +00:00
hvlad
60c1b8fa61
Ported implementation of a fast mutex for NT platform from Yaffil
2007-02-27 09:59:24 +00:00
hvlad
54fd5ce4b1
Moved ISC_prefix_object_name into fb_utils::prefix_kernel_object_name to avoid a need to add isc.cpp to all projects which can read config file
2007-02-20 15:39:01 +00:00
hvlad
c0989bce8b
Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
...
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
robocop
3156083930
Did this IB->FB change separately in case it causes problems.
2007-02-11 09:09:46 +00:00
robocop
6f5dee2b76
Paranoid reminder.
2006-12-22 08:12:30 +00:00
alexpeshkoff
9b10244f53
make CS lock manager semaphores have correct access rights
2006-04-09 15:46:46 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
hvlad
5c46272df6
Fixed unregistered bug: fb_lock_print fails with message:
...
The requested operation cannot be performed on a file with a user-mapped section open.
2006-02-07 17:21:40 +00:00
robocop
97122ee389
Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary.
2006-02-03 08:39:36 +00:00
alexpeshkoff
e85ee26ade
fixed gcc warning(s)
2006-01-18 10:43:13 +00:00
dimitr
9731811af3
Cleanup.
2005-09-14 18:53:47 +00:00
robocop
479daede8f
Misc.
2004-11-10 04:35:58 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
robocop
a6ed2f39bd
Misc.
2004-10-17 03:35:42 +00:00
skidder
645074699e
Improve firebird reliability in failure cases on Windows
2004-10-15 23:07:59 +00:00
skidder
0a7ab26423
Vlad pointed at a problem with my change. Correct it
2004-10-14 22:11:43 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
brodsom
372c3de67d
-Replace & remove unneeded threading macro in jrd.h
...
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
1ffe279896
-Avoid shadow warning
2004-05-12 19:39:17 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
80b424e346
-Replace define with const
...
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
brodsom
d44cc660ab
Comment unused macros
2004-05-02 22:50:48 +00:00
brodsom
5cf9fdfc90
Removing ib_stdio.h
2004-04-28 22:43:34 +00:00
skidder
af366d4f5a
Add BugcheckAbort option to produce coredumps on BUGCHECKs and structured exceptions
2004-04-06 07:25:45 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413
Clean up.
...
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
abe35ef6fe
-Remove unneeded setjmp header
2003-11-18 12:39:12 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
eku
bcee67e165
Typo.
2003-10-30 10:03:22 +00:00
eku
9c114cf8e0
Detect POSIX threads support with autoconf. Some code cleanup.
2003-10-30 09:49:40 +00:00
skidder
4e8605294e
Forward port Sparc fixes
2003-10-10 23:56:57 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
robocop
484c6ec372
Cleanup, const correctness, variables in scope, etc.
...
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
9d5721473a
Removing SHLIB_DEFS
2003-09-22 17:56:35 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
brodsom
6a2ef35fda
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
brodsom
0a786be3a8
-Fix unused warnings
2003-08-19 01:25:50 +00:00
brodsom
dbbbc92f53
-Fix format warning
2003-08-10 01:21:34 +00:00
brodsom
d98d358edf
-Fix signed/unsigned comparison warning
2003-08-10 00:39:51 +00:00
brodsom
daf2d5ff2c
-Fix cast warnings
...
-Fix signed/unsigned comparison warnings
-Fix format warnings
-Add MinGW 3.0 rc header
2003-08-09 21:15:32 +00:00
dimitr
dd6872bf02
1) Cleanup
...
2) Some changes for the embedded server
2003-07-05 12:45:00 +00:00
skidder
f7f599ea13
Improve diagnostics
2003-05-25 19:24:09 +00:00
skidder
1cc61a09b4
Allow easy adjustment of LockSemCount in Posix builds. Do not fail if value is adjusted in configuration file, but cannot be applied because of running engine processes
2003-05-25 18:59:19 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
brodsom
b9bdc2a2fe
- Avoiding some signed unsigned comparisons
2003-04-03 13:52:42 +00:00
brodsom
37b1a9d1de
- Avoid unused variable warnings
2003-04-02 11:22:30 +00:00
brodsom
7a7ac9419c
Correct formats
2003-04-01 21:59:31 +00:00
dimitr
ba5f72f246
Little fix.
2003-03-12 13:20:23 +00:00
brodsom
3468459299
Return fb_assert to assert (rollback)
2003-03-04 03:42:23 +00:00
fsg
e0dcb77416
Fixed some really old typos.
...
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
brodsom
f80b6ebd2f
Put declaration of functions only defined when #ifdef UNIX inside an #ifdef UNIX
2003-03-01 12:29:22 +00:00
brodsom
a5b4683087
Rollback change from assert to fb_assert, this source uses <assert.h> from included jrd.h from included fb_vector.h
2003-02-28 23:46:34 +00:00
brodsom
a29a9275de
-Remove the SOLARIS specific stuff, NDEBUG is set at the compiler command line, and assert.h is obsolete when gdsassert can be used.
...
-Change assert to fb_assert when gdsassert is in use. to make clear if we use the standard macro or the fb one.
2003-02-28 17:02:11 +00:00
brodsom
3cb91fce80
Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION)
2003-02-14 02:24:44 +00:00
tamlin
c0301b7e5f
Prevent garbage text output in log file
2003-02-12 18:47:00 +00:00
brodsom
9a71ae7987
Change #if 0 and #if 1 to NOT_USED_OR_REPLACED
2003-02-12 12:51:07 +00:00
brodsom
d03ef7715a
Remove CHICAGO_FIXED not used define, the isc_is_winnt() check must be done always as long as chicago is supported.
2003-02-12 11:08:24 +00:00
brodsom
32ad3f4583
Change debug defines names to DEBUG_*
2003-02-10 00:03:54 +00:00
eku
5b8ffd81c2
Removed unused variables.
2002-12-10 11:53:53 +00:00
eku
bf314dba7a
Cleanup semun stuff.
2002-11-21 10:20:07 +00:00
eku
c54bddc7bc
Removed unused variable.
2002-11-18 07:40:20 +00:00
dimitr
8e8d78435f
Synchronized generic and win32-only files. The latter is removed.
2002-11-16 15:54:21 +00:00
dimitr
5f61e44ddc
Global names change:
...
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab
Renaming all occurences of SUCCESS to FBOK
2002-11-13 15:01:21 +00:00
eku
63b3206ef0
Cleanup.
2002-11-12 07:59:19 +00:00
eku
64ae3a29b3
Autoconf cleanup: signal.h and sys/signal.h
2002-11-04 09:04:18 +00:00
kkuznetsov
aa160af755
for Solaris port steps
2002-11-01 13:21:17 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
seanleyne
a2bfcd6bd2
Code cleanup, removed obsolete "SGI" port
2002-10-29 03:31:20 +00:00
seanleyne
cc1f10d9a3
Code cleanup, removed obsolete "DecOSF" port
2002-10-29 03:17:45 +00:00
seanleyne
93f6fffb14
Removed obsolete "DGUX" port
2002-10-29 02:45:09 +00:00
seanleyne
bf39ba2a2e
Completed removal of obsolete "M88K" port
2002-10-28 04:44:59 +00:00
seanleyne
3152b81774
Completed removal of obsolete "DG_X86" port
2002-10-28 04:42:54 +00:00
eku
7b07cc5628
Autoconf: check for function getpagesize.
2002-10-16 08:38:04 +00:00
stryqx
ee9fb4e427
Add FreeBSD support.
...
This allows me to compile CS on FreeBSD 4.7 using gcc 3.2.1.
2002-10-12 04:16:32 +00:00
bellardo
0eaf588b49
renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
...
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
eku
0189c970f0
Fixed compiler warnings.
2002-09-26 09:26:40 +00:00
skidder
75418eca95
Make engine compileable on Linux again after Erik's signal cleanup
2002-09-24 19:53:31 +00:00
eku
6380cea068
Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
...
format strings against arguments.
2002-09-24 12:57:10 +00:00
eku
da93f6697f
Autoconf enhancements:
...
o autoconf v2.53 and later is now required to generate configure
(sorry, but it makes many tasks easier)
o improved tests for mmap, socklen_t and offt_64
o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
o added test for the keyword 'volatile'
o fixed errors in configure.in
o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
o replaced VOLATILE by volatile
o removed SETPGRP and ATEXIT
o replaced NO_FLOCK by HAVE_FLOCK
o SIG_FPTR cleanup
o vfork cleanup
2002-09-11 11:30:50 +00:00
eku
467fa0a8b6
Another autoconf cleanup:
...
o check for the existence of the function mmap
o replaced MMAP_SUPPORTED by HAVE_MMAP
Moved the (multiple) definition of SIG_FPTR to fb_types.h.
2002-08-26 12:14:55 +00:00
eku
56b9633d5b
Another autoconf cleanup:
...
o check for the existence of the function sigaction
o replaced SIGACTION_SUPPORTED with HAVE_SIGACTION
2002-08-22 10:48:26 +00:00
dimitr
b9ef9abcc0
Get rid of the legacy GATEWAY (vms/oracle) implementation.
2002-08-22 08:20:27 +00:00
skywalker
d89b1a0842
Changes to make fb2 compile super version for linux
2002-07-29 15:37:59 +00:00
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +00:00
dimitr
e110ba6559
Merging changes from fb1.
2002-07-02 09:49:19 +00:00
skywalker
b3667acaf8
Main changes were to add cr to end of the files.
...
cvt_proto.h removed a duplicate extern directive
gen/codes.h added back appolo error code, since it was still used
2002-03-11 16:34:08 +00:00
seanleyne
df41820266
More code cleanup of old NCR3000 and M88K ports
2002-02-23 22:15:24 +00:00
seanleyne
525f3aaaef
Code cleanup of obsolete IMP port
2002-02-16 03:27:33 +00:00
seanleyne
f536f116e1
Code cleanup of obsolete DELTA port
2002-02-16 03:05:21 +00:00
seanleyne
1c799cfb3e
Code cleanup of obsolete XENIX port and missed MAC (MAC_AUX) port items
2002-02-16 02:50:01 +00:00
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
skywalker
365a7fe19c
Changes to compile fb2 under autoconf includes some structural changes
2001-07-29 17:42:23 +00:00
bellardo
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00