cacaodev
16bb194019
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.xib
2013-02-23 10:55:08 +01:00
Aparajita Fishman
47ade360d5
Formatting
2013-02-22 12:40:43 -05:00
Blair Duncan
5c3d3bbc2e
updated added a menu to tablebindings test and doxygen comments
2013-02-22 09:45:26 -05:00
Blair Duncan
92c2ed970c
tableview add support for selectAll: deSelectAll: selectNone: #1594
2013-02-22 00:37:34 -05:00
Aparajita Fishman
fb01ceb2a9
Formatting
2013-02-21 07:39:57 -05:00
Aparajita Fishman
109f59ab6c
Merge branch 'autosaveTableColumnsFix'
2013-02-21 07:37:09 -05:00
cacaodev
3aadc958eb
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Foundation/CPURLConnection.j
Tests/Manual/CPOutlineViewCibTest/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
2013-02-20 17:15:24 +01:00
aparajita
84d8e1ceb7
Merge pull request #1478 from cacaodev/CPTableView-dragging-perf
...
CPTableView: make dragged views reusable when dragging ends
2013-02-19 07:33:29 -08:00
cacaodev
9a58efaa07
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2013-02-18 13:09:46 +01:00
cacaodev
3e942dbdbd
Added CPCib import in CPTableView.j
...
Fix warning in NSNib.j
2013-02-18 12:59:47 +01:00
Randall Luecke
5427e9a402
Fixed column drag and drop in the tableview.
2013-02-18 04:00:40 -05:00
cacaodev
3fd39ea0c8
Code formatting, cleaned zombie outlets, added outlets to the CPTableCellView owner
2013-02-16 19:00:44 +01:00
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
d8e4769972
Misc. tweaks
...
- Removed stray console.error
- Made border of tooltips darker, they were almost invisible, even over a white background
- Added CGAlignStroke and CGAlignCoordinate, they are of general use
2013-02-03 08:39:30 +08:00
Aparajita Fishman
93fb849296
Import fixes
2013-01-24 19:18:39 +08:00
Aparajita Fishman
866e1f00f7
Objj2 compiler fixes
...
- Each file compiles individually with no errors or warnings.
- Added missing imports.
- Fixed imports to remove circularity.
- Removed unnecessary imports.
- Added missing headers.
- Added missing action_button.png.
- Replace CPMakeRect with CGRectMake.
2013-01-23 15:48:56 +07: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
Antoine Mercadal
f8c9466d04
Add other missing imports
2013-01-22 15:47:33 -08:00
Antoine Mercadal
ef62191e6b
Fix missing imports and @global and @class
2013-01-22 15:44:56 -08:00
Antoine Mercadal
94439f0d10
Add new found warnings fixes
2013-01-22 12:47:29 -08:00
Antoine Mercadal
2385f48fe4
Add missing imports
2013-01-22 12:27:19 -08: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
ce62e32dfa
Removed isa in CPTableCellView (Objj2 compat). nib2cibed all examples (Aristo2 compat).
2013-01-18 17:28:36 +01: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
Martin Carlberg
458fa9d02e
Fixed a lot of small bugs found by new warning message from compiler
2013-01-18 14:24:37 +01:00
Antoine Mercadal
73ddadc0f0
Add missing theme attribute in CPTableView
2013-01-10 11:57:17 -08:00
Antoine Mercadal
b1ffd8d556
Make default row height a theme attribute
2013-01-09 20:24:27 -08:00
cacaodev
1d8c46216f
Do not enqueue editing data views. No need to clean FR and action if it is not enqueued. Clean up corresponding code.
2012-11-13 21:18:20 +01:00
cacaodev
b5d70b90d9
Code style following alexander comments
2012-11-13 19:20:49 +01:00
cacaodev
d2848fc519
Do not search for custom cibs if we are in a cell-based table view
2012-11-13 12:08:37 +01:00
cacaodev
48092bd7ba
makeViewWithIdentifier:owner: search for a custom cib in owner's bundle or main bundle if nil. (was main bundle)
2012-11-13 12:05:03 +01:00
cacaodev
5c15ceedc4
Make the cached list of inexistent custom cibs an ivar
2012-11-13 11:57:18 +01:00
cacaodev
5b1cf49170
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-10-15 14:23:24 +02:00
Alexander Ljungberg
c2f9b91fe2
Implicit sort descriptor binding support.
...
Sort descriptor bindings are now automatically established when a table view has a column value binding (normally to an array controller).
2012-10-14 19:39:39 +01:00
Alexander Ljungberg
da91ab9879
Fixed: implicitly set selectionIndexes.
...
`CPTableView`'s `selectionIndexes` binding shouldn't be set automatically unless the content binding was also set automatically (through a table column binding).
Assume that manual content binding implies a desire to manually bind selection indexes (and sort descriptors) as well.
2012-10-14 19:31:53 +01:00
Aparajita Fishman
3fd8d3e5be
Implemented CPTableView -clickedColumn
2012-10-02 17:20:39 -04:00
Alexander Ljungberg
59ad8499df
Refs #1676 . Whitespace.
2012-09-24 17:05:35 +01:00
Johan Stille
632fba9dd5
Null check when laying out columns in CPTableView.
2012-09-24 13:17:24 +02:00
Blair Duncan
04f650dde7
Windows selection compatibility. Fix for issue 1390
2012-09-03 23:47:11 -04:00
Alexander Ljungberg
0e68729d7f
Fixed: dragged table view columns ignored custom column header views.
2012-08-29 16:41:43 +01:00
Alexander Ljungberg
31ab70d6fc
Refs #1530 . Fixed: table views could not be interacted with if they couldn't become the first responder.
2012-08-01 18:59:54 +01:00
cacaodev
9cbb8fd5bc
Support for external cibs (a view in an individual cib). Added such view to ViewBasedCib. Also added an example of a view created manually in the delegate
2012-07-27 20:00:00 +02:00
cacaodev
1a0434fd85
Fix action sent when an edited control is enqueued (see action log in test app).
...
A non bezeled text field is now bezeled when edited and unbezeled when editing ends - including when you hit enter (but text has to be modified, see comment in code)
2012-07-27 16:32:02 +02:00
cacaodev
c6ccf1d487
-rowForView: early return if arg is not a CPView. Was causing an error when you click on table whose window was not frontmost.
...
Simplify -hitTest:, limit select-row behavior to left mouse events and extend to all data views accepting FR.
2012-07-27 09:48:36 +02:00
cacaodev
0faf38a1e1
From within the delegate method, if you ask for an IB view (makeviewWithIdentifier:owner:), the view is now automatically reusable.
...
Before that, IB views were reusable only if the delegate method was not implemented.
If you create a view in code, you still need to make it reusable by calling -setIdentifier:
Woow ... now viewBasedCib loads the views x3 times faster.
2012-07-23 19:55:06 +02:00
cacaodev
4c4a707624
In CPTableCellView initializers, enforce autoresizingMask to CPViewHeightSizable. Per cocoa except in cocoa it is done when the view is added to superview.
2012-07-23 15:12:06 +02:00
cacaodev
e2d4ae4acc
viewBasedCib example: fix some labels not sized-to-fit in IB
2012-07-22 21:32:24 +02:00
cacaodev
e694f8f173
Preemptive fix (currently disabled) to force drawBackground to YES for edited text fields embedded in a data view. dependency on issue #210 .
2012-07-21 20:14:27 +02:00
cacaodev
be35ea2704
- Fix behavior when selecting a row in a view-based table (per cocoa). Editable text fields are edited only if the row is selected, otherwise the row is selected. Other controls can be edited directly, without selecting the row first.
...
- Fixed a bug where data views being FR or containing a FR subview were preserving their FR when reused.
2012-07-21 14:11:24 +02:00