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

276 Commits

Author SHA1 Message Date
brodsom
fbbc61156f -Fix another incredibly stupid legacy variable naming, variable name = struct name. 2004-05-03 13:35:38 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
dimitr
65d3e59dc1 Fixed possible AV in SS builds. 2004-03-24 20:12:35 +00:00
alexpeshkoff
1e6c7b18e9 fixed problem with loop in includes 2004-03-22 11:38:23 +00:00
skidder
2851f76d35 Fix warnings 2004-03-14 05:51:54 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +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
stryqx
0a6ab26acb Let semaphore.h see the definition of gds__log for successful build
on FreeBSD.
2004-02-13 10:17:50 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +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
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
9b7994233c -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:52:44 +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
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
brodsom
cda50f7f41 Extern "C" cleaning correction (detected by Claudio) 2003-11-07 13:20:15 +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
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
brodsom
0ae432cf98 Style 2003-11-03 00:37:11 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +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
robocop
c931a674c2 Cleanup.
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +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
skidder
4f375d534d Update Linux CS build for my REMOTE changes 2003-09-23 22:34:14 +00:00
skidder
30d8ca94f2 Fix SuperServer 1-minute lock-up under contention bug.
With previous logic all spare threads were notified and performed
expensive loop on each request arrival. New logic wakes up only
one thread per request. (the same fix was performed in 2.0 SS lock manager
to avoid waking up all blocked threads on each lock request resolution).
As an (unexpected) result of this changes SS performance significantly
improved. Some artificial tests show timing improvements by
factor between 2 and 3.
2003-09-16 20:59:45 +00:00
brodsom
fa09e72d4e Corrections (Thanks to Claudio) 2003-09-13 09:15:06 +00:00
brodsom
65d792cda0 -BOOLEAN cleaning 2003-09-11 18:59:34 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
62a397922c -Remove GDS_VAL and GDS_REF 2003-08-30 01:43:08 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
aafemt
9dbf56310a sdl is UCHAR again 2003-08-15 10:23:46 +00:00
brodsom
5a52e128ce -Fix signed/unsigned comparison warning 2003-08-10 11:08:56 +00:00
aafemt
cd128d6ce8 Rollback public API changes by Mike Nordell 2003-08-07 10:37:34 +00:00
aafemt
b672867147 sdl is a plain char again. Some cleanup around it 2003-07-24 10:21:42 +00:00
brodsom
5829455596 Move win32 specific sources in remote to remote/os/win32 2003-07-14 23:29:45 +00:00
brodsom
3e8835251f Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 11:26:38 +00:00
dimitr
eead4406c1 Small fixes for WNET and XNET:
1. Wake up event thread on disconnect.
2. Shutdown broken port properly.
2003-05-05 11:44:02 +00:00
dimitr
8ee32bb1cb Rolled back asymmetric protocol due to found bugs and lack of time to fix them in v1.5. 2003-05-02 17:17:09 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
931da98b2f STATUS -> ISC_STATUS 2003-04-10 10:31:28 +00:00
dimitr
50f6fc556f Accept only asymmetric protocols on the server side. 2003-04-09 10:48:33 +00:00
brodsom
1a2a9c0129 REMOTE warning fixes 2003-04-08 01:06:46 +00:00
tamlin
96c5d5e8f3 Close Win32 handles at exit. 2003-03-11 05:53:55 +00:00
brodsom
3468459299 Return fb_assert to assert (rollback) 2003-03-04 03:42:23 +00:00
brodsom
1d8a030e41 Change assert to fb_assert when gdsassert.h is included. Separate the standard macro from the FB one. 2003-02-28 15:07:36 +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
dimitr
9113c1ebd5 Fixed exception handling. 2003-02-13 13:02:04 +00:00
dimitr
f833079b2f CONST -> const 2003-02-13 09:33:26 +00:00
brodsom
7f835d377c Change define name REMOTE_DEBUG_MEMORY to DEBUG_REMOTE_MEMORY 2003-02-11 00:54:58 +00:00
alexpeshkoff
b8610ddefe Finished y-valve C++ conversion cleanup 2003-01-22 16:37:59 +00:00
dimitr
fba5c08f2f XNET support on win32. Untested. 2003-01-19 12:18:24 +00:00
dimitr
127f21f356 no message 2003-01-15 12:15:07 +00:00
alexpeshkoff
20961a1396 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *) 2002-12-16 16:52:35 +00:00
dimitr
95579c893a Renamed MSG to REM_MSG. 2002-11-19 12:40:54 +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
870d7c1999 Fixed compiler warnings. 2002-11-06 07:23:19 +00:00
dimitr
e51cbb97ef Finilized Sean's cleanup. 2002-10-31 11:58:41 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +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
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
dimitr
e759de0b11 Merging changes from fb1. 2002-06-29 08:49:39 +00:00
bellardo
2437e0de0a We are using exceptions now, clean out old setjmp/longjmp code. 2002-04-04 05:43:12 +00:00
tamlin
2a3a320010 Cleanup and bugfixing 2002-03-31 00:40:08 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00