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
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
robocop
12aa83a573
Local variable overrode global, useless variable.
2004-12-16 03:05:14 +00:00
robocop
2814294027
Misc.
2004-12-16 03:03:13 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
014d90ff59
Misc.
2004-12-08 04:12:26 +00:00
robocop
509ce1135a
Misc.
2004-11-30 06:20:32 +00:00
robocop
af6a16107a
Misc.
2004-11-30 06:18:39 +00:00
alexpeshkoff
509388a2ea
fixed gcc warning
2004-11-29 10:06:34 +00:00
robocop
bb170bd3b6
isc_interpret is fb_interpret again.
...
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
skidder
8711c87bf8
Fix the nbackup problem on big-endian machines noted by Claudio
2004-11-23 05:36:37 +00:00
robocop
166fcc274c
Correction.
2004-11-17 05:20:55 +00:00
robocop
8e8586669f
Misc.
2004-11-17 05:19:37 +00:00
robocop
67591daef1
Prevent garbage from being used.
2004-11-17 05:18:49 +00:00
alexpeshkoff
21849e714d
style
2004-11-16 11:44:06 +00:00
skidder
115a9b5dcb
Add workaround to NBACKUP for Windows problem causing OS to go down when somebody reads a large file
2004-11-15 00:32:04 +00:00
alexpeshkoff
81457eefc7
misc cleanup
2004-11-14 18:07:26 +00:00
alexpeshkoff
fa3c6c521e
dropped temp fix after bug with views was fixed by Dmitry Yemanov
2004-11-14 18:01:52 +00:00
skidder
f2597aee92
long is 64-bit datatype, but here encoded as 32-bit value. correct confusion
2004-11-11 04:57:19 +00:00
skidder
6fd58b5497
Fix 64-bit build
2004-11-11 01:34:41 +00:00
robocop
0efc954083
This file cannot be compiled in its current state and references a project (shared cache) abandoned years ago.
2004-11-10 04:29:39 +00:00
robocop
628b088d2c
Treat string literals and string constants with more respect.
2004-11-10 04:26:45 +00:00
robocop
2ab384e4d7
Protect from whatever possible (future) programming error that could cause a B.O. Probably the best fix is to make the constructor private and force all usage through the static raise() member function.
2004-11-10 04:25:51 +00:00
robocop
2ec848a3b9
Treat string literals and string constants with more respect.
2004-11-08 05:38:42 +00:00
robocop
e5ac2effd4
Misc.
2004-11-08 03:09:27 +00:00
alexpeshkoff
3bd02ee852
security fix
...
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
alexpeshkoff
73c3fc3e51
1.fixed problem with double-opened databases on LanMan mounted disk.
...
might cause database corruption.
2.more active use of Firebird::string in isc_file.cpp
2004-11-07 14:43:29 +00:00
alexpeshkoff
90655b9bb5
dropped unused function, which became absolutely senseless
2004-11-07 14:38:21 +00:00
robocop
0c1c5428f0
Misc: extra semicolons do not help. :-)
2004-11-07 10:52:36 +00:00
skidder
de6d7d8182
Add .nbk extension to file names generated by nbackup as suggested by Oliver
2004-11-04 19:08:45 +00:00
skidder
939c3dc1b3
Improve NBACKUP diagnistics once again
2004-11-04 18:54:03 +00:00
skidder
6a14cbb873
Fix bug in parameter parsing for NBACKUP, username/password were only recognized in the beginning of command. Improve diagnostics for invalid options given on command
2004-11-04 18:29:22 +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
09ddb9b072
Simplification
2004-10-08 08:11:54 +00:00
robocop
25f115b66e
Closing several possible buffer overruns.
...
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
ed17cfafbf
Style:
...
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
31ba754981
After talking to Ann, decided to disable several items:
...
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
20b38f1aad
Got rid of spurious cast.
2004-09-26 11:23:32 +00:00
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
robocop
7dcb66a250
When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
...
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +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
robocop
7f03f6adbf
Gsec should return the error code when used as a non-interactive utility.
...
Otherwise, calling it from a batch file doesn't give information if it failed or succeeded.
2004-09-15 07:32:07 +00:00
skidder
6e7911986c
Remove wrong comment
2004-09-15 05:30:25 +00:00
skidder
e289584498
Add user name and password options to NBACKUP
2004-09-15 05:24:28 +00:00
alexpeshkoff
2cd73b1d06
fixed uninitialized status vector in gstat
2004-09-02 09:59:30 +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
7593638007
Fix non initialized variables
2004-08-26 18:49:49 +00:00
skidder
e0ac81de4a
Introduce concept of ODS type to be able to distinguish between Interbase databases, Firebird databases, databases created by debugging builds of Firebird and private forks
2004-08-23 20:44:49 +00:00
robocop
1d1f86aae3
Try to fix problem reported by Treeve Jelbert in a file I don't compile.
2004-07-11 10:04:58 +00:00
robocop
1bbb740b98
Undo inheritance in ODS page types as requested by Nickolay. Either some macros are too silly or the compiler is limited by the standard here.
...
Notice I may have missed some file that's not compiled in Win32.
2004-07-10 03:20:33 +00:00
robocop
4bdbf9ab70
Try to fix bug reported by Treeve Jelbert. Someone please try as this file isn't part of the Win32 build.
2004-07-10 03:16:13 +00:00
brodsom
76a2f98d90
-Put thread functions into thread class
...
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
skidder
593fc58ccb
Change license for source files which I wrote
2004-06-30 01:45:18 +00:00
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
brodsom
1aa7b9452c
Looking for extra ; at namespace declaration end
2004-06-13 23:45:02 +00:00
brodsom
c2d05fe48c
-Rollback
2004-06-09 18:57:07 +00:00
brodsom
b9b39b630e
-Rollback
2004-06-09 18:23:27 +00:00
brodsom
9f86709067
-Correction
2004-06-08 18:49:48 +00:00