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-208-g2b1db


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-208-g2b1db12
Date: Wed, 25 Apr 2012 05:42:18 +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  2b1db12ee3bd135517659285a35a4763b44b7e39 (commit)
       via  f95002ec226b18f52773e747cae7e1d00302ad1a (commit)
       via  66c331cda3ecc00d81761ac9fdc62ac6c475be03 (commit)
       via  d9c6597d5b7a0fb3211d5ba0696b0c9681c776c0 (commit)
       via  29deed6b37a5e2361e64fc81303729b90f506248 (commit)
       via  45861388123559f96d05eb8d4f9356ad00ced281 (commit)
       via  f9035ac5308961fa6957894b5660bdb3adad60d0 (commit)
       via  a0a6abd7f428676f2c5dfa43bebc7d980d687fbb (commit)
       via  5a2caf22268ce4211830147389ba299d52b7dbad (commit)
       via  3bc8bee4dbb8a204fb61b0dfe97c4468899dd1c3 (commit)
       via  c040ea5dd9a6c87e45b864974b27ef79a64660e7 (commit)
       via  c7b09a12fae1611db7f1e7e00fa1e92c19d9fa37 (commit)
       via  6372cdc8bcb61ba5ba25f9329614e5e4e7e06b48 (commit)
       via  33d73243b99b3ff585184e819f41ca2205449752 (commit)
       via  5d346786ca6b5fd5b9ecc4d1b7b16c5fd4daace8 (commit)
       via  7ecdf4e88e39024da846a25c98caa2887f0dac59 (commit)
       via  d64431ef201b3031adaca5643e35274c0cee2fa5 (commit)
      from  1b4785cbce99af4c195b5ddd9e08b3f3c3569bd5 (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 2b1db12ee3bd135517659285a35a4763b44b7e39
Author: Ben Pfaff <address@hidden>
Date:   Sat Mar 3 11:50:20 2012 -0800

    psppire-cell-renderer-button: Add "slash" property.
    
    When "slash" is set to true, the button gets a diagonal slash drawn
    across it.  This is ugly, but it matches what SPSS does for cases
    that are filtered out.

commit f95002ec226b18f52773e747cae7e1d00302ad1a
Author: Ben Pfaff <address@hidden>
Date:   Mon Apr 23 22:49:30 2012 -0700

    psppire-cell-renderer-button: New cell renderer for GtkButton.
    
    This allows one to put a clickable GtkButton inside a PsppSheetView row.

commit 66c331cda3ecc00d81761ac9fdc62ac6c475be03
Author: Ben Pfaff <address@hidden>
Date:   Wed Feb 1 21:44:50 2012 -0800

    pspp-sheet-view: Add "fixed-height" and "fixed-height-set" properties.
    
    The data sheet will use this in the "split view" to make sure that
    side-by-side data sheets have the same row height.

commit d9c6597d5b7a0fb3211d5ba0696b0c9681c776c0
Author: Ben Pfaff <address@hidden>
Date:   Sat Mar 3 11:43:39 2012 -0800

    pspp-sheet-view: Make pspp_sheet_view_stop_editing() public.

commit 29deed6b37a5e2361e64fc81303729b90f506248
Author: Ben Pfaff <address@hidden>
Date:   Sat Mar 3 11:25:20 2012 -0800

    pspp-sheet-view: Improve look of sheet when there are few columns.
    
    GtkTreeView always expands one or more columns so that the visible
    columns fill up the entire width of the treeview.  This looks funny
    in a spreadsheet-like view.  This commit changes PsppSheetView so
    that, instead, extra space is left blanks instead of being filled
    up with columns.

commit 45861388123559f96d05eb8d4f9356ad00ced281
Author: Ben Pfaff <address@hidden>
Date:   Tue Mar 20 21:42:52 2012 -0700

    pspp-sheet-view: Optimize by making column header widgets lazy.
    
    This is a major speedup when there are hundreds of columns.

commit f9035ac5308961fa6957894b5660bdb3adad60d0
Author: Ben Pfaff <address@hidden>
Date:   Mon Apr 23 22:43:13 2012 -0700

    pspp-widget-facade: New code to measure and render some GTK+ widgets.
    
    There are two upcoming uses for this in the tree, both related to
    rendering fake buttons.  First, creating, maintaining, and rendering
    the column header buttons in a PsppSheetView is a huge cost when
    there are hundreds or thousands of columns.  Using this facade code
    to "fake" buttons makes the sheet much faster.  Second, this code
    will be used to implement a cell renderer for GtkButton, so that
    buttons can be put into PsppSheetView rows.

commit a0a6abd7f428676f2c5dfa43bebc7d980d687fbb
Author: Ben Pfaff <address@hidden>
Date:   Fri Nov 11 21:50:31 2011 -0800

    pspp-sheet-view: Add "special-cells" property to speed drawing many columns.
    
    A "special cell" is a cell that is editable or activatable.  When a row
    that contains a special cell is selected, the cursor is drawn around a
    single cell; when other rows are selected, the cursor is drawn around the
    entire row.
    
    With the default of "detect" (the only mode previously supported), whether
    a given row contains a special cell is detected automatically.  This is the
    best choice most of the time.  For sheet views that contain more than 100
    columns, an explicit "yes" or "no" improves performance.

commit 5a2caf22268ce4211830147389ba299d52b7dbad
Author: Ben Pfaff <address@hidden>
Date:   Sat Nov 12 16:21:22 2011 -0800

    pspp-sheet-view: Start editing upon button release, not press.
    
    This makes the user interface more natural.

commit 3bc8bee4dbb8a204fb61b0dfe97c4468899dd1c3
Author: Ben Pfaff <address@hidden>
Date:   Mon Jun 27 22:17:57 2011 -0700

    pspp-sheet-view: Support rectangular selection, column popup menus.
    
    A "rectangular selection" is where you can click and drag to select
    a rectangular group of columns and rows, like in a spreadsheet.
    
    In this commit, rectangular selections don't interact well with
    "quick-edit" mode where the first click on a cell starts editing,
    because clicking in a quick-edit cell starts editing instead of
    rectangular selection.  The following commit will fix the problem.
    
    This commit also adds a gtk_widget_queue_draw() call to
    pspp_sheet_view_update_rubber_band() that should really
    invalidate less sheet area.

commit c040ea5dd9a6c87e45b864974b27ef79a64660e7
Author: Ben Pfaff <address@hidden>
Date:   Thu Jun 23 22:16:28 2011 -0700

    pspp-sheet-view: Edit cells on the first click by default.
    
    With GtkTreeView it takes two clicks to edit a cell.  The first click
    selects the row and the second click starts editing.  This isn't a
    great user experience for a spreadsheet, so this commit enables
    single-click editing.

commit c7b09a12fae1611db7f1e7e00fa1e92c19d9fa37
Author: Ben Pfaff <address@hidden>
Date:   Tue Jun 21 22:45:48 2011 -0700

    pspp-sheet-view-column: Add support for tooltips on columns.

commit 6372cdc8bcb61ba5ba25f9329614e5e4e7e06b48
Author: Ben Pfaff <address@hidden>
Date:   Tue Nov 15 21:05:30 2011 -0800

    pspp-sheet-view: Fix rendering moving cursor left or right with keyboard.
    
    I don't understand why this is not necessary for GtkTreeView.  Without it,
    the cursor doesn't get properly redrawn after a left or right arrow
    keystroke moves it.

commit 33d73243b99b3ff585184e819f41ca2205449752
Author: Ben Pfaff <address@hidden>
Date:   Fri Nov 11 21:48:46 2011 -0800

    pspp-sheet-view: Fix visual artifacts for sheet views > 65535 pixels wide.
    
    gdk_draw_line() draws lines by passing the coordinates to XDrawLine(),
    which in turn casts the coordinates to "signed int" as it formats them for
    the X Protocol.  Thus, large coordinate values wrap around and cause odd
    visual artifacts.
    
    This fixes the problem by only calling gdk_draw_line() with coordinate
    values that should actually be visible.

commit 5d346786ca6b5fd5b9ecc4d1b7b16c5fd4daace8
Author: Ben Pfaff <address@hidden>
Date:   Thu May 26 22:11:42 2011 -0700

    pspp-sheet-view: Improve scrolling performance.
    
    Drawing dashed lines is very slow, at least on my computer.  This commit
    changes them to solid, which makes scrolling in a large sheet feel much,
    much more responsive on my system.

commit 7ecdf4e88e39024da846a25c98caa2887f0dac59
Author: Ben Pfaff <address@hidden>
Date:   Sun Apr 22 10:15:46 2012 -0700

    pspp-sheet-view: Reduce time and memory cost to O(1) in number of rows.
    
    The standard GtkTreeView uses time and memory linear in the number of
    rows in the tree.  When the model is set, it iterates over every row
    and creates a corresponding GtkRbNode.  After that, GtkTreeView uses
    the GtkRbNodes for many operations on the tree.
    
    This commit adapts GtkTreeView to avoid the need to iterate over the
    entire model up front, as well as the need to maintain data for every
    row.  It makes the following major changes:
    
      - The tree model must now be just a list (GTK_TREE_MODEL_LIST_ONLY);
        that is, rows may not have children.
    
      - The height of a row in the view must be fixed (as with
        gtk_tree_view_set_fixed_height_mode()).  Column widths must also
        be fixed.
    
    The following minor changes follow mainly as consequences of the above:
    
      - Expander arrows, tree lines, and level indentation are no longer
        supported, because these only make sense with rows that have
        children.
    
      - Separator rows are no longer supported.  (They are ugly in
        fixed-height mode because they occupy an entire row.)

commit d64431ef201b3031adaca5643e35274c0cee2fa5
Author: Ben Pfaff <address@hidden>
Date:   Mon Apr 23 22:39:58 2012 -0700

    Import GtkTreeView from GTK+ 2.0-2.20.1 renamed as PsppSheetView.
    
    This includes minimal modifications to make it compile and link
    cleanly.
    
    I used the following Perl script to do the bulk of the renaming:
    
    for $pair (['tree_view_column', 'sheet_view_column'],
               ['tree_selection', 'sheet_selection'],
               ['tree_view', 'sheet_view'],
               ['rbtree', 'rbtree'],
               ['rbnode', 'rbnode']) {
        my ($from, $to) = @$pair;
    
        my ($tfrom) = join ('', map ("\u$_", split ('_', $from)));
        my ($tto) = join ('', map ("\u$_", split ('_', $to)));
    
        s/gtk_$from/pspp_$to/g;
        s/\Ugtk_$from/\Upspp_$to/g;
        s/GTK_TYPE_\U$from/PSPP_TYPE_\U$to/g;
        s/GTK_IS_\U$from/PSPP_IS_\U$to/g;
        s/Gtk$tfrom/Pspp$tto/g;
    }
    
    s/GtkTreeCellDataFunc/PsppSheetCellDataFunc/g;
    s/GtkTreeDestroyCountFunc/PsppSheetDestroyCountFunc/g;

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

Summary of changes:
 src/ui/gui/automake.mk                    |   17 +-
 src/ui/gui/include/gtk/gtk.in.h           |   21 +
 src/ui/gui/marshaller-list                |    6 +
 src/ui/gui/pspp-sheet-private.h           |  459 ++
 src/ui/gui/pspp-sheet-selection.c         | 1303 +++
 src/ui/gui/pspp-sheet-selection.h         |  159 +
 src/ui/gui/pspp-sheet-view-column.c       | 4329 ++++++++++
 src/ui/gui/pspp-sheet-view-column.h       |  267 +
 src/ui/gui/pspp-sheet-view.c              |12795 +++++++++++++++++++++++++++++
 src/ui/gui/pspp-sheet-view.h              |  424 +
 src/ui/gui/pspp-widget-facade.c           |  357 +
 src/ui/gui/pspp-widget-facade.h           |   87 +
 src/ui/gui/psppire-button-editable.c      |  240 +
 src/ui/gui/psppire-button-editable.h      |   53 +
 src/ui/gui/psppire-cell-renderer-button.c |  583 ++
 src/ui/gui/psppire-cell-renderer-button.h |   71 +
 src/ui/gui/psppire.gtkrc                  |    7 +
 17 files changed, 21176 insertions(+), 2 deletions(-)
 create mode 100644 src/ui/gui/pspp-sheet-private.h
 create mode 100644 src/ui/gui/pspp-sheet-selection.c
 create mode 100644 src/ui/gui/pspp-sheet-selection.h
 create mode 100644 src/ui/gui/pspp-sheet-view-column.c
 create mode 100644 src/ui/gui/pspp-sheet-view-column.h
 create mode 100644 src/ui/gui/pspp-sheet-view.c
 create mode 100644 src/ui/gui/pspp-sheet-view.h
 create mode 100644 src/ui/gui/pspp-widget-facade.c
 create mode 100644 src/ui/gui/pspp-widget-facade.h
 create mode 100644 src/ui/gui/psppire-button-editable.c
 create mode 100644 src/ui/gui/psppire-button-editable.h
 create mode 100644 src/ui/gui/psppire-cell-renderer-button.c
 create mode 100644 src/ui/gui/psppire-cell-renderer-button.h
 create mode 100644 src/ui/gui/psppire.gtkrc


hooks/post-receive
-- 
GNU PSPP



reply via email to

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