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

360 Commits

Author SHA1 Message Date
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
brodsom
4e135aaced -Fix for bug 7122 (TCS IDML_C_CHARSET_08 test) 2003-08-20 19:08:00 +00:00
aafemt
9dbf56310a sdl is UCHAR again 2003-08-15 10:23:46 +00:00
robocop
b92c072e23 Minor corrections to the PAS (anyone using it with its now fixed flaw?) and CPP generation files. 2003-08-12 10:05:47 +00:00
brodsom
47542a44ea -Format & casts warning fixes
-Isolate unused code with ifdefs
-Code style corrections
-Remove two unneeded NULL casts
2003-08-09 18:00:14 +00:00
aafemt
b672867147 sdl is a plain char again. Some cleanup around it 2003-07-24 10:21:42 +00:00
brodsom
fb51d2c17d Patch for MinGW 3.0 2003-07-14 16:55:04 +00:00
dimitr
3fac72d57c Uniform tempfile naming. 2003-07-06 07:04:03 +00:00
brodsom
1eb90fa7d2 -b option for EXEC SQL SET DATABASE 2003-07-04 16:45:22 +00:00
brodsom
db5f756773 -b option for exec sql 2003-07-04 16:19:37 +00:00
brodsom
a48d142768 Patch 2003-07-03 23:02:45 +00:00
brodsom
2ab0bde05d Add special action to be used in dyn_def.cpp. 2003-07-02 18:58:41 +00:00
brodsom
239c6deb30 New gpre -b option to be used in the msvc build process. It enable to set the base directory for compile time db without using sed. 2003-07-02 12:57:41 +00:00
brodsom
fda73f91a4 Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 10:48:03 +00:00
fsg
e797f71a71 Some cosmetic changes 2003-06-01 17:02:22 +00:00
fsg
c718f98b3c Some fixes to allow to compile gpre with --with-gpre-pascal again 2003-05-24 13:44:10 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
alexpeshkoff
86e6b77b50 1. Fixed potential buffer overflow in gds__prefix* family of functions.
2. Changed second parameter declaration to be const.
2003-04-06 11:40:29 +00:00
brodsom
ab1ceb8fed ifdef unused code 2003-04-03 08:52:45 +00:00
brodsom
234684ac3d - Add some ifdefs to isolate better the langs 2003-04-02 12:07:10 +00:00
brodsom
8e7e205552 - Remove ugly & unneeded casts 2003-04-02 11:49:35 +00:00
brodsom
a75b366e18 Correct formats 2003-04-01 11:49:33 +00:00
brodsom
19d97ac821 Fix some wrong format strings/argument lists 2003-03-27 17:15:48 +00:00
brodsom
8d43a301d5 More PYXIS remains 2003-03-11 13:38:16 +00:00
brodsom
4948880d0d Add FLINT_CACHE ifdefs 2003-03-09 02:25:58 +00:00
brodsom
01af3bff71 Add newline at end of file 2003-03-06 12:23:13 +00:00
brodsom
c01f381d51 Put unused function declaration and definition inside NOT_USED_OR_REPLACED ifdef. 2003-03-03 08:36:04 +00:00
brodsom
02ba0533b9 Put par_quoted string inside PYXIS. function is only used when PYXIS is defined 2003-03-03 08:27:33 +00:00
brodsom
54bc7e0986 Put define_cache inside FLINT_CACHE. function is only used when FLINT_CACHE is defined 2003-03-03 08:26:35 +00:00
fsg
e0dcb77416 Fixed some really old typos.
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
brodsom
98db8caef0 Remove a few unused vars 2003-03-02 01:01:25 +00:00
brodsom
c7e4ee4ab4 -Comment declared but undefined functions. (found with gcc never defined warnings) 2003-03-01 19:11:57 +00:00
brodsom
3fafc21191 -Add some needed PYXIS defines (found with gcc warnings)
-Add one needed FTN_BLK_DATA define (found with gcc warnings)
2003-03-01 12:10:16 +00:00
brodsom
e3df3b53f8 Remove ISC_FAR 2003-02-28 13:20:36 +00:00
brodsom
809839b595 Add empty line at the end of the source. 2003-02-28 01:08:44 +00:00
brodsom
6e567674b6 New macro defined in firebird.h to remove compiler dependencies from cpp sources. 2003-02-27 21:44:48 +00:00
brodsom
dd621992d5 New macro defined in firebird.h to remove compiler dependencies from cpp sources. 2003-02-27 21:34:41 +00:00
brodsom
caa2c65b1e Add Fortran files and move GPRE_* defines from autoconf header to makefiles. 2003-02-27 16:55:56 +00:00
brodsom
3989a5d22f Add PYXIS define to isolate pyxis code. When this change were tested enough, the pyxis code can be removed. 2003-02-27 16:05:18 +00:00
eku
2f4223647a Cleanup. 2003-02-18 07:43:29 +00:00
brodsom
e1051f6380 Move code from header to cpp and remove inline. 2003-02-16 00:55:09 +00:00
brodsom
5ca686dd37 Remove some of the PYXIS remains 2003-02-14 14:56:09 +00:00
brodsom
6652d5a5bf Remove __BORLANDC__ define 2003-02-14 02:50:10 +00:00
bellardo
7594e8b7b3 Added some of the "inlines" back. If the functions are really not meant to be inlined they need to be moved from the header file to an appropiate source file, and their declarations placed in the header file. Otherwise we get an overabundance of multiply defined symbols. 2003-02-13 23:39:49 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00
dimitr
6e42d8c093 Fixed exception handling. 2003-02-13 12:01:28 +00:00
dimitr
ac645b0258 CONST -> const 2003-02-13 09:58:19 +00:00
brodsom
9a71ae7987 Change #if 0 and #if 1 to NOT_USED_OR_REPLACED 2003-02-12 12:51:07 +00:00
brodsom
93db70528a Remove UNDEF define. 2003-02-10 23:44:53 +00:00
eku
a7f18b2e31 Removed "register" variables from the source code. It's up to the compiler
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
brodsom
d498f205cc Remove JPN_ functions attributes 2003-02-09 23:14:31 +00:00
brodsom
175ebf3fd0 Remove JPN_ defines 2003-02-08 00:36:52 +00:00
alexpeshkoff
ba3e53f7be Don't include internals of struct why_hndl where it is not required. 2003-01-03 12:52:39 +00:00
alexpeshkoff
a83fcfeab9 Sorry for wrong DATABASE directive :-( 2002-12-16 16:25:09 +00:00
alexpeshkoff
218b3a39b1 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *) 2002-12-16 15:59:18 +00:00
dimitr
d33aef3c11 Cleanup. 2002-12-13 14:50:23 +00:00
eku
df8185c112 Removed hooks for BASIC/PL1 in gpre, as the support has been dropped
before IB4.
2002-12-06 13:44:53 +00:00
eku
6f051cbb7d Disabled gpre's BASIC and PL/1 support in configure. There's no such
implementation.
2002-12-03 13:58:40 +00:00
eku
57698997cf Make file compile. It's still unknown if the PASCAL support in GPRE will
work. Anyway - it compiles :-)
2002-12-03 10:52:41 +00:00
eku
2274ed0734 gpre's built-in lannguage support is now an autoconf option. C/C++ are
mandatory, all others are optional. Default all=off.
Type 'configure --help' for details.
2002-12-02 11:17:04 +00:00
kkuznetsov
d5e64351f2 Fix boot-time refences to FTN_fini 2002-12-02 10:25:01 +00:00
eku
35c22f01a6 Removed support for ADA, BASIC, COBOL, FORTRAN and PASCAL from gpre_boot. 2002-12-02 09:49:35 +00:00
eku
34e9391a97 Use the new macro FB_NELEM to calculate the number of elements in an array. 2002-12-02 09:45:52 +00:00
eku
39e296192c Removed inconsistencies pointed out by Claudio Valderr.
Replaced 'defined(__osf__) && defined(__alpha)' with 'SIZEOF_LONG == 8'.
New macro FB_NELEM calculates the number of elements in an array.
2002-12-02 08:25:23 +00:00
hippoman
9a8f0768b9 Changed struct fld and FLD to local module names 2002-11-30 17:45:02 +00:00
skidder
db3692790b New changes by Dmitry Emanov. Configuration manager and Windows build environment improvements 2002-11-30 15:08:09 +00:00
hippoman
7387e6fb70 changed nod,tra,req,trg,rel,ctx,prc struct names to local module names 2002-11-20 23:18:16 +00:00
hippoman
62cf7d7a88 change TRA,REQ,TRG,REL,CTX or PRC, to module local names. 2002-11-17 00:04:19 +00:00
kkuznetsov
b0392fe267 Making ADA and Fortrun funs happy 2002-11-13 12:07:13 +00:00
dimitr
86ee5fdbf1 Make COBOL available in win32 builds of gpre. 2002-11-12 14:04:55 +00:00
skywalker
166ff6f924 Changes to make some NOD entries now XXX_NOD as per module (assume this
is part of Ignatio's change).
Change to define xdr_hyper when it's available locally.  (The standard
#include file rpc/xdr.h is not included and the definition needs to be
in remote/xdr_proto.h for some reason).
2002-11-12 05:05:01 +00:00
hippoman
72673d7b03 * Changed NOD struct name to GPRE_NOD. 2002-11-11 19:19:43 +00:00
eku
1212c6a444 Fixed compiler warning. 2002-11-04 09:03:14 +00:00
tamlin
3bd6d4173c Fixed gds__vtov to use native char type, and const correct. 2002-11-03 22:26:52 +00:00
tamlin
d874b06c43 Fixed a warning pragma. 2002-11-03 22:23:34 +00:00
tamlin
20c7b6e42c Removed unused local variables 2002-11-03 22:22:52 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00
seanleyne
c4ad01f485 Code clean, removed obsolete "HP700" port 2002-10-29 03:37:50 +00:00
seanleyne
a2bfcd6bd2 Code cleanup, removed obsolete "SGI" port 2002-10-29 03:31:20 +00:00
seanleyne
cc1f10d9a3 Code cleanup, removed obsolete "DecOSF" port 2002-10-29 03:17:45 +00:00
seanleyne
93f6fffb14 Removed obsolete "DGUX" port 2002-10-29 02:45:09 +00:00
seanleyne
026d8c0441 Code Cleanup, removed obsolete "Ultrix" and "Ultrix/MIPS" ports 2002-10-28 05:19:52 +00:00
seanleyne
045be63397 Code Cleanup, removed obsolete "UNIXWARE" port 2002-10-28 04:57:07 +00:00
seanleyne
3152b81774 Completed removal of obsolete "DG_X86" port 2002-10-28 04:42:54 +00:00
eku
0c1b55dd08 Code cleanup:
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.

Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
eku
6380cea068 Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
format strings against arguments.
2002-09-24 12:57:10 +00:00
skidder
7ffb19662c Optimize it a little 2002-09-10 18:30:52 +00:00
dimitr
68805c2846 Fixed error in GDML statement. 2002-09-10 08:07:16 +00:00
dimitr
b36015e6e9 - allowed user-defined index names for PK/FK/UK constraints
- fixed ugly hardcoded name checks for primary/foreign keys
- implemented RECREATE VIEW statement
2002-09-01 15:49:03 +00:00
dimitr
cb7cc851d2 Make gpre_boot compilable on win32 2002-08-11 05:49:12 +00:00
skywalker
89e06a1b43 Merge final changes from fb1 tree. 2002-07-06 05:32:02 +00:00
skywalker
dae9189129 Changes for rebuild of fb2. 2002-07-04 09:34:20 +00:00
skywalker
59a8e7e8e7 porting changes from fb1. 2002-06-29 16:50:35 +00:00
paul_reeves
f9b8800970 Updated code to support building under Linux. Main changes are to support the platform manager and the move of kanji.* to /intl. 2002-06-23 19:51:37 +00:00
bellardo
210601aa98 Changes to make the -GDS switch work correctly. This allows FB2 to be used
to build FB1 :-)
2002-04-12 01:55:52 +00:00
bellardo
0559c17820 fixed extern declaration bug 2002-04-04 05:37:31 +00:00
bellardo
368485351a Some of the gds__XXXX blr constants were incorrectly changed to gds_XXXX during the initial c++ port. Fixed them. 2002-04-02 05:41:42 +00:00
skywalker
b3667acaf8 Main changes were to add cr to end of the files.
cvt_proto.h removed a duplicate extern directive
gen/codes.h added back appolo error code, since it was still used
2002-03-11 16:34:08 +00:00
seanleyne
00d25acd85 Clean up of change notes in headers 2002-02-16 05:06:17 +00:00
seanleyne
a9ab4a30a8 Code cleanup of obsolete HP9000 s300 port 2002-02-16 03:59:02 +00:00
seanleyne
525f3aaaef Code cleanup of obsolete IMP port 2002-02-16 03:27:33 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
c880d26078 Changes to make compile with new script 2001-07-31 18:34:05 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
bellardo
6681f4852e More changes to convert FB2 to c++. This time is files that have been renamed
and some conflict resolutions on files edited by more than one person at once.
2001-07-12 06:32:05 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00
tamlin
9587c717b3 ongoing cleanup 2001-05-24 14:54:26 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00