robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
asfernandes
b39ac40c9d
Misc
2008-02-03 02:32:39 +00:00
dimitr
b797741cc5
Fixed the Windows build.
2008-02-02 20:26:18 +00:00
alexpeshkoff
8901a0e003
Services cleanup - make class Service traditional C++ class
2008-02-02 18:33:37 +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
6666fd1e4a
The merge continued.
2008-01-16 09:48:41 +00:00
alexpeshkoff
f3a8b2a9e5
Fixed CORE-1302: Races during service startup
2007-06-05 07:14:01 +00:00
alexpeshkoff
1932c8f4e7
added switch -trusted to most of firebird utilities
2007-04-07 08:47:58 +00:00
robocop
e71a03261c
This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash.
2007-03-28 04:20:36 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
alexpeshkoff
028ab3c597
fixed AV related with SVC_TRMNTR in services
2006-07-27 14:24:09 +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
hvlad
c0e41346ae
Allocate strings members of Service from the same pool as Service itself
2005-12-02 22:19:57 +00:00
alexpeshkoff
f5871b1929
fixed problems, caused by my previous commit
2005-12-02 16:54:04 +00:00
dimitr
7a343b8162
Moved the Services API into the engine on threadable platforms.
2005-08-10 14:47:42 +00:00
dimitr
73e7a63d17
Apply forgotten patch from v1.5.x which allows "gbak -se" to work again.
2005-03-01 17:53:56 +00:00
skidder
3bc0fc0746
Change style of comment to avoid multi-line comment warning
2004-08-28 02:55:45 +00:00
brodsom
4a1d36c760
Fix multiline comment
2004-08-26 19:23:53 +00:00
brodsom
76a2f98d90
-Put thread functions into thread class
...
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
brodsom
728c927550
Hack to fix mingw build (due to a mingw bug).
2004-07-02 10:47:03 +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
e60d499362
-Replace define with const
2004-05-06 00:18:09 +00:00
brodsom
60d9d085a0
Macro cleaning
2004-05-03 21:43:56 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +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
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
06a4df3708
A requiem for JOURNAL and WAL.
...
Instructions in the list.
2004-01-06 10:33:18 +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
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +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
c0485b7c67
Macro cleaning
2003-10-01 18:11:23 +00:00
brodsom
bdac17190c
Clean a bit services interface
...
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
paul_reeves
eca0d9f712
Let gbak and friends use service_mgr again.
2003-02-28 08:22:06 +00:00
brodsom
01681a01dc
Move function definition from header to cpp and remove inline.
2003-02-16 00:20:30 +00:00
brodsom
3a009ed531
Restore inline keyword, needed to avoid duplicated defs.
2003-02-14 02:05:30 +00:00
brodsom
45efaaa7e0
Remove inline keyword.
2003-02-13 22:49:16 +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
b096a2593d
CONST -> const
2003-02-13 10:11:35 +00:00
alexpeshkoff
80f2592983
1. Don't include internals of struct why_hndl where it is nit required.
...
2. CONST fixup in why.cpp & flu.cpp.
2003-01-03 12:49:59 +00:00
alexpeshkoff
dbfef25568
Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
...
Fixed bug #625899 - bugcheck 291
2002-12-16 16:25:10 +00:00
tamlin
fb3cfa85da
const correctness etc
2002-10-29 16:27:47 +00:00
dimitr
1156437a75
Small correction.
2002-10-26 12:34:46 +00:00
eku
8b6ac67c92
Service API:
...
o fixed SVC_TRMNTR parsing
o fixed -svc/-svc_thd argument passing
o re-enabled API on CS (SINIX-Z)
2002-10-07 13:33:45 +00:00
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51: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