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
b9ca57a921
Merge branch 'master' of github.com:280north/cappuccino
2010-11-26 15:57:48 -03: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
Alexander Ljungberg
a528a503d3
Typo fix.
2010-11-26 13:37:58 -03:00
Klaas Pieter Annema
8345788e59
disable value caching in CPControllerSelectionProxy
...
More information here http://groups.google.com/group/objectivej-dev/browse_thread/thread/c100f16095073332 .
2010-11-24 14:27:59 +01:00
Klaas Pieter Annema
21c2b8f74a
trigger notification for correct key path in _CPObservationProxy
...
Previously _CPObservationProxy would only trigger notifications for the key path it was created with. For example a notification for department would be forwarded to the controller and observer as a notification on department.name because that was the key path the observation proxy was created for.
2010-11-24 14:21:19 +01:00
Klaas Pieter Annema
34339fbcd9
several bindings / KVC fixes
...
- setValue:forKeyPath will now get call setValue:forKeyPath again on the value of the first part of the key path
- override valueForKeyPath: and valueForKey: in CPObjectController's CPControllerSelectionProxy to return controller markers when appropriate
- override setValue:forKeyPath: and setValue:forKey: in CPObjectController's CPControllerSelectionProxy to bypass possible controller markers
This commit also removes previous hacks for compound paths and adds test cases for the errors. All this is related to issue #967 .
2010-11-23 14:18:22 +01:00
Klaas Pieter Annema
b49dc87a86
Merge branch 'fix-967'
2010-11-23 12:16:57 +01:00
Klaas Pieter Annema
535d6c9dc5
make setValue:forKey: handle controller markers
2010-11-23 12:15:53 +01:00
Klaas Pieter Annema
221fad6c3e
improve _setCurrentValueIsPlaceholder logic
2010-11-23 12:03:00 +01:00
Klaas Pieter Annema
aeb3873f3c
fix valueForKeyPath: attempting to call valueForKey: on controller markers
2010-11-23 11:56:46 +01:00
Randall Luecke
4f6c83cb3a
Fix for setFont: not working in the table header because of the new theme stuff.
2010-11-23 01:20:38 -05:00
Randall Luecke
2ba5cffe44
More variable row height stuff.
2010-11-23 01:15:47 -05:00
Klaas Pieter Annema
1e85a054ac
better fix for long key paths
...
The previous fix for issue #967 would only work if there was only one object observing a compound key path like selection.customer.name.
2010-11-22 19:13:20 +01:00
Klaas Pieter Annema
ca60e50128
small bindings fix in CPObjectController
...
CPObjectController would attempt to remove observations from the new selection in stead of the old selection. This would throw an error when binding to longer compound key paths like selection.customer.name
Fixes #967
2010-11-22 18:10:34 +01:00
Klaas Pieter Annema
70c13a7588
style cleanup in CPObjectController
2010-11-22 18:10:28 +01:00
Alexander Ljungberg
6653bab492
Cleanup.
2010-11-19 13:08:55 -03:00
Alexander Ljungberg
741c235f08
Fix strange cib loading path caused by non-bundliness of Tests/AppKit.
2010-11-19 13:04:59 -03:00
Alexander Ljungberg
70bc3557b4
Simplify.
2010-11-19 00:38:34 -03:00
Alexander Ljungberg
7509e5c99b
Bindings test case based on Cocoa example Simple Bindings Adoption 03.
...
In this test the bindings and controller are entirely configured in IB. Note: the path to the cib file is a little strange.
2010-11-19 00:23:27 -03:00
Alexander Ljungberg
5a2c401e05
Cleanup.
2010-11-19 00:07:37 -03:00
Alexander Ljungberg
75427973f0
More bindings nib2cib fixes.
2010-11-19 00:06:55 -03:00
Ross Boucher
63d5c442a3
Bug fixes.
2010-11-18 16:52:41 -08:00
Ross Boucher
45f74386b8
Add bindings support to nib2cib
2010-11-18 15:52:54 -08:00
Daniel Brajkovic
6093530175
Added some documentation to CPButton.j
2010-11-18 13:18:01 -06:00
Daniel Brajkovic
6bd064f289
Fixed errors in the incompatibility CPException reasons. For example -setHeaderView instead of setHeaderCell.
2010-11-18 12:33:17 -06: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
Alexander Ljungberg
22a185b52e
Fixed CPTableViewTest which was both broken and unfinished.
2010-11-18 14:09:18 -03:00
Alexander Ljungberg
0067bd0d16
Browser test for CPSound.
2010-11-18 11:54:05 -03:00
Alexander Ljungberg
6521202e68
Add CPSound to AppKit.
2010-11-18 11:53:37 -03:00
Alexander Ljungberg
67e87c7367
Add missing semicolons, clean up.
2010-11-18 11:23:13 -03:00
Alexander Ljungberg
a4eeb91290
Merge branch 'CPSound' of https://github.com/primalmotion/cappuccino into primalmotion-CPSound
2010-11-18 11:13:13 -03:00
Antoine Mercadal
c0b1322c77
remove stupid test
2010-11-18 12:14:19 +01:00
Randall Luecke
55674e31ea
Initial work on variable row heights. No drawing support at all yet.
2010-11-18 01:22:51 -05:00
Alexander Ljungberg
39a69b6850
Bindings test case based on Cocoa example Simple Bindings Adoption 02.
2010-11-18 00:06:46 -03:00
Alexander Ljungberg
2b8a5d6176
Clean up and simplify.
2010-11-17 23:54:48 -03:00
Alexander Ljungberg
eb692e672e
Bindings test case based on Cocoa example Simple Bindings Adoption 01.
2010-11-17 23:51:33 -03:00
Alexander Ljungberg
381a6a999b
Fixed a bad var statement in CPDecimal. Cleanup.
2010-11-17 21:58:58 -03:00
Alexander Ljungberg
e276a830d3
Test token field represented object autocomplete.
2010-11-17 21:43:24 -03:00
Alexander Ljungberg
e4ee9284b4
Merge branch 'cptokenfield-fixes' of https://github.com/miLibris/cappuccino into miLibris-cptokenfield-fixes
2010-11-17 21:08:43 -03:00
Alexander Ljungberg
9e441f69b8
Merge branch 'CPCollectionView-setContent-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPCollectionView-setContent-fix
2010-11-17 20:45:45 -03:00
Alexander Ljungberg
0d2b13dd75
Merge branch 'CPArrayController-removeObject-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPArrayController-removeObject-fix
2010-11-17 20:12:44 -03:00
Alexander Ljungberg
2df07344c8
Merge branch 'button-inset' of https://github.com/aparajita/cappuccino into aparajita-button-inset
2010-11-17 19:59:43 -03:00
Alexander Ljungberg
38ad5a8e2c
Regenerated nib with latest text field height fix.
2010-11-17 19:58:20 -03:00
Francisco Ryan Tolmasky I
bd15d2f331
Fix for [CPUndoManager removeAllActions] not clearing the current groupings as well.
...
Closes #1002 .
Reviewed by me.
2010-11-17 12:21:09 -08:00
Klaas Pieter Annema
80ec35fd0a
Merge branch 'hover-states'
2010-11-17 10:11:11 +01:00
Francisco Ryan Tolmasky I
fb8d834036
Improved key view loop algorithm.
...
Reviewed by me.
2010-11-16 19:33:08 -08:00
Francisco Ryan Tolmasky I
4191153d0b
Fix for key views not being properly auto-calculated.
...
Closes #965 .
Reviewed by me.
2010-11-16 15:24:09 -08:00