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

431 Commits

Author SHA1 Message Date
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +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
46b5652ab3 Macro cleaning 2004-05-18 22:01:53 +00:00
brodsom
98d9fe6e63 Macro cleaning 2004-05-18 16:32:07 +00:00
brodsom
606dee7a14 Correction 2004-05-18 00:45:46 +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
aa88f67e75 Macro cleaning 2004-05-17 00:21:46 +00:00
brodsom
cc1c25f7ae Macro cleaning 2004-05-16 01:42:11 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
c70343dc21 -Avoid shadow warning 2004-05-13 15:18:15 +00:00
brodsom
9e204004d6 -Avoid shadow warning 2004-05-12 21:47:36 +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
ca34ef15b2 Fix warning 2004-05-04 19:37:25 +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
ba44794c1e -Remainings of ib_stdio (Pointed by Claudio) 2004-05-01 14:18:28 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
robocop
f81e60ed78 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:37:07 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +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
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
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +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
skidder
2851f76d35 Fix warnings 2004-03-14 05:51:54 +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
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
25b969d1b7 Fix MSVC build 2004-03-01 04:57:43 +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
aafemt
8f92e63e90 Fix after Claudio's cleanup 2004-02-25 11:07:40 +00:00
skidder
a82deb1f83 Make it build after Claudio cleanup 2004-02-24 07:21:00 +00:00
robocop
a36307da5a Remove dllshell.cpp as the only reference is inside
builds\win32\old_makes\ treats it as plain C file, it's a Win16 remnant
and John doesn't need it either for Mac_os_x.
2004-02-24 05:49:55 +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
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
f3cd158bb0 Get errors passed over the wire correctly on 64-bit platforms 2004-01-27 06:19:02 +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
eku
14b3de174e Port numbers are limited to 16 bit. 2004-01-13 13:38:36 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
skidder
6973b067ea Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now 2004-01-12 06:58:27 +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
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
dimitr
d7c54f3407 Fixed internal window issue. 2003-12-24 12:23:04 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
dimitr
73c64e9835 Replaced itoa with snprintf. 2003-12-11 08:26:46 +00:00
dimitr
21e87f82e6 Fixed issues with TCP/IP port/service specification. 2003-12-06 15:52:45 +00:00
robocop
b02c629735 Cleanup
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +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
dimitr
06aef49e07 Fixed initialization error. 2003-11-23 09:39:26 +00:00
eku
4a38dfd307 Moved the definition of socklen_t to autoconfig.h. It's used in inet.ccp and
server.cpp.
2003-11-20 08:13:30 +00:00
brodsom
88a2611ed1 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 16:17:38 +00:00
brodsom
27cbcdd73e -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:57:23 +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
skidder
f2180c2744 Forcedly set SO_KEEPALIVE flag for POSIX CS connections independently of what was given by xinetd/inetd to us 2003-11-15 20:16:29 +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
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
7685152889 Correction (Thanks to Claudio) 2003-11-10 02:13:02 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
bellardo
409cfd60e0 SWAP_DOUBLE definition implementation for darwin 2003-11-08 07:48:20 +00:00
brodsom
ba8b565b7e fix const cast (error in mingw) 2003-11-07 15:39:11 +00:00
brodsom
146b6f2001 Extern function cleaning 2003-11-07 13:25:53 +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
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
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
eku
da0d0f068f Cleanup usage of gettimeofday. 2003-10-31 11:33:45 +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
d43bb857e3 Style; bool 2003-10-20 10:28:48 +00:00
robocop
b7a0dfa834 Style; bool, vars in scope 2003-10-20 10:28:07 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
skidder
4e8605294e Forward port Sparc fixes 2003-10-10 23:56:57 +00:00
robocop
480c1ee968 const correctness 2003-10-08 08:42:48 +00:00
brodsom
bac69c42fc extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:20:50 +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
dimitr
835c254336 Don't change screen cursor during CS attach. 2003-09-24 14:53:25 +00:00
skidder
4f375d534d Update Linux CS build for my REMOTE changes 2003-09-23 22:34:14 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +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
d6a502709b Fix unused function warning 2003-09-15 19:27:24 +00:00
brodsom
c527dea618 Warning fixes 2003-09-14 00:26:30 +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
dimitr
8de7978d90 Cleanup 2003-09-10 12:02:25 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +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
382cd1c45e Code cleaning 2003-09-08 01:45:09 +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
70c6a819ee -Remove BOOLEAN, TRUE and FALSE 2003-08-29 00:37:25 +00:00
brodsom
255b32204e -Remove BOOLEAN_DEFINED macro
-Remove MSG_DEFINED macro
2003-08-28 22:52:19 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
skidder
6f2c2095ae Fix kernel memory leak 2003-08-21 22:30:20 +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
brodsom
f29dadbdb6 -Fix never defined warning 2003-08-10 01:22:12 +00:00
brodsom
f54342035c -Fix not defined warning
-Remove unneeded casts
2003-08-09 22:34:19 +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
499337fda5 Split utilities dir 2003-07-15 02:43:36 +00:00
brodsom
5829455596 Move win32 specific sources in remote to remote/os/win32 2003-07-14 23:29:45 +00:00
brodsom
8feff51688 Remove depends (unused and unmaintained) 2003-07-08 23:38:30 +00:00
dimitr
f33923d832 no message 2003-07-06 13:35:08 +00:00
dimitr
6b80680358 Preload the client library to fix the win98 UDF issues. 2003-07-06 11:38:30 +00:00
dimitr
8a9fd67841 Get rid of the old config stuff completely. 2003-07-04 15:17:49 +00:00
dimitr
f0d59e7eb4 Temporary disallowed config management via the property sheet. 2003-07-04 12:15:33 +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
318d501392 Fixed manual TCP port assignment. 2003-06-25 07:39:04 +00:00
dimitr
e72d7cc92e Re-enable default asymmetric protocol. 2003-06-08 18:12:13 +00:00
dimitr
735eff821c Version information cleanup. 2003-06-08 13:13:25 +00:00
alexpeshkoff
b7675edc11 fixing linux SS - removed variable free_map_debug,
as not present in any other part of firebird code
2003-06-06 09:16:54 +00:00
dimitr
b8aa5e8448 Add remote client to the embedded server again. 2003-06-05 19:40:25 +00:00
aafemt
6233daf531 Win32 SS doesn't ignore protocol command-line switches anymore. CS doesn't support IPC 2003-05-13 10:13:34 +00:00
skidder
7904fcd7ee Cleanup 2003-05-09 16:05:24 +00:00
aafemt
0809efc4d6 Missed parameter -l -- accept win32 IPC local connections 2003-05-08 10:30:43 +00:00
skidder
bb00bf2478 Mark probable problem for non-Intel ports 2003-05-07 19:14:40 +00:00
dimitr
345ab4ee76 Const correctness suggested by Claudio. 2003-05-07 07:08:07 +00:00
dimitr
469b97a03c Disabled XNET in the server window. 2003-05-05 12:11:11 +00:00
dimitr
12f06180d5 If a port cannot be reconnected, exit child process instead of crashing with SEGV. 2003-05-05 12:09:40 +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
9bb7988a69 Fixed possible client crashes on disconnect (when events are registered). 2003-05-05 11:14:06 +00:00
dimitr
d2c241aa87 Synchronized command-line arguments with srvr_w32.cpp. 2003-05-05 10:39:28 +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
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
alexpeshkoff
581b549844 Make SS create memory log in debug mode on shutdown 2003-04-29 15:08:21 +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
ae56ed3860 1. Ask for only asymmetric protocols from the client side.
2. Cleanup.
2003-04-09 13:20:56 +00:00
dimitr
50f6fc556f Accept only asymmetric protocols on the server side. 2003-04-09 10:48:33 +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
c246f9d897 Avoid signed unsigned comparison 2003-04-03 17:19:10 +00:00
brodsom
2baee91987 Use 0 instead of NULL 2003-04-03 09:23:18 +00:00
brodsom
4a9d0fbbc5 Ifdef variable declaration 2003-04-03 09:21:34 +00:00
brodsom
927e886d81 Correct formats 2003-04-03 01:51:03 +00:00
brodsom
ae6b144f3b - Remove unneeded define
- Correct format
- Use 0 instead of NULL in comparison
2003-04-02 10:58:35 +00:00
alexpeshkoff
5846f9a8fa Fixed parameters names & some preprocessing cleanup 2003-04-01 15:36:12 +00:00
brodsom
e9528848f9 Correct formats 2003-04-01 11:35:44 +00:00