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
robocop
8b573aa0da
Change the license with Mark's permission.
2005-01-12 04:22:32 +00:00
alexpeshkoff
e2dd2c56cd
applied correct license to files, added by me to the project
2005-01-10 18:06:14 +00:00
robocop
39fbdce193
Totally misc.
2005-01-01 01:54:30 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +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
ecf2979c6e
Putting the license on John's files after asking him for permission.
2004-12-08 04:14:05 +00:00
robocop
014d90ff59
Misc.
2004-12-08 04:12:26 +00:00
robocop
fd6230794c
1.- Changing the license on John's files after asking him for permission.
...
2.- Misc.
2004-12-08 02:36:41 +00:00
robocop
4117b22257
Misc.
2004-12-07 01:40:48 +00:00
robocop
b8f60a915c
1.- Changing the license on John's files after asking him for permission.
...
2.- Misc.
2004-12-07 00:55:54 +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
88d5fca19b
Changing the license on John's files after asking him for permission.
2004-12-06 10:05:38 +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
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
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
robocop
28473785d7
Fix Alex' commit.
2004-11-08 06:15:49 +00:00
robocop
a04c0adba3
Pre-ANSI C file?
2004-11-08 03:36:52 +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
skidder
3e26513b38
fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit
2004-10-25 03:53:03 +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
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
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
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
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
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +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
robocop
72cf23fc94
Try to complete my undoing of the ods.h changes, aided by by Treeve Jelbert.
2004-07-10 09:26:28 +00:00
brodsom
728c927550
Hack to fix mingw build (due to a mingw bug).
2004-07-02 10:47:03 +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
36818e3c80
Correction
2004-06-09 19:03:22 +00:00
brodsom
c8dd4ef00a
Fix gcc complaints after Alex changes.
2004-06-09 19:02:19 +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
robocop
1332d98618
Literal strings should be treated as const char*
2004-06-05 09:37:18 +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
skidder
35b7115d3d
Small 64-bitness fixes
2004-05-20 21:58:15 +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
98d9fe6e63
Macro cleaning
2004-05-18 16:32:07 +00:00
brodsom
606dee7a14
Correction
2004-05-18 00:45:46 +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
cc1c25f7ae
Macro cleaning
2004-05-16 01:42:11 +00:00
brodsom
725e073f1c
rename local macro to ease cleaning
2004-05-15 00:59:29 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
ae26a9ac9a
Macro cleaning
2004-05-14 22:59:55 +00:00
brodsom
b485996fa8
Macro cleaning
2004-05-13 23:20:50 +00:00
brodsom
b30a0b8799
Macro cleaning
2004-05-12 00:02:37 +00:00
brodsom
ef3f5f1911
Rollback until I found a better solution.
2004-05-07 07:19:48 +00:00
brodsom
ce7a5ced08
-Macro cleaning
2004-05-06 22:11:24 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
d44cc660ab
Comment unused macros
2004-05-02 22:50:48 +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
skidder
8bb5ed0e96
Fix problem with 64-bit SS NPTL builds
2004-04-20 05:57:31 +00:00
dimitr
a79171299f
Corrections.
2004-04-10 14:00:04 +00:00
robocop
faa41f7b3b
Cleanup
2004-03-30 04:10:52 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
skidder
919395b4b0
Fix warnings
2004-03-24 05:48:12 +00:00
alexpeshkoff
88dcae12db
fixed some problems with posix debig build
2004-03-22 15:13:05 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +00:00
alexpeshkoff
94d2f698e2
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
*** posix build fixes ***
2004-03-20 15:45:12 +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
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +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
5e045f18fc
fixed posix build - it's buildable now
2004-03-16 17:35:03 +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
alexpeshkoff
221ae2fa2a
Pools support
2004-03-14 13:14:58 +00:00
skidder
c64f31b712
Fix some warnings from GCC/Linux build. Some of them were subtle errors
2004-03-12 07:00:52 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
39d2445f1f
This should make NetBSD happy
2004-03-08 18:06:20 +00:00
skidder
731a49149d
Use lesser common denominator when handling signals
2004-03-08 02:06:30 +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
skidder
ad97d0409d
Fix POSIX build
2004-02-29 05:49:03 +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
skidder
2c4fe73bd4
Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS
2004-02-25 01:50:40 +00:00
robocop
2fa67d46bc
Cleanup
...
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +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