Instead of making system or portable file readers responsible for
authorBen Pfaff <blp@gnu.org>
Mon, 15 Nov 2004 09:51:22 +0000 (09:51 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 15 Nov 2004 09:51:22 +0000 (09:51 +0000)
commitb321086267ad1014dc5d09886396cde30f094437
treebceed343f3cb446202a07d0e07e4f92669f107e9
parentf500c9c2989d63465b9a93fe6f7e1600207681af
Instead of making system or portable file readers responsible for
dropping and reordering variables, make them read full cases and
let the caller take care of any changes.

Instead of providing a system or portable file writer with a raw
case in the format needed for output, provide it with a regular
case.  The writer takes care of any needed translation.

Instead of treating `struct file_handle' as a class to subclass
into data files, system files, and portable files, instead use it
as a helper that coordinates access.  Now it is opaque, too.

Break dictionary functions into separate header file.

Get rid of procedure-specific union in struct variable, using
instead a void * pointer and a destructor function.
86 files changed:
po/en_GB.po
po/pspp.pot
src/.cvsignore
src/ChangeLog
src/Makefile.am
src/aggregate.c
src/alloc.c
src/apply-dict.c
src/autorecode.c
src/barchart.c
src/cartesian.c
src/case.c
src/case.h
src/casefile.c
src/chart.c
src/chart.h
src/command.c
src/compute.c
src/correlations.q
src/count.c
src/crosstabs.q
src/data-list.c
src/descript.c
src/dfm-read.c [new file with mode: 0644]
src/dfm-read.h [new file with mode: 0644]
src/dfm-write.c [new file with mode: 0644]
src/dfm-write.h [new file with mode: 0644]
src/dfm.c [deleted file]
src/dfm.h [deleted file]
src/dictionary.c
src/dictionary.h [new file with mode: 0644]
src/examine.q
src/expr-evl.c
src/expr-prs.c
src/file-handle.h
src/file-handle.q
src/file-type.c
src/flip.c
src/frequencies.q
src/get.c
src/glob.c
src/group.c
src/group_proc.h
src/histogram.c
src/inpt-pgm.c
src/levene.c
src/list.q
src/loop.c
src/main.c
src/matrix-data.c
src/means.q
src/modify-vars.c
src/numeric.c
src/oneway.q
src/pfm-read.c
src/pfm-read.h [new file with mode: 0644]
src/pfm-write.c
src/pfm-write.h [new file with mode: 0644]
src/pfm.h [deleted file]
src/piechart.c
src/print.c
src/q2c.c
src/recode.c
src/rename-vars.c
src/repeat.c
src/sel-if.c
src/sfm-read.c
src/sfm-read.h [new file with mode: 0644]
src/sfm-write.c
src/sfm-write.h [new file with mode: 0644]
src/sfm.h [deleted file]
src/sfmP.h
src/split-file.c
src/str.c
src/str.h
src/sysfile-info.c
src/t-test.q
src/temporary.c
src/title.c
src/value-labels.c
src/var.h
src/vars-atr.c
src/vars-prs.c
src/vector.c
src/vfm.c
src/weight.c