| version 1.5, 2001/12/05 23:58:48 |
version 1.6, 2001/12/08 18:23:52 |
|
|
| This is libcfg TODO list: |
This is libcfg TODO list: |
| |
|
| |
- number of spaces in cfgfile option names should not be relevant in compare |
| |
with real option names in file; that means "multi int" is the same as |
| |
"multi int" and "multi\tint" |
| |
- numbers in format 09 cannot be converted to decimal data type |
| |
|
| |
- in cfgfile multi lines handling don't trim all left white characters in 2nd |
| |
or more part of multi line, but substitute it for one space; this the same |
| |
behaviour as it is for right white characters trims in all parts of multi |
| |
lines excepts the last one |
| |
|
| - make cfgfile.c and cmdline.c to be standalone and compileable files; |
- make cfgfile.c and cmdline.c to be standalone and compileable files; |
| shared functions prefix by __cfg and move it to the shared.c; |
shared functions prefix by __cfg and move it to the shared.c; |
| make HUGE warning in shared.h for normal user not to include that file |
make HUGE warning in shared.h for normal user not to include that file |
| |
|
| - get_multi_line() will return return code according to error and pointer |
- universal, but customizable cfg error handle stuff |
| |
|
| |
* get_multi_line() will return return code according to error and pointer |
| to buffer will be passed as function parameter |
to buffer will be passed as function parameter |
| - parameter to specify end of line postfixes for multi lines |
* parameter to specify end of line postfixes for multi lines |
| - quotation thinking (oh no! ;-) |
- quotation thinking (oh no! ;-) |
| |
- also ability to turn quotations off (any idea how will this be useful? ;-) |
| |
|
| - functions str_left_trim(), str_right_trim() for white characters removing |
* functions str_left_trim(), str_right_trim() for white characters removing |
| - macros ltrim(), rtrim() or str_ltrim(), str_ltrim() |
* macros ltrim(), rtrim() or str_ltrim(), str_ltrim() |
| - macros str_trim(), strtrim(), trim() |
* macros str_trim(), strtrim(), trim() |
| |
|
| - leftover arguments dual mode: |
- leftover arguments dual mode: |
| 1.) can have valid options after leftover arguments |
1.) can have valid options after leftover arguments |
| 2.) after first leftover argument is all cosidered as leftover argument |
2.) after first leftover argument is all cosidered as leftover argument |
| Default initialization will be according to POSIXLY_CORRECT environment |
Default initialization will be according to POSIXLY_CORRECT environment |
| variable. Can be changed by changing context flags. |
variable. Can be changed by changing context flags. |
| - better stuff for manipulating with context flags (add, remove, clear, ...) |
* better stuff for manipulating with context flags (add, remove, clear, ...) |
| |
- add, clear, remove implemented |
| |
|
| |
* universal functions with strdyn context properties manipulation and |
| |
create appropriate macros |
| - cfg_add_cmdline_stop_str() and similar function should return |
- cfg_add_cmdline_stop_str() and similar function should return |
| result if item was successfully added into string list |
result if item was successfully added into string list |
| |
|
| * for each numeric data type (INT, UINT, LONG, ...) tests if range |
* for each numeric data type (INT, UINT, LONG, ...) tests if range |
| checks works properly; for INT it doesn't |
checks works properly; for INT it doesn't |
| - int and long seems to be the same datatype |
- it works, but int and long seems to be the same datatype |
| * fix ULONG argument parsing (there is strange strtoul() behaviour) |
* fix ULONG argument parsing (there is strange strtoul() behaviour) |
| |
|
| * command line stop string implemented |
* command line stop string implemented |