alexpeshkoff
cd54e5533e
Fixed CORE-2437: Buffer overflow on client when delivering events.
2009-04-17 13:36:34 +00:00
robocop
0bf3d11247
Misc.
2009-04-10 14:28:35 +00:00
alexpeshkoff
c4f37d6f9b
No sense keeping old value of shared memory pointer when file is already unmapped - thanks to Claudio
2009-04-10 10:35:45 +00:00
alexpeshkoff
d7bffdb8cd
Fixed CORE-2402: bad permissions on temp files, /tmp is polluted with a lot of files
2009-04-08 13:16:26 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
robocop
5acf561eb6
Get rid of some typedefs.
2009-04-02 08:53:25 +00:00
alexpeshkoff
9b839ab0d0
Fixed build with not defined HAVE_MMAP
2009-03-11 07:51:45 +00:00
robocop
d766c4231d
Simplify the call to ISC_event_wait.
2009-02-28 11:47:11 +00:00
asfernandes
f4fbdffe07
Misc
2009-01-29 17:44:21 +00:00
dimitr
1b3927b026
1) Globally named per-database shmem regions.
...
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
2c2fee86da
Style.
2009-01-14 11:10:48 +00:00
asfernandes
91a4550d23
Misc
2009-01-06 17:46:08 +00:00
dimitr
deb5454ef0
Restored the original (legacy) way of returning the successful status vector.
...
But added an assert to track an unexpected status vector contents early in debug builds.
Slightly refactored the error handling for events, partially synchronized the globals there.
Plus some basic const'ness, better tdbb scope, etc.
2009-01-06 15:32:01 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
robocop
0a94d6fee8
Style.
2008-12-18 10:57:12 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +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
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
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
robocop
8a77b30645
Cleanup: get rid of useless third param in ISC_unmap_file
2008-06-26 11:23:40 +00:00
robocop
d786d35f83
Misc.
2008-06-26 10:43:57 +00:00
dimitr
bff84e9e7a
Cleanup.
2008-06-06 15:55:36 +00:00
alexpeshkoff
b237f4ebd8
Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
...
(and in some other places too).
2008-04-08 14:18:24 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
b7a575e43f
Cleanup.
2008-02-13 16:47:34 +00:00
dimitr
8f742ba52c
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:57:52 +00:00
dimitr
e3128c2479
The merge continued.
2008-01-16 08:54:50 +00:00
dimitr
0a1911d5ae
The same fix for events.
2007-11-06 09:50:35 +00:00
hvlad
f7fdc098cf
Fixed compilation on non-MULTI_THREAD platforms
2007-09-15 15:01:19 +00:00
asfernandes
16bc18df54
Misc
2007-09-15 02:37:04 +00:00
hvlad
cc42c8c462
Fixed bug CORE-1457: Server crashes attempting to deliver events for the just disconnected session.
...
Part one - AV in events code
2007-09-13 13:28:05 +00:00
asfernandes
a9fd08e21b
Be compilable in non WIN_NT platforms
2006-05-01 02:30:08 +00:00
robocop
403f5e5c57
Tweak to be able to link after compiling print_event.cpp.
2006-04-30 06:42:40 +00:00
robocop
3eb636a8e6
Misc.
2006-04-29 02:48:04 +00:00
dimitr
45f4a99893
Cleanup.
2006-04-25 18:17:05 +00:00
dimitr
d6f3ce6424
Removed the code under the SERVER macro as not used.
2006-04-25 14:17:41 +00:00
dimitr
e5869b3921
Misc.
2006-04-25 07:37:19 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
9b112424fa
Months ago I marked a buffer overrun in deliver_request().
...
Now I think I've fixed it.
2004-10-04 04:39:55 +00:00
brodsom
8023124f58
Rollback
2004-06-13 22:31:48 +00:00
brodsom
5ed6ea6e87
-Correction
2004-06-08 18:59:17 +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
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
2add5b1f60
-Unify 3 srq implementations and move it to que.h
...
-Remove duplicated lock constants between jrd.h and lock.h (naming fix and srq move outside lock.h was prerequisites for this change)
2004-05-03 17:36:27 +00:00
skidder
e9f8ef102e
Fixes needed to make GCC 3.4 happy
2004-05-03 04:25:06 +00:00
brodsom
f10702fea7
Replace defines for constants
2004-04-29 11:16:31 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
skidder
c64f31b712
Fix some warnings from GCC/Linux build. Some of them were subtle errors
2004-03-12 07:00:52 +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
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
6e8e00c191
-Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes
2003-11-16 01:44:51 +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
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +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
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
aafemt
a8f33dad88
'struct' cleanup
2003-10-24 10:15:32 +00:00
brodsom
8c0cc95124
Fix indents
2003-09-13 12:03:11 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
brodsom
c01f4f221d
-Fix not defined warning
2003-08-09 22:32:39 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +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
dimitr
59ed41a9d1
Used local subsystem prefix for event request structure.
2003-03-16 10:16:29 +00:00
dimitr
45c01c2f4b
Cleanup and minor changes in the event manager.
2003-03-08 08:06:40 +00:00
brodsom
df9a609406
EVENT_PROCESS is only used when SOLARIS_MT is defined.
2003-03-03 08:46:10 +00:00
brodsom
292e979471
Remove HUGE_PTR
2003-02-28 13:38:30 +00:00
eku
535aeded8f
Fixed "assignment to non-pointer type `SLONG' from NULL"
2003-02-14 14:27:37 +00:00
dimitr
b096a2593d
CONST -> const
2003-02-13 10:11:35 +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
dimitr
48919f19aa
More usage of the new config stuff.
2002-12-07 13:27:12 +00:00
hippoman
7387e6fb70
changed nod,tra,req,trg,rel,ctx,prc struct names to local module names
2002-11-20 23:18:16 +00:00
hippoman
4a76e9e4fe
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:13:59 +00:00
kkuznetsov
87966b7576
Fix compile error
2002-11-05 14:24:34 +00:00
eku
9342d36baa
Arrays that hold filenames must be at least MAXPATHLEN long.
2002-11-04 11:19:21 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
eku
0c1b55dd08
Code cleanup:
...
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.
Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
eku
db21fce19d
Another autoconf cleanup:
...
o check for the existence of the function mmap
o replaced MMAP_SUPPORTED by HAVE_MMAP
2002-08-26 12:10:19 +00:00
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +00:00
dimitr
140316ed46
Introduced the wildcarding of event names.
...
Since the work is not finished yet, so far the changes are protected by a macro.
2002-02-23 10:27:40 +00:00
skywalker
a887af3646
Changes to make it compile on linux.
...
and work through a few issues.
2002-01-04 11:34:22 +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
9587c717b3
ongoing cleanup
2001-05-24 14:54:26 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00