1 |
|
Mon Apr 25 22:55:59 2005 Ben Pfaff <blp@gnu.org> |
2 |
|
|
3 |
|
Finish fixing MATCH FILES (PR 11677). |
4 |
|
|
5 |
|
* get.c: (trim_dictionary) Rewrite in terms of drop_variables(), |
6 |
|
keep_variables(), rename_variables(). |
7 |
|
(drop_variables) New function. |
8 |
|
(keep_variables) New function. |
9 |
|
(struct mtf_file) Rename `in' to `in_name'. Add `in_var'. |
10 |
|
(cmd_match_files) Deal with in_var. Use drop_variables(), |
11 |
|
keep_variables(). When IN is specified, require BY. Set master |
12 |
|
variables after master dictionary is complete. Add IN variables |
13 |
|
after master dictionary is complete. |
14 |
|
(mtf_free_file) Free `in_name'. |
15 |
|
(mtf_delete_file_in_place) Set in_var value to 0. |
16 |
|
(mtf_read_nonactive_records) Rephrase. |
17 |
|
(mtf_processing) Support IN. Rephrase. Fix bugs. |
18 |
|
(mtf_merge_dictionary) Don't set master variables; we do that |
19 |
|
later now. |
20 |
|
(get_master) Don't insist that there's a master variable. |
21 |
|
|
22 |
|
Mon Apr 25 22:55:22 2005 Ben Pfaff <blp@gnu.org> |
23 |
|
|
24 |
|
Kluge to make some variable renaming sort of work. |
25 |
|
Needs real fix. |
26 |
|
|
27 |
|
* dictionary.c: (dict_rename_var) Call dict_add_longvar_entry(). |
28 |
|
|
29 |
|
Mon Apr 25 22:52:28 2005 Ben Pfaff <blp@gnu.org> |
30 |
|
|
31 |
|
Add functions for comparing sets of variables between cases. |
32 |
|
Use the functions. |
33 |
|
|
34 |
|
* case.c: (case_compare) New function. |
35 |
|
(case_compare_2dict) New function. |
36 |
|
|
37 |
|
* aggregate.c: (struct agr_proc) Remove `prev_break' member. Add |
38 |
|
`break_case'. |
39 |
|
(cmd_aggregate) Nullify break_case. Don't call |
40 |
|
initialize_aggregate_info(). |
41 |
|
(agr_destroy) Destroy break_case. |
42 |
|
(aggregate_single_case) Rewrite. Use case_compare(). |
43 |
|
(dump_aggregate_info) Copy from break_case into output. |
44 |
|
(initialize_aggregate_info) Copy break_case from input. |
45 |
|
|
46 |
|
* get.c: (mtf_compare_BY_values) Use case_compare_2dict(). |
47 |
|
|
48 |
|
* vfm.c: (equal_splits) Use case_compare(). |
49 |
|
|
50 |
Sat Apr 23 17:01:04 WST 2005 John Darrington <john@darrington.wattle.id.au> |
Sat Apr 23 17:01:04 WST 2005 John Darrington <john@darrington.wattle.id.au> |
51 |
|
|
52 |
* dictionary.c vars-prs.c sfm-write.c: Fixed some memory leaks |
* dictionary.c vars-prs.c sfm-write.c: Fixed some memory leaks |