Klaas Pieter Annema
753257a650
Always tile the collectionview
...
A collectionview should always tile because it needs to adjusts it's size to properly work with an enclosing scrollview
2011-05-31 14:37:29 +02:00
Derek Hammer
7194a6961a
Forgot a forward slash to end the pre tag.
2011-05-22 17:58:25 -05:00
Derek Hammer
e404217e8b
Elaborate what setItemPrototype expects and does in CPCollectionView.
2011-05-22 17:55:17 -05:00
Klaas Pieter Annema
f8674b6d87
add collectionView:menuForItemAtIndex delegate
2011-04-20 14:40:47 +02:00
Klaas Pieter Annema
39459c9a44
take min and max size from item prototype
2011-04-18 10:34:45 +02:00
Klaas Pieter Annema
3d5232b308
give objects a chance to change their binder class
...
- make every object calling getBinding:forObject: aware of this change
- implement _CPCheckBoxValueBinder to handle binding to the value of a checkbox Closes : #1083
- re-implement CPTextField's behavior for controller markers using the new binder class
- disabled some tests that are not compliant with Cocoa
2011-01-07 14:14:19 +01:00
Johannes Fahrenkrug and Francisco Ryan Tolmasky I
3c3b7ff61c
Addition of applications tests and CPCollectionView selection fix.
...
Reviewed by me.
2010-12-18 10:34:32 -08:00
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 Ljungberg and Randall Luecke
2da1dc31fb
Simplify CPCollectionView keyboard selection code, eliminate some redundancy.
2010-06-26 00:10:21 -05:00
Alexander Ljungberg and Randall 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 Ljungberg and Randall 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 Fishman and Ross Boucher
6a43c544eb
Added support for reading max rows/columns from cib
2010-06-16 08:32:14 -07:00
Scott Kyle and Randall 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 Ljungberg and Ross 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 Kyle and Ross 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 Falk and Ross Boucher
41cb21cd0f
Made CPCollectionView encode and decode the isSelectable property to the cib
2009-10-16 14:38:48 -07:00
Andreas Falk and Ross 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 vizon and Francisco 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 Nijdam and Francisco 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 Nijdam and Francisco 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
nciagra and Ross 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