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

300 Commits

Author SHA1 Message Date
robocop
0cd5c8b716 1.- More constants.
2.- Support for BASIC language was dropped a lot of time ago.
2005-01-05 04:00:33 +00:00
robocop
bfd96a4936 More constants. 2005-01-05 03:58:49 +00:00
robocop
fd7b507d19 More constants. 2005-01-05 02:06:31 +00:00
dimitr
c990ed78e4 Fixed the build. 2005-01-04 10:53:44 +00:00
robocop
ef602283bf More constants. 2005-01-04 05:19:37 +00:00
robocop
0077efa78f Misc. 2005-01-03 08:11:29 +00:00
robocop
7be3904ce4 Bring some order to the gpre insanity that was using custom, disparate lengths for variables that should have the same length. 2005-01-03 08:07:41 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
365de0fa48 Misc. 2004-12-16 03:10:20 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
fddf92395e Misc. 2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
f550ca480f Misc. 2004-12-09 02:53:19 +00:00
robocop
0dd1aced53 Misc. 2004-12-09 02:50:47 +00:00
robocop
3d232f30ca Overwrote the good version of the file thanks to the CVS Id tag. 2004-11-28 04:59:31 +00:00
robocop
979355b025 Misc. 2004-11-28 03:43:42 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
83881d9243 Fix with double quotes handling in case someone still uses gpre and COBOL. 2004-11-10 04:32:11 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
f80199d26d Treat string literals and string constants with more respect. 2004-11-08 03:33:26 +00:00
robocop
e5ac2effd4 Misc. 2004-11-08 03:09:27 +00:00
alexpeshkoff
1c87838c7f added new dpb parameters 2004-11-07 14:20:58 +00:00
robocop
4638daee13 Wrong macro to inline function conversion (but harmless) 2004-10-30 05:36:08 +00:00
robocop
f264ecf391 Be more respectful of literal strings. 2004-10-30 05:30:08 +00:00
robocop
739fc568f7 Misc. 2004-10-23 00:54:26 +00:00
robocop
d973e20600 Looking at gpre.c in FB1 and the usage of the variable fatal_env, it's evident that the conversion SEH->C++ try/except screwed the logic. The original idea was that CPR_abort will cause the program to exit gracefully, not to continue parsing, because it's useless and clutters the console with hundreds of messages. As far as I can test, when gpre cannot attach to the db, run-time failures can be detected by gpre_static or a false result is converted in exception. The new gpre_exception propagates up to the highest level where it allows the program to exit gracefully as it was in FB1. Until now, the behavior in FB1.5 & FB2 has been annoying. When we fail to connect to the db, anything more than we do is useless; we now will print a message, clean the house and exit. Hope everyone can compile my change. 2004-10-07 09:59:02 +00:00
robocop
da2a5c1abc Finalize Nickolay's rollback of my changes to get MSVC6 compiling HEAD. 2004-10-04 04:59:05 +00:00
skidder
3e6b170862 Roll back implementation of Claudio suggestion for consturctor of BID structure. It forced addition of constructors for message structures generated by GPRE which is not correct 2004-10-03 20:18:13 +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
f2020d8896 Let's gpre be more CPP friendly when defining ports (at least with MSVC6)
Ref: object with constructor inside struct should have that struct given a type name.
2004-10-03 04:43:43 +00:00
robocop
8df7b14f19 The custom symbol_length is equivalent to fb_utils::name_length. 2004-09-26 07:42:53 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
robocop
c70d7875c6 Finally got to solve my own indication in the code from months ago 2004-09-22 08:52:47 +00:00
robocop
61a7173a3c Style 2004-08-27 04:50:00 +00:00
brodsom
3bcf37fcd1 Assert or silence uninitialized warning 2004-08-26 21:44:11 +00:00
robocop
b60c0e4cab Misc: format 2004-08-21 09:29:46 +00:00
brodsom
f2067a4154 -Correction 2004-06-11 03:10:41 +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
robocop
738be5fe40 Style: opening braces too far to the right 2004-06-03 07:42:31 +00:00
robocop
a65ccddbd4 Misc changes:
- const
- variables in scope
- style
- a duplicate function deleted
- some unneeded casts removed
2004-06-03 07:31:10 +00:00
robocop
f8f159dc9e Changing some variables that have a trailing underscore to allow conflict with C++ keywords or engine structs. 2004-05-31 02:34:35 +00:00
robocop
7b51928503 Style 2004-05-29 04:55:23 +00:00
robocop
6bd3865ffd Cleanup 2004-05-29 04:54:20 +00:00
robocop
16d3278eb8 Fix class/struct mismatch after Blas' cleanup 2004-05-29 04:48:42 +00:00
brodsom
57f6bc46d5 -Join gpre globals in one struct (and remove some macros) and put not globals in the corresponding source.
-Use C++ struct declaration style.
2004-05-24 17:13:38 +00:00
brodsom
dd5d8aba0a -Replace stuff macros with either common stuff inlines or class inline functions 2004-05-24 11:03:54 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +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
964219523c Move SQL_DIALECT constants from ibase.h to sqlda_pub.h and use it in gpre.h instead the full ibase 2004-05-20 00:58:55 +00:00
brodsom
4a9ba0b5f3 Macro cleaning 2004-05-18 21:54:56 +00:00
brodsom
c1db5a6a1e Avoid duplicated definition
Define macros for ifdefs without value
2004-05-18 21:54:33 +00:00
brodsom
87099930b3 bad if 2004-05-13 22:34:27 +00:00
brodsom
0b8d03c787 -Avoid shadow warning 2004-05-13 09:46:01 +00:00
eku
3657b2eaab Fixed Blas' corrections. 2004-05-13 06:48:41 +00:00
brodsom
996b40079f -Avoid shadow warning 2004-05-13 00:33:17 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +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
2c0ab256cf Removing duplicated definitions between
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
brodsom
ecc97c8009 Style 2004-04-28 23:29:25 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
robocop
59b235cea3 Small corrections 2004-04-10 00:25:22 +00:00
robocop
68c038d132 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:34:14 +00:00
robocop
faa41f7b3b Cleanup 2004-03-30 04:10:52 +00:00
alexpeshkoff
c96bdc369a dropped unneeded conversion of all requests to/from blk* 2004-03-20 14:31:57 +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
skidder
25b969d1b7 Fix MSVC build 2004-03-01 04:57:43 +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
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
aafemt
b4c820d25a Avoid warning with isc_put_slice() after Nikolay's port 2004-02-03 11:20:51 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
aafemt
f4d8d5c18d Fix for Claudio's cleanup 2004-01-28 11:23:41 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
fd93837ec3 Cleanup:
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
brodsom
7844cc7cd4 Fix scope change that breaks posix build 2003-12-02 02:47:34 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
abe35ef6fe -Remove unneeded setjmp header 2003-11-18 12:39:12 +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
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +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
eku
84227d2d87 Added missing ; 2003-10-31 08:30:04 +00:00
robocop
1fd00840ee Fix ISO-C++ problem found by Frank 2003-10-30 09:00:15 +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
brodsom
9b1df738ac Remove unneeded MINGW ifdef 2003-10-29 00:31:51 +00:00
brodsom
2e2319538c Rename usn struct to avoid collision with mingw headers (appear only after last changes) 2003-10-28 13:39:32 +00:00
skidder
e5397f4180 Ugly hack to make Firebird compatible with host applications using STL 2003-10-27 22:27:30 +00:00
brodsom
2c537bb58a Macro cleaning 2003-10-17 23:41:27 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
brodsom
8dfb994c36 Style 2003-10-15 14:43:35 +00:00
brodsom
0fde011121 Macro cleaning 2003-10-15 01:18:01 +00:00