1 |
________________________________________________________________ |
________________________________________________________________ |
2 |
|
* release of groffer 0.9.23 |
3 |
|
|
4 |
|
2005-14-07 Bernd Warken |
5 |
|
|
6 |
|
### Increase the speed for the search of man pages |
7 |
|
|
8 |
|
Run `find' on all man directories and ask this with `grep' instead |
9 |
|
of scanning through many `ls'. |
10 |
|
|
11 |
|
* groffer2.sh: |
12 |
|
- $_TMP_MAN: New variable with the name of the file that stores |
13 |
|
the `find' of the man path. |
14 |
|
- $_TMP_MANSPEC: New variable with the name of the file that |
15 |
|
stores the man page file names for each filespec. |
16 |
|
- man_setup(): Do the `find' of the man path with $_TMP_MAN. |
17 |
|
- man_do_filespec(): Add creation of $_TMP_MANSPEC. |
18 |
|
- man_search_section(): Rewrite it to use $_TMP_MANSPEC. |
19 |
|
|
20 |
|
* TODO: The demand on the increase of speed for man pages is now |
21 |
|
removed. |
22 |
|
|
23 |
|
### Increase speed by enhancement of debug |
24 |
|
|
25 |
|
* groffer.sh: $_BEFORE_MAKE: New variable that stores whether the |
26 |
|
@...@ constructs are still available or already transformed by |
27 |
|
`make'. |
28 |
|
|
29 |
|
* groffer2.sh: |
30 |
|
- $_DEBUG_FUNC_CHECK: New debug variable that regulates the check |
31 |
|
calls at the beginning and end of most functions done by the |
32 |
|
functions func_<name>(). By default, this is enabled before the |
33 |
|
run of `make', and disabled after. $_DEBUG_STACKS and |
34 |
|
$_DEBUG_USER_WITH_STACK enable this variable automatically. |
35 |
|
- --debug-func: New option for setting $_DEBUG_FUNC_CHECK. |
36 |
|
- usage(), main_parse_args(): Add information for --debug-func. |
37 |
|
- func_<name>(): Disable these functions if $_DEBUG_FUNC_CHECK is |
38 |
|
not `yes'. |
39 |
|
|
40 |
|
* groffer.man: |
41 |
|
- Add information on --debug-func. |
42 |
|
- Move the sections on options for development to the end of |
43 |
|
option processing. |
44 |
|
|
45 |
|
### Fixes of man page search |
46 |
|
|
47 |
|
- man_search_section(): Repair it such that extensions do not |
48 |
|
occur in the directory name. |
49 |
|
- manpath_set_from_path(): Rewrite it. Add `.../MAN/...' |
50 |
|
subdirectories additionally to `.../man/...'. |
51 |
|
- manpath_add_lang_sys(): Rewrite it to overwrite _MAN_PATH by |
52 |
|
systems parameter if any. Then _MAN_PATH is prepended by the |
53 |
|
language part. |
54 |
|
- _manpath_add_sys(): New subfunction of manpath_add_lang_sys() to |
55 |
|
handle the sytems part. |
56 |
|
- man_search_section: Fix it to handle section names that have |
57 |
|
more than one character (an extension). |
58 |
|
- $_MAN_PATH: Now stores man path as a list. This is done in |
59 |
|
man_setup() and manpath_set_from_path(), and used in |
60 |
|
manpath_add_lang_sys(). |
61 |
|
- $_MAN_SYS: Now stores man systems parameter as a list. This is |
62 |
|
done in man_setup() and used in manpath_add_lang_sys(). |
63 |
|
- $_MAN_SEC_DONE, $_MAN_SYS_DONE, $_MAN_LANG_DONE: Remove these |
64 |
|
variables. |
65 |
|
|
66 |
|
### Reorder the beginning of groffer2.sh |
67 |
|
|
68 |
|
* groffer2.sh: |
69 |
|
- func_<name>(): Move these functions to the functions in |
70 |
|
alphabetical order. |
71 |
|
- main_init(): Move "Test for compression" to this function. |
72 |
|
- Move the "System Test" and function landmark() to the beginning |
73 |
|
"Test of rudimentary shell functionality". Change landmarks 1 and |
74 |
|
2 to new positions. |
75 |
|
|
76 |
|
### Fix the mode when not in X |
77 |
|
|
78 |
|
* groffer2.sh: |
79 |
|
- main_parse_args(): Accept modes even when not in X, hoping for a |
80 |
|
program given by option. Add $_OPT_VIEWER_<MODE>_TTY. Remove |
81 |
|
$_VIEWER_TERMINAL. |
82 |
|
- main_set_mode(): Add a section to set $_VIEWER_TERMINAL and move |
83 |
|
the value of $_OPT_VIEWER_<MODE>_TTY to $_OPT_VIEWER_<MODE>. When |
84 |
|
not in X and no terminal programs are set remove $_OPT_MODE. All |
85 |
|
unknown programs are treated as terminal programs. |
86 |
|
- usage(): Comment out options --<mode>-viewer-tty. They exist |
87 |
|
and are handled by `groffer', but they are no longer documented. |
88 |
|
- $_OPT_VIEWER_<MODE>_TTY: New variables for option |
89 |
|
--<mode>-viewer-tty. |
90 |
|
- $_DEFAULT_MODE, $_VIEWER_<MODE>: Change it from , separation to |
91 |
|
a list. Rewrite _get_first_prog() of main_set_mode() to get |
92 |
|
around with this. |
93 |
|
|
94 |
|
* groffer.man: Remove information on --<mode>-viewer-tty. |
95 |
|
|
96 |
|
### Debug |
97 |
|
|
98 |
|
* groffer2.sh: |
99 |
|
- $_DEBUG_PRINT_FILENAMES: New variable for printing the file |
100 |
|
names that are displayed by `groffer'. |
101 |
|
- --debug-filenames: The corresponding option. It is used in |
102 |
|
man_register_file(), register_file(), and main_parse_args(). |
103 |
|
|
104 |
|
* groffer.man: Add information on --debug-filenames. |
105 |
|
|
106 |
|
### Other changements |
107 |
|
|
108 |
|
* groffer2.sh: |
109 |
|
- is_greater_than(): New function. Use it where suitable. |
110 |
|
- lists_combine(): New function to combine several lists to a |
111 |
|
single list. |
112 |
|
- list_from_split(): Rewrite it to output a list with quoted |
113 |
|
elements. |
114 |
|
- list_has_prog(), list_has_not_prog(): New functions to check the |
115 |
|
list on an element that starts with a given word. |
116 |
|
- obj_from_output(): Use this function at many places instead of |
117 |
|
`var="$(...)"'; this makes the usage of exit_test() unnecessary. |
118 |
|
- path_clean(): Fix assignment. |
119 |
|
- path_list(): Rename path_split(). |
120 |
|
- tmp_create(): Add check of temporary file. |
121 |
|
- usage(): Fix. |
122 |
|
|
123 |
|
* README_SH: |
124 |
|
- Fix section `Error handling'. |
125 |
|
- Add section `Speed'. |
126 |
|
|
127 |
|
________________________________________________________________ |
128 |
* release of groffer 0.9.22 |
* release of groffer 0.9.22 |
129 |
|
|
130 |
2005-22-04 Bernd Warken |
2005-08-22 Bernd Warken |
131 |
|
|
132 |
### `--whatis' |
### `--whatis' |
133 |
|
|