1 |
|
Mon Mar 14 21:52:34 2005 Ben Pfaff <blp@gnu.org> |
2 |
|
|
3 |
|
* misc.h: Remove GCC specializations. |
4 |
|
|
5 |
|
Mon Mar 14 21:07:23 2005 Ben Pfaff <blp@gnu.org> |
6 |
|
|
7 |
|
Make sort stable (PR 12313). |
8 |
|
|
9 |
|
* sort.c: Don't need to include some headers anymore. |
10 |
|
(static var min_buffers) New variable. |
11 |
|
(static var max_buffers) New variable. |
12 |
|
(static var allow_internal_sort) New variable. |
13 |
|
(cmd_sort_cases) Add test mode. |
14 |
|
(sort_execute) Rephrase. |
15 |
|
(do_internal_sort) Don't try internal sorting if |
16 |
|
allow_internal_sort is set. |
17 |
|
(struct external_sort) Renamed `initial_runs' to `runs' and |
18 |
|
updated all references. |
19 |
|
(macro MIN_BUFFER_TOTAL_SIZE_RECS) Removed. |
20 |
|
(macro MIN_BUFFER_SIZE_BYTES) Removed. |
21 |
|
(macro MIN_BUFFER_SIZE_RECS) Removed. |
22 |
|
(compare_initial_runs) Removed. |
23 |
|
(struct record_run) Add member `idx'. |
24 |
|
(write_initial_runs) Pass increasing values to process_case() as |
25 |
|
index. |
26 |
|
(process_case) Add `idx' parameter and use it to initialize new |
27 |
|
`idx' member. |
28 |
|
(allocate_cases) Limit allocated buffers to max_buffers. |
29 |
|
(compare_record_run) Use new `idx' member for last resort |
30 |
|
comparison, for stability. |
31 |
|
(end_run) Call casefile_sleep() on irs->casefile, to prevent |
32 |
|
running out of file descriptors. |
33 |
|
(struct merge_state) Removed. |
34 |
|
(merge) Don't need to allocate cases. Always use MAX_MERGE_ORDER |
35 |
|
unless we have fewer runs left. Always merge consecutive runs, |
36 |
|
for stability. Return the final run. |
37 |
|
(mod) Removed. |
38 |
|
(choose_merge) New function. |
39 |
|
(merge_once) Rewritten. |
40 |
|
|
41 |
|
Mon Mar 14 21:05:42 2005 Ben Pfaff <blp@gnu.org> |
42 |
|
|
43 |
|
* cmdline.c: (static var testing_mode) Move into |
44 |
|
parse_command_line(). |
45 |
|
|
46 |
|
Mon Mar 14 21:05:13 2005 Ben Pfaff <blp@gnu.org> |
47 |
|
|
48 |
|
* algorithm.c: (remove_range) New function. |
49 |
|
(remove_element) New function. |
50 |
|
|
51 |
|
* dictionary.c: (dict_delete_var) Use remove_element(). |
52 |
|
|
53 |
|
* flip.c: (cmd_flip) Ditto. |
54 |
|
|
55 |
Sun Mar 13 22:52:05 2005 Ben Pfaff <blp@gnu.org> |
Sun Mar 13 22:52:05 2005 Ben Pfaff <blp@gnu.org> |
56 |
|
|
57 |
* file-handle.q: (struct file_handle) `open_mode' should not be |
* file-handle.q: (struct file_handle) `open_mode' should not be |
59 |
|
|
60 |
Sun Mar 13 22:40:54 2005 Ben Pfaff <blp@gnu.org> |
Sun Mar 13 22:40:54 2005 Ben Pfaff <blp@gnu.org> |
61 |
|
|
62 |
First phase of making SORT CASES stable (PR 12035). |
First phase of making SORT CASES stable (PR 12313). |
63 |
|
|
64 |
* sort.c: (struct indexed_case) New structure. |
* sort.c: (struct indexed_case) New structure. |
65 |
(do_internal_sort) Rewrite to make internal sorting stable. |
(do_internal_sort) Rewrite to make internal sorting stable. |
215 |
Sun Mar 6 19:52:22 2005 Ben Pfaff <blp@gnu.org> |
Sun Mar 6 19:52:22 2005 Ben Pfaff <blp@gnu.org> |
216 |
|
|
217 |
DATA LIST with free-field formats should not have implied decimal |
DATA LIST with free-field formats should not have implied decimal |
218 |
places (bug #12035). Also clean up data-in.c a bit. |
places (PR 12035). Also clean up data-in.c a bit. |
219 |
|
|
220 |
* data-in.h: (enum) Add DI_IMPLIED_DECIMALS. |
* data-in.h: (enum) Add DI_IMPLIED_DECIMALS. |
221 |
|
|
420 |
|
|
421 |
Sun Feb 13 16:11:13 2005 Ben Pfaff <blp@gnu.org> |
Sun Feb 13 16:11:13 2005 Ben Pfaff <blp@gnu.org> |
422 |
|
|
423 |
Fix Bug #11955. |
Fix PR 11955. |
424 |
|
|
425 |
* aggregate.c: (parse_aggregate_functions) Code cleanup. |
* aggregate.c: (parse_aggregate_functions) Code cleanup. |
426 |
Important part: get rid of spurious copying of function->format to |
Important part: get rid of spurious copying of function->format to |
428 |
|
|
429 |
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org> |
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org> |
430 |
|
|
431 |
Fix Bug #11916, which was confusing a variable's `index' member |
Fix PR 11916, which was confusing a variable's `index' member |
432 |
with the variable's position in a var_set. Although these are |
with the variable's position in a var_set. Although these are |
433 |
usually the same, they are not for array `var_set's. |
usually the same, they are not for array `var_set's. |
434 |
|
|
621 |
Mon Jan 3 17:44:37 2005 Ben Pfaff <blp@gnu.org> |
Mon Jan 3 17:44:37 2005 Ben Pfaff <blp@gnu.org> |
622 |
|
|
623 |
* pfm-read.c: (read_variables) Remove direct manipulation of |
* pfm-read.c: (read_variables) Remove direct manipulation of |
624 |
v->aux, which is no longer needed. Fixes Bug #11483. |
v->aux, which is no longer needed. Fixes PR 11483. |
625 |
|
|
626 |
Sat Jan 1 19:01:16 WST 2005 John Darrington <john@darrington.wattle.id.au> |
Sat Jan 1 19:01:16 WST 2005 John Darrington <john@darrington.wattle.id.au> |
627 |
|
|