Added a dict parameter to data_in and dealt with the consequences.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 12 Jul 2009 14:13:44 +0000 (22:13 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 12 Jul 2009 14:13:44 +0000 (22:13 +0800)
commita5097a183f00ab2d2dc538ba7094a4696e2fea04
treee5e063831f4b3bc27a9404bbc36c4071ff29a72a
parent4a8a4cd81b9d7d9e6b757be4d0a8a62b48325051
Added a dict parameter to data_in and dealt with the consequences.

The data_in function now takes a pointer to a struct dictionary,
which must be the dictionary with which the output value is
associated.  Data_in now ensures that the data of string values
is converted to the dictionary's encoding if necessary.
18 files changed:
perl-module/PSPP.xs
src/data/data-in.c
src/data/data-in.h
src/language/data-io/data-list.c
src/language/data-io/data-parser.c
src/language/data-io/data-parser.h
src/language/data-io/get-data.c
src/language/expressions/operations.def
src/language/lexer/value-parser.c
src/language/xforms/recode.c
src/ui/gui/find-dialog.c
src/ui/gui/helper.c
src/ui/gui/helper.h
src/ui/gui/missing-val-dialog.c
src/ui/gui/psppire-data-store.c
src/ui/gui/text-data-import-dialog.c
src/ui/gui/val-labs-dialog.c
src/ui/syntax-gen.c