Commit Graph
242 Commits
Author SHA1 Message Date
Aparajita Fishman 345343ef52 Merge branch 'master' of http://github.com/280north/cappuccino into my_master
Conflicts:
	AppKit/CPAlert.j
	AppKit/Themes/Aristo/ThemeDescriptors.j
	Jakefile
2010-08-29 21:52:00 -04:00
Klaas Pieter Annema f4e7386a0a fix gridColor when decoding a CPTableView
Don't default to a gray color when there is no grid color in the cib.
The tableview theme will automatically set the correct grid color.
2010-08-26 16:29:46 +02:00
Alexander Ljungberg a3d89c8d78 Ignore table view row selection of already selected rows. This avoids potential infinite recursion caused by the explicit bindings propagation. 2010-08-23 18:51:00 -04:00
Aparajita Fishman 89ce904850 Merge remote branch 'refs/remotes/280north/master' into my_master
Conflicts:
	AppKit/CPButton.j
	AppKit/Themes/Aristo/ThemeDescriptors.j
	AppKit/Themes/BlendKit/BKThemeDescriptor.j
	Foundation/CPArray.j
	Jakefile
	Tests/Foundation/CPArrayPerformanceTest.j
	Tools/Documentation/Cappuccino.doxygen
	Tools/Documentation/cleanup_headers
	Tools/Documentation/make_headers
2010-08-22 09:03:12 -04:00
Randall Luecke d7540eea84 if the new proposed selection is empty the tableview should not deselect any rows. 2010-08-17 00:01:33 -05:00
Randall Luecke 88408fc0ea Missed a couple lines in tableview custom drawing because of a merge conflict. 2010-08-16 15:10:29 -05:00
Aparajita Fishman 1d21dc8b95 Merge branch 'master' of http://github.com/280north/cappuccino into my_master
Conflicts:
	AppKit/CPGraphics.j
	AppKit/CPScrollView.j
	AppKit/CPTableView.j
	AppKit/CPTextField.j
2010-08-12 10:35:56 -04:00
Aparajita Fishman 29c857b1e9 Have to send -reloadData to force the dataview frames to be recalculated. 2010-08-12 00:54:30 -04:00
Aparajita Fishman 44fb4a9b83 -setIntercellSpacing should update the header as well as the table, per Cocoa (and common sense) 2010-08-11 23:21:30 -05:00
Aparajita Fishman ab5e2dd774 Fix for issue #816 (NSTableView/CPTableView do not read selection highlight style and column resizing style) 2010-08-12 00:06:52 -04:00
Alexander Ljungberg 233df3bdab Fixed: the "fix for column reordering with hidden columns" sometimes caused the table view to try to remove nonexistent data views and crash. The fix is to consider a nonexistent data view already removed and just move on. 2010-08-11 23:33:21 -04:00
Aparajita Fishman d5dc03fb2f -setIntercellSpacing should update the header as well as the table, per Cocoa (and common sense) 2010-08-11 22:39:57 -04:00
Randall Luecke ed52b44f8b Removed redundent methods in the tableview. Closes #822 2010-08-11 19:07:13 -05:00
Randall Luecke 4b8cc3e6d1 Table column drag view should draw lines the same color as the parent tableview. 2010-08-11 18:39:16 -05:00
Randall Luecke 567f54c9f9 Fix global from error in previous mergre. 2010-08-11 17:32:50 -05:00
Aparajita Fishman 4fc894e430 Fix for issue #820 (horizontal grid drawn incorrectly with no rows) 2010-08-11 16:58:05 -05:00
cacaodev c8f6e12586 CPTableView: Implement -drawRow:clipRect: . The method is called only when a tableview subclass implements it for performance reasons.
DrawRowTest demonstrating the feature.

Conflicts:

	AppKit/CPTableView.j
2010-08-11 16:32:01 -05:00
Randall Luecke 1e490f1796 Fix for column reordering with hidden columns. Closes #637 2010-08-11 15:59:04 -05:00
Aparajita Fishman 8a835c287f Fix for issue #820 (horizontal grid drawn incorrectly with no rows) 2010-08-11 15:29:28 -04:00
Aparajita Fishman 1e3958652a Merge branch 'refs/heads/master' into my_master
Conflicts:
	AppKit/CPSearchField.j
	AppKit/CPTableView.j
	AppKit/CPTextField.j
	Jakefile
	Tools/nib2cib/NSTableView.j
2010-08-11 10:27:35 -04:00
Randall Luecke 33e4a082d6 Some visual changes to column dragging to make it a bit more like cocoa. 2010-08-09 18:43:11 -05:00
Randall Luecke 96958d26c7 Accidental globals. 2010-08-09 17:22:14 -05:00
Aparajita Fishman 0adfd30ea3 Fix for issue #816 (NSTableView/CPTableView do not read selection highlight style and column resizing style) 2010-08-09 09:59:57 -04:00
Alexander Ljungberg 8c13204afa Save some memory and time in CPTableViewFirstColumnOnlyAutoresizingStyle mode. 2010-08-02 23:28:40 -04:00
Randall Luecke 4b9c5e0d64 Removed gradient stuff that has been moved to the theme. 2010-08-02 12:40:46 -04:00
Alexander Ljungberg 2d6f343098 Closes #806. Fixed: if a selected row was removed from a table view, the selection remained and would show up again if a new row was later added. 2010-08-02 12:40:40 -04:00
Alexander Ljungberg a35a67e7f7 Switch to the standard macros in _resizeAllColumnUniformlyWithOldSize as originally intended by Randy Luecke. 2010-08-02 12:40:34 -04:00
Alexander Ljungberg efa2d30737 Eliminated some accidental globals in uniform table column resizing. 2010-08-02 12:40:28 -04:00
Alexander Ljungberg 372ce1e37a Fixed: after the intercell spacing commit, table column auto resizing on the first or last column would result in a total column width wider than the scroll width of the table. This would appear as the rightmost column sticking out and the table showing a horizontal scrollbar. 2010-08-02 12:40:15 -04:00
Alexander Ljungberg d9162d1d8d Clean up code in table column resizing paths in preparation for fixing it. 2010-08-02 12:40:06 -04:00
Alexander Ljungberg bcff25b959 Merge branch 'master' of github.com:280north/cappuccino 2010-08-01 19:15:52 -04:00
Alexander Ljungberg dff6203fb3 Closes #806. Fixed: if a selected row was removed from a table view, the selection remained and would show up again if a new row was later added. 2010-08-01 19:10:22 -04:00
Alexander Ljungberg b4dd6b670b Switch to the standard macros in _resizeAllColumnUniformlyWithOldSize as originally intended by Randy Luecke. 2010-08-01 19:06:57 -04:00
Randall Luecke f028533c07 Removed gradient stuff that has been moved to the theme. 2010-08-01 17:50:19 -05:00
Alexander Ljungberg dac61a14cd Eliminated some accidental globals in uniform table column resizing. 2010-08-01 18:10:27 -04:00
Alexander Ljungberg 6884f93d76 Fixed: after the intercell spacing commit, table column auto resizing on the first or last column would result in a total column width wider than the scroll width of the table. This would appear as the rightmost column sticking out and the table showing a horizontal scrollbar. 2010-08-01 18:06:18 -04:00
Alexander Ljungberg 17cc77e816 Clean up code in table column resizing paths in preparation for fixing it. 2010-08-01 17:14:59 -04:00
Aparajita Fishman 364a11491d Full support for intercell spacing (issue #797) 2010-07-30 16:14:53 -07:00
Aparajita Fishman 470fcaf13e Full support for intercell spacing (issue #797) 2010-07-28 17:51:05 -04:00
Alexander Ljungberg 05e435633f Fixed: if a custom CPTableView header view was used for a column, such as a CPImageView, sorting by that column would cause an exception as CPTableView tried to send _setIndicatorImage: to the view. The fix is to only send the message if the view supports it. 2010-07-28 13:57:49 -07:00
Aparajita Fishman 00de3edd5f Cleaned up drawing code for _CPDropOperationDrawingView, increased width of highlight when highlighting entire table 2010-07-24 10:21:04 -04:00
Aparajita Fishman ced9879b28 Cursor is not being reset to the original cursor when exiting a drag region or ending a drag, the drag destination may have set it to something else 2010-07-23 12:39:35 -04:00
Randall Luecke cffbf86351 TableView theming 2010-07-22 00:21:02 -05:00
Randall Luecke 0cbdb3b2d1 Fix for redrawing issues in tableview. Closes #627 2010-07-12 21:14:48 -05:00
Randall Luecke 70f2d86b58 Fixes for adding and removing columns to the tableview after the tableview has already been displayed... There are still issues though. 2010-07-12 20:45:30 -05:00
Randall Luecke 78a75924de selectedRowIndexes should return a copy, closes #605 2010-07-07 16:46:48 -05:00
Nicholas Small 21a9ae4c45 Make CPTableView work with selectionIndexes binding. 2010-06-30 12:03:03 -04:00
Alexander Ljungberg 74af0dc93a Fixed: Shift + Arrow Keys in allowsMultipleSelection CPTableViews did not expand the selection anymore after the recent key binding updates. 2010-06-26 00:10:30 -05:00
Randall Luecke 10c067e44f When dragging over a tableview row we should jump to the next row at the bottom 30% of the row, not 50%... otherwise it gets really really bad with large row heights. 2010-06-21 22:32:18 -05:00
Randall Luecke 7414d1407f Moved tracking of last selected row index to selectRowIndexes: in tableview. 2010-06-16 13:59:25 -05:00