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

204 Commits

Author SHA1 Message Date
robocop
d1373b1555 Fix clash with winbase.h on IGNORE. 2005-11-18 04:39:47 +00:00
dimitr
054af913ae Fixed possible event handler crashes during detach. 2005-05-31 16:10:15 +00:00
dimitr
6d333a5af5 Fixed bug introduced 1.5 years ago. 2005-05-06 13:15:32 +00:00
alexpeshkoff
b9ec5835b4 fix gcc warning 2005-03-20 13:55:21 +00:00
dimitr
9efa04ae30 Fixed improper loopback connection via XNET. 2005-03-09 16:26:41 +00:00
dimitr
7d371a8959 Disable XNET for the embedded server. 2005-01-18 21:45:56 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
alexpeshkoff
820dbe9156 restored broken by me const-correctness in remote 2004-11-16 11:43:05 +00:00
robocop
56201d1a86 Consistency. 2004-11-08 07:09:15 +00:00
alexpeshkoff
ff5dd732d3 more active use of Firebird::string in remote 2004-11-07 14:44:59 +00:00
robocop
5a33aeef91 Misc: extra semicolons do not help. :-) 2004-11-07 10:38:13 +00:00
robocop
f6b5de8a7a Redundant casts.
Getting rid of IPSERV.
2004-10-09 01:37:30 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
dimitr
7d3578cea8 Fixed bug SF #223058 2004-09-05 14:08:04 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +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
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
bf56ba0a45 -Inlining of *_thread_data macros.
-Solving another case of variable name = struct name.
2004-05-21 15:22:19 +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
36d6d40469 Macro cleaning 2004-05-17 10:22:34 +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
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
skidder
8f46d45dc5 Fix crashes/lock-ups with multiple calls of isc_dsql_prepare for a single statement like IBO does 2004-03-25 04:44:43 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +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
skidder
a82deb1f83 Make it build after Claudio cleanup 2004-02-24 07:21:00 +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
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
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
16cbc204df Cleanup 2003-12-31 05:36:12 +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
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +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
skidder
7b99b8a57b Basic INTL cleanup.
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +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
brodsom
65d792cda0 -BOOLEAN cleaning 2003-09-11 18:59:34 +00:00
dimitr
efe2cbce0d Added the current XNET implementation.
Let's hope it works not only for me <g>
2003-09-08 14:14:23 +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
f54342035c -Fix not defined warning
-Remove unneeded casts
2003-08-09 22:34:19 +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
b8aa5e8448 Add remote client to the embedded server again. 2003-06-05 19:40:25 +00:00
dimitr
345ab4ee76 Const correctness suggested by Claudio. 2003-05-07 07:08:07 +00:00
dimitr
9bb7988a69 Fixed possible client crashes on disconnect (when events are registered). 2003-05-05 11:14:06 +00:00
dimitr
9e168cacd6 Removed XNET temporary stubs from ISC and REMOTE.
It will be available as native local protocol in v1.6.
2003-05-05 09:19:35 +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
brodsom
b02159a592 Avoid nested ifdefs (Thanks to Claudio) 2003-04-08 10:36:25 +00:00
brodsom
1a2a9c0129 REMOTE warning fixes 2003-04-08 01:06:46 +00:00
brodsom
4a9d0fbbc5 Ifdef variable declaration 2003-04-03 09:21:34 +00:00
dimitr
3916a58953 Cleanup. 2003-03-23 17:16:55 +00:00
brodsom
3468459299 Return fb_assert to assert (rollback) 2003-03-04 03:42:23 +00:00
brodsom
5b6fc078a3 Put declarations and definitions inside correct macros(when the function is not used NOT_USED_OR_DEFINED). 2003-03-03 08:42:07 +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
bellardo
08a1d7447f Renamed two header files that conflicted with Darwin (and presumably other *nix ) system headers: pwd.h and math.h 2003-02-13 22:38:04 +00:00
dimitr
9113c1ebd5 Fixed exception handling. 2003-02-13 13:02:04 +00:00
eku
813397dd25 Fixed a "search and replace" error from my previous check-in. 2003-02-10 13:40:46 +00:00
eku
a7f18b2e31 Removed "register" variables from the source code. It's up to the compiler
to hold variables in CPU registers.
2003-02-10 13:28:35 +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
alexpeshkoff
8f934933d3 Reverted my incorrect change. 2002-12-22 12:18:14 +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
eku
eed374c06a Autoconf:
o added tests for nttab.h sys/mntent.h sys/mnttab.h
 o added tests for getcwd getwd setmntent getmntent
 o ISC_PREFIX renamed to FB_PREFIX
 o major code cleanup in src/jrd/isc_file.cpp

Removed platform-specific files from posix/Makefile.in.firebird.
2002-11-18 13:23:00 +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
eku
3f7b72e281 We don't need two different defines for the same thing: NFS meant !NO_NFS. 2002-11-14 08:25:46 +00:00
eku
deb5c91397 Autoconf: check for crypt.h and crypt 2002-11-14 07:12:50 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +00:00
eku
507b9c86c8 Do not redefine MAXPATHLEN. Always use the value supplied by the operating
system (header files).
2002-11-06 07:08:49 +00:00
eku
9fcdb74685 More status vector cleanups (ISC_STATUS_LENGTH).
Autoconf checks for xdr_hyper.
2002-11-04 13:57:18 +00:00
tamlin
f6be387614 Trimmed compiler warnings. 2002-11-03 22:27:48 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
seanleyne
94430c5d33 Removed support for obsolete IPX/SPX Protocol 2002-10-30 05:04:56 +00:00
seanleyne
cc1f10d9a3 Code cleanup, removed obsolete "DecOSF" port 2002-10-29 03:17:45 +00:00
seanleyne
026d8c0441 Code Cleanup, removed obsolete "Ultrix" and "Ultrix/MIPS" ports 2002-10-28 05:19:52 +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
9cf71556b3 Fixed the naming of some files:
interbase.msg => firebird.msg
 interbase.log => firebird.log

SINIX-Z: don't distribute build programms
2002-09-20 10:23:15 +00:00
dimitr
d944acab97 Fixed serious porting error. 2002-05-24 08:06:43 +00:00
bellardo
d40cf4076d Forgot to rename include directive 2002-04-04 16:08:18 +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
2532a1fb81 cleaning up 2001-12-28 05:53:31 +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
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