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

133 Commits

Author SHA1 Message Date
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
robocop
f32d1ac819 Style. 2008-04-21 14:02:47 +00:00
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