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.6.1-1127-g61e3


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1127-g61e32cd
Date: Fri, 26 Feb 2010 17:05:58 +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  61e32cd84c226f5e5c20f407da139dbb7cf5170b (commit)
      from  a7884b27895f52f54bea4d43022fce1175b65635 (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 61e32cd84c226f5e5c20f407da139dbb7cf5170b
Author: Ben Pfaff <address@hidden>
Date:   Thu Feb 25 21:40:52 2010 -0800

    gui: Save positions of windows only when they are closed.
    
    When windows in the GUI are moved around the desktop or resized, the
    machine's disk can thrash madly in some setups.  This is because each
    change in a window's position or size triggers a write to the PSPPIRE
    preferences file noting the new position as a default for the next
    PSPPIRE run.  It wasn't always a problem, but newer Glib versions call
    fsync() from g_file_set_contents(), the function used to write the
    preferences file, which bypasses the OS cache and forces a synchronous
    disk write.
    
    This commit makes PSPPIRE update the preferences file only when a window
    is closed, which fixes the problem.  Avoiding g_file_set_contents() would
    be another reasonable solution.
    
    Reported by Grzegorz Artur Daszuta <address@hidden>.

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

Summary of changes:
 src/ui/gui/psppire-conf.c   |   47 ++++++++++++++++++------------------------
 src/ui/gui/psppire-conf.h   |    4 +-
 src/ui/gui/psppire-dialog.c |    4 +-
 src/ui/gui/psppire-window.c |   28 +++++++------------------
 4 files changed, 32 insertions(+), 51 deletions(-)


hooks/post-receive
-- 
GNU PSPP




reply via email to

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