asfernandes
dbed23fafc
Misc
2009-10-03 00:52:23 +00:00
alexpeshkoff
dbbea09f2b
Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services
2009-10-02 16:44:00 +00:00
alexpeshkoff
9629eafccd
Use per-thread circular strings buffers instead common and per-attachment combination
2009-09-01 09:20:24 +00:00
asfernandes
398975b940
Misc
2009-08-20 01:32:24 +00:00
robocop
942473ad92
Comments and misc (unused enum member).
2009-08-18 12:38:45 +00:00
robocop
1552a125ad
Make sure the interactive gfix answer is correctly processed.
2009-08-16 08:43:45 +00:00
asfernandes
6377356940
Misc
2009-07-23 00:56:28 +00:00
robocop
c65d7cca2a
The flags field is SINT64, not ULONG (upgrade it).
...
"switches" changed to "flags" in tdr.cpp to allow code that resembles other utilities (need also for impending commit after 2.5).
2009-07-17 09:29:44 +00:00
robocop
5668628016
Misc.
2009-07-08 01:16:05 +00:00
robocop
ba89580753
CORE 2540: Utilities need a more coherent way to show help and version
...
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +00:00
robocop
72293a7f69
Style.
2009-06-24 12:11:17 +00:00
hvlad
1c89ab90dd
Fixed bug CORE-2523 : gfix reports "unknown ISC error 0" in some cases
2009-06-24 11:47:08 +00:00
robocop
6287ae2b6a
Misc.
2009-06-21 10:35:21 +00:00
robocop
913ded5189
in_sw_tab_t data member in_sw_state is bool.
2009-06-07 10:13:57 +00:00
robocop
e9599308e2
Cleanup.
2009-05-10 10:09:21 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
asfernandes
c986de33a2
Misc
2009-04-22 01:58:40 +00:00
robocop
6780b8c31e
Comments.
2009-04-17 14:10:11 +00:00
robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
robocop
096d8e78e6
Trying to be more consistent in the detection of headers (HAVE_* macros).
2009-02-08 11:38:00 +00:00
alexpeshkoff
cf3144c27e
Fixed recognition of -f as -full, not -fetch_password
2009-01-29 11:14:13 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
asfernandes
582d837778
Remove trailing spaces from epp files - I had forgot them
2008-12-20 23:50:22 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
alexpeshkoff
74ee6201dd
fixed MacOSx build
2008-12-02 13:51:40 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
robocop
96883a8c1f
Misc and praying that all compilers accept hex contants being int64.
2008-12-01 09:52:10 +00:00
alexpeshkoff
9431183e42
Implemented CORE-1667: Reading password from file/stdin
2008-11-30 17:11:56 +00:00
asfernandes
2cebfa88b4
Misc
2008-09-17 01:36:48 +00:00
alexpeshkoff
9b69175326
Improvement CORE-1107: Services API extension for new (single, full) shutdown modes
2008-09-16 14:19:09 +00:00
alexpeshkoff
a3c947ea76
Renamed Service's methods according to Claudio's request to reflect data movement direction
2008-09-11 11:51:25 +00:00
alexpeshkoff
370ed679ec
Refactored services code
2008-09-11 09:03:08 +00:00
robocop
bf3e601fd0
Misc.
2008-09-06 11:44:59 +00:00
alexpeshkoff
de1cc4f41a
Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko
2008-09-05 11:41:00 +00:00
robocop
b8ea332022
Misc.
2008-06-05 11:02:42 +00:00
alexpeshkoff
0c9c2e6554
Fixed printing of help text
2008-05-07 11:00:48 +00:00
alexpeshkoff
7ff8e4d2be
Fixed CORE-1879: Server uses wrong authentication method
2008-05-04 13:38:02 +00:00
robocop
f8dee95b8c
Misc.
2008-04-21 11:39:35 +00:00
robocop
8ccc9eb5a6
Changed sw_use to sw_no_reserve and ua_use to ua_no_reserve to distinguish them from sw_user and ua_user. Also, the new name is clearer on the intended usage.
...
Disabled the replay log feature since Adriano deleted it in the server.
Also god rid of expand_filename() that was a B.O. function.
2008-04-21 11:37:23 +00:00
robocop
14a0296b68
Changed sw_use to sw_no_reserve and ua_use to ua_no_reserve to distinguish them from sw_user and ua_user. Also, the new name is clearer on the intended usage.
...
Disabled the replay log feature since Adriano deleted it in the server.
2008-04-21 11:36:10 +00:00
alexpeshkoff
e3d7732078
Fix for CORE-1805: do not let svc_status blink during utility operation, instead copy it at service exit time
2008-04-07 10:52:34 +00:00
alexpeshkoff
aafed20fe1
Fixed problems with shutting down actively running engine - related with CORE-1805.
2008-04-02 14:26:17 +00:00
dimitr
d637ed09e2
Major cleanup of the old-style blk and allocator-based blk_type.
2008-03-19 16:29:17 +00:00
dimitr
13f5cc92e1
Major cleanup of the old-style blk and allocator-based blk_type.
2008-03-19 16:09:00 +00:00
alexpeshkoff
8901a0e003
Services cleanup - make class Service traditional C++ class
2008-02-02 18:33:37 +00:00
dimitr
0cda20a31a
Cleanup AliceMemoryPool.
2008-01-29 12:28:28 +00:00
asfernandes
aea2bcb354
Misc
2008-01-23 19:03:16 +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
f7941cca12
The merge continued.
2008-01-16 05:58:53 +00:00
alexpeshkoff
8711bd9215
Fixed CORE-1548: Incorrect error code in GFIX
2007-10-29 14:03:54 +00:00
asfernandes
7eb068c3ee
Misc
2007-09-10 00:45:40 +00:00
robocop
c7ce762503
Simplification and check for end of buffer.
2007-09-04 08:37:06 +00:00
alexpeshkoff
ca113735a3
Fixed CORE-1328: unexpected end of input when running gfix in dialog
2007-06-19 07:35:34 +00:00
hvlad
eae128d406
Correct invalid cast in SafeArg usage
2007-05-23 08:56:24 +00:00
alexpeshkoff
6f8fb87780
Front-ported fix for CORE-1240 - any task, using libfbclient, hangs on exit on Darwin/PPC
2007-05-03 13:52:16 +00:00
alexpeshkoff
e26228270f
1. avoid code duplication defining arg_string
...
2. fix posix build
2007-04-27 09:20:17 +00:00
skidder
91fa2c7080
Fix MSVC8/Win32 build. IMO, these things where not nice:
...
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
8274d3213d
Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible
2007-04-25 14:10:47 +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
robocop
409ff041dd
Misc and replaced "IB" by "FB" where it made sense to me.
2007-02-11 09:04:54 +00:00
alexpeshkoff
6b537af439
A couple of improvements/cleanups, suggested by Adriano
2006-12-10 11:17:50 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
hvlad
4bfeec5432
Fixed CORE-898: uininitialized variables cause a crash in alice.cpp / common_main
2006-08-16 09:08:58 +00:00
alexpeshkoff
028ab3c597
fixed AV related with SVC_TRMNTR in services
2006-07-27 14:24:09 +00:00
alexpeshkoff
ded5cc2c49
cleanup
2006-06-06 10:34:32 +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
robocop
4685b945e1
Misc.
2006-04-04 22:48:29 +00:00
alexpeshkoff
85c5ad885f
return error in case of unexpected status_exception
2006-03-15 17:27:53 +00:00
alexpeshkoff
ca70704563
fixed gcc warning(s)
2006-01-16 15:39:55 +00:00
robocop
4f5cb7e3f6
Misc.
2006-01-07 01:32:10 +00:00
robocop
1e6d89ebfc
Comment excessive dependencies on license.h.
2006-01-07 00:31:37 +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
dimitr
7a343b8162
Moved the Services API into the engine on threadable platforms.
2005-08-10 14:47:42 +00:00
robocop
34f1f5e2c2
Fixed misplaced error messages in gfix. For example, if you do
...
gfix - housekeeping
you were getting "dialect number required".
2005-07-31 01:06:20 +00:00
hvlad
66658fd803
Fixed unregistered bug - crash occured in service gfix code when it tried to
...
reattach to currently unavailable database. Since service can't interact with
end user an endless loop leads to overflow service buffer and crash as result.
2005-07-24 15:53:06 +00:00
hvlad
ec60e195c5
Fixed SF bug #1242106 (FB 2.0 Alpha 3: In-Limbo transaction Services API broken)
2005-07-24 15:32:53 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
3f0b18df85
Misc.
2005-05-16 09:15:31 +00:00
robocop
b1baf2f8f5
Misc.
2005-05-16 09:00:13 +00:00
hvlad
af740ca41a
1. Fixed bug #908319 2. Fixed inability to restore into nonexisting file with -se switch used
2005-05-14 13:45:01 +00:00
robocop
fddf92395e
Misc.
2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
bb170bd3b6
isc_interpret is fb_interpret again.
...
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
628b088d2c
Treat string literals and string constants with more respect.
2004-11-10 04:26:45 +00:00
robocop
8dd94e9d5b
Misc and mark suspicious place(s).
2004-11-08 02:57:23 +00:00
aafemt
7fbf5b39e4
Supress warning
2004-10-27 10:54:25 +00:00
skidder
3e26513b38
fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit
2004-10-25 03:53:03 +00:00
robocop
f066045351
Misc and treat string literals as constants.
2004-10-07 08:21:15 +00:00
robocop
ed17cfafbf
Style:
...
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
167b187d5d
Minimize forced casts
2004-09-26 07:37:34 +00:00
robocop
e6cb17cac6
Vulnerability reported by Daniel Urban.
...
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
alexpeshkoff
edf58bab73
Fixed my bug in alice. Also some style changes and cleanup.
2004-09-01 14:51:33 +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
6c2ade62b7
Silence uninitialized warnings
2004-08-26 18:22:40 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
brodsom
76a2f98d90
-Put thread functions into thread class
...
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00