cacaodev
108042c190
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
AppKit/CPTableView.j
Tests/Manual/TableTest/TableCibTest/AppController.j
2013-02-13 19:27:53 +01:00
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
Alexander Ljungberg
3c684404ed
Eliminate mystery CGPointPointer.
2013-01-20 16:44:40 +00:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
cacaodev
2cc3521989
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Tests/Manual/CPOutlineViewCibTest/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
2013-01-18 16:57:46 +01:00
Antoine Mercadal
a66a4210c3
Use theme attribute for default row height
2013-01-09 20:24:42 -08:00
cacaodev
5b1cf49170
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-10-15 14:23:24 +02:00
Antoine Mercadal
0a189906cd
notify delegate that item did collapse after reloading them
2012-09-10 15:17:45 -07:00
Antoine Mercadal
e4a6d8520c
CPOutlineView notify for items expanded after having reloaded them
2012-09-10 13:49:40 -07:00
cacaodev
f29f39d427
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Renamed Test apps.
Conflicts:
AppKit/CPTableView.j
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.xib
2012-07-13 13:38:49 +02:00
Martin Carlberg
2f875615a2
Removed hardcoded width in disclosure button
2012-05-25 11:14:43 +02:00
cacaodev
a0d52d415b
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-04-28 09:00:53 +02:00
Alexander Ljungberg
c16c0309c8
Fixed: CPOutlineView setMenu: was not effective.
...
A CPOutlineView without a delegate `outlineView:menuForTableColumn:item` method, would not display its context menu as specified by `setMenu:` or in IB.
2012-04-27 01:19:47 +01:00
cacaodev
299a035b7f
Typo
2012-04-13 22:27:21 +02:00
cacaodev
a41ff7f2d0
TableView Example: fix row selection after drop
...
make editable textfield bordered
Finished CPOutlineView view-based. With example
2012-04-13 09:19:36 +02:00
cacaodev
67f7649f6c
CPTableView with Lion's view-based API
...
Added : -makeViewWithIdentifier:owner:
-rowForView: columnForView: less performant tahn cocoa because we cycle through all visible rows. But these methods are generally used once when editing manually.
Added identifier property to CPView.
retro and forward (in IB) compatible with the existing API. You can use IB table view based without the new API. Existing table views / Nib won't break.
CPTableView view based example. Featuring: IB made data views, different views in the same column, subviews binding in IB
When the view is found automatically in the cib, instantiate with _delegate as the owner (cocoa behavior).
2012-04-13 09:19:23 +02:00
aparajita
1b0fa21f28
Merge pull request #1498 from BlairDuncan/unnecessaryGlobals
...
Unnecessary globals
2012-04-10 14:57:40 -07:00
Blair Duncan
6ede1ccb04
Unnecessary globals
2012-04-10 17:25:46 -04:00
Blair Duncan
6b6c44c4d5
Fix for issue 1425 CPOutlineView expand all items when option key is pressed while clicking the disclosure triangle
2012-04-10 16:11:31 -04:00
Alexander Ljungberg
4172ecfdf2
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-03-25 14:15:39 +01:00
Alexander Ljungberg
f50802b85b
Fixes #1164 . Support CPOutlineView selectionShouldChangeInOutlineView: delegate method.
2012-03-25 13:58:41 +01:00
Alexander Ljungberg
5351bf7e12
Select outline view item parent with left key.
...
If there's a single item selected and it's not expanded, pressing the left arrow key on the keyboard now selects the item's parent unless the delegate vetoes.
2012-03-25 13:47:32 +01:00
Aparajita Fishman
96a038559e
CPPopover fixes
...
- Removed animationStyle for now.
- Made sure that popoverDidClose is not called until animation is finished.
- Don't create a new attached window unless: there isn't one; the popover behavior has changed; the current attached window is still visible.
- Don't call popoverWillShow if there is not content view controller.
- Removed unused _shown instance variable.
- Removed redundant !_attachedWindow checks followed by _attachedWindow message that returns a BOOL.
- Documentation tweaks.
- Fixed up some demo issues.
2012-03-24 20:56:31 -07:00
Alexander Ljungberg
90514bd3cb
Test table view notifications for deselectAll. Verify absence of CPTableViewSelectionIsChangingNotification when changing programmatically.
2012-03-18 15:21:09 +00:00
Alexander Ljungberg
bd7d258fcd
Slightly less shiny outline view disclosure triangle. Subtle is more Cocoa like.
2012-03-18 14:15:40 +00:00
Alexander Ljungberg
c21e40e819
Simplify.
2012-03-18 14:13:15 +00:00
Alexander Ljungberg
e0c8ae6335
Minor outline view optimisation: don't apply a context rotation of 0 degrees.
2012-03-18 14:02:14 +00:00
Alexander Ljungberg
e9d5d33cb2
Fixed: blurry outline view disclosure triangle.
...
The triangle centring was such that for a regular size disclosure control the right pointing triangle (collapsed state) was not drawn on integral coordinates.
2012-03-18 14:00:38 +00:00
Alexander Ljungberg
1bf632a575
Rename shouldShowOutlineViewForItem to shouldShowOutlineDisclosureControlForItem.
...
ShouldShowOutlineView is not a great delegate method name for a control called an outline view. The original Cocoa name refers to an 'OutlineCell' which we don't have so that's not appropriate either.
2012-03-15 00:14:25 +00:00
Alexander Ljungberg
6137aa8637
Optimise shouldShowOutlineView.
2012-03-14 23:23:12 +00:00
Alexander Ljungberg
4be4506ffc
Implement outline view outlineView:shouldShowOutlineViewForItem: delegate method (corresponding to shouldShowOutlineCellForItem in Cocoa).
2012-03-14 23:08:01 +00:00
Aparajita Fishman
1c2a304ee5
Assignment of function is a statement and should be semicolon terminated. Some miscellaneous linting as well.
2012-01-05 17:51:37 -10:00
Randall Luecke
47f40eb04b
Added left/right arrow key expand and collapse... just for you @tolmasky.
2011-07-01 00:04:09 -07:00
Klaas Pieter Annema
1d28b120dc
fix CPOutlineView providing the dragged items in reverse order
2011-04-13 17:31:29 +02:00
Klaas Pieter Annema
327d796653
implement outlineViewDeleteKeyPressed
2011-04-06 08:14:29 +02:00
Klaas Pieter Annema
863c4639cf
implement outline view menu delegate method
2011-03-24 14:56:23 +01:00
Randall Luecke
060563b748
Documentation style fixes for CPOutlineView. Now setDelegate: actually shows up.
2011-02-26 15:13:34 -05:00
Klaas Pieter Annema
f13362b224
fix sortDescriptorsDidChange: not called for outline view
2011-02-25 23:52:41 +01:00
Alexander Ljungberg
ea8c29356d
More typo and formatting fixes.
2011-01-24 13:17:48 -03:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Randall Luecke
467dc3c2d5
OutlineView docs.
2011-01-17 20:13:54 -05:00
Randall Luecke
7e3079add6
Magic enable to outlineview variable item height
2011-01-17 20:07:15 -05:00
Randall Luecke
e656e0561b
removeTableColumn: on the outlineview shouldn't allow removal of outlineTableColumn per cocoa.
2011-01-15 18:31:41 -05:00
Randall Luecke
ddbba22533
Only set the outlineview column if it's the first column added.
2011-01-15 18:10:28 -05:00
cacaodev
72b8ed2faf
CPOutlineView: If nil, set outlineTableColumn when the first column is added.
...
nib2cib: handle indentationPerLevel when the key is not in the xib.
CPoutlineViewCibTest
2011-01-15 00:39:38 +01:00
Alexander Ljungberg
b7bdec189a
Fixed: when an outline view node was expanded, selections below it would not stick to their items if the newly expanded node also had previously expanded children.
2011-01-14 12:10:52 -03:00
Alexander Ljungberg
2a27a87ae6
Fixed: CPOutlineView could not be archived with CPCoding. Closes #1093 .
...
This fixes the exception "[_CPOutlineViewTableViewDataSource encodeWithCoder:] unrecognized selector sent to instance".
2011-01-13 22:18:05 -03:00
Alexander Ljungberg
c41defe864
Merge branch 'master' of github.com:280north/cappuccino
2011-01-13 20:56:58 -03:00
Alexander Ljungberg
6bc109f7fc
Optimised: outline view expandItem:expandChildren:YES sent repeated selection change notifications.
2011-01-13 20:51:43 -03:00
Alexander Ljungberg
2d603df83c
Fixed: outline view's collapseItem sent up selection notifications in triplicate, each of them at the wrong time.
2011-01-13 20:03:06 -03:00