Commit Graph
55 Commits
Author SHA1 Message Date
Brian Donovan 6f38b2aa0d -[CPCollectionView setContent:] did not always call reloadContent:.
This would break key-value binding setups where a CPCollectionView's content property was hooked up to a CPArrayController's content or arrangedObjects property since the CPArrayController maintains the same object and calls setValue:forKey: with the same object the CPCollectionView already has. Therefore we cannot skip calling reloadContent even when the incoming content array is the same one we got before, because most likely the contents have changed out from under us.
2010-11-11 21:39:07 -08:00
Klaas Pieter Annema 973c43843d improve multiple selection login in CPCollectionView 2010-10-01 11:31:59 +02:00
Klaas Pieter Annema b221cc1853 properly decode allows multiple selection in CPCollectionView 2010-09-30 13:54:34 +02:00
Nicholas Small b5bae40a0c Fix the short circuit in CPCollectionView -setSelectionIndexes: 2010-09-17 12:23:36 -04:00
Alexander LjungbergandRandall Luecke 2da1dc31fb Simplify CPCollectionView keyboard selection code, eliminate some redundancy. 2010-06-26 00:10:21 -05:00
Alexander LjungbergandRandall Luecke 6b55c81462 Fixed: Shift + Arrow Keys in allowsMultipleSelection CPCollectionViews did not expand the selection anymore after the recent key binding updates. 2010-06-26 00:10:12 -05:00
Alexander LjungbergandRandall Luecke 07630964c1 Reverse bindings support for CPCollectionView selectionIndexes. This enables binding a CPCollectionView's selectionIndexes to a CPArrayController. 2010-06-26 00:09:54 -05:00
Aparajita FishmanandRoss Boucher 6a43c544eb Added support for reading max rows/columns from cib 2010-06-16 08:32:14 -07:00
Scott KyleandRandall Luecke 1899250a53 Semicolons are nice... 2010-06-10 16:42:28 -05:00
Randall Luecke 162381a73f Removed worthless variable in the collectionview. 2010-06-01 19:16:02 -05:00
Randall Luecke bb651d0c70 Added multiple selection support to the collectionview. 2010-06-01 01:53:26 -05:00
Ross Boucher 6d595c1344 Collection view should tile itself to be the height of its superview if inside a clip view. 2010-04-24 11:10:58 -07:00
Alexander LjungbergandRoss Boucher 388f008189 Fixed: CPCollectionView frameForItemsAtIndexes used the deprecated method rectForItemAtIndex causing warnings. 2010-04-21 15:47:48 -07:00
Francisco Ryan Tolmasky I bbd402fcff Partial fix for HTML5 drag and drop with collection views.
Reviewed by me.
2010-04-20 23:51:18 -07:00
Scott KyleandRoss Boucher 5d3eae9022 deleteBackwards: => deleteBackward: 2010-03-22 14:30:48 -07:00
Francisco Ryan Tolmasky I f2c19ad403 Slight fix for collectionView:canDragItemsAtIndexes:withEvent: not passing the correct event.
Reviewed by me.
2010-03-20 20:58:08 -07:00
Francisco Ryan Tolmasky I ed9fee3038 Added collectionView:canDragItemAtIndexes:forEvent:.
Reviewed by me.
2010-03-20 20:56:37 -07:00
Francisco Ryan Tolmasky I 401ee3fd94 Added itemAtIndex: to CPCollectionView and updates API names.
Reviewed by me.
2010-03-19 12:24:07 -07:00
Ross Boucher a77e67e578 Add support for keyboard navigation in CPCollectionView 2010-02-16 16:36:40 -08:00
Ross Boucher c8575cac05 Revert "Fix the collection view resizing behavior."
This reverts commit 9b01561127.
2010-02-13 20:04:18 -08:00
Ross Boucher 840e9c7671 When removing an item from the collection view, we now unconditionally unhighlight it.
We also reapply highlights after reloading finishes.

Closes #248.
2010-01-31 12:29:38 -08:00
Ross Boucher 9b01561127 Fix the collection view resizing behavior. 2010-01-24 01:15:10 -08:00
Francisco Ryan Tolmasky I 3cfd392e3e Added new automatic undo API to CPUndoManager.
Added archiving support for CPTreeNode.

Reviewd by me.
2010-01-05 11:14:56 -08:00
Ross Boucher 385bec7400 Corrects a style issue. 2009-10-16 15:22:12 -07:00
Andreas FalkandRoss Boucher 41cb21cd0f Made CPCollectionView encode and decode the isSelectable property to the cib 2009-10-16 14:38:48 -07:00
Andreas FalkandRoss Boucher c7520593da Added getter for isSelectable and removed the getter for isSelected 2009-10-16 14:38:23 -07:00
Francisco Ryan Tolmasky I b21b08f899 Improved drag and drop.
Reviewd by me.
2009-09-16 00:27:56 -07:00
Francisco Ryan Tolmasky I 0497888edf Made CPCollectionViewItem a subclass of CPViewController and improved nib2cib support for CPCollectionView, CPCollectionViewItem, and CPViewController.
Reviewed by me.
2009-09-15 05:00:56 -07:00
Francisco Ryan Tolmasky I 25d76c9510 Further CPCollectionView nib2cib work.
Reviewed by me.
2009-09-15 03:20:47 -07:00
Francisco Ryan Tolmasky I a619bc15c2 Fix for collection views unarchived from cibs crashing.
Reviewed by me.
2009-09-05 00:28:42 -07:00
Francisco Ryan Tolmasky I b378a4d0fa Merge branch 'master' into tableview 2009-08-20 00:55:16 -07:00
Francisco Ryan Tolmasky I ab8add681e A number of fixes and improvements to the platform window subsystem.
Reviewed by me.
2009-08-17 03:50:51 -07:00
Francisco Ryan Tolmasky I ddc9334af3 Merge branch 'master' into tableview
Conflicts:
	AppKit/CPTableColumn.j
	AppKit/CPTableView.j
2009-08-10 15:09:10 -07:00
lowell vizonandFrancisco Ryan Tolmasky I 377f331b47 Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com>
2009-08-08 03:50:50 +08:00
Francisco Ryan Tolmasky I 6592328553 Merge branch 'master' into tableview 2009-07-17 12:18:49 -07:00
Marc NijdamandFrancisco Ryan Tolmasky I 9c226ae574 Ensuring all instance variables initialized to same values as initWithFrame: on coder init
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com>
2009-07-18 03:03:14 +08:00
Marc NijdamandFrancisco Ryan Tolmasky I 215619e6e2 Initial nib2cib work on collectionview
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com>
2009-07-18 03:03:12 +08:00
Francisco Ryan Tolmasky I 714fc9d5bb Added beginnings of drawing selection.
Reviewed by me.
2009-07-04 10:22:20 -07:00
Ross Boucher 850125b8ab Add documentation groups 2009-05-18 15:43:36 -07:00
Ross Boucher 3b0feec801 Closes 113. 2009-05-14 22:16:06 -07:00
nciagraandRoss Boucher ecee86cc6d Added allowsEmptySelection to CPCollectionView. 2009-04-04 22:43:08 -07:00
Francisco Tolmasky 880e4dfb3a Merge branch 'master' into tolmasky
Conflicts:
	AppKit/CPControl.j
	AppKit/CPTextField.j
2009-03-18 17:41:17 -07:00
Ross Boucher 9f8ca93a57 Collection views should be selectable by default. 2009-03-13 15:51:54 -07:00
Ross Boucher 38d72bc672 Respect _isSelectable on CPCollectionView 2009-03-10 23:18:43 -07:00
Francisco Tolmasky 6a0958f9c1 Some scroll view nib fixes.
Reviewed by me.
2009-02-21 17:17:29 -08:00
nciagraandRoss Boucher 66bbfbbb3c Added verticalMargin accessor to CPCollectionView. 2009-01-29 20:26:22 -08:00
Nicholas SmallandFrancisco Ryan Tolmasky I d1977f148e Added numberOfRows and numberOfColumns to CPCollectionView.
Reviewed by me.
2009-01-29 11:30:53 -08:00
Francisco Ryan Tolmasky I 75015ce466 Fix for making CPAnimation "pausable".
[#168 state:resolved].

Reviewed by me.
2008-12-15 18:40:33 -08:00
Francisco Ryan Tolmasky I b08e98d0ab Fix for item not being ull width in non-integral collection views.
[#164 state:resolved].

Reviewed by me.
2008-12-14 10:49:38 -08:00
Francisco Ryan Tolmasky I d92fc8c4d0 Cleaned up old deprecated documentation stuff and added documentation to deploy.
Reviewed by me.
2008-12-10 15:57:31 -08:00