Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Gsoc11tables Log


Commit Date  
[694260] (HEADmaster) by Elvis Stansvik Elvis Stansvik

Fix bug in painting of table outline during resizing.

2011-08-21 10:53:59 Tree
[b51a79] by Elvis Stansvik Elvis Stansvik

Use Oxygen icons for table actions:

Nuno is a much better icon designer than I am :)

2011-08-20 23:59:23 Tree
[fe7211] by Elvis Stansvik Elvis Stansvik

Don't add non-applicable actions in applicableActions() :)

2011-08-20 13:50:27 Tree
[0a6143] by Elvis Stansvik Elvis Stansvik

Only show/enable table menu actions when they are appropriate.

2011-08-20 13:47:32 Tree
[4a9ae7] by Elvis Stansvik Elvis Stansvik

Add table actions to applicable actions list and show in context menu:

Is this really the way to do it? Kind of kludgy..

2011-08-19 13:39:00 Tree
[8c6d29] by Elvis Stansvik Elvis Stansvik

Makes more sense to move down/to the right after row/col insertion.

2011-08-19 13:05:20 Tree
[bd45b9] by Elvis Stansvik Elvis Stansvik

Show the table menu as popup menu when rightclicking in table edit mode.

2011-08-19 12:58:40 Tree
[69c670] by Elvis Stansvik Elvis Stansvik

Fix selections/active cell when doing (semi-)destructive operations:

The behavior now is that when merging cells, the selection is cleared,
the new spanning cell is activated and we are returned to table edit
mode.

When removing rows or columns, any removed part of the selection is
cleared and the cell above or left of the removed rows or columns is
activated.

Also added some new asserts to assertValid() to make sure that we don't
end up with an invalid/covered active cell or invalid/covered selected
cells. Plus a check to make sure the active (logical) position is valid.

2011-08-19 09:57:23 Tree
[b557dd] by Elvis Stansvik Elvis Stansvik

Fix crash when removing rows/columns that entirely contain merged area.

When the new merged area has < 1 rows or < 1 columns, it should be
removed, but we must not try to reset the row/column span of the old
spanning cell, since that has already been removed. Trying to do so will
result in a crash in cellAt(...).

2011-08-19 09:23:21 Tree
[d1363a] by Elvis Stansvik Elvis Stansvik

Simplify the cell navigation API:

The public API is now moveLeft(..), moveRight(..), moveUp(..),
moveDown(..) and moveTo(..), and these all call a private function to
set the active cell.

2011-08-19 06:48:09 Tree
[d32ec5] by Elvis Stansvik Elvis Stansvik

Whitespace fix.

2011-08-19 06:11:53 Tree
[10b5dd] by Elvis Stansvik Elvis Stansvik

Make a convenience function for making a long text cursor blink.

Avoids some code duplication.

2011-08-19 06:04:43 Tree
[1133ff] by Elvis Stansvik Elvis Stansvik

Make a long text cursor blink when entering cell by keyboard navigation.

2011-08-18 21:18:54 Tree
[cc8fae] by Elvis Stansvik Elvis Stansvik

Fix cell navigation on OS X.

TODO: Make a preference for the modifiers.

2011-08-18 21:13:39 Tree
[644bbf] by Elvis Stansvik Elvis Stansvik

Fix crash / no initial cursor dilemma bug:

The PageItem::lastInFrame() function will return -1 when:

1) The frame is empty (no text).
2) The frame is so small that no text is visible (overflowing).

This led to a crash in CanvasMode::commonDrawTextCursor(...) which tried
to use this -1 as a parameter to StoryText::item(...). The old "fix"
that was in place for this in the edit canvas mode was to simply not
paint the cursor when lastInFrame() returns < 0. This fixed the crash
but had the unwanted side effect that no cursor was painted when
activating the edit mode on an empty frame.

This new fix instead changes CanvasMode::commonDrawTextCursor(...) to
still paint the cursor, but also make sure that it's never using a < 0
index.

(Note: CanvasMode::commonDrawTextCursor(...) is called
CanvasMode_Edit::drawTextCursor(...) in 1.5svn. It was moved/renamed in
my tables repository)

2011-08-18 20:41:41 Tree
[9e1250] by Elvis Stansvik Elvis Stansvik

Add support for navigating between cells with Alt+Left/Right/Up/Down.

2011-08-18 19:22:30 Tree
2011-08-18 12:38:49 Tree
[ae0fb1] by Elvis Stansvik Elvis Stansvik

Fix crash when cell containing single line of text overflows.

What happens is that since MaxChars of the cell's text frame will be 0,
its lastInFrame() method will return -1, which results in a crash in
commonDrawTextCursor(..) who uses this return value as an index in a
call to the item(..) method of the item text.

2011-08-18 12:31:09 Tree
2011-08-18 10:36:21 Tree
[1fd5eb] by Elvis Stansvik Elvis Stansvik

Add support for distributing rows/columns evenly from the menu.

2011-08-18 09:49:46 Tree
[996a91] by Elvis Stansvik Elvis Stansvik

Add support for setting columns widths from the menu.

2011-08-18 06:36:43 Tree
2011-08-18 06:11:58 Tree
[759052] by Elvis Stansvik Elvis Stansvik

Correct the window title of table row heights dialog.

Also make it a little wider.

2011-08-18 06:07:45 Tree
[d850c0] by Elvis Stansvik Elvis Stansvik

Handle units correctly when setting / getting row height:

Multiply values by unitRatio() when setting them on the spinbox, divide
by unitRatio() when getting them.

2011-08-18 06:00:21 Tree
[2d313c] by Elvis Stansvik Elvis Stansvik

Add support for setting table row heights from menu.

2011-08-17 20:23:00 Tree
Older >