skidder
7558470e08
Fix another initializatoin race condition
2003-12-14 04:34:37 +00:00
dimitr
9859341694
Let's be compatible with the config files open in binary mode.
2003-12-13 10:59:59 +00:00
robocop
b02c629735
Cleanup
...
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
dimitr
b15341b213
Small correction.
2003-12-01 19:44:29 +00:00
dimitr
b26b48c9bf
Oops, sorry.
2003-12-01 17:53:44 +00:00
dimitr
726f0f836e
Correction
2003-12-01 16:29:45 +00:00
dimitr
c8c2b04c49
1) Const correctness
...
2) A few extra vector-like methods
2003-11-30 21:01:35 +00:00
skidder
16ea16b085
Fix invariant tracking in recursive procedures and when invariants
...
depend on variables. This solves issues like SF#627057.
2003-11-23 20:17:30 +00:00
kkuznetsov
021a046ec1
Write solaris portion of RWlock
2003-11-21 19:42:06 +00:00
stryqx
99bb1302db
Fix the spinlocks case for FreeBSD 4.x
2003-11-11 23:58:49 +00:00
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
skidder
7b99b8a57b
Basic INTL cleanup.
...
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
brodsom
51893d72ad
- Make MinGW build again after Nickolay patch (There is a multiple definition of std::bad_alloc::~bad_alloc())
2003-11-03 02:05:14 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
brodsom
7acc0cf5bd
Write fatal error messages into firebird.log
2003-10-30 10:59:32 +00:00
skidder
e5397f4180
Ugly hack to make Firebird compatible with host applications using STL
2003-10-27 22:27:30 +00:00
robocop
26b9005e05
Style: make the code more readable, keep spaces around operators
2003-10-20 10:26:31 +00:00
skidder
d7e24011b7
Clean up optimizer
2003-10-17 20:29:52 +00:00
skidder
4e8605294e
Forward port Sparc fixes
2003-10-10 23:56:57 +00:00
dimitr
00f41da60e
Increased a default size of the lock table, after discussion with Nickolay.
2003-10-03 10:38:06 +00:00
skidder
235db035ce
Ok, i'm joining Firebird destruction team with my cleanup:
...
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
dimitr
6d6dae9295
Changed license of some files by Mark and myself.
2003-09-26 14:13:15 +00:00
skidder
bb1322a582
Correction
2003-09-16 21:45:47 +00:00
skidder
7873287ef3
Implement Firebird::Semaphore class for Windows and POSIX.
...
Those platforms which do not have POSIX semaphores (Solaris ?) may need to
implement this class using BSD or SYSV stuff.
2003-09-16 20:45:31 +00:00
brodsom
8fb3d96c84
Fix for MINGW build
2003-09-13 09:25:57 +00:00
brodsom
40fe35f036
Provisional quick fix for broken msvc 6 build with last Nickolay commit. To be reviewed by N.
2003-09-13 01:12:45 +00:00
skidder
349bbbd4f8
Mark volatile vars as such.
...
Add API to get current lock status for Win32 RWLock
2003-09-11 21:26:20 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
aafemt
7ba617f704
removing word 'struct' from variable declarations as obsolete
2003-08-26 10:58:06 +00:00
skidder
6f2c2095ae
Fix kernel memory leak
2003-08-21 22:30:20 +00:00
skidder
3bb31b8fa9
Change header comment
2003-08-13 11:01:40 +00:00
skidder
f3348c4502
Apply FreeBSD patches by Tomas Skoda
2003-08-11 11:21:21 +00:00
skidder
ce78ed1f1d
1) Make NBACKUP happy on Win32 CS too.
...
2) Fix tracking of OWN_hung in Win32 CS lock manager (lock-up debugging aid)
3) Fix possible unsynchronized access to memory manager in Win32 CS builds
and client library. Have shown itself as a very rare crash of Win32 CS manager
process during its startup.
4) Reduce warnings a little
Points 2 and 3 need to be backported to B1_5_Release
2003-08-10 15:43:23 +00:00
brodsom
408f1feb79
Fix cast warnings
2003-08-09 19:20:02 +00:00
brodsom
d417781e3e
Patch msvc6 after Nickolay changes
2003-08-08 00:38:25 +00:00
brodsom
b403a34bca
Error patch, void function should not return a value.
2003-08-07 23:20:25 +00:00
skidder
c6a8ffcc5f
New backup technology seems to work on Windows SuperServer now.
...
At least I can run 400MB AS3AP benchmark on it and lock/unlock/backup
database during this process.
2003-08-07 21:48:54 +00:00
skidder
84bfde306d
Win32 engine builds and seems to work
2003-08-06 18:06:22 +00:00
skidder
0fff6a0150
Correction
2003-08-06 17:21:10 +00:00
skidder
e17f9dea02
Make the inferior MSVC7 compiler happy
2003-08-06 16:55:17 +00:00
skidder
143f8d2443
Implementation of fast physical incremental backup
2003-08-06 16:30:49 +00:00
dimitr
9644f06f00
Removed warning for fbembed
2003-07-08 11:49:02 +00:00
dimitr
ffc209d9dc
Fixed typo.
2003-07-05 12:45:55 +00:00
dimitr
ef9fb69fa9
1) Cleanup
...
2) Some changes for the embedded server
2003-07-05 12:13:17 +00:00
dimitr
e6f62d4056
Fixed win32 build
2003-07-04 12:19:55 +00:00
dimitr
f765ec326c
Renamed environment variable. Fixed one temp-related crash.
2003-06-25 07:45:00 +00:00
dimitr
318d501392
Fixed manual TCP port assignment.
2003-06-25 07:39:04 +00:00
kkuznetsov
8ba963241a
Trying to make FB2 compiler independant add prefix for SUN C compiler and fix fist compilation error
2003-06-20 17:55:31 +00:00
dimitr
1bf11a67bd
Fixed the config option.
2003-06-19 18:13:26 +00:00
alexpeshkoff
db39682f9a
Added support for case-sensitivity in path's comaparison according to OS requirements.
...
Use it in config_file & dir_list
Now in win32 one may write: DatabaseAccess=ReStrIcT c:\HiSpAtH
2003-05-30 12:17:47 +00:00
alexpeshkoff
5c2341a427
Fixed problem with fbclient on 9x
2003-05-22 06:39:54 +00:00
alexpeshkoff
ae920fc330
For BootBuild don't give any diagnostic for missing firebird.conf.
...
For wrong firebird.conf - standard diagnostic.
2003-05-08 10:31:19 +00:00
skidder
142bd2b320
No more messages about forbidden usage of global operator new in DEV_BUILD. C++ library from RH8.0 does that routinely and this causes crashes because stderr messages go to TCP socket from fb_inet_server
2003-05-07 11:13:55 +00:00
dimitr
cdb3f8e2fd
Since CS doesn't lock processes while waiting for incoming aux connection,
...
it's potentially dangerous to use one definite port for event processing.
2003-05-07 07:51:27 +00:00
dimitr
6679e2575c
Corrected default value, as suggested by Nickolay.
2003-05-07 07:25:38 +00:00
dimitr
61195b72ae
Changed default value.
2003-05-06 15:04:57 +00:00
alexpeshkoff
2c3384885d
Enable spaces & tabs in directory list
2003-05-05 12:26:37 +00:00
skidder
90700fe81d
Fix compiler warnings
2003-05-05 11:55:34 +00:00
alexpeshkoff
b75b326fdf
Preprocessor cleanup
2003-05-05 10:45:10 +00:00
dimitr
cf54a1f284
Bugfix
2003-05-01 13:28:46 +00:00
dimitr
da728b793f
Temporary directory management
2003-05-01 12:20:40 +00:00
dimitr
0c60a69e3a
Temporary directory management
2003-05-01 11:35:15 +00:00
alexpeshkoff
2b9cbcdc7f
Don't execute any constructors / destructors for elements of class T
2003-04-26 10:08:11 +00:00
alexpeshkoff
94b3140b2a
Added dynamic arrays support
2003-04-25 14:47:10 +00:00
alexpeshkoff
2af60e8991
Exit on missing / wrong firebird.conf with error report in system log
2003-04-19 16:46:24 +00:00
alexpeshkoff
54acfce2fb
Restrict UDF access via UdfAccess entry in firebird.conf
2003-04-12 16:34:26 +00:00
alexpeshkoff
e27219f2e9
Directory access restrictions don't apply now to BOOT_BUILD
2003-04-12 10:24:39 +00:00
aafemt
b3436b5cd7
STATUS -> ISC_STATUS
2003-04-10 06:32:58 +00:00
alexpeshkoff
4425587591
Removed g++ warnings
2003-04-07 15:48:55 +00:00
alexpeshkoff
7b899d99f0
New style of files access configuration
2003-04-06 15:01:30 +00:00
alexpeshkoff
ec88146136
Code cleanup
2003-04-06 09:08:58 +00:00
alexpeshkoff
d982d224fe
Enabled up-dir access for fully opened filesystem
2003-04-03 13:32:28 +00:00
alexpeshkoff
ff5b7feba5
Fixed use of / and c:\ in directories list
2003-04-02 15:14:14 +00:00
brodsom
20da14459f
- Avoid signed-unsigned comparison
2003-04-02 11:14:29 +00:00
alexpeshkoff
33f5f01622
Added DatabasesDirs parameter to firebird.conf.
...
Databases may be accessed only in trees, listed there.
For compatibility reasons, default = /
2003-03-31 17:41:18 +00:00
alexpeshkoff
45ad6a1bda
External files access restriction cleanup
2003-03-23 16:50:54 +00:00
alexpeshkoff
dc5b1d5cb2
Added required comments
2003-03-17 18:01:17 +00:00
alexpeshkoff
40432510b4
Fixed names and default value for EXTERNAL_TABLES_DIRS config parameter
2003-03-17 17:57:58 +00:00
alexpeshkoff
858c958da6
Small posix fix
2003-03-15 20:20:42 +00:00
alexpeshkoff
70c9d082ba
Now external tables are checked against directories list
2003-03-15 20:20:41 +00:00
alexpeshkoff
90d86726c8
Add new config parameter
2003-03-15 20:02:39 +00:00
dimitr
b082df8ff7
New config options.
2003-03-11 14:57:08 +00:00
brodsom
4051c36d57
Restore inlines
2003-02-25 01:11:29 +00:00
brodsom
89702f3e88
Restore inlines
2003-02-25 00:05:06 +00:00
dimitr
bdb6d25a3b
Committed Mike's introduction of short-circuit boolean evaluation.
2003-02-21 09:17:03 +00:00
eku
b3eed24737
XPG defines that prototypes for malloc/free have to be defined in stdlib.h.
...
malloc.h is deprecated - removed.
2003-02-20 06:36:40 +00:00
brodsom
9d2e89e69f
Warning control from autoconfig_msvc.h
2003-02-17 13:28:17 +00:00
dimitr
2f8df3c1a5
New config values for win32.
2003-02-16 18:58:56 +00:00
dimitr
567e575ff4
Fixed config error.
2003-02-16 13:26:53 +00:00
brodsom
8bdf295e25
Change build system to move warning control to only one header for each compiler
2003-02-16 11:39:22 +00:00
brodsom
01681a01dc
Move function definition from header to cpp and remove inline.
2003-02-16 00:20:30 +00:00
bellardo
7594e8b7b3
Added some of the "inlines" back. If the functions are really not meant to be inlined they need to be moved from the header file to an appropiate source file, and their declarations placed in the header file. Otherwise we get an overabundance of multiply defined symbols.
2003-02-13 23:39:49 +00:00
bellardo
609150281d
add a configure check for malloc.h
2003-02-13 22:49:20 +00:00
brodsom
45efaaa7e0
Remove inline keyword.
2003-02-13 22:49:16 +00:00
dimitr
e9c9394670
Fixed exception handling.
2003-02-13 13:44:44 +00:00
brodsom
33a205d0c1
Remove warning 'static is not at beginning of declaration'
2003-02-13 02:21:10 +00:00
brodsom
6fb3e5ec4c
Remove warning 'declaration shadows a previous local'
2003-02-13 02:19:14 +00:00
tamlin
08d027e94d
Print warning messages to stderr instead of stdout
2003-02-12 19:36:27 +00:00
brodsom
6f0922e049
Add newline at the end
2003-02-09 11:22:10 +00:00