pspp-commits
[Top][All Lists]
Advanced

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

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-275-g83a6f


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-275-g83a6fd3
Date: Tue, 17 Jul 2012 14:13:38 +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, master has been updated
       via  83a6fd35fc9195f607698326c2fef42c1a95be05 (commit)
       via  142e33869c4c04338e6071e011b3053a28ea9173 (commit)
       via  b49a1e914091def9823df400fe5d97a6d4222c2a (commit)
       via  22ff445f590d994452ab4d4d0f809a9c65d171ed (commit)
       via  d0d20d580fb1fd4bb4d7a2af9233b876effdd448 (commit)
      from  90963a3499338e490bbe0203168748a2bdd83295 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 83a6fd35fc9195f607698326c2fef42c1a95be05
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 16 23:44:52 2012 -0700

    var-type-dialog: Use fmt_date_template() to reduce duplication.
    
    I believe that it should be possible to merge more code together
    later.

commit 142e33869c4c04338e6071e011b3053a28ea9173
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 16 23:36:30 2012 -0700

    format: Make fmt_date_template() human-friendly, respect field width.
    
    The strings that fmt_date_template() returned were almost but not
    quite the kind of strings that humans expect to see.  For one, they
    always used "yy", even though the code uses 4-digit years ("yyyy")
    when the field width is sufficient.  Similarly, they never included
    seconds (i.e. omitted ":SS").  Finally, FMT_MOYR had an "X" where
    one would expect a space.
    
    This commit corrects all of the above issues.  Future commits will
    make more use of fmt_date_template().

commit b49a1e914091def9823df400fe5d97a6d4222c2a
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 16 22:28:44 2012 -0700

    var-type-dialog: Use G_TYPE_INT to store an int.
    
    It seems more straightforward to store an int by value than by
    pointer.

commit 22ff445f590d994452ab4d4d0f809a9c65d171ed
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 16 22:28:14 2012 -0700

    var-type-dialog: Fix possible memory leaks.
    
    gtk_tree_model_get_value() documentation says:
    
        When done with value, g_value_unset() needs to be called to free
        any allocated memory.
    
    but none of the users in this file did that.

commit d0d20d580fb1fd4bb4d7a2af9233b876effdd448
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 16 22:20:42 2012 -0700

    var-type-dialog: Avoid string copy setting up currency treeview.
    
    The return value of fmt_name() is perfectly suitable here.

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

Summary of changes:
 src/data/data-in.c           |   14 +++++---
 src/data/data-out.c          |   17 ++++------
 src/data/format.c            |   73 +++++++++++++++++++++++++++++++++--------
 src/data/format.h            |    2 +-
 src/ui/gui/var-type-dialog.c |   74 +++++++++++++++++++++---------------------
 5 files changed, 112 insertions(+), 68 deletions(-)


hooks/post-receive
-- 
GNU PSPP



reply via email to

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