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

96 Commits

Author SHA1 Message Date
robocop
8e55a2aced Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Fifth pass. 2008-12-29 10:26:36 +00:00
robocop
b9cff24278 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Fourth pass. 2008-12-27 10:04:31 +00:00
robocop
ed64fc2f45 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Third pass, boolean and languages cleanup. 2008-12-27 08:38:09 +00:00
robocop
3b001e7886 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Second pass. 2008-12-27 07:00:40 +00:00
robocop
1214fcdbd8 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. First pass. 2008-12-25 07:46:53 +00:00
dimitr
17e5267603 The merge continued. 2008-01-16 07:15:01 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
alexpeshkoff
d3fbea6a6a Absolutely no reasons to have it non-const here 2007-08-14 10:15:23 +00:00
robocop
669b9c550a Commit GPRE enhancements on behalf of Stephen Boyd.
This batch of changes includes:
- Support for FIRST/SKIP clauses
- Support for CURRENT_CONNECTION, CURRENT_ROLE, CURRENT_TRANSACTION and CURRENT_USER context variables
- Changed the BLR generated for RM/Cobol programs to use blr_cstring
rather than blr_text so that CHAR and VARCHAR fields are not written
as "fixed length" fields from Cobol programs.  Incoming CHAR and
VARCHAR fields are right filled with spaces inbound to the Cobol
program and stripped of trailing spaces outbound.
2007-07-29 07:30:42 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
df9303f869 Commit changes on behalf of Stephen Boyd to support RM/Cobol. At least for me, I needed a full rebuild to avoid gpre crashing in the boot phase. 2007-03-29 07:16:16 +00:00
robocop
f40512506b Commit source changes by Stephen Boyd to support RM Cobol. 2006-11-10 07:50:13 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
07f4bed382 I don't want another "interprete", so I rename "defered" to "deferred". 2006-05-02 00:04:12 +00:00
robocop
187b320513 Forward-port Ann's enhancement to gpre to allow more range for identifiers (more changes may be needed in the future to complete the feature). 2005-12-09 05:07:57 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
kkuznetsov
06cc818d15 Fix including FTN_fini refences into gpre_boot while configured with fortran 2005-02-10 10:21:53 +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
165e4a186d Fixing more inconsistencies. 2005-01-07 04:00:19 +00:00
robocop
fd7b507d19 More constants. 2005-01-05 02:06:31 +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
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
f264ecf391 Be more respectful of literal strings. 2004-10-30 05:30:08 +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
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +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
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
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
c1db5a6a1e Avoid duplicated definition
Define macros for ifdefs without value
2004-05-18 21:54:33 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +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
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +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
2e2319538c Rename usn struct to avoid collision with mingw headers (appear only after last changes) 2003-10-28 13:39:32 +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
0fde011121 Macro cleaning 2003-10-15 01:18:01 +00:00
brodsom
938e66eb2f Macro cleaning 2003-10-14 22:22:32 +00:00