Marcian Lytwyn
b7222b06f9
Only invoke 'setObjectValue' from NSTableView if new value id diff from current/old value
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40347 72102866-910b-0410-8b05-ffd578937521
2017-02-17 20:11:39 +00:00
Marcian Lytwyn
f41b38b000
Revert last bad commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40336 72102866-910b-0410-8b05-ffd578937521
2017-02-12 18:40:35 +00:00
Marcian Lytwyn
969b489452
Use NSInteger for window ref number
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40335 72102866-910b-0410-8b05-ffd578937521
2017-02-12 18:25:21 +00:00
Marcian Lytwyn
3c9e7bbd2f
Fix table view resize on add/remove table column
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40321 72102866-910b-0410-8b05-ffd578937521
2017-02-05 16:54:51 +00:00
Marcian Lytwyn
6b65c7d2bb
First pass - alternating background colors - still needs some tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40318 72102866-910b-0410-8b05-ffd578937521
2017-02-01 02:13:38 +00:00
Marcian Lytwyn
10d7bf704f
Parse use alternating background colors bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40316 72102866-910b-0410-8b05-ffd578937521
2017-02-01 00:33:13 +00:00
Marcian Lytwyn
00fa6f5863
Fix table header column resizing using XIB 5 loading
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40313 72102866-910b-0410-8b05-ffd578937521
2017-01-30 21:19:28 +00:00
Marcian Lytwyn
b532d9e83e
Add alternate table cell drawing flags decode
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40311 72102866-910b-0410-8b05-ffd578937521
2017-01-30 16:15:49 +00:00
Marcian Lytwyn
31f52310df
First pass - XIB 5 loading - much work still needed - currently limits changes to
...
initWithCoder methods and encompasses entire loading to translate XIB 5 into older
XIB key processing. ALl this eventually should be cleaned up properly but done
this way in order to expedite the code push into svn for Testplant usage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40300 72102866-910b-0410-8b05-ffd578937521
2017-01-25 15:49:14 +00:00
Marcian Lytwyn
d637b46e7f
Fix method name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40276 72102866-910b-0410-8b05-ffd578937521
2016-12-22 18:06:25 +00:00
Marcian Lytwyn
49bf74a798
Merge GUI code with main branch revision 40273 - NSTableView{hm] GSFontInfo.m NSColorWell.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40274 72102866-910b-0410-8b05-ffd578937521
2016-12-22 17:14:27 +00:00
Marcian Lytwyn
091858c26a
Sync table headers on mouse down clicks to avoid missing text, etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40265 72102866-910b-0410-8b05-ffd578937521
2016-12-15 18:36:56 +00:00
Marcian Lytwyn
8d6d271138
Switch from float to CGFloat for column origins in table view
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40255 72102866-910b-0410-8b05-ffd578937521
2016-12-06 23:44:45 +00:00
Paul Landers
f388be9f1f
fix [NSTableView setDropRow:] types
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40195 72102866-910b-0410-8b05-ffd578937521
2016-11-08 01:57:10 +00:00
Marcian Lytwyn
c950044cfc
Merge GUI/NSTableView.[hm] with trunk revision 40072
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40123 72102866-910b-0410-8b05-ffd578937521
2016-10-05 17:22:21 +00:00
Paul Landers
3b3388e8ad
fix a couple ssues with 64bit NSInteger
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40099 72102866-910b-0410-8b05-ffd578937521
2016-09-21 20:54:58 +00:00
Paul Landers
afdb6075a1
fix type mismatch between interface and declaration.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40084 72102866-910b-0410-8b05-ffd578937521
2016-09-15 20:14:00 +00:00
Paul Landers
89c12f32ad
local variable should start as NO, in some cases it is not set later.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38911 72102866-910b-0410-8b05-ffd578937521
2015-08-18 16:07:01 +00:00
Paul Landers
6c050759e0
Moved earlier fix to editing a selected row with a single click, as it was overridding other behavior being too early in the function.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38908 72102866-910b-0410-8b05-ffd578937521
2015-08-17 23:19:29 +00:00
Marcian Lytwyn
8fd5ffdfb7
ADd grid style mask
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38864 72102866-910b-0410-8b05-ffd578937521
2015-08-08 21:13:26 +00:00
Paul Landers
e72f28bd58
allow editing of any row in selecion, not just last selected one.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38848 72102866-910b-0410-8b05-ffd578937521
2015-07-30 18:30:35 +00:00
Doug Simons
05b324b8fd
change click and double-click behavior related to editing of cells to match Cocoa
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38739 72102866-910b-0410-8b05-ffd578937521
2015-07-02 16:11:58 +00:00
Doug Simons
b89de028aa
fix broken display update when expanding an outlineView item
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38458 72102866-910b-0410-8b05-ffd578937521
2015-04-17 15:39:53 +00:00
Marcian Lytwyn
69cc06a981
Add menu event processing for table cell(s)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38383 72102866-910b-0410-8b05-ffd578937521
2015-03-06 01:10:09 +00:00
Marcian Lytwyn
13202adda5
Create working stubs for table view batch insertions/removals of rows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38234 72102866-910b-0410-8b05-ffd578937521
2014-12-04 21:55:21 +00:00
Marcian Lytwyn
6a5a809f9f
Modified previous fix for cell set object value fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38232 72102866-910b-0410-8b05-ffd578937521
2014-12-04 18:46:10 +00:00
Marcian Lytwyn
f173b531ff
Send text storage versus string for tableView:setObjectValue delegate invocation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38229 72102866-910b-0410-8b05-ffd578937521
2014-12-04 16:10:28 +00:00
Marcian Lytwyn
1c8a7e6f78
First attempt for fixes for new TableScript processing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38166 72102866-910b-0410-8b05-ffd578937521
2014-11-11 16:53:30 +00:00
Marcian Lytwyn
a218e2f605
Table header view display update rectangle incorrect - patched for now
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37744 72102866-910b-0410-8b05-ffd578937521
2014-03-11 22:30:17 +00:00
Marcian Lytwyn
1d8e1bb0b5
Initial fix(es) for drawing table heading exceeding the end of the last table header column
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37727 72102866-910b-0410-8b05-ffd578937521
2014-03-06 16:48:06 +00:00
Marcian Lytwyn
813b317275
Revert to using instance var for _numberOfRows but leave numberOfRows subclass processing fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37443 72102866-910b-0410-8b05-ffd578937521
2013-12-10 01:30:28 +00:00
Marcian Lytwyn
ab663c24b3
Need NSTableView to conform to Cocoa behavior
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37439 72102866-910b-0410-8b05-ffd578937521
2013-12-07 20:51:40 +00:00
Marcian Lytwyn
7bfd4dfad0
hit test processed with row == -1
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37360 72102866-910b-0410-8b05-ffd578937521
2013-11-04 16:37:06 +00:00
Marcian Lytwyn
e1498b311a
Table view and cell drawing updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37351 72102866-910b-0410-8b05-ffd578937521
2013-11-01 23:20:18 +00:00
Marcian Lytwyn
b951ff0d8b
Missed a isGroupRow without a responder check
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37349 72102866-910b-0410-8b05-ffd578937521
2013-11-01 20:19:04 +00:00
Marcian Lytwyn
0122926822
tableView and NSCell processing and drawing updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37347 72102866-910b-0410-8b05-ffd578937521
2013-11-01 15:35:17 +00:00
Marcian Lytwyn
cdfe249de8
Update NSTableView processing to handle grouped row cells
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37336 72102866-910b-0410-8b05-ffd578937521
2013-10-30 20:55:04 +00:00
Frank Le Grand
4b27157a46
Merged Trunk changes from rev 35219 to TestPlant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36953 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:24:48 +00:00
Frank Le Grand
7e9050993d
- (NSIndexSet *) selectedColumnIndexes and - (NSIndexSet *) selectedRowIndexes should return an autoreleased copy of the corresponding ivar. Returning a reference to the ivar leads to issues (and behavior different from Cocoa) when iterating thru the indexsets if at a time they would be being altered.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36548 72102866-910b-0410-8b05-ffd578937521
2013-04-18 23:06:57 +00:00
Frank Le Grand
05538a1b5c
#1995 Fixed a bug where dragging the mouse in the empty area of a tableview was causing an exception.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36298 72102866-910b-0410-8b05-ffd578937521
2013-03-07 23:09:33 +00:00
Frank Le Grand
bca3428387
Implemented focus rings around cell so editable cells in a NSTableView appear by default with a focus ring when being edited. Some minor adjustments will be required to make it work perfectly with other controls, such as NSMatrix, NSForm, and NSPopUpButton.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36066 72102866-910b-0410-8b05-ffd578937521
2013-02-06 20:32:45 +00:00
Frank Le Grand
21e571b923
Basic implementation of the default drag image from a TableView that mimic Cocoa's behavior
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36053 72102866-910b-0410-8b05-ffd578937521
2013-01-31 17:57:24 +00:00
Doug Simons
9658c439bd
Allow a non-selected row to be dragged
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36051 72102866-910b-0410-8b05-ffd578937521
2013-01-31 17:02:40 +00:00
Frank Le Grand
fe5d19ee8e
Reverted changes of previous commit to rollback unintentional reformatting of code in the files NSTableView.m and NSOutlineView.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36044 72102866-910b-0410-8b05-ffd578937521
2013-01-31 01:52:05 +00:00
Frank Le Grand
10ad99f43f
Implemented basic Cocoa-like default drag image from a Table/Outline view. Currently only work on one-column table/outline views.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36041 72102866-910b-0410-8b05-ffd578937521
2013-01-30 20:43:30 +00:00
Marcian Lytwyn
317dfe3470
Add flag for controlling recursive validation invocation loop
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35529 72102866-910b-0410-8b05-ffd578937521
2012-09-04 21:44:17 +00:00
Fred Kiefer
e8d2648aca
* Headers/AppKit/NSKeyValueBinding.h,
...
* Source/externs.m: Additional binding names.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Additional helper methods.
* Source/NSObjectController.m: Use helper methods.
* Source/NSArrayController.m: Signal when the arranged objects
change.
* Source/NSTableColumn.m,
* Source/NSTableView.m: First attempt at support for content
binding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34923 72102866-910b-0410-8b05-ffd578937521
2012-03-12 12:24:17 +00:00
Eric Wasylishen
df87a9f362
* Source/NSTableView.m:
...
* Source/GSNibLoading.m: Move -[coder setClassName: @"_NSCornerView"
forClass: [GSTableCornerView class]] call from
-[NSTableView initWithCoder:] to GSNibLoading, because corner views
can be encountered before hitting -[NSTableView initWithCoder:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34919 72102866-910b-0410-8b05-ffd578937521
2012-03-09 23:18:18 +00:00
Eric Wasylishen
bd5ff5ba95
* Headers/AppKit/NSOutlineView.h:
...
* Source/NSOutlineView.m: Add support for
outlineView:dataCellForTableColumn:item: delegate method
* Headers/AppKit/NSTableView.h:
* Source/NSTableView.m: Add support for
tableView:dataCellForTableColumn:row: delegate method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34717 72102866-910b-0410-8b05-ffd578937521
2012-02-03 21:41:41 +00:00
Eric Wasylishen
d8ed82a8a8
* Source/NSTableView.m (-_isCellEditableColumn:row:): Tweak
...
criteria for determining cell editability::
- the delegate (if present) must say YES
- and the cell itself must return YES for isEditable
- and the table column must return YES for isEditable
Previously you could edit cells that returned NO for
isEditable if the column they were in was editable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34320 72102866-910b-0410-8b05-ffd578937521
2011-12-19 00:18:58 +00:00