asfernandes
a177d28d60
Misc
2008-12-31 20:22:10 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
bd680bcb47
Solaris port
2008-12-28 15:26:05 +00:00
robocop
2fadc0e456
Style.
2008-12-22 09:00:05 +00:00
dimitr
660be78a98
Sync with MSVC8 changes.
2008-12-18 13:49:14 +00:00
asfernandes
77650fa4f6
Const
2008-12-18 01:28:19 +00:00
asfernandes
d03b6ede7f
Misc
2008-12-18 01:24:58 +00:00
hvlad
c3fdb1baaa
Improvement CORE-2243 : Make Firebird distribution on Windows easier.
...
Make fbembed.dll activate its own activation context before load of any DLL if needed.
2008-12-16 11:30:35 +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
asfernandes
52b1014ba6
Remove warnings by gcc 4.3.2
2008-11-05 01:08:20 +00:00
alexpeshkoff
e79f55708d
1. Cleanup - use Firebird::Semaphore instead of local events, removed code
...
related with local events from isc_sync.cpp.
2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().
3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).
4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).
5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
robocop
586c3a6cde
CORE-1799: improve the almost useless "expression evaluation not supported" error message.
...
Did the JRD side except par.cpp because this part is covered by DSQL (only ESQL programs won't get the improved messages).
2008-10-03 05:41:16 +00:00
asfernandes
cc5b689eda
Misc
2008-08-29 02:18:50 +00:00
alexpeshkoff
a2a9f83e74
restored lost line - thanks to Claudio
2008-08-28 10:49:15 +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
dimitr
9d7e2585fa
Misc cleanup.
2008-07-11 06:47:44 +00:00
dimitr
609f466ad3
1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
...
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
asfernandes
45786da3bc
Misc
2008-07-06 16:42:52 +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
asfernandes
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
dimitr
544d15a51a
Misc.
2008-06-27 13:40:37 +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
asfernandes
d30d6410ea
Misc
2008-06-13 01:42:58 +00:00
dimitr
74c3f757f6
Fixed the Windows build. This solution is temporary and should be re-optimized for Beta.
2008-06-09 10:07:09 +00:00
dimitr
4c8c99a3d0
Misc.
2008-06-09 09:46:00 +00:00
dimitr
036386b0f1
Misc.
2008-06-06 15:52:37 +00:00
dimitr
07e0133f2b
Simplified the dbb_sync handling. This becomes possible because of the prior commit.
...
With checkouts being allowed for ASTs, the AstInhibit code also becomes redundant.
2008-06-04 13:38:40 +00:00
asfernandes
95273037a2
Warnings
2008-05-17 16:14:29 +00:00
robocop
b88a1fd86f
Misc.
2008-05-14 08:54:16 +00:00
robocop
1cdd4e4126
Clean the sources from VC6 hacks.
2008-05-14 05:17:53 +00:00
asfernandes
d149f927ff
Report the saved errno
2008-05-12 15:15:48 +00:00
alexpeshkoff
ac119258f2
Remove file if chmod failed - thanks to Adriano
2008-05-12 14:14:37 +00:00
dimitr
b5d8f4a42b
Reduce number of warnings for 64-bit targets.
2008-05-12 04:47:52 +00:00
asfernandes
8b4a83f201
Misc
2008-05-11 03:00:46 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
alexpeshkoff
c66d60c857
Fixed CORE-1887: New created databases have wrong access rights
2008-05-07 12:22:59 +00:00
dimitr
7edcee435b
1) Turn on FW on all platforms by default.
...
2) Cleanup/misc.
2008-05-07 05:18:09 +00:00
alexpeshkoff
fae184f617
Cleaned up support of 10-15 years old OSs without async IO
2008-04-17 14:32:22 +00:00
asfernandes
29fbfbb8ff
Misc
2008-04-06 14:45:51 +00:00
asfernandes
a73aa97269
Load ib_util.dll from the install directory, to fbembed.dll loaded with altered search path be able to find it
2008-04-04 15:59:15 +00:00
robocop
dd839c63b4
Duplicate #include
2008-04-03 13:16:19 +00:00
alexpeshkoff
bb45fefa15
Fixed CORE-1818: Temporary files used for temporary page spaces are not deleted after use on Posix platform
2008-04-03 08:13:38 +00:00
alexpeshkoff
aafed20fe1
Fixed problems with shutting down actively running engine - related with CORE-1805.
2008-04-02 14:26:17 +00:00
asfernandes
c5cb7cb934
Improvement CORE-1814 - Change the root determination of the embedded Windows engine and load DLLs with altered search path (to search dependent DLLs on the same path of the loaded DLL)
2008-04-01 15:27:16 +00:00
asfernandes
b5f62a63b0
Misc
2008-03-30 20:43:36 +00:00
robocop
a0d842413e
Style.
2008-03-29 12:34:09 +00:00
robocop
efd09df950
Misc indication.
2008-03-20 12:14:30 +00:00
dimitr
f5659c0b70
1) Major cleanup of the old-style blk and allocator-based blk_type.
...
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
hvlad
f5fd294dc0
Release dbb_sync in PIO_flush
2008-03-19 10:59:50 +00:00
alexpeshkoff
ed25245303
Applied shutdown changes, discussed in fb-devel a week ago.
2008-03-17 16:49:47 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
b4091ac9a6
Make them explicit.
2008-03-10 08:16:57 +00:00
dimitr
d597154a4b
1) Added timeout value to the shutdown API call.
...
2) Fixed the slow fbembed detach noticed by Claudio and Vlad.
3) Cleanup.
2008-03-04 13:27:02 +00:00
alexpeshkoff
7dacbbbd74
Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
...
Related cleanup.
2008-03-03 17:47:09 +00:00
robocop
e39885c7fb
Misc.
2008-03-02 08:45:41 +00:00
asfernandes
5d2ca89242
Misc
2008-03-01 18:24:06 +00:00
paulbeach
e1636b5c9c
typo
2008-02-29 15:25:09 +00:00
paulbeach
5790eae079
Fix UNIX2003 symbol issue with kinterbasdb and SuperServer.
...
Make sure that sem is used properly depening on MacOSX 10.4 or 10.5
Correct the header file in config_root.cpp to pull in MacTypes.h properly
2008-02-29 15:23:17 +00:00
dimitr
3cba78804c
Fixed the Windows build.
2008-02-29 07:19:39 +00:00
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
dimitr
6b96225d95
Fixed the build.
2008-02-28 13:34:50 +00:00
hvlad
f700c79d81
Move class HugeStaticBuffer into common place, per Claudio request
2008-02-28 09:48:11 +00:00
robocop
2443e89368
const madness.
2008-02-28 09:29:50 +00:00
asfernandes
1305691003
Misc
2008-02-28 02:43:23 +00:00
dimitr
43cdea942f
Misc by Dmitry Kovalenko.
2008-02-27 05:56:47 +00:00
dimitr
2e4d036eed
Get rid of the Win9x/ME specifics. We don't support them anymore.
2008-02-26 11:03:09 +00:00
robocop
f8007f4071
Misc.
2008-02-24 03:23:40 +00:00
asfernandes
691fb487d8
Misc
2008-02-06 00:43:54 +00:00
paulbeach
7119957fd9
1. Updated MacOS mod_loader to handle Bundles and Dynamic Libraries (yes the loading of the two is different)
...
2. Support the loading of the ICU Libraries dynamically
3. new = FB_NEW - prevent asserts.
2008-02-05 12:48:38 +00:00
robocop
e9e1ead67a
Mostly style, constness, native memcpy and explicit constructors.
2008-02-02 17:04:06 +00:00
asfernandes
6e88cb9598
Misc
2008-02-01 17:33:14 +00:00
alexpeshkoff
a4aac986f8
Make syslog interface as light as possible
2008-01-31 12:05:08 +00:00
dimitr
132176a475
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:52:51 +00:00
dimitr
214cb37f1b
Fixed the win32 build.
2008-01-23 19:03:20 +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
alexpeshkoff
c04971857d
make it compile
2008-01-16 10:37:12 +00:00
dimitr
d4d587d155
The merge continued.
2008-01-16 08:16:36 +00:00
paulbeach
c559e5f49c
Apply MacOS changes to HEAD
2007-12-20 12:40:51 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
asfernandes
54b36766c0
Misc
2007-11-17 00:38:16 +00:00
paulbeach
7602a29b94
HPUX Port
2007-11-12 14:26:44 +00:00
alexpeshkoff
edc03201ca
Fixed CORE-1537: NBackup creates difference file in bad place
2007-10-26 13:21:16 +00:00
alexpeshkoff
49a9f8a5bd
frontported: cleaned old unused hpux's union fcntlun
2007-10-11 11:20:35 +00:00
asfernandes
61a614c878
Misc
2007-10-06 19:08:50 +00:00
alexpeshkoff
ba2777b26d
style
2007-10-02 12:13:46 +00:00
asfernandes
f7e8bd1ff0
Misc
2007-10-02 01:53:12 +00:00
hvlad
972926ebf1
Reimplement bugfix for CORE-1468 after engine checkout/checkin logic was moved from CCH to PIO.
2007-09-25 20:15:53 +00:00
dimitr
0e6c8c9abe
Moved the engine checkout/checkin logic from CCH to PIO. This allows to avoid hacks like usage of SCH_check_thread_enter().
2007-09-25 11:47:39 +00:00
alexpeshkoff
fd52a5793f
1. Fixed CORE-1476: On linux forced writes do not work.
...
2. Uncommented and tested PIO_init_data(), optimizing performance with force writes.
2007-09-24 12:38:04 +00:00
robocop
bc5d45e62e
The lock_string argument can be const.
2007-09-22 08:34:28 +00:00
hvlad
e369c6cec6
Avoid pissible thread-safety problems. Thanks for tip to Adriano
2007-09-19 11:56:27 +00:00
asfernandes
96a6ad5863
Misc
2007-09-19 01:46:45 +00:00
hvlad
6f28a5ea71
Posix implementation of PIO_init_data (for CORE-1469). Commented until verification
2007-09-18 15:28:23 +00:00
hvlad
44c11dfe77
Implement improvement CORE-1469 : Improve performance of database file growth after CORE-1228 was fixed
...
General and WinNT code parts
2007-09-18 15:26:19 +00:00
hvlad
ebb55209c0
Fixed bug CORE-1468 : Database corruption possible when database file extension and read\write activity is performed simultaneously
2007-09-18 14:50:51 +00:00
alexpeshkoff
3a4da4dfe2
Fixed 64-bit I/O on Solaris
2007-08-30 15:14:56 +00:00
alexpeshkoff
9257344ebc
Take care about posix SS
2007-08-17 07:20:44 +00:00
robocop
bcbf35c64c
Misc.
2007-08-12 05:22:59 +00:00
alexpeshkoff
230cbdb4e1
Made classes SignalInhibit and AstInhibit async signal safe.
2007-08-10 13:55:41 +00:00
paul_reeves
d1f5482882
Be consistent in usage of FB_DEFAULT_INSTANCE.
2007-07-26 09:58:32 +00:00
alexpeshkoff
f00081e560
Misc cleanup
2007-07-26 08:05:58 +00:00
asfernandes
6beb5e28bd
Misc
2007-07-26 01:23:18 +00:00
hvlad
6cd3900a9f
Implement CORE-1381 : Allow Firebird to not use filesystem cache for database files
...
Implementation in unix.cpp is experimental and commented out (calls of posix_fadvice) until testing
Cleanup in winnt.cpp : removed fil_force_write_desc
2007-07-25 18:44:54 +00:00
hvlad
b9011dc5a3
Fixed bug CORE-1380 : IO errors after changing FW on already attached database
2007-07-25 17:39:01 +00:00
asfernandes
f87df1b7de
Misc
2007-06-16 19:39:33 +00:00
robocop
ef648929e4
Misc.
2007-06-15 07:21:44 +00:00
paulbeach
facca2f278
MacOS Port into HEAD - Minor mods
2007-06-13 10:07:22 +00:00
alexpeshkoff
ea8ba3370d
Cleaned up mutexes - removed MUTX_T and related macros
2007-06-06 12:37:24 +00:00
hvlad
42fedd1c0e
PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods
2007-05-22 11:52:23 +00:00
dimitr
8dd6b78150
A better fix for the previous issue. This time it doesn't crash on DROP DATABASE :-)
2007-05-21 07:42:53 +00:00
alexpeshkoff
5f26dc1b0f
misc
2007-05-18 07:28:19 +00:00
dimitr
50d6cc88c6
Fixed CORE-1265.
2007-05-17 10:19:53 +00:00
dimitr
bc7c4d0054
Added remote process name to the monitoring data. Applications are allowed to override this value via DPB.
2007-05-16 07:54:33 +00:00
asfernandes
9d0d8bf2db
Misc
2007-05-04 01:18:25 +00:00
robocop
52f1b15e0c
Misc.
2007-05-02 06:57:18 +00:00
alexpeshkoff
e26228270f
1. avoid code duplication defining arg_string
...
2. fix posix build
2007-04-27 09:20:17 +00:00
hvlad
29ab1ca027
Implement CORE-1229 : Teach Firebird to allocate disk space by more than one page at a time
2007-04-25 21:08:57 +00:00
skidder
04b9ec818b
NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues
2007-04-24 14:05:46 +00:00
alexpeshkoff
02342ee221
support of gcc "feature" - it does not let reinterpret_cast between data/void and function pointers
2007-04-19 09:14:15 +00:00
asfernandes
9582ea243c
1) Upgrade INTL interface to undestand misc. configuration informations
...
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
alexpeshkoff
edfa819bf7
restored functionality of -e family of switches, broken somewhere in 1.5
2007-04-05 12:47:20 +00:00
dimitr
d3ae3fef1c
Front-ported fix for CORE-1139.
2007-03-09 07:59:05 +00:00
asfernandes
d87a30bf0c
Misc
2007-02-23 01:42:10 +00:00
alexpeshkoff
dfef55e991
Fix for CORE-968 - Assertion failure in posix/isc_ipc.cpp
2007-02-22 16:47:39 +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
robocop
77f0788ba0
Misc.
2007-02-02 10:56:53 +00:00
alexpeshkoff
d66281291f
1. Make classic server close shutdown normally when killed by signals 2 & 15.
...
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
dimitr
74b56047db
Removed my recent fix, as it's wrong. Thanks to Adriano.
2007-01-07 12:47:35 +00:00
dimitr
dc1ea35734
1) Fixed CORE-1079.
...
2) Cleanup.
2007-01-06 09:11:52 +00:00
asfernandes
f3d25ebd2d
Workaround for unkown Windows configuration preventing security to work
2006-12-20 14:43:23 +00:00
dimitr
4d4f2ade7a
Misc (64-bit related)
2006-10-29 14:16:29 +00:00
robocop
8e7e781e5f
Partial commit with some cleanup and more constants.
2006-10-10 06:41:36 +00:00
asfernandes
49bc38cc61
Misc
2006-10-10 03:39:22 +00:00
alexpeshkoff
3ed7326ec1
Fixed CORE-87
2006-10-09 12:36:39 +00:00
aafemt
c662ea7d9e
Warnings
2006-08-17 12:08:49 +00:00
robocop
c6f80cea96
Get rid of brain-dead historical signature and its companion casts.
2006-07-28 09:53:47 +00:00
asfernandes
ccbaf55533
Misc
2006-07-28 01:44:36 +00:00
asfernandes
6f84788c72
Include firebird.h in WIN32 files
2006-07-27 12:19:30 +00:00
alexpeshkoff
f479684d8b
each file must have firebird.h included
2006-07-26 09:27:01 +00:00
mkubecek
81d141f7f0
deleted extra qualifier causing compilation error
2006-06-15 21:42:26 +00:00
asfernandes
4f0370df3e
Misc
2006-06-03 01:01:51 +00:00
robocop
a5df2e453d
I prefer a clearer and specific way to ensure our paths end on a valid directory separator.
2006-06-02 08:46:28 +00:00
dimitr
7cc12e8489
1) Reworked memory management in SORT. Now we're pools aware there.
...
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
dimitr
a0fc06ac8b
Misc.
2006-05-30 13:34:23 +00:00
asfernandes
1dcdd0d3ca
Misc
2006-05-25 03:15:53 +00:00
robocop
e2fdae8f16
Use the same code as in the Windows version.
2006-05-24 09:25:47 +00:00
dimitr
211645e3dc
Getting rid of the old allocator routines.
2006-05-23 10:17:00 +00:00