[Top][All Lists]

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

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v1.2.0-280-g81067

From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v1.2.0-280-g81067a5
Date: Fri, 11 Oct 2019 00:11:25 -0400 (EDT)

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  81067a5544c94e7fb7146c2c921469fcc5b5aebf (commit)
       via  c39f02a7c1d95a2c7474a8b86c33e609a01c66e1 (commit)
       via  a7c2f3dc0e04370417f765e4b3f0e8b575d02d89 (commit)
       via  db7d86c511e47ccbf28263889c8060fd3a97edbc (commit)
       via  4dcaaab90ea7f9a38a35bbc587712d6d9c260a3c (commit)
       via  b9ccea9860d7123988968605f526a288f27f7544 (commit)
      from  b8d97ba13fa4e3c78d3a0bc87803219c88e581ea (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 81067a5544c94e7fb7146c2c921469fcc5b5aebf
Author: Ben Pfaff <address@hidden>
Date:   Mon Jul 17 11:38:13 2017 -0700

    zip-reader: Improve error messages.
    With this change, the zip-reader's error messages always include the zip
    file name and, when relevant, the member name.  Otherwise it wasn't always
    clear what a message liek "No such file or directory" was talking about.

commit c39f02a7c1d95a2c7474a8b86c33e609a01c66e1
Author: Ben Pfaff <address@hidden>
Date:   Sat Jul 15 20:41:08 2017 -0700

    zip-reader: New function zip_reader_get_member_name().
    This allows the caller to obtain a list of .zip members.

commit a7c2f3dc0e04370417f765e4b3f0e8b575d02d89
Author: Ben Pfaff <address@hidden>
Date:   Sat Jul 15 20:26:31 2017 -0700

    zip-reader: Don't keep .zip file open for lifetime of zip_reader.
    The zip_reader no longer uses the .zip file after it opens it, so close it
    when it's no longer needed.

commit db7d86c511e47ccbf28263889c8060fd3a97edbc
Author: Ben Pfaff <address@hidden>
Date:   Sat Jul 15 20:22:10 2017 -0700

    zip-reader: Read the whole central directory at .zip open time.
    By reading the whole central directory when we open the .zip file, rather
    than one entry at a time, we make it easier to get a list of entries and
    make it available to the client.  (This will be implemented in an upcoming
    This commit also fixes memory leaks in the error case in zip_member_open().
    This commit also changes the usage model.  Previously, if the caller opened
    a single member more than once, all the members shared a single copy of
    the member and read each other's data.  Now, each caller that opens a
    member gets a separate copy and a separate file pointer.  Callers now need
    to call zip_member_finish() when they're done with a member.
    With this commit, the code only keeps an open FILE for a member if the
    caller opened that member.  Previously, it kept an open FILE for any
    member that had been encountered.

commit 4dcaaab90ea7f9a38a35bbc587712d6d9c260a3c
Author: Ben Pfaff <address@hidden>
Date:   Sat Jul 15 17:08:10 2017 -0700

    zip-reader: Fix memory leak on error path in zip_reader_create().

commit b9ccea9860d7123988968605f526a288f27f7544
Author: Ben Pfaff <address@hidden>
Date:   Sat Jul 15 16:47:34 2017 -0700

    zip-reader: Better hide implementation details from clients.
    By integrating the "inflate" code with the zip reader code, it is no
    longer necessary to expose the zip_member or decompressor details.


Summary of changes:
 src/data/ods-reader.c    |  44 ++--
 src/libpspp/  |   2 -
 src/libpspp/inflate.c    | 145 -----------
 src/libpspp/inflate.h    |  32 ---
 src/libpspp/zip-reader.c | 608 ++++++++++++++++++++++++++++-------------------
 src/libpspp/zip-reader.h |  50 +---
 tests/libpspp/zip-test.c |   1 +
 7 files changed, 394 insertions(+), 488 deletions(-)
 delete mode 100644 src/libpspp/inflate.c
 delete mode 100644 src/libpspp/inflate.h


reply via email to

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