Commit graph

49 commits

Author SHA1 Message Date
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Pierre-Yves Rivaille
4a5f98e0e7 Source/NSTableView.m: [setDelegate:], [setDataSource:] and
[validateEditing] changed to conform to previous change
(quick_sort_internal()) : fixed typo


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11651 72102866-910b-0410-8b05-ffd578937521
2001-12-07 17:05:57 +00:00
Gregory John Casamento
43ae836014 Changed superviewFrameChanged to prevent crash when the number of columns
in an NSTableView is reduced to zero.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11603 72102866-910b-0410-8b05-ffd578937521
2001-12-03 01:51:45 +00:00
Fred Kiefer
3b725d32e0 Added some additional MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11487 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:27:04 +00:00
Pierre-Yves Rivaille
a342cf5aae [NSTableView -sizeToFit]: replace floorf with floor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11314 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:14:44 +00:00
Pierre-Yves Rivaille
62f5b9a819 sizeLastColumnToFit, sizeToFit, setAutoresizesAllColumnToFit,
autoresizesAllColumnsToFit implementation
sizeToFit now behaves like OS4.2
Various changes for speed improvements (drawRect, updateCell)
New internal method (superviewFrameChanged:) called by NSClipView
(conforms to OS4.2)
initWithCoder: support for previously archived NSTableView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11275 72102866-910b-0410-8b05-ffd578937521
2001-10-29 11:10:16 +00:00
Nicola Pero
449ae8ff09 Do not retain/release the data source; it's like a delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11171 72102866-910b-0410-8b05-ffd578937521
2001-10-17 17:25:25 +00:00
Pierre-Yves Rivaille
2ad9cdfca2 ([selectColumn:byExtendingSelection]):
Do not send NSTableViewSelectionDidChangeNotification when selection
	is not changed (was not always working with flag=NO)
([selectRow:byExtendingSelection]): Likewise


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11163 72102866-910b-0410-8b05-ffd578937521
2001-10-16 21:01:28 +00:00
Nicola Pero
5c66b95c6d Indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10805 72102866-910b-0410-8b05-ffd578937521
2001-08-30 09:30:13 +00:00
Nicola Pero
a34fb690e9 Changed the key used in the user defaults to store a table columns so
that it is consistent with the key used by a window to store the frame


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10771 72102866-910b-0410-8b05-ffd578937521
2001-08-22 09:20:39 +00:00
Nicola Pero
52940b9bdd Implemented autosaving table columns (position and width)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10760 72102866-910b-0410-8b05-ffd578937521
2001-08-21 19:08:48 +00:00
Nicola Pero
93ad02b1b4 Use the cached notification center
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10758 72102866-910b-0410-8b05-ffd578937521
2001-08-21 18:13:32 +00:00
Pierre-Yves Rivaille
e3d2afb3c3 modifications to take [NSTableColumn -dataCellForRow:] into account
[-updateCell:]: only redraws the what's needed

[-setFrame:]: added a call to [self sizeToFit]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10749 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:25:29 +00:00
Pierre-Yves Rivaille
679debe40c Changed [-_userResizedTableColumn: leftWidth: rightWidth:] to
[-_userResizedTableColumn: width] for better resizing
Added [-_columnOrigins] for column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10705 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:06:53 +00:00
Adam Fedor
82fff1ebf0 Encoding implementations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10511 72102866-910b-0410-8b05-ffd578937521
2001-07-18 03:25:37 +00:00
Nicola Pero
8e481799f9 Fixed bug occurring when some rows were removed and some of them were
selected.  New code checks for it and deals with it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9703 72102866-910b-0410-8b05-ffd578937521
2001-04-25 20:40:46 +00:00
Nicola Pero
c8a8a98dab Fix for nil superview on solaris
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9120 72102866-910b-0410-8b05-ffd578937521
2001-02-09 18:52:29 +00:00
Nicola Pero
10b6a795ae Fixed selection in table with a single row
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8965 72102866-910b-0410-8b05-ffd578937521
2001-02-02 22:41:57 +00:00
Nicola Pero
3cba3915cc Fixed selected the only column in a single column table
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8952 72102866-910b-0410-8b05-ffd578937521
2001-01-31 01:42:31 +00:00
Nicola Pero
494e75a247 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8912 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:54:14 +00:00
Nicola Pero
7db396b77a Fixed column for point when point lies on the column boundary;
unselect an already selected row on click only if shift is pressed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8910 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:47:27 +00:00
Nicola Pero
10ad22071d Don't edit columns which are not editable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7459 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:01:15 +00:00
Nicola Pero
abab28e393 Bug fixings, implemented moving of columns programmatically.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7442 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:38:39 +00:00
Nicola Pero
3874966236 Added column resizing code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7436 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:35:05 +00:00
Nicola Pero
81ca86ec71 Little speedup of drawing table background
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7354 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:23:28 +00:00
Nicola Pero
ef00b8e1ed Implemented TAB / Shift + TAB during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7319 72102866-910b-0410-8b05-ffd578937521
2000-09-01 11:10:54 +00:00
Nicola Pero
a9f4a28379 Implemented object value/formatter support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7284 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:44:33 +00:00
Nicola Pero
a32e8348be Fixed bug in initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7255 72102866-910b-0410-8b05-ffd578937521
2000-08-27 16:59:50 +00:00
Nicola Pero
1afe863826 Implemented selection of columns and rows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7249 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:16:07 +00:00
Nicola Pero
36a80f494e Added editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6764 72102866-910b-0410-8b05-ffd578937521
2000-06-21 17:41:45 +00:00
Nicola Pero
4769a17666 Implemented double click on not editable cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6704 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:35:10 +00:00
Nicola Pero
93096a641b Tiny simplification of scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6698 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:00:43 +00:00
Nicola Pero
69214d4cbe Indented a line at 80
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6696 72102866-910b-0410-8b05-ffd578937521
2000-06-16 16:48:45 +00:00
Nicola Pero
14384bd668 Updated for last changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6689 72102866-910b-0410-8b05-ffd578937521
2000-06-16 09:38:30 +00:00
Nicola Pero
d0ea8d9369 Fixed fatal typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6680 72102866-910b-0410-8b05-ffd578937521
2000-06-15 13:20:47 +00:00
Nicola Pero
4d6dd97c36 Implemented -scrollRowToVisible: and -scrollColumnToVisible:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6677 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:35:40 +00:00
Nicola Pero
74e75a2cb1 Indented a long comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6630 72102866-910b-0410-8b05-ffd578937521
2000-06-01 20:03:17 +00:00
Nicola Pero
744aa1f8ad Access ivar _frame directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6387 72102866-910b-0410-8b05-ffd578937521
2000-03-27 11:44:20 +00:00
Nicola Pero
eea1460276 Implemented noteNumberOfRowsChanged
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6340 72102866-910b-0410-8b05-ffd578937521
2000-03-19 23:27:35 +00:00
Nicola Pero
5628505c5a Include AppKit/PSOperators.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6317 72102866-910b-0410-8b05-ffd578937521
2000-03-18 01:14:52 +00:00
Nicola Pero
457c3527f4 Rewritten from scratch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6305 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:25:15 +00:00
Nicola Pero
600cd3e60b Updated for change in NSView ivar names; some other new code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5733 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:34:06 +00:00
Richard Frith-MacDonald
738bb09559 Access superclass ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
1999-09-01 08:35:16 +00:00
Richard Frith-MacDonald
a3c6189002 Fixes for system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
1999-08-31 09:19:39 +00:00
Michael Silva
a73d9b885a A load of changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4724 72102866-910b-0410-8b05-ffd578937521
1999-08-19 23:18:25 +00:00
Michael Silva
2378751761 NSTable compiles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4696 72102866-910b-0410-8b05-ffd578937521
1999-08-04 02:39:14 +00:00
Michael Silva
cf61ae7e46 Major fixes all around.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4677 72102866-910b-0410-8b05-ffd578937521
1999-07-30 22:10:02 +00:00
Michael Silva
b2dc24ac3e NSTable fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4651 72102866-910b-0410-8b05-ffd578937521
1999-07-26 04:47:09 +00:00
Michael Silva
6a4261c380 NSTable* classes added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4619 72102866-910b-0410-8b05-ffd578937521
1999-07-19 19:13:10 +00:00