Francisco Ryan Tolmasky I
688aed72cb
Fix for CPPopUpButton's encoded prior to CPResponder/menu change.
...
Reviewed by me.
2011-01-18 23:09:43 -08:00
Francisco Ryan Tolmasky I
6310733881
Fix for menu bar color being reset (+ [CPMenu initialize] didn't check the class).
...
Reviewed by me.
2011-01-18 13:59:57 -08:00
Klaas Pieter Annema
4e1ecbef72
Merge branch 'CPTextField-InterpretKeyEvents' of https://github.com/luuse/cappuccino into luuse-CPTextField-InterpretKeyEvents
...
Conflicts:
AppKit/CPSearchField.j
AppKit/CPTextField.j
2011-01-18 10:07:16 +01:00
Klaas Pieter Annema
ed98a44116
detect sort descriptors when table column is added
2011-01-18 09:29:29 +01:00
Klaas Pieter Annema
50d36e76ac
reverse set sort descriptors in CPTableView
2011-01-18 09:29:28 +01:00
Randall Luecke
818bf475f2
New gradient color to match aristo better.
2011-01-17 23:30:29 -05:00
Randall Luecke
47afb96c4c
Drawing fixes for the tableview gradient.
2011-01-17 23:30:04 -05: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
Francisco Ryan Tolmasky I
9796f5d5d7
Fix CPPopUpButton menu support.
...
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298 .
Closes $1059.
Reviewed by me.
2011-01-17 01:31:15 -08:00
Randall Luecke
8720a952b0
Fix for scrollview flashing while uniformly resizing columns. Closes #1075
2011-01-16 00:23:14 -05:00
Randall Luecke
bf4724d401
Fix for textfield jumping when textfield wasn't the right size or the vertical alignment was something other than center.
2011-01-15 23:15:55 -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
cce4e3ded8
Fixed: manual CPBrowser test's click handler threw an exception.
2011-01-14 14:46:37 -03:00
Alexander Ljungberg
0240c648aa
Encode delegate when archiving CPBrowser.
2011-01-14 14:36:57 -03:00
Alexander Ljungberg
c4ee83e4c1
Basic CPBrowser CPCoding support.
2011-01-14 13:34:18 -03:00
Alexander Ljungberg
af30e96b7b
Cleanup.
2011-01-14 12:16:51 -03: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
31ac84f683
Fix non ASCII codes in documentation.
2011-01-13 20:59:28 -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
Alexander Ljungberg
dcf440396d
Fixed: the outline view was temporarily inconsistent to outside observers while expanding a node.
...
In particular, a selection did change notification was sent before the rows the selection referred to had had a chance to be loaded.
2011-01-13 18:57:36 -03:00
Randall Luecke
1dc10440b7
Documentaion of CPObjectController.
2011-01-13 00:57:07 -05:00
Randall Luecke
0ef2557ec3
Documentation of CPArrayController.
2011-01-13 00:30:50 -05:00
Randall Luecke
05e69c85c7
More documentation of the tableview, outlineview, and table columns. Wrapped formatted documenation in <pre> tags and added sample code for using custom dataviews
2011-01-12 23:40:28 -05:00
Randall Luecke
b393d0597f
If selectedRow no longer exists when numberOfRows change reset it to CPNotFound. Closes #1089 .
2011-01-12 11:49:36 -05:00
Aparajita Fishman
12f0d2a867
Fixes to content-inset bugs introduced by b80c48886a
2011-01-09 19:04:12 -05:00
Francisco Ryan Tolmasky I
4db1e28677
Merge branch 'trunk' of https://github.com/meelash/cappuccino into meelash-trunk
2011-01-08 15:27:34 -08:00
meelash
d6cbc52790
Fix for issue #302 CPTabViewItem _tabView is not set. Closes #302
2011-01-08 15:15:13 -05:00
Alexander Ljungberg
0943065498
Merge branch 'master' of github.com:280north/cappuccino into eventualbuddha-CPTokenField-sendAction-fix
...
Conflicts:
AppKit/CPTokenField.j
2011-01-07 18:53:44 -03:00
Alexander Ljungberg
6d7dc24775
Merge branch 'CPTokenField-sendAction-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPTokenField-sendAction-fix
2011-01-07 18:14:17 -03:00
Klaas Pieter Annema
8faa17ad33
reset allow mixed state when bound
2011-01-07 15:20:12 +01: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
Klaas Pieter Annema
c2bab5b369
fix [CPButton setObjectValue:CPOnState]
2011-01-07 14:14:19 +01:00
Klaas Pieter Annema
eee1dcef13
restore the original placeholder when unbinding
2011-01-07 14:14:19 +01:00
Randall Luecke
8254543da7
Fix for scrollColumnToVisisble also scrolling in the Y direction. Also fixed headerview not being scrolled. Closes #1081
2011-01-06 15:22:18 -06:00
Randall Luecke
2028efabc3
Fix for scrollRowToVisible changing the X value instead of just the Y. Closes #1082
2011-01-06 15:08:35 -06:00
Randall Luecke
477e9f85be
Fix for variable row heights when initial setup of the tableview had zero rows
2011-01-06 14:50:40 -06:00
Alexander Ljungberg
c53fff058b
Preserve selection when expanding items in an outline view.
2011-01-05 21:25:57 -03:00
Alexander Ljungberg
c836bd48e0
Preserve selection when collapsing items in an outline view.
...
This fixes the error where if a row was selected below a certain item and that item was collapsed, the row selection would remain fixed in place even while the item it was highlighting moved upwards.
2011-01-05 21:09:19 -03:00
Alexander Ljungberg
ec675a5662
Deselect outline view items when their ancestor is collapsed.
2011-01-05 20:41:26 -03:00
Alexander Ljungberg
dd2ad410b8
Cleanup.
2011-01-05 17:45:51 -03:00
Klaas Pieter Annema
46eca09d69
determine sorted column in setSortDescriptors:
...
Closes #1079
2011-01-05 12:48:19 +01:00
Klaas Pieter Annema
c87cb4bacd
properly fix CPThemeStateNormal behavior
...
- revert the previous fix
- explicitly check for CPThemeStateNormal in hasThemeState:
- update the test case
2011-01-05 12:30:14 +01:00
Klaas Pieter Annema
b6ea6530b7
hasThemeState: always returned no for normal state
2011-01-05 10:44:50 +01:00
Randall Luecke
af4e69afc9
Fix for variable row heights with no rows on startup
2011-01-05 01:46:12 -06:00