robocop
e094566e16
Fix SF Bug #1103670 .
...
Now, quoted cursor names can be opened, closed and reopened in gpre without losing their names.
2005-01-17 06:43:49 +00:00
robocop
04f8bb10c8
Fix error message.
2005-01-17 05:41:08 +00:00
robocop
f05c19c9b8
Fix more inconsistencies in gpre related to SF Bug #1103666 , supposedly caused by the starfishes.
2005-01-17 05:39:13 +00:00
robocop
6a2ecc3fd3
Fix more inconsistencies in gpre related to SF Bug #1103666 .
...
The others were fixed as part of fixing SF Bug #504978 about truncation of variables.
2005-01-17 05:31:12 +00:00
robocop
ae780ca62d
Misc.
2005-01-17 05:22:10 +00:00
robocop
0d4bd2e497
Fix SF Bug #504978 . Restore gpre ability to work with variables up to 63 bytes in length. Now that the lengths are expressed by constants instead of random values in each place, the limit may be increased further. The problem happened between IB5 and IB6 at Borland.
2005-01-17 05:02:09 +00:00
robocop
8c1f26cc01
Misc.
2005-01-12 05:50:52 +00:00
robocop
165e4a186d
Fixing more inconsistencies.
2005-01-07 04:00:19 +00:00
robocop
3eacd85d2a
Let's prevent accidental modification of some params.
2005-01-05 08:25:24 +00:00
robocop
5877cba380
Misc.
2005-01-05 04:02:19 +00:00
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
brodsom
938e66eb2f
Macro cleaning
2003-10-14 22:22:32 +00:00
robocop
1dbad1e1dd
Generally speaking, it's problematic to dereference null pointers.
...
:-)
2003-10-07 09:59:28 +00:00
robocop
b6c93778f4
const correctness and vars in scope
2003-10-07 09:58:26 +00:00
eku
5a99284d6b
Fixed "name lookup of n' changed for new ISO
for' scoping"
2003-10-07 06:20:50 +00:00
robocop
f8fadc0c40
const correctness and some variables in scope
2003-10-06 09:48:44 +00:00
robocop
827693b3a8
style
2003-10-05 06:58:07 +00:00
robocop
ac303810a5
const correctness, vars in scope, etc.
2003-10-05 06:56:48 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
brodsom
62a3ad5ab6
Rollback change to make tests run again
2003-09-30 23:01:07 +00:00
fsg
002b4738fa
small fixes for ftn.cpp, include fbudf for the linux build
...
FSG
2003-09-30 09:41:42 +00:00
robocop
c931a674c2
Cleanup.
...
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
skidder
235db035ce
Ok, i'm joining Firebird destruction team with my cleanup:
...
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
robocop
484c6ec372
Cleanup, const correctness, variables in scope, etc.
...
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
aafemt
7c3870cbe7
Gpre used during build doesn't need additional language modules
2003-09-24 10:39:20 +00:00
brodsom
6200974e37
Recover some macros as inlines
2003-09-16 14:01:56 +00:00
brodsom
33fe15c522
Fix switch with only default warning
2003-09-16 12:16:42 +00:00
aafemt
c77cac975d
Add 'void' to functions with no return value
2003-09-16 10:18:34 +00:00
skidder
cc0ff89fa0
Remove some crap from the code
2003-09-13 14:47:38 +00:00
brodsom
4e0cf37d02
-Fix indents
...
-Corrections (Thanks to Claudio)
2003-09-13 12:23:31 +00:00
brodsom
54fb6ea92a
Fix indents
2003-09-13 12:22:11 +00:00
brodsom
e4d5e4b3f5
-Remove some macros or transform to inline
...
-Rename tok_quoted to tok_sglquoted
2003-09-12 16:35:40 +00:00
robocop
9d6ad672a3
trivial correction
2003-09-12 09:06:50 +00:00
robocop
c08da4fadc
trivial corrections
2003-09-12 09:00:40 +00:00
brodsom
882be4631a
-BOOLEAN cleaning
...
-Rename rse to gpre_rse (Nickolay's request)
2003-09-12 02:21:53 +00:00
aafemt
42dcca440e
'struct' cleanup
2003-09-11 10:36:45 +00:00
brodsom
ad122347cc
-Remove PYXIS
2003-09-11 02:54:26 +00:00
brodsom
29e326a427
-Scope correction
2003-09-11 02:35:15 +00:00
brodsom
e5393798af
-Removing PYXIS
...
-Cleaning BOOLEAN
2003-09-11 02:13:46 +00:00
brodsom
1faaac2d34
-BOOLEAN cleaning
...
-Remove pfn_SQE_list_cb function casts
2003-09-10 19:48:53 +00:00
skidder
139a409b85
Make engine compile after recent cleanup
2003-09-08 18:46:55 +00:00
robocop
65df94f50a
const correctness, almost minimal scope for variables, bool, etc.
...
Hope I did integrate others' changes correctly and totally.
2003-09-08 11:27:51 +00:00
brodsom
69698fc2eb
Remove unneeded extern C
2003-09-06 00:52:10 +00:00
brodsom
d5a2afadec
Fix last Dmitry commit
2003-09-05 14:55:59 +00:00
aafemt
1cee5265b8
'struct' cleanup
2003-09-05 10:14:08 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
robocop
ff08b724d0
Remove duplicate CVS $Id tag
2003-08-31 12:27:46 +00:00
brodsom
0065c98434
-Remove GDS_VAL and GDS_REF
2003-08-30 02:12:44 +00:00
brodsom
602c201989
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
720848dec8
-Remove NULL_PTR
...
-Remove unneeded casts
2003-08-28 10:33:04 +00:00
aafemt
8798a33d84
ENUM removal
2003-08-22 10:56:55 +00:00