8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
firebird-mirror/doc/cleaning-todo.txt

61 lines
1.7 KiB
Plaintext
Raw Normal View History

2005-04-03 08:59:41 +02:00
Cleaning todo.
Taken from Blas' v1.5 checklist and revised for v2 on 2005-04-03 by Claudio.
2005-04-03 08:59:41 +02:00
The order is not significant.
2003-07-08 21:16:06 +02:00
Macros
2003-07-08 21:16:37 +02:00
M1.- Remove NOT_USED_OR_REPLACED Macro
2005-04-03 08:59:41 +02:00
Pending.
2003-07-08 21:16:37 +02:00
M2.- Remove PYXIS macro
2005-04-03 08:59:41 +02:00
Done.
2003-07-08 21:16:37 +02:00
M3.- Remove NO_CHECKSUM macro (and CCH_Checksum function in cch.cpp)
2005-04-03 08:59:41 +02:00
Not agreed still.
2003-07-08 21:16:37 +02:00
M4.- Remove GDS_VAL and GDS_REF macros.
2005-04-03 08:59:41 +02:00
Done.
2003-07-08 21:16:37 +02:00
M5.- Remove NULL_PTR macro
2005-04-03 08:59:41 +02:00
Done.
2003-08-27 12:50:01 +02:00
M6.- Remove BOOLEAN, TRUE and FALSE macros and replace with keywords.
2005-04-03 08:59:41 +02:00
Done where except some places where it doesn't make sense to remove them.
2003-08-27 12:50:01 +02:00
M7.- Remove TEXT and SCHAR macros.
2005-04-03 08:59:41 +02:00
Tricky and in some places SCHAR is really used as signed char.
2003-07-08 21:16:06 +02:00
Code
2003-07-08 21:16:37 +02:00
C1.- Remove warnings (excluding parentheses, unused var, non complete switches and pragmas)
2005-04-03 08:59:41 +02:00
Mostly done.
2003-07-08 21:16:37 +02:00
C2.- Define (type-safe?) unions for nod_arg and lls_object.
2003-07-08 21:16:06 +02:00
Nod_arg is used in several places of the code to contain pointers to several kinds of objects or numbers, whether is defined as pointer to xxx_nod.
The same happends with lls_object in lls (linked list) where the lls_object can store pointers or numbers, whether is defined as pointer to xxx_nod.
See gpre.h nod_arg in gpre_nod struct and lls_object in lls struct.
2005-04-03 08:59:41 +02:00
Another solution exists.
2003-07-08 21:16:37 +02:00
C3.- Modify gds__msg_format and derivated functions to use arglist instead of TEXT arguments. This change will also remove a lot of casts.
2009-06-12 10:23:23 +02:00
Done with fb_msg_format in MsgPrint.h.
2005-04-03 08:59:41 +02:00
2003-07-08 21:16:37 +02:00
C4.- Remove casts.
2005-04-03 08:59:41 +02:00
Partially done.
C5.- Replace macros with code with inline functions.
Partially done.
2003-08-27 12:50:01 +02:00
C6.- Assertion cleaning. Now there are in the code compiler and custom assertions.
2005-04-03 08:59:41 +02:00
AFAIK, done.
2003-07-08 21:16:06 +02:00
Builds
2003-07-08 21:16:37 +02:00
B1.- Posix take cpp generated from epp out of src directory.
2005-04-03 08:59:41 +02:00
Unknown state.
2003-07-08 21:16:37 +02:00
B2.- Build help.fdb from script.
2005-04-03 08:59:41 +02:00
Done.
2003-07-08 21:16:37 +02:00
B3.- Build msg.fdb from script.
2005-04-03 08:59:41 +02:00
Done.
2003-07-08 21:16:37 +02:00