pspp
2 years agowork on docs ctables7
Ben Pfaff [Tue, 1 Mar 2022 05:56:32 +0000 (21:56 -0800)]
work on docs

2 years agoSome variables are ordinal.
Ben Pfaff [Tue, 1 Mar 2022 05:25:07 +0000 (21:25 -0800)]
Some variables are ordinal.

2 years agowork on docs
Ben Pfaff [Mon, 28 Feb 2022 06:17:08 +0000 (22:17 -0800)]
work on docs

2 years agowork on docs
Ben Pfaff [Mon, 28 Feb 2022 04:04:10 +0000 (20:04 -0800)]
work on docs

2 years agowork on documentation
Ben Pfaff [Mon, 28 Feb 2022 03:09:54 +0000 (19:09 -0800)]
work on documentation

2 years agosome basic ctables docs
Ben Pfaff [Sat, 26 Feb 2022 03:54:55 +0000 (19:54 -0800)]
some basic ctables docs

2 years agowork
Ben Pfaff [Fri, 25 Feb 2022 22:59:49 +0000 (14:59 -0800)]
work

2 years agowork on docs
Ben Pfaff [Fri, 25 Feb 2022 01:02:05 +0000 (17:02 -0800)]
work on docs

2 years agoctables syntax diagram
Ben Pfaff [Thu, 24 Feb 2022 22:36:50 +0000 (14:36 -0800)]
ctables syntax diagram

2 years agoPCOMPUTE works
Ben Pfaff [Thu, 24 Feb 2022 20:37:16 +0000 (12:37 -0800)]
PCOMPUTE works

2 years agoRename section_value to occurrence.
Ben Pfaff [Thu, 24 Feb 2022 00:25:29 +0000 (16:25 -0800)]
Rename section_value to occurrence.

2 years agopostcomputes sort-of work!
Ben Pfaff [Mon, 14 Feb 2022 00:04:25 +0000 (16:04 -0800)]
postcomputes sort-of work!

2 years agopostcomputes show up in results (all zeros so far)
Ben Pfaff [Sun, 13 Feb 2022 19:09:25 +0000 (11:09 -0800)]
postcomputes show up in results (all zeros so far)

2 years agolexer: New function lex_ofs_representation().
Ben Pfaff [Sun, 13 Feb 2022 19:07:22 +0000 (11:07 -0800)]
lexer: New function lex_ofs_representation().

This interface is more convenient for situations where it's easier to
consume tokens before getting their representations.

2 years agohiding source categories
Ben Pfaff [Sun, 13 Feb 2022 00:01:02 +0000 (16:01 -0800)]
hiding source categories

2 years agoMatch postcompute expressions against categories.
Ben Pfaff [Sat, 12 Feb 2022 23:30:32 +0000 (15:30 -0800)]
Match postcompute expressions against categories.

2 years agoparsing postcomputes into categories
Ben Pfaff [Sat, 12 Feb 2022 19:01:39 +0000 (11:01 -0800)]
parsing postcomputes into categories

2 years agoparsing works, at least the basics
Ben Pfaff [Sat, 12 Feb 2022 18:45:55 +0000 (10:45 -0800)]
parsing works, at least the basics

2 years agoPCOMPUTE and PPROPERTIES parser (not tested)
Ben Pfaff [Sat, 12 Feb 2022 18:37:21 +0000 (10:37 -0800)]
PCOMPUTE and PPROPERTIES parser (not tested)

2 years agoMISSING=INCLUDE/EXCLUDE works
Ben Pfaff [Sun, 6 Feb 2022 16:52:59 +0000 (08:52 -0800)]
MISSING=INCLUDE/EXCLUDE works

2 years agowork toward EMPTY=INCLUDE
Ben Pfaff [Sat, 5 Feb 2022 23:03:27 +0000 (15:03 -0800)]
work toward EMPTY=INCLUDE

2 years agoBreak tables up into sections.
Ben Pfaff [Sat, 5 Feb 2022 20:47:09 +0000 (12:47 -0800)]
Break tables up into sections.

2 years agoRevert "work on adding empty categories"
Ben Pfaff [Mon, 31 Jan 2022 06:10:59 +0000 (22:10 -0800)]
Revert "work on adding empty categories"

This reverts commit 47af71b93ed4673d23594ed2b84743f15638f7b7.

2 years agowork on adding empty categories
Ben Pfaff [Mon, 31 Jan 2022 06:10:55 +0000 (22:10 -0800)]
work on adding empty categories

2 years agoctables: Minor refactoring.
Ben Pfaff [Mon, 31 Jan 2022 06:10:12 +0000 (22:10 -0800)]
ctables: Minor refactoring.

2 years agoWork on weighting.
Ben Pfaff [Sun, 30 Jan 2022 20:39:30 +0000 (12:39 -0800)]
Work on weighting.

2 years agoAdd ptile support (untested).
Ben Pfaff [Sun, 30 Jan 2022 00:59:31 +0000 (16:59 -0800)]
Add ptile support (untested).

2 years agoctables: Support mode (untested).
Ben Pfaff [Sun, 30 Jan 2022 00:57:26 +0000 (16:57 -0800)]
ctables: Support mode (untested).

2 years agomode: New order statistic.
Ben Pfaff [Sun, 30 Jan 2022 00:56:30 +0000 (16:56 -0800)]
mode: New order statistic.

2 years agomath: Make 'accumulate' a feature of order statistics, not all stats.
Ben Pfaff [Sun, 30 Jan 2022 00:56:18 +0000 (16:56 -0800)]
math: Make 'accumulate' a feature of order statistics, not all stats.

2 years agoimplement MEDIAN (untested)
Ben Pfaff [Sat, 29 Jan 2022 22:44:14 +0000 (14:44 -0800)]
implement MEDIAN (untested)

2 years agosubcase: Rename subcase_destroy() to subcase_uninit().
Ben Pfaff [Sat, 29 Jan 2022 20:21:13 +0000 (12:21 -0800)]
subcase: Rename subcase_destroy() to subcase_uninit().

This reflects the convention that "destroy" frees the pointer passed in
while "uninit" only frees the internals.

2 years agomath: Coding style updates in some order-stat implementations.
Ben Pfaff [Sat, 29 Jan 2022 20:01:16 +0000 (12:01 -0800)]
math: Coding style updates in some order-stat implementations.

I generally find structure assignments clearer than individual assignments
to each of their members these days.

2 years agomath: Improve comments.
Ben Pfaff [Sat, 29 Jan 2022 20:00:16 +0000 (12:00 -0800)]
math: Improve comments.

This includes some changes to parameter names and coding style in
order-stats that I think clarify the code and modernize it.

2 years agomath: Avoid unneeded extra allocations for fixed-size data structures.
Ben Pfaff [Sat, 29 Jan 2022 18:52:49 +0000 (10:52 -0800)]
math: Avoid unneeded extra allocations for fixed-size data structures.

This seems generally a bit cleaner to me.

2 years agoAdd list of unimplemented features.
Ben Pfaff [Sat, 29 Jan 2022 17:48:07 +0000 (09:48 -0800)]
Add list of unimplemented features.

2 years agoMore tests for totals and subtotals, with fixes.
Ben Pfaff [Sat, 29 Jan 2022 03:10:26 +0000 (19:10 -0800)]
More tests for totals and subtotals, with fixes.

2 years ago2-d subtotals work
Ben Pfaff [Sat, 29 Jan 2022 02:30:20 +0000 (18:30 -0800)]
2-d subtotals work

2 years agoFix subtotal calculations.
Ben Pfaff [Sat, 29 Jan 2022 02:23:47 +0000 (18:23 -0800)]
Fix subtotal calculations.

2 years agoSimple test for TOTALS.
Ben Pfaff [Wed, 19 Jan 2022 01:48:58 +0000 (17:48 -0800)]
Simple test for TOTALS.

2 years agoSome basic tests.
Ben Pfaff [Tue, 18 Jan 2022 03:31:08 +0000 (19:31 -0800)]
Some basic tests.

2 years agospv-legacy-decoder: Always give the pivot table a title.
Ben Pfaff [Tue, 18 Jan 2022 03:19:27 +0000 (19:19 -0800)]
spv-legacy-decoder: Always give the pivot table a title.

A pivot table must have a title.  Some parts of PSPP rely on that.  The
legacy SPV decoder didn't ensure this, and one SPV in my corpus didn't have
one, which led to null pointer dereferences, so this commit fixes the
problem.

2 years agooutput-item: Add missing new-line printing tables in output_item_dump().
Ben Pfaff [Tue, 18 Jan 2022 01:39:37 +0000 (17:39 -0800)]
output-item: Add missing new-line printing tables in output_item_dump().

This only affects "pspp-output dump".

2 years agopivot-table: Fix pivot_table_dump() null pointer dereference in special case.
Ben Pfaff [Mon, 17 Jan 2022 22:05:09 +0000 (14:05 -0800)]
pivot-table: Fix pivot_table_dump() null pointer dereference in special case.

This function only gets called from "pspp-output dump", so it's not a very
important bug.

2 years agoA few basic tests pass.
Ben Pfaff [Mon, 17 Jan 2022 06:28:32 +0000 (22:28 -0800)]
A few basic tests pass.

2 years agofix one bug with clabels
Ben Pfaff [Mon, 17 Jan 2022 04:22:55 +0000 (20:22 -0800)]
fix one bug with clabels

2 years agofix parsing
Ben Pfaff [Mon, 17 Jan 2022 03:21:56 +0000 (19:21 -0800)]
fix parsing

2 years agobasics work now
Ben Pfaff [Sun, 16 Jan 2022 05:21:02 +0000 (21:21 -0800)]
basics work now

2 years agonumbers back in tables
Ben Pfaff [Sun, 16 Jan 2022 04:50:36 +0000 (20:50 -0800)]
numbers back in tables

2 years agowe don't really need two forks of the output code
Ben Pfaff [Sun, 16 Jan 2022 04:14:49 +0000 (20:14 -0800)]
we don't really need two forks of the output code

2 years agolabeling, with clabels and slabels, all seems to work right
Ben Pfaff [Sun, 16 Jan 2022 03:48:11 +0000 (19:48 -0800)]
labeling, with clabels and slabels, all seems to work right

2 years agobegin refactoring how to do grouping
Ben Pfaff [Sun, 16 Jan 2022 03:07:07 +0000 (19:07 -0800)]
begin refactoring how to do grouping

2 years agobetter comment
Ben Pfaff [Sun, 16 Jan 2022 00:18:18 +0000 (16:18 -0800)]
better comment

2 years agomake rowlabels and collabels more regular
Ben Pfaff [Sun, 16 Jan 2022 00:06:06 +0000 (16:06 -0800)]
make rowlabels and collabels more regular

2 years agocheck label positions for =OPPOSITE or =LAYER
Ben Pfaff [Sat, 15 Jan 2022 21:35:13 +0000 (13:35 -0800)]
check label positions for =OPPOSITE or =LAYER

2 years agomove code around
Ben Pfaff [Sat, 15 Jan 2022 20:11:23 +0000 (12:11 -0800)]
move code around

2 years agominor improvements and cleanups
Ben Pfaff [Sat, 15 Jan 2022 19:52:12 +0000 (11:52 -0800)]
minor improvements and cleanups

2 years agoStart work on slabels != summary_axis.
Ben Pfaff [Sat, 15 Jan 2022 19:03:21 +0000 (11:03 -0800)]
Start work on slabels != summary_axis.

2 years agomore debug prints
Ben Pfaff [Sat, 15 Jan 2022 18:51:55 +0000 (10:51 -0800)]
more debug prints

2 years agomerging works
Ben Pfaff [Sat, 15 Jan 2022 07:24:53 +0000 (23:24 -0800)]
merging works

2 years agoFix parsing totals.
Ben Pfaff [Sat, 15 Jan 2022 06:08:52 +0000 (22:08 -0800)]
Fix parsing totals.

2 years agoMake all the spec_sets distinct.
Ben Pfaff [Sat, 15 Jan 2022 05:56:35 +0000 (21:56 -0800)]
Make all the spec_sets distinct.

2 years agoparallel members to arrays
Ben Pfaff [Sat, 15 Jan 2022 05:33:57 +0000 (21:33 -0800)]
parallel members to arrays

2 years agoimprove naming
Ben Pfaff [Sat, 15 Jan 2022 05:06:17 +0000 (21:06 -0800)]
improve naming

2 years agoBreak ctables_cell_insert__() from ctables_cell_add__()
Ben Pfaff [Sat, 15 Jan 2022 05:03:11 +0000 (21:03 -0800)]
Break ctables_cell_insert__() from ctables_cell_add__()

2 years agoRename var_array to nest.
Ben Pfaff [Sat, 15 Jan 2022 04:51:12 +0000 (20:51 -0800)]
Rename var_array to nest.

2 years agoRename var_array2 to stack.
Ben Pfaff [Sat, 15 Jan 2022 04:44:36 +0000 (20:44 -0800)]
Rename var_array2 to stack.

2 years agoAllow totals to have different statistics
Ben Pfaff [Sat, 15 Jan 2022 02:44:01 +0000 (18:44 -0800)]
Allow totals to have different statistics

2 years agowork on configurable summaries for totals
Ben Pfaff [Thu, 13 Jan 2022 05:51:10 +0000 (21:51 -0800)]
work on configurable summaries for totals

2 years agosubtotal and hsubtotal work
Ben Pfaff [Thu, 6 Jan 2022 04:55:45 +0000 (20:55 -0800)]
subtotal and hsubtotal work

2 years agototals can go first as well as last
Ben Pfaff [Tue, 4 Jan 2022 07:04:00 +0000 (23:04 -0800)]
totals can go first as well as last

2 years agoFix output to spv.
Ben Pfaff [Tue, 4 Jan 2022 06:57:39 +0000 (22:57 -0800)]
Fix output to spv.

2 years agonested totals
Ben Pfaff [Tue, 4 Jan 2022 06:55:15 +0000 (22:55 -0800)]
nested totals

2 years agosingle totals work
Ben Pfaff [Tue, 4 Jan 2022 06:52:57 +0000 (22:52 -0800)]
single totals work

2 years agoUnify categories as the "explicit" categories.
Ben Pfaff [Tue, 4 Jan 2022 06:02:08 +0000 (22:02 -0800)]
Unify categories as the "explicit" categories.

2 years agoRename ctables_freq to ctables_cell.
Ben Pfaff [Mon, 3 Jan 2022 01:38:32 +0000 (17:38 -0800)]
Rename ctables_freq to ctables_cell.

2 years agocategory sort implicitly
Ben Pfaff [Sun, 2 Jan 2022 23:07:02 +0000 (15:07 -0800)]
category sort implicitly

2 years agoSorting categories by explicit values.
Ben Pfaff [Sun, 2 Jan 2022 22:40:49 +0000 (14:40 -0800)]
Sorting categories by explicit values.

2 years agocategory filtering works
Ben Pfaff [Sun, 2 Jan 2022 22:31:34 +0000 (14:31 -0800)]
category filtering works

2 years agotable sections exist
Ben Pfaff [Sun, 2 Jan 2022 21:37:44 +0000 (13:37 -0800)]
table sections exist

2 years agodomains work
Ben Pfaff [Sun, 2 Jan 2022 20:49:26 +0000 (12:49 -0800)]
domains work

2 years agosubtables work
Ben Pfaff [Sun, 2 Jan 2022 19:57:59 +0000 (11:57 -0800)]
subtables work

2 years agoCTABLES: Support setting the title, caption, ...
Ben Pfaff [Sun, 2 Jan 2022 03:27:42 +0000 (19:27 -0800)]
CTABLES: Support setting the title, caption, ...

2 years agopivot-table: New functions for setting captions, etc.
Ben Pfaff [Sun, 2 Jan 2022 03:27:31 +0000 (19:27 -0800)]
pivot-table: New functions for setting captions, etc.

2 years agoscale variables work more sanely
Ben Pfaff [Sun, 2 Jan 2022 03:04:45 +0000 (19:04 -0800)]
scale variables work more sanely

2 years agosummaries work
Ben Pfaff [Sun, 2 Jan 2022 01:41:50 +0000 (17:41 -0800)]
summaries work

2 years agodata filled in
Ben Pfaff [Sun, 2 Jan 2022 01:23:38 +0000 (17:23 -0800)]
data filled in

2 years agoaxes marked properly
Ben Pfaff [Sun, 2 Jan 2022 00:47:29 +0000 (16:47 -0800)]
axes marked properly

2 years agotoward better summaries
Ben Pfaff [Sat, 1 Jan 2022 23:47:23 +0000 (15:47 -0800)]
toward better summaries

2 years agodimensions work, except for sumamries
Ben Pfaff [Sat, 1 Jan 2022 22:47:52 +0000 (14:47 -0800)]
dimensions work, except for sumamries

2 years agooutput-item: Fix memory leak in output_item_dump().
Ben Pfaff [Sat, 1 Jan 2022 21:31:39 +0000 (13:31 -0800)]
output-item: Fix memory leak in output_item_dump().

2 years agowork
Ben Pfaff [Sat, 1 Jan 2022 18:09:12 +0000 (10:09 -0800)]
work

2 years agotrack axes
Ben Pfaff [Fri, 31 Dec 2021 20:09:27 +0000 (12:09 -0800)]
track axes

2 years agosome summary functions work
Ben Pfaff [Fri, 31 Dec 2021 05:34:47 +0000 (21:34 -0800)]
some summary functions work

2 years agogive CTABLES its own freq structure
Ben Pfaff [Fri, 31 Dec 2021 00:43:29 +0000 (16:43 -0800)]
give CTABLES its own freq structure

2 years agovlabels works a little
Ben Pfaff [Thu, 30 Dec 2021 23:58:42 +0000 (15:58 -0800)]
vlabels works a little

2 years agoall but last category
Ben Pfaff [Thu, 30 Dec 2021 23:14:15 +0000 (15:14 -0800)]
all but last category

2 years agoSkipping missing values.
Ben Pfaff [Thu, 30 Dec 2021 22:18:45 +0000 (14:18 -0800)]
Skipping missing values.

2 years agoCTABLES basics work
Ben Pfaff [Thu, 30 Dec 2021 21:58:21 +0000 (13:58 -0800)]
CTABLES basics work

2 years agofreqtabs are per-table
Ben Pfaff [Thu, 30 Dec 2021 19:47:17 +0000 (11:47 -0800)]
freqtabs are per-table