Fix DO REPEAT memory leaks.
[pspp-builds.git] / src / language / control / ChangeLog
1 Sun May  7 18:18:33 2006  Ben Pfaff  <blp@gnu.org>
2
3         Fix memory leaks.
4         
5         * repeat.c: (parse_ids) Take pool parameter and allocate all
6         memory from pool.  Reduce implementation from loop to single call
7         to parse_mixed_vars_pool().
8         (store_numeric) Removed.
9         (add_replacement) New function.
10         (parse_numbers) Take pool parameter and allocate all memory from
11         pool.  Require ranges to be in increasing order.
12         (parse_strings) Take pool parameter and allocate all memory from
13         pool.
14
15 Wed May  3 22:45:41 2006  Ben Pfaff  <blp@gnu.org>
16
17         Continue reforming procedure execution.  In this phase, get rid of
18         many global variables, consolidating procedure execution in
19         procedure.c.  Encapsulate transformations in new "struct
20         trns_chain".  Also, change implementation of N OF CASES, FILTER,
21         and PROCESS IF from special cases to transformations.
22          
23         * do-if.c: (cmd_do_if) Use finalizer to ensure control stack gets
24         cleared.
25         (do_if_finalize_func) New function.
26
27         * loop.c: (create_loop_trns) Use finalizer to ensure control stack gets
28         cleared.
29         (loop_trns_finalize) New function.
30
31         * temporary.c: (global var temporary) Removed.  Changed references
32         to use proc_make_temporary_transformations_permanent() or
33         proc_in_temporary_transformations().
34         (global var temp_dict) Removed.
35         (global var temp_trns) Removed.
36         (cmd_temporary) Reimplement in terms of
37         proc_in_temporary_transformations() and
38         proc_start_temporary_transformations().
39         (cancel_temporary) Moved to procedure.c, renamed
40         proc_cancel_temporary_transformations().
41                 
42 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
43         
44         * Moved files from src directory