alexpeshkoff
5ac5869661
CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come.
2008-07-03 12:02:54 +00:00
alexpeshkoff
c0bf97f735
Make it possible to have normal operations after async ones in single network packet
2008-05-12 13:34:52 +00:00
dimitr
c74650aa5f
Fixed CORE-1357.
2008-04-20 14:02:51 +00:00
alexpeshkoff
742c1dce93
Linger should better be initialized
2008-04-18 10:52:29 +00:00
alexpeshkoff
6c6fdd44fa
Fixed memory leak in rem_port::asyncReceive() and optimized it's performance.
...
Get it ready for non-IP protocols.
2008-04-17 17:05:40 +00:00
hvlad
b59d7731ec
Ensure port can't be deleted ... addition
2008-04-16 14:19:58 +00:00
hvlad
cd4d7ec93d
Ensure port can't be deleted by another thread while receiving data (usual socket disconnect event) during disconnect. Just hold one more reference to it.
2008-04-16 12:48:28 +00:00
robocop
5294fda616
Misc.
2008-04-15 09:31:35 +00:00
alexpeshkoff
b0cc1c0481
Implemented remote cancel operation call. Switched to PROTOCOL_VERSION12.
2008-04-14 09:45:16 +00:00
robocop
b2e8da134f
Trying to fix the interface again.
...
Sorry for going back and forth with constness, but in some cases it was impossible to ensure that input params aren't overwritten, thus I took const away to avoid making promises that can't be met (see the case of fetch that uses a supposedly input-only param to return data). Overwriting memory that was declared const initially is a serious error in C++ with undefined outcome so we better do not lie.
2008-04-03 10:17:24 +00:00
robocop
27b24cccf3
The boss prefers clean() instead of the sui generis unset().
2008-03-30 09:49:22 +00:00
robocop
f5c4d1853d
Cleanup.
2008-03-30 09:38:24 +00:00
robocop
88349111c8
Probably I could put RFlags with a better name elsewhere for general usage, but for now I'll test the waters with Rsr.
2008-03-30 03:02:12 +00:00
robocop
443feabad9
Since Vlad and Alex did the hard work, I took the comment from Mike (approx 6 years ago) and did the small change function->method.
2008-03-28 13:36:19 +00:00
alexpeshkoff
4e5a83e767
1. Make remote port RefCounted object.
...
2. Removed deferred cleanup hack.
3. Fixed races when events are delivered - thanks to Vlad.
2008-03-27 10:15:05 +00:00
alexpeshkoff
21ca11f328
1. Moved processing of exceptions in guards' dtors to better place.
...
2. Added class Reference (RefCounted guard) and use it in the tree.
2008-03-25 08:44:11 +00:00
alexpeshkoff
6809f624fc
Remote cleanup:
...
1. Avoid ALLR memory allocation routine (use new / delete).
2. Use common (TypedHandle) class to control consistency of handles.
3. Make ctors and dtors work - in most cases more work is needed to make them meaningful.
2008-03-24 15:28:38 +00:00
asfernandes
4762e049ee
Misc
2008-03-14 02:50:40 +00:00
hvlad
4115317607
Make remote module thread-safe, remove THREAD_EXIT\THREAD_ENTER from it, refactor server code and some cleanup. To be continued. Please check posix builds.
2008-03-11 14:11:32 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
f25819fb19
The merge continued.
2008-01-16 07:55:28 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
hvlad
0593719f67
Additional patch for CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched
2007-06-09 11:06:59 +00:00
hvlad
a3757ab602
Fixed CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched
2007-06-08 12:41:18 +00:00
hvlad
88671bf258
Correct error handling for deferred executed statements
2007-05-17 13:03:57 +00:00
robocop
b776f1f19c
Minor corrections.
2007-04-03 08:18:11 +00:00
hvlad
2c10b3ff92
Implement one more LazyPort feature : defer op_execute packet when it possible
2007-04-01 21:42:40 +00:00
asfernandes
a150855ef8
Misc
2006-12-09 01:23:17 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
asfernandes
df37723a48
Misc
2006-05-02 01:32:41 +00:00
robocop
07f4bed382
I don't want another "interprete", so I rename "defered" to "deferred".
2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641
Merge B1_5_Remote_LazyPort branch into HEAD
2006-05-01 22:23:31 +00:00
alexpeshkoff
a6151c44c9
Fixed SF bug 1385092
2006-03-03 16:20:42 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
dimitr
7ca955e43a
Minor cleanup.
2006-02-04 10:37:15 +00:00
skidder
55c4e0ac85
CLIENT_ADDRESS and NETWORK_PROTOCOL variables support
2004-11-26 01:01:27 +00:00
robocop
273665c953
ipserver is being deleted. Update source files.
2004-10-03 07:04:44 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
brodsom
b9b39b630e
-Rollback
2004-06-09 18:23:27 +00:00
brodsom
3d09805eab
-C++ struct declaration style.
2004-06-08 18:41:33 +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
bf56ba0a45
-Inlining of *_thread_data macros.
...
-Solving another case of variable name = struct name.
2004-05-21 15:22:19 +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
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
606dee7a14
Correction
2004-05-18 00:45:46 +00:00
brodsom
36d6d40469
Macro cleaning
2004-05-17 10:22:34 +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
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
robocop
f81e60ed78
More cleanup. Get rid of obsolete files, too.
2004-03-30 08:37:07 +00:00