robocop
e71a03261c
This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash.
2007-03-28 04:20:36 +00:00
asfernandes
5a4862f17f
Misc
2006-07-02 22:42:12 +00:00
robocop
2fbc33febb
We had to bring new force to the project (Michal Kubecek) to remember us that fopen() returns NULL on failure. After his fix, I found more cases that we overlooked for years.
2006-07-01 08:53:50 +00:00
robocop
541fe6c579
It seems that all of Jim's hand-made parsers have had the same bug for 20 years in compilers that treat the "char" type as signed byte internally: they get random character attributes because they apply negative indices (obviously out of bounds) to the array of char attributes for any char value greater than 127. And all of them do their work in slightly but almost equal way... tell me about code redundance! This without losing time fixing unused stuff like jrd/jlx.c.
2006-06-08 05:15:37 +00:00
dimitr
7cc12e8489
1) Reworked memory management in SORT. Now we're pools aware there.
...
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
robocop
b67b0219ab
Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows.
2006-01-14 04:48:59 +00:00
alexpeshkoff
da6eb10cf4
fixed a warning
2005-12-02 16:49:39 +00:00
robocop
628b088d2c
Treat string literals and string constants with more respect.
2004-11-10 04:26:45 +00:00
brodsom
1d9e007baa
-Join qli globals in dtr.h
...
-Use C++ struct declaration style.
2004-05-24 17:20:44 +00:00
brodsom
cc1c25f7ae
Macro cleaning
2004-05-16 01:42:11 +00:00
brodsom
c8db819ac5
Replace defines with consts
2004-05-07 07:57:46 +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
skidder
2851f76d35
Fix warnings
2004-03-14 05:51:54 +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
brodsom
27cbcdd73e
-Removing some unneeded headers (WIN_NT) or explaining why are needed
2003-11-16 12:57:23 +00:00
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +00:00
robocop
d0752cf884
Style
2003-10-20 10:08:01 +00:00
brodsom
46648c1662
Solve assertion failure in tests
2003-10-17 12:55:17 +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
robocop
b21c7b43e1
const correctness, formatting, cleaning, etc.
...
Not a definitive work, though.
2003-09-15 12:30:28 +00:00
brodsom
7c7c2758dc
BOOLEAN cleaning
2003-09-10 17:52:12 +00:00
robocop
689497906a
C comments to C++ comments
2003-09-10 11:48:08 +00:00
brodsom
0065c98434
-Remove GDS_VAL and GDS_REF
2003-08-30 02:12:44 +00:00
dimitr
3fac72d57c
Uniform tempfile naming.
2003-07-06 07:04:03 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
29b251277d
STATUS -> ISC_STATUS
2003-04-10 10:16:09 +00:00
brodsom
2bcfbe983f
- ifdef unused or conditioned code
...
- Correct formats
- Change NULL to 0 or FALSE
2003-04-03 09:34:54 +00:00
brodsom
6652d5a5bf
Remove __BORLANDC__ define
2003-02-14 02:50:10 +00:00
brodsom
c97f1bafc6
Remove JPN_ defines
2003-02-08 00:58:10 +00:00
skidder
530e324801
Make QLI compile after why.c-->why.cpp change
2002-12-17 14:58:23 +00:00
alexpeshkoff
20961a1396
Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
2002-12-16 16:52:35 +00:00
seanleyne
b3ad604669
Removed support for obsolete "PC_PLATFORM" define
2002-10-31 05:06:02 +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
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
skywalker
4c4bc9a95c
Global changes for new Makefile and firebird2 compile on linux
2001-07-29 23:43:24 +00:00
bellardo
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00