Randall Luecke
562bb8a878
setIntercellSpacing doesn't update dateviews. Closes #827
2010-12-26 17:39:10 -06:00
Randall Luecke
645741aa23
Merge branch 'master' of git://github.com/280north/cappuccino
2010-12-26 16:14:34 -06:00
Randall Luecke
97b141b653
Fixes for uniform column resizing
2010-12-26 13:44:31 -06:00
Francisco Ryan Tolmasky I
e45ed19dc7
Fix remaining failing tests and add indexOfObject:inSortedRange:options:usingComparator:, and removed non-standard methods:
...
- indexOfObject:sortedBySelector:
- indexOfObject:sortedByFunction:
- indexOfObject:sortedByDescriptors:
- indexOfObject:sortedByFunction:context:
Reviewed by me.
2010-12-25 21:10:32 -08:00
Randall Luecke
946cd381a0
Compelete documentation of the tableview and tablecolumns (which the exception of bindins)
2010-12-21 02:29:14 -05:00
Randall Luecke
14226ef69c
Merge branch 'master' of git://github.com/280north/cappuccino
2010-12-19 20:19:02 -05:00
Randall Luecke
910691ad4b
Capp Lint of tableview
2010-12-19 20:18:36 -05:00
Alexander Ljungberg
115d29b6f8
Fixed: if data source was nil, the table view needlessly warned about no content binding in numberOfRowsInTableView.
...
A table with a nil data source and no content binding is simply an empty table, or more likely, a table not fully configured yet.
2010-12-19 22:54:29 +01:00
Randall Luecke
088b6eac35
Last row of the tableview didn't draw
2010-12-19 15:32:52 -05:00
Randall Luecke
86c10e687b
Row offset regression fix, removed console.log
2010-12-19 02:06:25 -05:00
Randall Luecke
5d69bbc4ca
Fixed several bugs and regressions in the tableview.
2010-12-18 22:31:49 -05:00
Klaas Pieter Annema
8aeaa6681a
implement menuForEvent in CPTableView
2010-12-15 15:30:10 +01:00
Klaas Pieter Annema
8a0a68248c
don't check valid row range in dragging code
2010-12-15 15:30:10 +01:00
Alexander Ljungberg
2af2fc31a1
Fixed: archived table views could end up with a nil sort descriptor instead of an empty array.
2010-12-14 21:36:04 +01:00
Alexander Ljungberg
f2b2852b76
Allow array controllers as table sources in cibs.
...
When an array controller is loaded from a cib, the data source may be connected before the bindings are. Hence, we can't check for required data source methods at the time because we do not know if we are using bindings yet. The new behaviour is to only warn when the methods are actually required, which matches Cocoa.
2010-12-14 17:35:34 +01:00
Francisco Ryan Tolmasky I
c2ee9a9a5e
Fix for rows not showing up in tablviews that were not directly in scrollviews.
...
Reviewed by Randy.
2010-12-04 18:52:46 -08:00
Randall Luecke
54e106bb14
Merge branch 'master' of git://github.com/280north/cappuccino
...
Conflicts:
AppKit/CPTableView.j
2010-12-02 19:51:40 -05:00
Randall Luecke
3d1992440b
Fix drag and drop bug
2010-12-02 19:50:55 -05:00
Francisco Ryan Tolmasky I
1cbaea0e3d
Further capp_linting - removing accidental global.
...
Reviewed by me.
2010-12-02 12:11:57 -08:00
Randall Luecke
327962bc01
Fix for intercellSpacing reference and fix for the outlineview...
2010-11-28 13:32:30 -05:00
Randall Luecke
4197bbe73c
Fixed some intercell spacing issues
2010-11-27 17:04:10 -05:00
Randall Luecke
8ddb80fca2
Rewrote background color drawing code.
2010-11-27 16:45:59 -05:00
Randall Luecke
b8eb72f823
Fixes for drag and drop with variable row heights.
2010-11-27 13:19:51 -05:00
Randall Luecke
591142ba84
Some clean up
2010-11-27 03:57:02 -05:00
Randall Luecke
7b4f7f75b0
Made variable rows actually work...
2010-11-27 02:47:15 -05:00
Randall Luecke
31b2cb35f7
Fix syntax errors causing the build to break
2010-11-27 01:09:24 -05:00
Randall Luecke
20eb2a9fb0
instance variable initialized twice from merge
2010-11-27 00:16:27 -05:00
Randall Luecke
37d9bff77f
Merge branch 'master' into tableview-variable
...
Conflicts:
AppKit/CPTableView.j
2010-11-26 17:44:37 -05:00
Alexander Ljungberg
04546e39a5
Missing semicolon, indentation.
2010-11-26 15:57:04 -03:00
Alexander Ljungberg
e6cf98f743
Fixed: [tableview selectedRow] returned nil right after awakening from a cib.
...
The correct response is CPNotFound.
2010-11-26 15:53:14 -03:00
Randall Luecke
2ba5cffe44
More variable row height stuff.
2010-11-23 01:15:47 -05:00
Alexander Ljungberg
31d57b0c37
Optimise table view selection notification.
...
Before the table view would send a CPTableViewSelectionDidChangeNotification whenever the number of rows in the table decreased, regardless of if any selected rows actually became deselected. This could be a needless performance drain in the common case where other program components update and reload on selection changes in a table or outline view.
2010-11-18 15:00:46 -03:00
Randall Luecke
55674e31ea
Initial work on variable row heights. No drawing support at all yet.
2010-11-18 01:22:51 -05:00
Klaas Pieter Annema
3d0d522f76
implement coding support for autosaveName in CPTableView
2010-11-05 11:02:37 +01:00
Klaas Pieter Annema
accd29804c
implement table column order and width autosaving
2010-11-05 11:02:26 +01:00
Klaas Pieter Annema
0c62609e76
made CPTableView aware of a resize in CPTableColumn
2010-11-05 11:02:05 +01:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Klaas Pieter Annema
6e9f82212b
rename CPView +themeClass to +defaultThemeClass
2010-10-25 14:15:22 +02:00
Randall Luecke
e13d771560
Performance related fixes for tableview drawing.
2010-10-15 11:09:26 -04:00
Randall Luecke
49a0a3d86e
Fix for parameter type change from a find/replace.
2010-10-15 02:10:29 -04:00
Randall Luecke
56bc94f98c
Merge branch 'tableview-grouprows'
2010-10-15 01:52:57 -04:00
Randall Luecke
f0b527b680
Selection fixes for group rows in the tableview.
2010-10-15 01:52:22 -04:00
Alexander Ljungberg
e62af384ea
Merge branch 'fix-imports' of http://github.com/paulbaumgart/cappuccino into paulbaumgart-fix-imports
2010-10-09 21:32:58 -04:00
Randall Luecke
99201dc3db
Initial commit for group rows in the TableView. Drawing code still needs to be cleaned up a LOT... still buggy. i.e. after you select a group row, any rows after that which are selected then get selected with a gray highlight color.
2010-10-08 00:44:17 -04:00
Paul Baumgart
01852d8075
Fix a bunch of missing @imports.
...
All classes (excluding the ones prefixed with underscores) in Foundation
and AppKit can now be loaded individually except CPOpenPanel and
CPSavePanel. These two classes have some sort of dependency cycle
that seems impossible to resolve without forward declarations (which
we don't have).
2010-10-05 15:54:25 -07:00
Brian Donovan
b430e2ef65
Fix "differ" that was supposed to be "defer".
2010-10-04 15:02:41 -07:00
Paul Baumgart and Randall Luecke
a8d02f43e2
minor CPTableView clean-ups-- fix missing semi-colon, missing parameter type, and missing space
2010-09-27 22:43:58 -04:00
Randall Luecke
ee64c5d832
Proper decoding of delegate and datasource for the tableview.
2010-09-27 17:56:48 -04:00
Klaas Pieter Annema
65c48004ba
properly handle key events manually in the tableview
...
Commit cf6dc3fa5e was wrong. This commit should fix that.
2010-09-27 15:56:00 +02:00
Klaas Pieter Annema
cf6dc3fa5e
Manually handle key events in CPTableView
2010-09-27 11:50:23 +02:00