/[pspp]/pspp/src/ChangeLog
ViewVC logotype

Diff of /pspp/src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.174 by jmd, Sun May 1 07:24:24 2005 UTC revision 1.175 by blp, Mon May 2 06:21:20 2005 UTC
# Line 1  Line 1 
1    Sun May  1 23:00:19 2005  Ben Pfaff  <blp@gnu.org>
2    
3            * var-display.c: (cmd_variable_alignment) Fix memory leak.
4            (cmd_variable_level) Ditto.
5    
6    Sun May  1 22:49:04 2005  Ben Pfaff  <blp@gnu.org>
7    
8            Hash table had buggy deletion function.  The fix required changing
9            other functions to do probing in the required order.
10    
11            * hash.c: (locate_matching_entry) Rewrite and change interface.
12            (hsh_rehash) Rewrite to use locate_matching_entry().
13            (hsh_probe) Ditto.
14            (hsh_find) Ditto.
15            (hsh_delete) Ditto.  Also, fix stupid bugs.
16    
17    Sun May  1 22:24:58 2005  Ben Pfaff  <blp@gnu.org>
18    
19            * dictionary.c: (dict_clone) Properly copy vectors.
20    
21    Sun May  1 22:07:58 2005  Ben Pfaff  <blp@gnu.org>
22    
23            New implementation of long variable names.  Each variable has a
24            "normal" name, which may be up to 64 bytes long and which is used
25            for all normal operations.  Variables may have a "short" name,
26            which is limited to 8 bytes and used only for system and portable
27            file input and output.
28            
29            Make tokid case-preserving.  Update most uses of tokid to treat it
30            case-insensitively.
31    
32            Update many commands to deal with long variable names.
33    
34            * autorecode.c: (cmd_autorecode) Use strcasecmp() instead of strcmp().
35    
36            * command.c: (cmd_parse) Ditto.
37            (match_strings) Use toupper() before comparing characters.
38            (conflicting_3char_prefixes) Use mm_case_compare() instead of
39            memcmp().
40            (cmd_match_words) Ditto.
41    
42            * compute.c: (lvalue_parse) Use st_trim_copy() instead of
43            strncpy().
44    
45            * count.c: (struct cnt_var_info) Change n[] to fit long var name.
46            Use st_trim_copy() instead of strcpy().
47    
48            * data-in.c: (parse_enum) Use mm_case_compare() instead of
49            memcmp().
50    
51            * data-list.c: (struct dls_var_spec) Change name[] to fit long var
52            name.
53            (parse_free) Use st_trim_copy() instead of strcpy().
54    
55            * descript.c: (struct dsc_var) Change z_name[] to fit long var
56            name.
57            (try_name) Use strcasecmp() instead of strcmp().
58            (generate_z_varname) Use st_trim_copy() instead of strcpy().
59            (descriptives_compare_dsc_vars) Use strcasecmp() instead of
60            strcmp().
61    
62            * dictionary.c: (struct dictionary) Removed `long_name_tab'
63            member.
64            (compare_long_names) Removed.
65            (hash_long_name) Removed.
66            (dict_create) Don't initialize `long_name_tab' member.
67            (dict_clone) Copy short names into new dictionary.
68            (dict_clear) Don't clear `long_name_tab' member.
69            (dict_get_varname_block) Removed.
70            (dict_add_longvar_entry) Removed.
71            (free_nte) Removed.
72            (dict_destroy) Don't destroy `long_name_tab' member.
73            (dict_create_var_from_short) Removed.
74            (dict_create_var_x) Removed.
75            (dict_create_var) Get rid of longname handling.
76            Clear short name.
77            (dict_clone_var) Get rid of longname parameter and longname
78            handling.
79            (dict_lookup_var) Get rid of longname handling.
80            (dict_reorder_var) New function.
81            (dict_rename_var) Clear short name.
82            (dict_rename_vars) Get rid of longname handling.  Clear short
83            names.
84            (dict_create_vector) Support long vector names.
85            (dict_lookup_vector) Use strcasecmp() instead of strcmp().
86            (quasi_base27) Removed.
87            (make_short_name) Removed.
88            (compare_strings) New function.
89            (hash_string) New function.
90            (dict_assign_short_names) New function.
91    
92            * file-handle.q: (get_handle_with_name) Use strcasecmp() instead
93            of strcmp().
94            (get_handle_for_filename) Support long handle names.
95    
96            * file-type.c: (struct col_spec) Make `name' fit long var names.
97            (cmd_file_type) Use strcasecmp() instead of strcmp().
98    
99            * flip.c: (make_new_var) Rewrite.
100            (flip_sink_write) Use st_trim_copy() instead of strncpy().
101    
102            * format.c: (parse_format_specifier_name) Use mm_case_compare()
103            instead of memcmp().
104    
105            * get.c: (cmd_save_internal) Rephrase.
106            (rename_variables) Drop test for identical variable name.
107            (struct mtf_proc) Change `first', `last' to fit long var name.
108    
109            * hash.c: (hsh_hash_case_string) New function for case-insensitive
110            string hashing.
111    
112            * lexer.c: (restore_token) Use st_trim_copy() instead of
113            strncpy().
114            (lex_get) Don't uppercase string when copying into tokid.
115            (lex_put_back_id) Use st_trim_copy() instead of
116            strncpy().
117    
118            * list.q: (determine_layout) Consider length of variable names in
119            choosing vertical layout.
120    
121            * matrix-data.c: (cmd_matrix_data) Use strcasecmp() instead of
122            strcmp().
123            (string_to_content_type) Ditto.
124    
125            * modify-vars.c: (compare_variables_given_ordering) Ditto.
126            (struct var_renaming) Change `new_name' to fit long var name.
127            (compare_var_renaming_by_new_name) Use strcasecmp() instead of
128            strcmp().
129    
130            * pfm-read.c: (read_variables) Disallow system variables in system
131            files.
132            (write_variables) Call dict_assign_short_names() and use
133            short_name[] members.
134    
135            * repeat.c: (internal_cmd_do_repeat) Use strcasecmp() instead of
136            strcmp().
137    
138            * sfm-read.c: (sfm_open_reader) Rewrite code for long variable
139            map.  Reorder variables into same order as long variable map.
140            (read_variables) Set short name.
141    
142            * sfm-write.c: (sfm_open_writer) Call dict_assign_short_names().
143            (write_variable) Use st_bare_pad_copy().
144            (write_longvar_table) Rewrite.
145    
146            * str.c: (mm_case_compare) New function.
147    
148            * sysfile-info.c: (compare_vectors_by_name) Use strcasecmp()
149            instead of strcmp().
150    
151            * t-test.q: (tts_custom_groups) Remove redundant test.
152            (tts_custom_pairs) Ditto.
153    
154            * var.h: (struct variable) Change `name' to fit long var names.
155            Remove `longname'.  Add `short_name' member.  Reorder some
156            variables.
157            (struct name_table_entry) Removed.
158            (struct vector) Change `name' to fit long vector names.
159    
160            * vars-atr.c: (var_is_valid_name) Allow long var names.
161            (compare_var_names) Use strcasecmp() instead of strcmp().
162            (compare_var_ptr_names) Ditto.
163            (hash_var_name) Use hsh_hash_case_string().
164            (hash_var_ptr_name) Ditto.
165            (var_set_short_name) New function.
166            (var_clear_short_name) New function.
167            (var_set_short_name_suffix) New function.
168    
169            * vars-prs.c: (parse_DATA_LIST_vars) Support long names.
170            Use strcasecmp() instead of strcmp().
171            (struct array_var_set) Removed `longname_tab'.
172            (array_var_set_lookup_var_idx) Drop longname_tab support.
173            (array_var_set_destroy) Don't destroy `longname_tab'.
174            (var_set_create_from_array) Don't create `longname_tab'.
175    
176            * vector.c: (cmd_vector) Use strcasecmp() instead of strcmp().
177            Support long names.
178    
179            * expressions/parse.c: (word_matches) Use mm_case_compare()
180            instead of memcmp().
181            (compare_strings) New function.
182            (lookup_function) Use compare_strings() instead of strcmp().
183            
184    Sun May  1 22:07:43 2005  Ben Pfaff  <blp@gnu.org>
185    
186            * algorithm.c: (move_element) New function.
187    
188    Sun May  1 22:05:35 2005  Ben Pfaff  <blp@gnu.org>
189    
190            * aggregate.c: (parse_aggregate_functions) Always initialize
191            destvar.
192    
193    Sun May  1 22:03:47 2005  Ben Pfaff  <blp@gnu.org>
194    
195            * aggregate.c: (cmd_aggregate) Use dict_clone_var_assert().
196    
197            * dictionary.c: (dict_clone) Ditto.
198            (dict_clone_var_assert) New function.
199    
200            * get.c: (mtf_merge_dictionary) Use dict_clone_var_assert().
201    
202  Sun May  1 15:05:54 WST 2005 John Darrington <john@darrington.wattle.id.au>  Sun May  1 15:05:54 WST 2005 John Darrington <john@darrington.wattle.id.au>
203    
204          * error.c: Added a string for the compiler version to the          * error.c: Added a string for the compiler version to the

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26