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
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
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
Antoine Mercadal
3c18282510
add support for theme state rounded
2010-11-18 12:07:44 +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
381a6a999b
Fixed a bad var statement in CPDecimal. Cleanup.
2010-11-17 21:58:58 -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
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
Andreas Falk
a302fdfb8f
CPTextField should not bother with handling tab to go to the next key
...
view, CPWindow does that for us.
2010-11-15 19:44:02 +01:00
Luc Vauvillier
8b9a0edeba
Fix CPTokenField autocompletion to deal with represented objects
2010-11-15 15:51:21 +01:00
Klaas Pieter Annema
923770d95a
style cleanup
2010-11-15 14:27:43 +01:00
Klaas Pieter Annema
011b8d250a
remove second implementation of _processKeyboardUIKey:
2010-11-15 14:25:47 +01:00
Luc Vauvillier
0f8aa1e644
Support object representation in CPTokenField
...
Add some tests
2010-11-15 13:14:53 +01:00
Francisco Ryan Tolmasky I
9179a31a93
Style fixes.
...
Reviewed by me.
2010-11-13 12:41:31 -08:00
Andreas
bb9e1a830d
Add cancelOperation action to clear text when pressing ESC
2010-11-13 15:21:37 +01:00
Andreas
9b7f8ec31e
Add -insertTabIgnoringFieldEditor: and -insertNewlineIgnoringFieldEditor:
2010-11-13 15:16:25 +01:00
Andreas
17b40fcb9d
Adapt CPTextField to use interpretKeyEvents and actions instead of directly reading from keyDown
2010-11-13 15:14:09 +01:00
Andreas Falk
fbcf84e63f
Fix some broken things after cherry-pick
2010-11-13 13:03:01 +01:00
Andreas
3a8773baec
Add -descendantNodeAtIndexPath: and tests to CPTreeNode
2010-11-13 12:06:43 +01:00
Brian Donovan
6f38b2aa0d
-[CPCollectionView setContent:] did not always call reloadContent:.
...
This would break key-value binding setups where a CPCollectionView's content property was hooked up to a CPArrayController's content or arrangedObjects property since the CPArrayController maintains the same object and calls setValue:forKey: with the same object the CPCollectionView already has. Therefore we cannot skip calling reloadContent even when the incoming content array is the same one we got before, because most likely the contents have changed out from under us.
2010-11-11 21:39:07 -08:00
Brian Donovan
929ec28436
CPArrayController did not allow removing objects without a selection.
...
CPArrayController was erroneously using canRemove to determine whether explicit removal could take place, when in fact the documentation for [NSObjectController canRemove] (NSArrayController does not override canRemove) states that it returns "YES if an object can be removed from the receiver using remove:, otherwise NO", implying that it should only be used to check whether there is a selected element that can be removed (for example, to bind the enabled state of a toolbar button to a CPArrayController's canRemove property). It should not be used to decide whether a specific object can be removed or not.
2010-11-11 17:45:18 -08:00
Alexander Ljungberg
04a19543a5
Fix CPTabView decoding to work better with nib2cib.
2010-11-11 20:21:24 -03:00
Antoine Mercadal
60ff3ca0a1
Support for HUD style
...
use [alert setTheme:[CPTheme defaultHUDTheme]] or [alert setTheme:[CPTheme defaultTheme]] to switch theme.
Add deprecated procies setWindowStyle: and windowStyles;
2010-11-11 18:24:17 +01:00
Antoine Mercadal
6b42ef3cb1
fix: CPAlert fails to runModal if ran sheetModal before
2010-11-11 17:38:39 +01:00
Nicholas Small
5c961d4f16
Restore CPAlert -setTitle: functionality.
2010-11-10 17:43:21 -05:00
Nicholas Small
c21cdc2916
Cleanup CPAlert.
2010-11-10 17:39:56 -05:00
Nicholas Small
1a797b10c3
Merge branch 'CPAlert-Cocoa-Compliance' of https://github.com/primalmotion/cappuccino into primalmotion-CPAlert-Cocoa-Compliance
2010-11-10 13:46:50 -05:00
Antoine Mercadal
3bfa427134
Add setTitle: and title, deprecated proxies for setMessageText: and messageText
...
Add some missing Cocoa accessors
Fix acessors for messageText and informativeText that returned CPTextField instead of CPString
2010-11-10 11:02:27 +01:00
Antoine Mercadal
9a8c4bd431
move CPAlertLabelOffset to a theme attribute
2010-11-10 10:25:23 +01:00
Antoine Mercadal
dc72b55361
remove the title of the panel. Cocoa doesn't display any title
2010-11-09 18:33:39 +01:00
Antoine Mercadal
ee4ef882dd
add X and Y offet theme properties for supression button
2010-11-09 18:27:26 +01:00
Antoine Mercadal
23c2f4bb8c
remove the movable thing and remove the bezel-color them attribute
2010-11-09 18:08:13 +01:00
Antoine Mercadal
bd01955f39
support for setShowsSupressionButton
2010-11-09 18:02:24 +01:00