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

257 Commits

Author SHA1 Message Date
hvlad
9cf932f04f Fix wrong error (write failure) detection 2005-02-17 07:28:03 +00:00
alexpeshkoff
55a7f8d45b fixed AV during SS shutdown on NT 2005-01-12 12:19:03 +00:00
robocop
741a1d3d5a Correct the year in Alex' changed licenses. 2005-01-12 04:34:16 +00:00
alexpeshkoff
e2dd2c56cd applied correct license to files, added by me to the project 2005-01-10 18:06:14 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
f550ca480f Misc. 2004-12-09 02:53:19 +00:00
robocop
4117b22257 Misc. 2004-12-07 01:40:48 +00:00
robocop
2363c8926c Misc. 2004-12-07 00:43:36 +00:00
robocop
4e3860e04a Misc. 2004-12-06 10:17:00 +00:00
robocop
3ca7f5afb7 Misc. 2004-12-03 06:24:18 +00:00
aafemt
601e894cf6 MinGW windows.h does not include wincrypt.h 2004-12-02 12:15:33 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
a2a01558f8 We don't need reinterpret_cast from void* 2004-11-16 08:34:35 +00:00
alexpeshkoff
daa112c705 replaced platform-dependent SHA1 with in-tree sha.cpp 2004-11-14 18:09:14 +00:00
alexpeshkoff
19b790777a added related feature - platform-dependent random genearator 2004-11-14 18:03:11 +00:00
robocop
c75595ac55 Misc. 2004-11-08 06:16:19 +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
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
54b61b6cd5 Totally misc: typo in comment. 2004-10-04 04:43:42 +00:00
alexpeshkoff
079c3f0602 Added firebird.conf parameter UsePriorityScheduler (requested by Nickolay) 2004-09-02 09:00:48 +00:00
alexpeshkoff
a808403767 Partially removed DeadThreadsCollection parameter from firebird.conf.
Concerning complete removal of it I wait for response on my letter to devel list.
2004-09-01 16:11:12 +00:00
alexpeshkoff
c31c9d0b7e fixed problems with thread priorities scheduler 2004-08-16 12:21:46 +00:00
skidder
cd3dc023a1 Keep fb_tls.h low-profile header. Avoid fancy TLS declarations 2004-07-14 21:56:19 +00:00
skidder
593fc58ccb Change license for source files which I wrote 2004-06-30 01:45:18 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
9affafec6b Finishing the api cleanup 2004-05-29 13:34:54 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +00:00
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
68cb86b274 - Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
d28feacae9 Correction 2004-05-19 14:59:16 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
b485996fa8 Macro cleaning 2004-05-13 23:20:50 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
dimitr
a79171299f Corrections. 2004-04-10 14:00:04 +00:00
alexpeshkoff
1e6c7b18e9 fixed problem with loop in includes 2004-03-22 11:38:23 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
alexpeshkoff
c252a2237b 1) made DitItr pooled-object
2) dropped comparePaths - it did nothing more then PathName can now
2004-03-14 13:30:26 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
alexpeshkoff
c3c69e7570 - fixed win32 environment problems
- cleanup
2004-02-28 19:29:53 +00:00
skidder
a4dd1dfa09 Fix single-user mode on Win32. Now shutdown seems to work fine everywhere 2004-02-25 06:33:26 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
alexpeshkoff
efb64b2aab Added native firebird::string class. 2004-02-08 17:08:34 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
epocman
707ec9a066 More Win32 1.5 -> HEAD synchronisation. 2004-01-03 12:39:32 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +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
brodsom
27cbcdd73e -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:57:23 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
epocman
bbbf2cbff1 Win32 stub GDS32.DLL now preferably attempts to load FBCLIENT.DLL from its installation location (rootdir/bin) instead of system directories. Related to the finishing touches of the Win32 installation scheme looking forward multi-instances support after V1.5.
Please build maintainers, add advapi32.lib to msvc7/mingw builds of gds32.dll. Thanks.
2003-10-30 18:06:07 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
epocman
df60ff7b60 Win32 - Syncing with the recent FB 1.5 branch installation changes. 2003-10-08 09:42:23 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
dimitr
0b24af9b9e Changed license of some files by Mark and myself. 2003-09-26 14:18:31 +00:00
dimitr
6d6dae9295 Changed license of some files by Mark and myself. 2003-09-26 14:13:15 +00:00
dimitr
1452e9d828 Fixed comment. 2003-09-26 11:46:03 +00:00
aafemt
0596ce9096 A bit more universal MINGW fix 2003-09-12 10:20:32 +00:00
brodsom
3cf8fdd47e -MINGW fix 2003-09-11 02:32:40 +00:00
skidder
5761966226 Make Win32 version of engine compile 2003-09-08 21:44:44 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
382cd1c45e Code cleaning 2003-09-08 01:45:09 +00:00
brodsom
a4416db52a -Replace BOOLEAN, TRUE and FALSE 2003-09-04 21:26:15 +00:00
brodsom
7fb0cd648d -Replace NULL_TDBB, NULL_DBB with NULL 2003-09-01 11:08:30 +00:00
brodsom
dc5ccc4902 -Fix cast warnings 2003-08-09 19:01:02 +00:00
skidder
84bfde306d Win32 engine builds and seems to work 2003-08-06 18:06:22 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
499337fda5 Split utilities dir 2003-07-15 02:43:36 +00:00
brodsom
49a86dde7d Move physical io to os specific 2003-07-14 10:35:49 +00:00
brodsom
e5025fb33e Move ibinitdll to os/win32 2003-07-14 09:23:28 +00:00
alexpeshkoff
2af60e8991 Exit on missing / wrong firebird.conf with error report in system log 2003-04-19 16:46:24 +00:00
brodsom
1380b0de9a Comment unused var decl 2003-04-03 08:49:39 +00:00
alexpeshkoff
ff5b7feba5 Fixed use of / and c:\ in directories list 2003-04-02 15:14:14 +00:00
alexpeshkoff
c24d2b47fc make pathSplit work with paths, not processed by ISC_expand_filename 2003-03-29 15:36:49 +00:00
alexpeshkoff
45ad6a1bda External files access restriction cleanup 2003-03-23 16:50:54 +00:00
alexpeshkoff
70c9d082ba Now external tables are checked against directories list 2003-03-15 20:20:41 +00:00
tamlin
25450348fd Fix isLoadableModule problem. 2003-03-14 11:28:10 +00:00
alexpeshkoff
592b5da341 Small debugging-aid fix 2003-03-13 16:48:27 +00:00
dimitr
1f3e4b22cd Some changes for the embedded server. 2003-03-01 16:30:55 +00:00
brodsom
f2e38d1c64 Variable declaration without typedef. 2003-02-27 23:53:36 +00:00
dimitr
d61fb482ac Fixed problem with lack of trailing backslash in the registry key. 2003-02-24 13:16:10 +00:00
dimitr
2dd4c59514 Cleanup. 2003-02-12 14:04:56 +00:00
brodsom
32ad3f4583 Change debug defines names to DEBUG_* 2003-02-10 00:03:54 +00:00
dimitr
6c2d810678 Let's use default memory pool in production builds. I cannot see a reason to allocate 100K for small structures of the scheduler. 2003-01-20 11:07:45 +00:00
dimitr
8c1ae9003d Fixed memory pool usage. 2003-01-17 07:11:10 +00:00
alexpeshkoff
4047237a50 Added config file parameters, controlling threads' priorities scheduler 2003-01-12 15:33:00 +00:00
dimitr
a280bdfa84 Corrected config implementation. 2002-12-06 12:04:39 +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
4641974788 no message 2002-11-26 08:56:06 +00:00
dimitr
4097dcad8d Changed some win32 specifics. 2002-11-17 15:46:24 +00:00
dimitr
78be0bfa8d Cleanup. 2002-11-14 13:40:04 +00:00
alexpeshkoff
2dab094729 Increase time interval, given to thread with high priority in JRD_reschedule
Cleanup
2002-11-11 18:09:01 +00:00
dimitr
9a02a2271c New configuration manager. 2002-11-03 16:26:12 +00:00
alexpeshkoff
d887c82086 Threads' priority scheduling in Win32
Inactive by default
To bring to active state uncomment
     //#define THREAD_PSCHED
in thd_priority.h
2002-10-25 16:28:17 +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
dimitr
4bdac52f4c A Win32 implementation of the dynamic module loader and path operations
abstractions.
2002-06-05 09:57:14 +00:00