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

383 Commits

Author SHA1 Message Date
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
brodsom
e0a4ac9778 Make default parameters values for non forced writes mode depend on the platform 2003-02-07 12:58:30 +00:00
brodsom
d816e112ed Change non FW mode time parameter value. 2003-02-05 23:28:44 +00:00
brodsom
9a9894094f New config parameters to control non forced writes mode. 2003-02-05 14:32:21 +00:00
dimitr
0ce8652f60 Moved allocator functions back to GDS. MemoryPool is no longer exported. 2003-02-04 20:18:36 +00:00
dimitr
fb6a63fe58 Fixed bug in the memory manager. We shouldn't use the uninitialized pool. gpre_boot no longer crashes. 2003-02-04 11:18:17 +00:00
dimitr
37fa82834a Fixed my latest commit. 2003-02-02 16:01:12 +00:00
dimitr
a80e3e0d84 1. Applied singleton-instance idiom to the config manager. It costs just a few CPU cycles, so doesn't affect the performance.
2. A bit changed two config entry names.
2003-02-02 15:20:02 +00:00
dimitr
81cbb8bb78 Reduced memory usage. 2003-02-02 13:09:55 +00:00
dimitr
df03c555ec Fixed win32 CS build. 2003-01-31 07:44:03 +00:00
skidder
427ae39e57 Fixed a couple errors Mike Nordell pointed at 2003-01-30 18:05:34 +00:00
dimitr
81d3885bcc Fixed the errors pointed out by Mike. 2003-01-30 13:26:16 +00:00
eku
9de51efd26 Dmitry Yemanov:
Right now locks.h is used by the memory manager only. In its internals you
can find that SS uses Spinlock class whilst CS uses SharedSpinlock (which is
just a dummy now). So I think everything except SharedSpinlock should be
#ifdef'ed with SUPERSERVER in locks.h. The only doubt I have is a SOLARIS
check there (is it related to SS or CS?).
2003-01-29 10:16:21 +00:00
dimitr
93246b6445 Fixed linkage issues on win32. 2003-01-27 11:47:04 +00:00
dimitr
733e45cf0d Cleanup. 2003-01-21 12:19:32 +00:00
dimitr
4b3f6190c2 Cosmetics. 2003-01-21 11:08:59 +00:00
alexpeshkoff
a4b1cb5c34 Make Spinlock Win95 compatible 2003-01-20 18:38:34 +00:00
skidder
e12957d7bc Fixed engine compilation problem on GCC3.2.1 2003-01-20 14:31:20 +00:00
dimitr
5dabda9323 Fixed dump of the memory usage stats. 2003-01-20 08:40:02 +00:00
kkuznetsov
348ac71b37 Dummy inplementation of Spin-Lock let me return to compiling on Solx86 2003-01-19 18:32:23 +00:00
skidder
884c38d6c4 Memory manager changes - added memory usage stats, empty extents are now deallocated 2003-01-18 21:45:24 +00:00
dimitr
8de1ee6484 Removed compiler warnings. 2003-01-18 18:43:52 +00:00
dimitr
65046f123a Undone. 2003-01-18 18:02:12 +00:00
dimitr
6b8a306f79 Expose routines for allocation from system. Various temp buffers shouldn't go through the pool implementation. 2003-01-18 14:56:21 +00:00
dimitr
c9ed6efc7f Fixed problems with the memory manager. Oddly enough, but the server seems to work ;-) 2003-01-17 09:59:59 +00:00
dimitr
30f685d014 Fixed a typo. 2003-01-17 06:41:40 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
dimitr
6bfbf2676b New config values. 2003-01-15 14:10:07 +00:00
alexpeshkoff
4047237a50 Added config file parameters, controlling threads' priorities scheduler 2003-01-12 15:33:00 +00:00
skidder
4bdbf2a9c2 Little fixes in MemoryPool implementation 2003-01-10 21:37:18 +00:00
dimitr
1c1c5a8bc4 Fixed MemoryPool implementation. 2003-01-10 12:27:57 +00:00
skidder
32ecfff5b2 Prepare new memory manager for integration into the engine core 2003-01-09 19:47:46 +00:00
skidder
1a44760aed Further class library development. Added memory pool locking and line number allocation information 2003-01-07 16:35:10 +00:00
alexpeshkoff
f138cb4f22 Make it compile with MSVC6 2003-01-06 17:35:21 +00:00
skidder
77761a16b9 Further class library development. MemoryPool works now 2003-01-03 16:03:30 +00:00
nmcc
bb53a90315 Use system system anon mmap on Solaris where supported ie: >= Solaris8
otherwise use orginal FB1 version.
2002-12-30 15:46:46 +00:00
dimitr
a104ed6217 Changed default values. 2002-12-23 15:50:59 +00:00
skidder
0ec1e9f4c4 Further class library development 2002-12-17 19:42:25 +00:00
skidder
268f131ad9 Further class library development 2002-12-16 18:33:54 +00:00
skidder
9872002a7d First little pieces of new Firebird class library implementation 2002-12-14 21:43:18 +00:00
dimitr
e61f297681 More usage of the new config stuff. 2002-12-07 13:49:37 +00:00
dimitr
48919f19aa More usage of the new config stuff. 2002-12-07 13:27:12 +00:00
dimitr
d6d6ec46c2 More usage of the new config stuff. 2002-12-06 21:12:59 +00:00
dimitr
153f31323c More usage of the new config stuff. 2002-12-06 12:34:43 +00:00
dimitr
a280bdfa84 Corrected config implementation. 2002-12-06 12:04:39 +00:00
skidder
5187fa6c44 Added configuration parameter to enable older parameter ordering behavior 2002-12-03 13:37:06 +00:00
eku
39e296192c Removed inconsistencies pointed out by Claudio Valderr.
Replaced 'defined(__osf__) && defined(__alpha)' with 'SIZEOF_LONG == 8'.
New macro FB_NELEM calculates the number of elements in an array.
2002-12-02 08:25:23 +00:00
skidder
db3692790b New changes by Dmitry Emanov. Configuration manager and Windows build environment improvements 2002-11-30 15:08:09 +00:00
dimitr
1b403e830c Avoid redundant "best fit" lookup after a pool has been extended. 2002-11-24 10:22:33 +00:00
dimitr
cdfa6e3d6a All pool extends passed from the external world are in bytes, not in allocation units. 2002-11-23 18:26:09 +00:00
dimitr
b6ed8189d6 Applied patch for config_file.cpp. Thanks to Pirtea Calin Iancu. 2002-11-22 09:02:47 +00:00
dimitr
f4fa3edc7c Fixed alignment bug in the memory manager. 2002-11-20 09:50:25 +00:00
dimitr
035aa9eca1 Fixed a couple of bugs in the memory manager. Now we're fast again. 2002-11-16 13:59:59 +00:00
dimitr
201666c3a0 Having duplicated names is not a good practice. 2002-11-16 10:56:49 +00:00
alexpeshkoff
81b3d5593e Added 2 new exceptions
Cleanup
2002-11-11 18:06:01 +00:00
dimitr
8a5afa8bd0 Guardian option is added to the config manager. 2002-11-10 13:41:20 +00:00
dimitr
2184b8887f Allowed root directory to be overriden in the config file. 2002-11-10 09:48:23 +00:00
dimitr
9a02a2271c New configuration manager. 2002-11-03 16:26:12 +00:00
kkuznetsov
e8bf5420cf And link mmap_anon hear 2002-10-30 14:47:32 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
stryqx
ee9fb4e427 Add FreeBSD support.
This allows me to compile CS on FreeBSD 4.7 using gcc 3.2.1.
2002-10-12 04:16:32 +00:00
skidder
6d64014e57 Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now 2002-09-25 17:12:16 +00:00
kkuznetsov
081b9cb96b fixed some compile errors 2002-09-25 11:12:48 +00:00
eku
6380cea068 Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
format strings against arguments.
2002-09-24 12:57:10 +00:00
skidder
4b3d0d5134 Added FB_NEW macro 2002-09-23 18:02:00 +00:00
skidder
a0baf24859 gds__alloc_debug stores line number information in the memory pool 2002-09-23 15:08:19 +00:00
skidder
4653efb133 Added file name/line number information to debug memory manager. Dumps memory state to memdebug.log on exit 2002-09-22 20:41:55 +00:00
skidder
9a22d2191a resoled some linux build issues, warnings 2002-09-11 19:37:30 +00:00
skidder
c5f9e72d1a Fix compiler warning 2002-09-10 18:24:20 +00:00
skywalker
d89b1a0842 Changes to make fb2 compile super version for linux 2002-07-29 15:37:59 +00:00
dimitr
435955e527 Some minor changes 2002-04-29 10:57:05 +00:00
bellardo
e323453f5e File to hold our custom exception class implementation. 2002-04-04 05:33:01 +00:00
bellardo
79176130d7 Someone (who shall remain nameless) committed this file with red zones enabled.
As these tend to be a drag on performance I decided to disable them.
2002-04-03 23:35:29 +00:00
bellardo
0ad219a8f4 Updated delete operators to accept a null pointer to delete as required by c++. 2002-04-02 05:42:38 +00:00
dimitr
257c13284f Fixed a compilation error in the release mode 2002-02-25 10:12:21 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00
tamlin
e48b2468d7 MemoryPool work 2001-12-28 05:16:31 +00:00
tamlin
6b0113844e New C++ memory pool 2001-12-24 03:02:42 +00:00