Aparajita Fishman
4f377bcebe
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Misc. code cleanup.
Conflicts:
AppKit/CPWindow/_CPWindow.j
AppKit/Platform/DOM/CPPlatformWindow+DOM.j
2013-01-23 15:48:55 +07:00
Martin Carlberg
b52217e8a0
Tried to make the import mess a little better. Fixed a lot of bugs. Changed some class names in the test cases. Looks like all the tests are being run in the same space. Has to look into this…..
2012-12-17 00:40:26 +01:00
Martin Carlberg
c297e926f9
Compiler now works with jake and can compiler the whole Cappuccino framework. A lot of test cases still fail
2012-12-16 17:38:47 +01:00
Alexander Ljungberg
0f5d459ed8
Fixed: collection view crash on unepexted drag events.
2012-10-23 11:21:42 +01:00
Blair Duncan
04f650dde7
Windows selection compatibility. Fix for issue 1390
2012-09-03 23:47:11 -04:00
Alexander Ljungberg
998bdb550b
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-26 15:25:59 +01:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
Aparajita Fishman
36bfc7c675
Fixed decode methods to return the correct defaults, removed unnecessary containsValueForKey and || with defaults
2012-04-24 10:15:19 +02:00
Alexander Ljungberg
7efc8230a2
Fixed: a collection view wouldn't become the first responder when its items were clicked.
2012-04-20 17:30:17 +01:00
Alexander Ljungberg
4b764dc8b4
Throw an exception when trying to set a null minimum item size for a collection view.
2012-02-17 16:25:16 +00:00
Alexander Ljungberg
3a8ad56d4b
Fixed: don't crash when loading a collection view with no item prototype view from a cib.
2012-02-17 16:23:59 +00:00
Alexander Ljungberg
a1bc5ad4d3
Fixed: app would freeze on collection view setSelectionIndexes:nil.
2012-02-17 14:23:21 +00:00
Alexander Ljungberg
4aa3824a2a
Minor collection view optimisation.
2012-02-17 14:05:03 +00:00
Alexander Ljungberg
e03e774113
Format delegate signatures in collection view documentation.
2012-01-27 12:19:52 +00:00
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