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

156 Commits

Author SHA1 Message Date
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
skidder
2851f76d35 Fix warnings 2004-03-14 05:51:54 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +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
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
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +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
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
skidder
4e30dadd8b Enable gfix/gstat services API on classic builds. Rollback Blas' changes in this area 2003-12-14 04:44:58 +00:00
brodsom
abe35ef6fe -Remove unneeded setjmp header 2003-11-18 12:39:12 +00:00
robocop
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
453ff20031 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 11:43:41 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +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
43683ea52b Removing gdsold.h 2003-11-07 23:27:24 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +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
9b1df738ac Remove unneeded MINGW ifdef 2003-10-29 00:31:51 +00:00
brodsom
ecbedeee92 Macro cleaning
Use array access for nod_arg
2003-10-20 22:41:55 +00:00
brodsom
5c50b3d6c7 -Macro cleaning
-Use array access for nod_arg and idx_field
2003-10-17 23:47:04 +00:00
brodsom
c15dc102c6 Solve allocation bug (found by Claudio) 2003-10-17 12:56:23 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
robocop
5ddf9a13cf const correctness, vars in scope, etc. 2003-10-05 06:42:28 +00:00
robocop
3eb78af27b style 2003-10-05 06:42:03 +00:00
robocop
f2a738de1b const correctness, vars in scope, etc. 2003-10-05 06:37:26 +00:00
brodsom
db312dfa0e Macro cleaning
extern cleaning
DLL_EXPORT cleaning
2003-10-03 02:00:40 +00:00
brodsom
991cb4d4b1 Macro cleaning 2003-10-01 19:10:00 +00:00
brodsom
c0485b7c67 Macro cleaning 2003-10-01 18:11:23 +00:00
aafemt
ee93ff76ea 'struct' cleanup 2003-09-30 10:39:11 +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
brodsom
946a3b8d2c Remove msvc unused variable warning. 2003-09-15 14:57:32 +00:00
brodsom
bdac17190c Clean a bit services interface
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00
brodsom
04c9f237cb Correction 2003-09-15 02:15:27 +00:00
brodsom
a2715cb8c9 Fix indents 2003-09-13 11:48:09 +00:00
brodsom
daa5c5842c Better idx_type use 2003-09-12 16:32:19 +00:00
robocop
c08da4fadc trivial corrections 2003-09-12 09:00:40 +00:00
brodsom
7c7c2758dc BOOLEAN cleaning 2003-09-10 17:52:12 +00:00
robocop
376329079a const correctness, bool, etc. 2003-09-09 11:14:35 +00:00
brodsom
69698fc2eb Remove unneeded extern C 2003-09-06 00:52:10 +00:00
brodsom
16dc9c501c -Correction 2003-09-05 10:51:26 +00:00
brodsom
557c3db3c4 -Remove unneeded if (Thanks to Claudio) 2003-09-05 09:33:24 +00:00
brodsom
d426a55332 -Replace BOOLEAN, TRUE, FALSE 2003-09-04 13:45:44 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
d034fe82c6 -Remove GDS_VAL and GDS_REF 2003-08-30 02:02:36 +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
1891e08490 -Remove basic and pli remains 2003-08-19 09:24:15 +00:00
brodsom
82b847d512 -Fix cast warning 2003-08-19 09:22:20 +00:00
brodsom
16f025ac4b -Fix cast warnings
-Break long lines
2003-08-19 08:59:45 +00:00
robocop
386c2574b2 Minor corrections to the obsolete gdef 2003-08-12 10:02:27 +00:00
brodsom
fb51d2c17d Patch for MinGW 3.0 2003-07-14 16:55:04 +00:00
brodsom
8feff51688 Remove depends (unused and unmaintained) 2003-07-08 23:38:30 +00:00
dimitr
3fac72d57c Uniform tempfile naming. 2003-07-06 07:04:03 +00:00
brodsom
38bfdcf5f8 Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 18:10:46 +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
brodsom
3428b753e0 Dudley warning fixes 2003-04-08 01:01:03 +00:00
brodsom
e0dae1ff44 - Correct formats
- Remove unused var
- ifdef unused code
2003-04-03 02:03:47 +00:00
brodsom
178c07c4ff - Move definition from header to the c which use it.
- Remove unused var
- Change NULL to 0
2003-04-03 02:00:35 +00:00
brodsom
4948880d0d Add FLINT_CACHE ifdefs 2003-03-09 02:25:58 +00:00
brodsom
3468459299 Return fb_assert to assert (rollback) 2003-03-04 03:42:23 +00:00
brodsom
4ced9fc2b3 Change assert to fb_assert when gdsassert is in use. to make clear if we use the standard macro or the fb one. 2003-02-28 16:35:45 +00:00
fsg
54da825192 main needs to be int 2003-02-20 19:37:41 +00:00
brodsom
1b70d12d5c Remove warnings 2003-02-20 00:28:12 +00:00
brodsom
14ce7a705b Remove W4 warnings (remains from ODS 5 and 7) 2003-02-18 11:38:40 +00:00
brodsom
6652d5a5bf Remove __BORLANDC__ define 2003-02-14 02:50:10 +00:00
dimitr
6e42d8c093 Fixed exception handling. 2003-02-13 12:01:28 +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
f55579f424 Remove JPN_ defines 2003-02-07 18:54:18 +00:00
brodsom
d14d73ce44 Remove unused vars 2003-02-05 19:44:01 +00:00
brodsom
6022486eb1 Remove unused vars 2003-02-05 19:35:02 +00:00
brodsom
4349166a26 Remove unused vars 2003-02-05 15:43:59 +00:00
alexpeshkoff
a83fcfeab9 Sorry for wrong DATABASE directive :-( 2002-12-16 16:25:09 +00:00
alexpeshkoff
19d71f7b71 Rename all links to why.cpp handle to struct why_hndl * 2002-12-16 15:44:11 +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
tamlin
83c6f43cd7 Bugfix for modify_relation and removing unused variables. 2002-11-21 20:43:58 +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
dimitr
5f61e44ddc Global names change:
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +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
8c1000988a * Changed NOD struct name to DUDLEY_NOD. 2002-11-11 19:11:52 +00:00
eku
9fcdb74685 More status vector cleanups (ISC_STATUS_LENGTH).
Autoconf checks for xdr_hyper.
2002-11-04 13:57:18 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
tamlin
0b0e8e8f9e removed unused locals 2002-10-29 16:28:40 +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
skywalker
89e06a1b43 Merge final changes from fb1 tree. 2002-07-06 05:32:02 +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
d1761bee31 removed warnings. 2002-04-04 05:36:37 +00:00