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. v1.2.0-465-ge2039


From: Friedrich Beckmann
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v1.2.0-465-ge2039bc
Date: Sun, 28 Jun 2020 15:57: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  e2039bc0694b89d26065899d9ed20f9bb42426f4 (commit)
       via  a79bd621c1a9c91f84c39ddfda501de63aa2697e (commit)
      from  d9c674e05188abe16dc9440a8c1597632982dd48 (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 e2039bc0694b89d26065899d9ed20f9bb42426f4
Author: Friedrich Beckmann <friedrich.beckmann@gmx.de>
Date:   Sun Jun 28 21:51:09 2020 +0200

    trim.c: avoid zero size xnrealloc memory allocation
    
    Without the patch the regression fails on test
    
    GET with /KEEP=ALL crashes -- uncompressed
    
    when I compile with -fsanitize=address on MacOS. The reason
    is that xnrealloc is called with a zero size allocation. I
    simply avoid this, although it might be perfectly o.k. to do so.

commit a79bd621c1a9c91f84c39ddfda501de63aa2697e
Author: Friedrich Beckmann <friedrich.beckmann@gmx.de>
Date:   Sun Jun 28 18:46:43 2020 +0200

    desktop: open a file via xdg-open without additional output window
    
    Currently there is a difference between opening an additional data
    file via the Edit->Open menu or by opening a file via xdg-open (same
    for doubleclick on Filebrowser). In the latter case the on_open
    callback is called which runs an additional post_initialize. That
    results in an additional output window.
    
    I changed the behavior such that post_initialize is only called
    when there is no psppire window yet. That happens when psppire
    is started from a terminal with the file as argument on linux.
    Further I check if there is an empty datawindow and replace that
    in the same way as it is done via the Edit->Open menu.

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

Summary of changes:
 src/language/data-io/trim.c |  2 ++
 src/ui/gui/main.c           | 40 +++++++++++++++++++++++++++++++++++++---
 src/ui/gui/psppire.c        |  4 ++--
 src/ui/gui/psppire.h        |  2 +-
 4 files changed, 42 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU PSPP



reply via email to

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