pspp-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-commits] [SCM] GNU PSPP branch, value-rep, created. v0.6.1-487-gbd


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, value-rep, created. v0.6.1-487-gbd78a32
Date: Mon, 30 Mar 2009 05:53:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".

The branch, value-rep has been created
        at  bd78a32b882b4c614e83ea8b5aa40ee7ddeba3d6 (commit)

- Log -----------------------------------------------------------------
commit bd78a32b882b4c614e83ea8b5aa40ee7ddeba3d6
Author: Ben Pfaff <address@hidden>
Date:   Sun Mar 29 22:53:07 2009 -0700

    Change "union value" to dynamically allocate long strings.
    
    Until now, a single "union value" could hold a numeric value or a short
    string value.  A long string value (one longer than MAX_SHORT_STRING)
    required a number of contiguous "union value"s.  This situation was
    inconvenient sometimes, because any occasion where a long string value
    might be required (even if it was unlikely) required using dynamic
    memory allocation.
    
    With this change, a value of any type, regardless of whether it is numeric
    or short or long string, occupies a single "union value".  The internal
    representation of short and long strings is now different, however: long
    strings are now internally represented by a pointer to dynamically
    allocated memory.  This means that "union value"s must now be initialized
    and uninitialized properly, to ensure that memory is properly allocated
    and freed behind the scenese.
    
    This change thus has a ripple effect on PSPP code that works with values.
    In particular, code that deals with cases is greatly changed, because a
    case now needs to know the type of each value that it contains.  Thus, a
    new concept called a "case prototype", which represents the type and
    width of each value within a case, is introduced, and every place in PSPP
    that creates a case must now create a corresponding prototype to go with
    it.
    
    This commit is not cleaned up to production standards.  It needs
    additional work on comments, for example, as well as updates to the
    developers' reference.  There might be unrelated debug prints still left
    in, and so on.  Nevertheless it should serve as a place to start
    discussion.

commit 5bb28e5ef374a26c460e7ea7cfd6da91b0265dee
Author: Ben Pfaff <address@hidden>
Date:   Thu Jan 15 20:39:18 2009 -0800

    t-test: Move 'mode' variable from file scope into cmd_t_test().

commit 489e86417d299560c0bc4869df12de1f60be95bd
Author: Ben Pfaff <address@hidden>
Date:   Thu Jan 15 20:37:32 2009 -0800

    t-test: Move 'cmd' variable from file scope into cmd_t_test().
    
    This variable was only used inside cmd_t_test() anyhow.

commit 1d6a3555ee1523ef0d5fcd2831c484dcce0250b4
Author: Ben Pfaff <address@hidden>
Date:   Thu Jan 15 20:34:43 2009 -0800

    t-test: Remove write-only variable.

-----------------------------------------------------------------------


hooks/post-receive
--
GNU PSPP




reply via email to

[Prev in Thread] Current Thread [Next in Thread]