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

146 Commits

Author SHA1 Message Date
dimitr
f25819fb19 The merge continued. 2008-01-16 07:55:28 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
robocop
bfa4af4467 Simplify code. 2007-10-29 03:18:20 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
skidder
09cfae0e0a Allow local protocol to work with servers running both under restricted accounts (e.g. Vista regular user) and unrestricted accounts (e.g. LocalService) 2007-10-28 14:47:19 +00:00
hvlad
f8a6ea8564 Fixed bug CORE-1456: Wrong events delivery in the case of concurrent XNET connections 2007-09-13 13:23:10 +00:00
dimitr
07ebaa0ce9 Fixed CORE-1403. 2007-08-03 08:41:45 +00:00
asfernandes
613faffafb Misc 2007-08-02 02:00:37 +00:00
robocop
6f3d9cf06d Misc. 2007-07-31 08:36:38 +00:00
dimitr
01232a2def Fixed client crashes when the server unexpectedly died. Hopefully, it should solve CORE-1194. 2007-07-30 09:58:18 +00:00
alexpeshkoff
139e9c9a64 fixed bug in my last commit 2007-06-21 12:04:49 +00:00
alexpeshkoff
31beadfb64 fixed BOF during op_connect processing, avoid use of sprintf() in remote 2007-06-21 08:40:04 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
dimitr
6466e7b12d 1) WNET and XNET cannot support OOB transmission, so they should not ask for that.
2) Cleanup the INET protocol types.
2006-12-15 15:47:52 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
25bf9d6c11 Fixed CORE-1017. 2006-11-28 10:21:21 +00:00
asfernandes
d8e10bbe1f Misc 2006-11-21 00:20:35 +00:00
dimitr
3edda730cd Attempted to fix XNET for the mixed 32-bit and 64-bit process interaction.
The binary memory layout is still the same, so I didn't bump the protocol version number.
2006-11-20 12:18:51 +00:00
dimitr
21e3b7e302 Let's never use native datatypes in the protocol structures. time_t in VC8 is 8 bytes long by default. 2006-11-20 07:55:39 +00:00
dimitr
ce77a882c4 Fixed XNET in Win64 builds. 2006-11-20 07:31:30 +00:00
dimitr
dd91852178 Simplified the code as Adriano suggests. 2006-09-15 06:11:34 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
dimitr
b018393168 Fixed CORE-923. 2006-09-12 06:48:03 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
ccc620e334 A bunch of changes targeted to support multi-instancing on win32. 2006-04-20 10:35:44 +00:00
robocop
2e9353d7e7 Delete dead code after checking with Dmitry.
The B.O. are still there when copying the result of GetCommandLine().
2006-04-11 07:18:53 +00:00
dimitr
eba22db548 Fixed an exception during events shutdown, reported in fb-devel. 2006-03-09 17:52:17 +00:00
dimitr
7c8f6e2717 Fixed broken XNET logic. In fact, this affects all types of connections as the security database is accessed locally. 2006-02-07 18:41:06 +00:00
dimitr
9ec3909c08 Fixed XNET to follow the common call architecture for the remote subsystem. Just hope I didn't break the logic. 2006-02-05 18:03:00 +00:00
dimitr
1483c3abd0 Implemented SRVR_debug for XNet connections on win32. 2006-02-04 16:10:14 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
robocop
69d03eec33 Fix allocation bug. 2005-10-05 08:39:07 +00:00
dimitr
d1c94854e3 Allow XNET connections from the same process (e.g. from UDFs). 2005-02-03 14:07:31 +00:00
robocop
e7bd3ca440 Misc. 2005-01-19 08:54:51 +00:00
dimitr
f49849da03 Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 12:20:09 +00:00
robocop
bd0af404fd Misc. 2004-12-28 05:21:00 +00:00
alexpeshkoff
c5445c969b user_id clumplet cleanup 2004-12-26 13:48:01 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
014d90ff59 Misc. 2004-12-08 04:12:26 +00:00
skidder
55c4e0ac85 CLIENT_ADDRESS and NETWORK_PROTOCOL variables support 2004-11-26 01:01:27 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
alexpeshkoff
6bd833026a restored broken by me const-correctness in remote 2004-11-15 15:52:57 +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
362f95df8a Got rid of some casts that were driving me nuts on each compilation 2004-09-22 08:54:42 +00:00
brodsom
aaaddf7642 Fix ,silence non initialized warnings 2004-08-26 23:27:46 +00:00
alexpeshkoff
4a00641daf Removed THD_mutex_init from comment 2004-06-09 07:44:10 +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
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
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
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
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
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
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
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +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
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
480c1ee968 const correctness 2003-10-08 08:42:48 +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
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
dimitr
8de7978d90 Cleanup 2003-09-10 12:02:25 +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
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +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
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
brodsom
1a2a9c0129 REMOTE warning fixes 2003-04-08 01:06:46 +00:00
brodsom
2baee91987 Use 0 instead of NULL 2003-04-03 09:23:18 +00:00
brodsom
ae6b144f3b - Remove unneeded define
- Correct format
- Use 0 instead of NULL in comparison
2003-04-02 10:58:35 +00:00
brodsom
b3cce04f16 Add two braces to make it work on mingw 2003-03-11 19:51:07 +00:00
tamlin
96c5d5e8f3 Close Win32 handles at exit. 2003-03-11 05:53:55 +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
7a3b56ef46 Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings) 2003-03-01 17:51:59 +00:00
brodsom
207c0a2f89 Remove unneeded include 2003-02-19 15:33:16 +00:00
brodsom
6dcac4ac01 Remove W4 warnings (initialized but unused var) 2003-02-17 23:45:29 +00:00
brodsom
fc77fee95f Remove NEW, CHECK_THIS, blank define. 2003-02-10 23:47:19 +00:00
dimitr
fba5c08f2f XNET support on win32. Untested. 2003-01-19 12:18:24 +00:00
dimitr
6bfbf2676b New config values. 2003-01-15 14:10:07 +00:00
eku
af691e2edc Now you can specify the service name and port of the DB server via configure
--with-service-name     specify inet service name (default=gds_db)
  --with-service-port     specify inet service port (default=3050)

So it's possible to run FB1 and FB2 together on the same machine.
2002-11-06 12:36:07 +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
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
dimitr
46432ec922 Finilized Borland's implementation of XNET (win32 only). Seems to work ;-) 2002-08-27 19:26:39 +00:00
eku
f359a95a52 Added / replaced ifdef's around unistd.h with the define HAVE_UNISTD_H
generated by autoconf.
2002-08-26 12:18:16 +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