1 |
|
Wed Nov 2 21:24:48 2005 Ben Pfaff <blp@gnu.org> |
2 |
|
|
3 |
|
* file-handle-def.c: Needed another #include, to avoid missing |
4 |
|
prototype warning. |
5 |
|
|
6 |
|
* file-handle.q: (cmd_file_handle) Declarations must precede |
7 |
|
statements. Free parse data on success as well as on failure, to |
8 |
|
avoid memory leak. |
9 |
|
|
10 |
|
* get.c: (parse_write_command) Destroy dict on success, to avoid |
11 |
|
memory leak. |
12 |
|
|
13 |
|
* data-list.c: (cmd_repeating_data) Fix usage of saw_occurs, |
14 |
|
saw_length, saw_continued, saw_id, which were boolean but |
15 |
|
incorrectly treated as bitmaps as result of a previous |
16 |
|
half-finished cleanup. |
17 |
|
|
18 |
|
* weight.c: (struct weight_trns) Unused, so removed. |
19 |
|
|
20 |
|
* Makefile.am: Add range-prs.h to sources. |
21 |
|
|
22 |
|
Wed Nov 2 21:24:15 2005 Ben Pfaff <blp@gnu.org> |
23 |
|
|
24 |
|
DO IF, LOOP cleanup. |
25 |
|
|
26 |
|
* Makefile.am: Add ctl-stack.c, ctl-stack.h to source files. |
27 |
|
Reformat source file list to list one file per file, so that |
28 |
|
patches for future changes will be easier to read. |
29 |
|
|
30 |
|
* ctl-stack.c, ctl-stack.h: New files. |
31 |
|
|
32 |
|
* do-if.c: Rewrote whole file. |
33 |
|
|
34 |
|
* do-ifP.h: Removed. |
35 |
|
|
36 |
|
* loop.c: Rewrote whole file. |
37 |
|
|
38 |
|
* glob.c: (global var ctl_stack) Move into ctl-stack.c. |
39 |
|
|
40 |
|
* temporary.c: (cmd_temporary) Use ctl_stack_is_empty(). |
41 |
|
|
42 |
|
* vfm.c: (open_active_file) Use ctl_stack_clear(). |
43 |
|
|
44 |
|
Wed Nov 2 21:18:13 2005 Ben Pfaff <blp@gnu.org> |
45 |
|
|
46 |
|
New pool functions. |
47 |
|
|
48 |
|
* pool.c: (pool_create_at_offset) New function. |
49 |
|
(pool_add_subpool) New function. |
50 |
|
|
51 |
|
* pool.h: (pool_create_container) New macro. |
52 |
|
|
53 |
|
* expressions/parse.c: (expr_parse_pool) New function. |
54 |
|
|
55 |
|
* autorecode.c: (recode) Use pool_create_container(). |
56 |
|
|
57 |
|
* count.c: (cmd_count) Ditto. |
58 |
|
|
59 |
|
Wed Nov 2 19:59:32 2005 Ben Pfaff <blp@gnu.org> |
60 |
|
|
61 |
|
Clean up transformations, by getting rid of `struct trns_header', |
62 |
|
replacing it by `struct transformation' that has a void * |
63 |
|
`private' member. Updated all uses of transformations to match, |
64 |
|
which was a lot of code. Only major related changes listed below. |
65 |
|
|
66 |
|
* compute.c: (cmd_if) Use get_proc_func(). |
67 |
|
(cmd_compute) Use get_proc_func(). |
68 |
|
(get_proc_func) New function. |
69 |
|
|
70 |
|
* glob.c: (global var m_trns) Change type to size_t. |
71 |
|
(global var n_trns) Ditto. |
72 |
|
(global var f_trns) Ditto. |
73 |
|
(global var t_trns) Change type to struct transformation *. |
74 |
|
|
75 |
|
* var.h: (struct trns_header) Removed. |
76 |
|
(struct transformation) New. |
77 |
|
(typedef trns_proc_func) Takes a void * instead of a struct |
78 |
|
trns_header *. |
79 |
|
(typedef trns_free_func) Ditto. |
80 |
|
|
81 |
|
* vfm.c: (execute_transformations) Takes an array of |
82 |
|
transformations instead of trns_headers. |
83 |
|
(add_transformation) Change prototype from (trns_header *) to |
84 |
|
(trns_proc_func *, trns_free_func *, void *). |
85 |
|
(next_transformation) New function. |
86 |
|
|
87 |
Sat Oct 29 16:25:36 2005 Ben Pfaff <blp@gnu.org> |
Sat Oct 29 16:25:36 2005 Ben Pfaff <blp@gnu.org> |
88 |
|
|
89 |
* count.c: Major cleanups. Rename practically everything. |
* count.c: Major cleanups. Rename practically everything. |