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

768 Commits

Author SHA1 Message Date
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
7aa0ac1cd4 Shut up compiler warnings (unreferenced vars, uninitialized vars, etc). 2008-12-31 09:36:57 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
robocop
b16fc7df85 There's no need to check whether a pointer is null before applying delete or delete[]. 2008-12-21 06:13:12 +00:00
robocop
78df1ae72d Style. 2008-12-21 06:12:41 +00:00
asfernandes
582d837778 Remove trailing spaces from epp files - I had forgot them 2008-12-20 23:50:22 +00:00
alexpeshkoff
c4a7181f4c Simplified code, avoid #ifdef 2008-12-09 15:20:00 +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
21174c13dc Removed accidentially pasted lines - thanks to Adriano 2008-12-03 07:43:15 +00:00
asfernandes
744e83f240 Misc 2008-12-03 01:05:53 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
paulbeach
c824c78d83 Small mods for HPUX to support 2.0.5 2008-12-01 14:52:56 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
robocop
4ab6c03aa6 Misc. 2008-11-22 07:51:42 +00:00
asfernandes
a44fe8b249 Fixed MSVC8 build 2008-11-21 14:18:03 +00:00
alexpeshkoff
f3ed005757 CORE-1758 - added forgotten new files 2008-11-21 07:33:00 +00:00
alexpeshkoff
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
2a00a0ee81 Restore always runs without DB triggers - thanks to Adriano 2008-11-19 08:07:06 +00:00
alexpeshkoff
ff40a4e199 Implemented CORE-2197: added support for -nodbtriggers switch in gbak into services API 2008-11-17 16:29:14 +00:00
robocop
89584f8a11 Follow Dmitry's cleanup. 2008-10-21 06:20:33 +00:00
alexpeshkoff
71e7ae2217 misc 2008-10-07 07:41:32 +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
2e3acab9b0 Use fb_utils::init_status() to reinitialize vector 2008-09-11 13:22:59 +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
47dfde8f95 Fixed a number of problems (races, deadlock) in gsec's error reporting.
Removed tsec_status_vector, making error reporting simpler and more reliable.
2008-09-11 11:25:35 +00:00
alexpeshkoff
836212cc85 fixed client AV in non-interactive mode 2008-09-11 09:40:02 +00:00
alexpeshkoff
370ed679ec Refactored services code 2008-09-11 09:03:08 +00:00
alexpeshkoff
04bbba056b Improved gsec's diagnostics 2008-09-10 12:48:48 +00:00
asfernandes
0f387a9bee Misc 2008-09-06 18:42:55 +00:00
alexpeshkoff
c519a71cfc Restored correct behavior - avoid duplication of error message 2008-09-05 14:19:16 +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
asfernandes
96194d08ba Misc 2008-08-31 01:10:41 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
5a111d8427 Misc 2008-08-15 02:06:23 +00:00
alexpeshkoff
0187d66d78 Fixed multithread safety problems in security.epp when used as service.
This also fixes CORE-2022 - "EXECUTE BLOCK" statement does not support "CREATE USER".

SECURITY_exec_line() is deoptimized now, i.e. requests will be recompiled each times they are used.
It can be optimized again by passing request handles from outside world together with transaction handle,
but I see no big use in optimizing user database management code.
2008-08-12 13:46:34 +00:00
alexpeshkoff
881fd7fff8 Use FB type where acceptable 2008-07-08 07:02:10 +00:00
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
44511acf29 Avoid duplicate Service::finish() call - thanks to Roman Simakov 2008-06-26 10:58:35 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
robocop
255f413540 Gstat doesn't need to alter its switches table (thanks Vlad for confirmation). 2008-06-12 09:03:55 +00:00
robocop
46df47034c Misc. 2008-06-10 12:28:26 +00:00
asfernandes
4822c30c70 Misc 2008-06-06 22:40:15 +00:00
alexpeshkoff
b021758834 Fixed SS build 2008-06-05 07:36:40 +00:00
asfernandes
84603f1169 Misc 2008-05-25 01:39:16 +00:00
robocop
a84cc0ec05 Cleanup. 2008-05-23 13:27:47 +00:00
alexpeshkoff
796e02d2a5 1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
0552035ce5 Added transaction support in user management commands 2008-05-15 15:15:02 +00:00
robocop
5777ff76fa More VC6 cleanup. 2008-05-14 13:11:41 +00:00
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
asfernandes
8b4a83f201 Misc 2008-05-11 03:00:46 +00:00
robocop
a8b9f4cdd0 Misc. 2008-05-08 08:24:57 +00:00
alexpeshkoff
e40105fe12 Make fbguard work with superclassic too 2008-05-05 09:27:49 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
robocop
7d4533725b Misc. 2008-04-26 10:31:03 +00:00
alexpeshkoff
7f3c43032a Deprecated fbmgr utility.
To be removed in 3.0.
2008-04-25 16:36:23 +00:00
alexpeshkoff
81e856251c Added switch "-daemon" to guardian.
Thios seems a good replacement of used since 2.0 fbmgr functionality.
2008-04-25 16:33:30 +00:00
asfernandes
e18ac3cb53 Misc 2008-04-24 01:53:40 +00:00
robocop
888c5d539f Cleanup. 2008-04-22 13:01:18 +00:00
robocop
05271261e1 Style. 2008-04-19 11:11:10 +00:00
dimitr
d4fc5aef4f Adjustment for the new superclassic switch. 2008-04-10 18:05:07 +00:00
alexpeshkoff
7384d7129b cleanup 2008-04-08 11:28:05 +00:00
alexpeshkoff
2ade43d5d7 make sure status vector is initialized 2008-04-07 16:30:13 +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
asfernandes
29fbfbb8ff Misc 2008-04-06 14:45:51 +00:00
robocop
5e282b9f7e Misc. 2008-04-06 10:31:58 +00:00
alexpeshkoff
4a919885e1 Fixed CORE-1810: Usernames with '.' character 2008-04-04 15:46:04 +00:00
dimitr
1c343cbadc Server-side fix for CORE-1820. 2008-04-04 09:17:17 +00:00
asfernandes
f0299cfb29 Misc 2008-04-03 01:11:26 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
hvlad
ccc38677a9 Make pip_header.reserved works in ODS 11.2 too 2008-04-02 08:46:56 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
skidder
6ef7cd1e30 Allow running engine in superclassic mode on Windows as the service.
This also changes the behavior of -d switch. To run superclassic
engine as application please now invoke fb_inet_server with both -d and -a switches.
2008-03-15 19:12:20 +00:00
robocop
2912e6a5be Cleanup and misc. 2008-03-10 08:44:07 +00:00
robocop
b223804d6d Don't know if this thing compiles. 2008-03-05 08:40:20 +00:00
robocop
c6d8b0f46f Style. 2008-03-05 08:39:26 +00:00
alexpeshkoff
7137e2327c one more fix for CORE-1680 2008-03-03 13:52:08 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00
alexpeshkoff
c424f3bc3f added 2 functions, later placed in services 2008-02-02 18:21:39 +00:00
robocop
83dc6bde8f Constness 2008-02-02 17:07:37 +00:00
alexpeshkoff
b29ab501ba cleanup 2008-01-29 07:43:31 +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
042472b132 The merge is being fixed. 2008-01-16 13:20:24 +00:00
alexpeshkoff
0b1bb80670 Merge continued 2008-01-16 10:29:54 +00:00
dimitr
ae692fc319 The merge continued. 2008-01-16 10:17:51 +00:00
dimitr
4f902e63d0 Committed with conflicts by Alex's request. 2008-01-16 10:12:30 +00:00
dimitr
f25819fb19 The merge continued. 2008-01-16 07:55:28 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
dimitr
871967363c Started the merge. More tomorrow. 2008-01-15 20:15:58 +00:00
alexpeshkoff
e488a74875 Fixed CORE-1680: gsec display only shows some first users when there are many users (>50) in security database 2008-01-09 09:21:47 +00:00
alexpeshkoff
8df71d2d89 Better fix for a problem, reported by Roman 2007-12-27 09:20:36 +00:00
dimitr
c1e9e0b792 Fixed (hopefully) CORE-1565. 2007-11-29 09:33:27 +00:00
alexpeshkoff
2fcdfd5029 Make output better human-readable, keeping at the same time script-readable 2007-11-26 13:36:58 +00:00
hvlad
8e52da6e14 Make instreg independent from common 2007-11-26 12:32:23 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
robocop
2d2b8cf718 Misc. 2007-11-17 10:18:10 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
alexpeshkoff
a1f3f10493 1. Renamed info parameter.
2. Clearly separated PIP logic and IO, as was requested by Vlad.
2007-11-12 17:24:22 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
asfernandes
ddbeb54fc1 Misc 2007-11-10 18:20:13 +00:00
alexpeshkoff
0bbb3fd34c Fix for CORE-1581: Support for doing physical backups when database is located on raw device. 2007-11-09 15:47:48 +00:00
alexpeshkoff
2dbb598a2c restored correct processing of QUIT command - thanks to Adriano 2007-10-22 09:09:07 +00:00
alexpeshkoff
957144131f removed unneeded code - thanks to Adriano 2007-10-11 11:17:08 +00:00
paul_reeves
efdae98634 Include dynamically generated version numbers, instead of hard coded strings. 2007-10-10 13:03:19 +00:00
asfernandes
4161dc725c Misc 2007-10-10 02:06:20 +00:00
alexpeshkoff
7a26058087 Do not exit from gsec on errors in interactive mode 2007-10-08 13:42:09 +00:00
robocop
fad860c6fb Misc. 2007-10-03 09:33:16 +00:00
hvlad
26a34b2d12 Avoid using Firebird::string in WinNT services installation code to allow static linkage of CPL applet 2007-10-02 19:14:59 +00:00
hvlad
8ba5a8cae0 1. Use Firebird::string to avoid BOFs in NT services installation code
2. Move fake gds__log from install_svc into services to please control panel applet
3. Quote service .exe and instance names when it contains space
4. Configure installed services to restart after fail automatically
2007-09-30 14:03:40 +00:00
alexpeshkoff
ad13f1c22e Restored diagnostics from firebird pre-2.0 2007-09-26 17:54:53 +00:00
paul_reeves
c586b4ed7d instclient now looks for fbclient in its current working directory, instead of ..\bin 2007-09-18 15:06:05 +00:00
robocop
5667d54b84 Archeology. 2007-08-29 10:35:16 +00:00
robocop
3a7d93f658 Misc tweaks with Firebird::string. 2007-08-26 09:53:08 +00:00
asfernandes
44edd60d07 Misc 2007-08-10 01:28:21 +00:00
robocop
7da5c35b5d Misc. 2007-08-07 10:28:24 +00:00
dimitr
bc7145e622 Fixed CORE-1398, CORE-1399, CORE-1400. 2007-08-03 05:21:53 +00:00
asfernandes
613faffafb Misc 2007-08-02 02:00:37 +00:00
robocop
06529cacc3 More C++ style code.
Fixed a memory leak.
We still allocate much more memory than needed inside svc_query_ex().
2007-08-01 10:13:02 +00:00
paul_reeves
797f83efa2 List all installed service instances with instsvc query 2007-07-31 08:18:49 +00:00
paul_reeves
d1f5482882 Be consistent in usage of FB_DEFAULT_INSTANCE. 2007-07-26 09:58:32 +00:00
paul_reeves
92b983962a Use constant instead of hard-coded string 2007-07-25 13:04:19 +00:00
asfernandes
f75c4f33ef Remove warning 2007-06-14 15:14:55 +00:00
alexpeshkoff
3192ebc390 Do not use GNU specific sighandler_t 2007-06-06 07:12:50 +00:00
alexpeshkoff
07b7d249e9 misc 2007-05-21 12:10:48 +00:00
alexpeshkoff
4487203f21 Fixed CORE-1263 - gsec incorrectly processes some switches 2007-05-21 12:06:44 +00:00
asfernandes
97843da8a3 Misc 2007-05-20 03:25:52 +00:00
alexpeshkoff
d73fd1edc7 Added missing SPB parameter 2007-05-17 12:40:58 +00:00
alexpeshkoff
235395f950 Fixed assertion in DEV_BUILD 2007-05-14 09:27:10 +00:00
alexpeshkoff
95c09394b1 misc 2007-05-11 16:34:50 +00:00
alexpeshkoff
8aba4a1ea1 Added fbsvcmgr, utility to access services manager 2007-05-03 11:25:05 +00:00
alexpeshkoff
4407a805f8 misc 2007-04-28 07:01:27 +00:00
asfernandes
41f715871d Misc 2007-04-28 03:10:05 +00:00
alexpeshkoff
6a5ba244bb Now works with all services v2, present in firebird 2007-04-27 15:09:09 +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
e8f40413a0 support some more actions - work in progress 2007-04-26 16:16:45 +00:00
hvlad
31af74fbf6 Fixed bug CORE-1228 : Database often became corrupted after an out of disk space condition 2007-04-25 20:45:03 +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
6ad6bd68a7 added action_backup support 2007-04-25 14:06:14 +00:00
alexpeshkoff
4e5adaf94c Fixed CORE-856 - Unable to set FName, MName, LName fields in security to blank 2007-04-23 12:57:39 +00:00
asfernandes
6fa1d99ec7 Misc 2007-04-22 22:18:04 +00:00
robocop
a7c81977db Misc. 2007-04-21 08:18:28 +00:00
alexpeshkoff
f3098d92b3 avoid do-while loop 2007-04-20 16:26:08 +00:00
alexpeshkoff
eea2ee76e2 applied license and some more changes, suggested by Claudio 2007-04-20 16:21:10 +00:00
robocop
f2f3d205ce Misc. 2007-04-20 09:47:14 +00:00
alexpeshkoff
24015c14cd fixed gcc warning 2007-04-19 09:12:32 +00:00
alexpeshkoff
29880ec63d command line interface with services manager - work in progress 2007-04-19 09:08:21 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
robocop
22decb76f7 Misc. 2007-04-10 10:04:00 +00:00
alexpeshkoff
6e735f7c53 Misc + gcc warning hunting 2007-04-09 16:15:29 +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
dimitr
38b2e47f92 Misc. 2007-03-16 09:48:47 +00:00
dimitr
85aa6f120f Front-ported fix for CORE-943. 2007-03-09 08:21:18 +00:00
alexpeshkoff
b9f44507f1 Removed unneeded ifdef 2007-03-07 13:12:34 +00:00
asfernandes
2fa7a76177 Misc 2007-03-06 02:29:48 +00:00
robocop
9dba1eb236 Totally misc. 2007-03-05 06:40:57 +00:00
alexpeshkoff
12bfa56b3b Prevent guardian from to often server restarts 2007-03-04 11:04:54 +00:00
asfernandes
e35d604987 Added option to nbackup not run database triggers 2007-03-04 01:41:44 +00:00
robocop
87c9f2bcc4 Apply solution for CORE-1129. Thanks to Bill Oliver.
I didn't change install_reg, install_svc and fbcpl's fbdialog.
2007-02-15 10:35:09 +00:00
asfernandes
e2b5f28f5f Misc 2007-02-11 16:57:19 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
dimitr
4bf70828fb Formatting. 2007-02-09 08:22:14 +00:00
dimitr
367a315eec Fixed CORE-1124. 2007-02-09 08:11:35 +00:00
alexpeshkoff
f1151d822b Fix for threaded services. Thanks to Adriano. 2006-12-20 08:38:41 +00:00
alexpeshkoff
e0507b190a Avoid loosing initial error code 2006-12-18 09:30:40 +00:00
alexpeshkoff
513b6a52dd Fixed CORE-1057 2006-12-17 11:19:56 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
6c3b5555be Fixed CORE-959. This is a hack, but hopefully a better one than in v1.5. 2006-12-06 18:24:12 +00:00
dimitr
9ae3ad0c0a Win64 adjustments. 2006-10-30 14:18:02 +00:00
asfernandes
7aec5c407f Misc 2006-09-24 03:16:52 +00:00
dimitr
e61187fb93 Don't report an error if the client library is installed manually. 2006-09-22 11:51:34 +00:00
aafemt
c662ea7d9e Warnings 2006-08-17 12:08:49 +00:00
asfernandes
f2b0dab8e3 Misc 2006-08-17 01:50:47 +00:00
mkubecek
e9816e87af shutdown fbserver when fbguard receives TERM or INT signal 2006-08-16 12:46:15 +00:00
paul_reeves
8ad025c41a Use more refined test to compare existing gds32 installed with candidate version. 2006-08-03 09:13:02 +00:00
alexpeshkoff
028ab3c597 fixed AV related with SVC_TRMNTR in services 2006-07-27 14:24:09 +00:00
alexpeshkoff
c689bb8d85 ported fix from release - restored warning about too long password 2006-06-20 07:19:43 +00:00
dimitr
33db7e2f6a Fixed the CPL applet. 2006-05-31 16:57:50 +00:00
robocop
9886d09647 Misc. 2006-05-20 04:22:07 +00:00
robocop
ae51945b18 Misc. 2006-05-20 03:31:05 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +00:00
asfernandes
e4275e8fab Do not #include <typeinfo> 2006-05-20 01:10:40 +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
136cab1caf Misc. 2006-05-04 02:57:26 +00:00
robocop
cf537a437a Integrate fb_event_print into the VC6 build. Time will say if it's useful or not. 2006-04-30 06:43:59 +00:00
robocop
abc65e7381 Finally I figured out how to update and compile the events printing facility, but I'm still trying to figure out a linker problem. Built with a small trick for now. 2006-04-29 08:08:48 +00:00
robocop
4e0176c1d6 Fix this forgotten utility so it syncs with Dmitry's changes, but I didn't verify if it compiles. 2006-04-29 00:35:32 +00:00
alexpeshkoff
2d7f749456 ported changes from B2_0_Release 2006-04-24 10:08:16 +00:00
asfernandes
8b12fe6ef7 Move separation of app_name and switches to better place 2006-04-21 02:52:41 +00:00
dimitr
ccc620e334 A bunch of changes targeted to support multi-instancing on win32. 2006-04-20 10:35:44 +00:00
alexpeshkoff
f7b16d9ad9 Better way to delete pidfile, thanks to Claudio 2006-04-18 08:55:16 +00:00
robocop
7cb3796f94 I think this way is more readable. 2006-04-18 04:49:37 +00:00
asfernandes
a5be4e7e2c Misc 2006-04-16 22:11:20 +00:00
asfernandes
22b55292c8 Correction 2006-04-16 15:27:00 +00:00
alexpeshkoff
1a5505065d ported fixes from 2.0 release 2006-04-16 12:58:29 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
alexpeshkoff
fbde90f273 always fill internal_user_data with 0's on creation 2006-03-09 10:27: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
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
f86bdc14b4 I want to continue compiling FB2 successfully with my tools, if you don't object.
:-)
2006-01-25 07:04:13 +00:00
hvlad
46d9ffb4bf 1. Add isc_dpb_no_garbage_collect to gfix attachment to not force a sweep
2. Fix unregistered bug - wrong statistics if relation\index data is longer than 2^32 bytes length
3. Fix unregistered bug - average index key length rounded to integer value
2006-01-21 15:30:02 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
alexpeshkoff
3d8aea7bba fixed posix build and warnings 2006-01-15 13:34:03 +00:00
robocop
6f8e342053 Totally misc. 2006-01-14 04:54:34 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
robocop
30d652e2a5 Misc. 2005-12-31 03:49:31 +00:00
alexpeshkoff
eba3ba3c06 front-ported one forgotten 1.5 commit to 2.0 2005-12-30 15:59:19 +00:00
robocop
b3823f7597 Gstat should display the Win32 error text, not the error code in English versions. 2005-12-17 02:26:40 +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
013f09d614 Misc. 2005-10-12 06:47:15 +00:00
alexpeshkoff
39b7d5c641 fixed a bug querying service state - thanks to Claudio 2005-10-03 08:53:15 +00:00
alexpeshkoff
40f650d020 reanimated -database switch in gsec 2005-09-30 16:10:18 +00:00
robocop
8f082b0532 Gstat will have problems if it has to seek to a db page beyond 4GB from BOF, because we detect a problem that didn't happen. I put the check that appears in my old VC6 MSDN examples and that matches Vulcan's logic. 2005-09-26 08:43:49 +00:00
robocop
556be3310e Set interactive to false for now to be able to compile. To be reviewed by Paul Reeves. 2005-09-24 05:11:57 +00:00
dimitr
c38d27d58a Added -i switch to instsvc, as agreed with Olivier and Alex times ago. 2005-09-19 10:43:01 +00:00
kkuznetsov
d65fb07878 Allowing using SERVICE_THREAD in CLASSIC server as platform option 2005-08-24 12:12:23 +00:00
dimitr
6430c7ac10 Moved the ODS checking routine from ods.h to a separate module. 2005-08-16 13:39:26 +00:00
dimitr
efb3268658 Fixed wrong defines, thanks to Claudio. 2005-08-13 08:19:22 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
robocop
6c89683142 Totally misc. 2005-07-31 00:45:38 +00:00
skidder
4cba544d05 do not overwrite destination during nbackup restore 2005-07-19 23:23:24 +00:00
dimitr
cd20fb8b39 Fixed ODS decoding in GSTAT. 2005-06-27 18:36:29 +00:00
dimitr
668907912f Changed the ODS encoding, messaging and protection rules. 2005-06-26 16:11:59 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
3c4e69f196 Replace legacy isc_(encode/decode)_date by isc_(encode/decode)_timestamp. 2005-05-03 04:11:57 +00:00
robocop
fcb0e10fcb Misc. 2005-04-02 02:57:31 +00:00
robocop
3b70e8097a Solve several issues in the recently posted Control Panel applet:
- Cleanup.
- Adjust the #ifdef protecting headers to our style.
- Correct some C++ misuses like redundant casts and switch-case without break.
- Correct some CString and Win32 API misuses that lead either to random failures or memory leaks.
- Be consistent with bool and constness.
2005-03-20 04:35:56 +00:00
robocop
94e04d3768 Misc. 2005-03-20 04:26:10 +00:00
paul_reeves
797a7dcc20 Minor fixes to make cpl applet compatible with fb2 codebase. 2005-03-18 09:23:00 +00:00
paul_reeves
89d3373beb forward port service descriptions from fb 1.5 2005-03-18 09:20:22 +00:00
paul_reeves
f7ce68d275 forward port the source for the cpl applet. 2005-03-14 14:17:45 +00:00
robocop
2f752f36aa Totally misc. 2005-03-04 00:01:42 +00:00
kkuznetsov
2758d1a468 Make util's compilable on Solaris_mt 2005-03-01 15:24:14 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
robocop
8f99d9532a We don't seem to be modifying the program arguments, so make them const for now. 2005-01-19 09:00:33 +00:00
kkuznetsov
e76382a317 Some cleanup 2005-01-17 15:59:32 +00:00
kkuznetsov
7a742fa22e Minor fix 2005-01-17 10:05:12 +00:00
skidder
d9eba66627 Fix a couple parameter parse errors in NBACKUP utility noted by Vlad 2005-01-14 23:52:52 +00:00
robocop
7817290a56 Forget the log: it belongs to one of the merry friends WAL and JOURNAL that we deprecated and deleted for v2. 2005-01-03 08:16:18 +00:00
robocop
1718ae5a45 Misc. 2004-12-26 04:09:06 +00:00
robocop
4012106884 Misc. 2004-12-25 09:44:03 +00:00
kkuznetsov
af0ab61ae2 Some things is moved from R1.5.1.
Starting separating of defines accoding
SOLARIS -- any threading modes
SOLARIS_MT - solaris with Sun threading model
current nothing - solaris with posix threading model
2004-12-24 09:35:48 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
cb74ecd1f9 Fixing comments. 2004-12-22 08:50:47 +00:00