cacaodev
d581dec6cf
CPTabView: Do not track the segment when the delegate disallows item selection.
2012-02-13 00:32:22 +01:00
Antoine Mercadal
a0eadc6c4a
Merge branch 'CPStepper-nib2cib' of https://github.com/cacaodev/cappuccino into stepper-nib2cib
2012-02-11 16:08:27 +01:00
cacaodev
6a42d601c5
CPTabView: remove duplicate code.
2012-02-10 16:31:45 +01:00
cacaodev
59ce74a3df
CPTabView : _selectedIndex was undefined after decoding an empty tab view (no items).
...
A visible bug was that the first item added was not immediately selected. Updated CPTabViewNib example, shows the bug fixed.
2012-02-10 16:29:50 +01:00
Alexander Ljungberg
eacee00fc8
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-02-08 15:58:00 +00:00
Alexander Ljungberg
fe70a5541e
Fixes #1450 : a scroll view with non hiding legacy scrollbars would crash if the document view had a size of 0 pixels in either dimension.
2012-02-08 15:52:59 +00:00
Alexander Ljungberg
c9d4089b9a
Throw an exception when trying to set a scroller's knob proportion to NaN or Inifinity.
2012-02-08 14:54:50 +00:00
Antoine Mercadal
8b28041cf0
Merge pull request #1449 from cacaodev/CPControllerSelectionProxy-typos
...
CPControllerSelectionProxy: accidental globals.
2012-02-07 08:37:59 -08:00
cacaodev
4d3f8c3c8c
CPStepper: nib2cib support, with test.
2012-02-07 16:38:48 +01:00
Antoine Mercadal
f8cb4a15cb
Merge pull request #1446 from cacaodev/CPArrayController-setSelectionIndexes-fix
...
CPArrayController : setAvoidsEmptySelection:YES should not apply when setting an empty selection explicitely. With tests.
2012-02-03 01:30:01 -08:00
Randall Luecke
dd7d36da43
call layoutSubviews when the tableview lays out its subviews.
2012-02-02 19:34:11 -05:00
cacaodev
12201d38f3
CPArrayController : setAvoidsEmptySelection:YES should not apply when setting an empty selection explicitely. With tests.
2012-02-03 00:48:49 +01:00
Randall Luecke
3b4ad1d583
Remove 2nd call to setHeaderView:
2012-02-02 17:06:31 -05:00
cacaodev
d44df8a9da
CPControllerSelectionProxy: accidental globals.
2012-02-02 10:50:26 +01:00
cacaodev
75a00e8c4a
CPFont: fix typo in fontWithName:size: caching, rearrange constructor methods. With test.
2012-02-01 14:05:37 +01:00
Randy Luecke
e081dbf127
Merge pull request #1438 from aradabaugh/master
...
Enable additional buttonTypes for CPButton
2012-01-31 22:23:42 -08:00
rafnocx
c9ecb20b50
fix CPFont constructor (line 180) possible typo
2012-02-01 13:14:56 +11:00
Alexander Ljungberg
b27a3cdbe5
Rewritten split view resizing which plays well with a mix of fixed size and non-fixed size panes.
2012-01-27 20:44:38 +00:00
Alexander Ljungberg
9d7b822409
Add support for split view shouldAdjustSizeOfSubview: delegate method.
2012-01-27 17:04:04 +00:00
Alexander Ljungberg
ab3f260757
Fixed: CPSplitView tried to auto save even without an auto save name.
2012-01-27 16:38:17 +00:00
Alexander Ljungberg
b26b0a321b
Reinstate defensive coding for numeric parameters in CPTableView.
2012-01-27 14:54:10 +00:00
Alexander Ljungberg
c7d3ccb13a
Add missing header to CPTabView.
2012-01-27 12:33:07 +00:00
Alexander Ljungberg
a081f98fd1
Refs #1440 . Whitespace cleanup.
2012-01-27 12:32:11 +00:00
Alexander Ljungberg
7096ea549e
Merge pull request #1440 from cacaodev/cappuccino
...
---
- selectedTabViewItem should return nil when there are no items (i.e. _selectedIndex == CPNotFound).
Added an empty Tab View to CPTabViewNib test app.
Needs a jake sudo-install for changes to take effect.
2012-01-27 12:26:27 +00:00
Alexander Ljungberg
8e007985a1
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-01-27 12:20:17 +00:00
Alexander Ljungberg
e03e774113
Format delegate signatures in collection view documentation.
2012-01-27 12:19:52 +00:00
cacaodev
7a41282912
CPTabView: Fix a bug where a CPTabView would not reflect immediately the replacement of the selected item's view.
...
Updated CPTabViewNib to show a setView: on the current item.
If the view changes on a non selected item, the tabView content will be
updated when this item is selected.
2012-01-26 14:45:42 +01:00
cacaodev
c8f8c01d2f
CPTabView : _setTabView: on newly decoded CPTabViewItems
...
A CPTabViewItem needs to know about its tabView.
2012-01-26 14:34:52 +01:00
cacaodev
7f6db7bf98
CPTabView: Fix a bug where -selectedTabViewItem was raising instead of returning nil when no tab items (i.e. _selectedItemIndex = -1) and causing nib2cib to fail.
...
Added An empty Tab View to CPTabViewNib test app.
Needs a jake sudo-install for changes to take effects.
2012-01-26 10:44:46 +01:00
aradabaugh
e058efb622
Correcting minor whitespace styling.
2012-01-25 11:40:15 -07:00
aradabaugh
c14643849f
Minor style change.
2012-01-24 22:51:32 -07:00
aradabaugh
edd09ef06a
Enables additional buttonTypes for CPButton
2012-01-24 22:50:01 -07:00
aradabaugh
6bc3d49ba2
Correcting use of self in CPShadowView shadowViewEnclosingView:
2012-01-20 13:33:24 -07:00
aradabaugh
a8d8736899
Fixes CPShadowView shadowViewEnclosingView to use self instead of shadowView.
2012-01-20 00:33:40 -07:00
Antoine Mercadal
eafbebcebb
fix crash when setting title while to content view is set
2012-01-16 14:19:09 +01:00
Antoine Mercadal
e8194d9c2e
Fix some sizing problem with CPBox titles. close #1431
2012-01-14 12:31:12 +01:00
Antoine Mercadal
f0e1b67197
Merge remote-tracking branch 'upstream/master'
2012-01-13 13:56:16 +01:00
Antoine Mercadal
5daa8cb289
Support for title in CPBox. close #1428
2012-01-13 13:51:50 +01:00
Aparajita Fishman
789d832808
Tab -> spaces
2012-01-12 18:44:19 +06:30
Antoine Mercadal
d7971322cb
Merge pull request #1291 from miLibris/CPTheme-coding-fixes
...
_CPThemeAttribute fix : encode missing _defaultTheme value
2012-01-06 07:21:09 -08:00
Aparajita Fishman
1c2a304ee5
Assignment of function is a statement and should be semicolon terminated. Some miscellaneous linting as well.
2012-01-05 17:51:37 -10:00
Randy Luecke
80f5ab09f3
Merge pull request #1410 from vhbit/master
...
Fixed a bug when changing selection in CPPopUpButton wasn't propagated back to bound object
2011-12-10 20:22:02 -08:00
Randy Luecke
5c8f201a92
Merge pull request #1406 from james-dessart-hb/master
...
Issue #1297 - fixing CPBrowser selection when using up/down arrow keys
2011-12-10 20:21:06 -08:00
Blair Duncan
bb7876759a
unnecessary globals
2011-12-10 23:10:22 -05:00
Valerii Hiora
cce4f7883c
Merge branch 'master' of git://github.com/cappuccino/cappuccino
2011-12-07 09:58:36 +02:00
Alexander Ljungberg
a5854f129d
Fixes #1411 . In IE, no table/outline view selection highlights would render for certain CIBs.
...
This fix also enables `setSelectionHighlightStyle: CPTableViewSelectionHighlightStyleSourceList` in Internet Explorer. Even that the gradient effect can't be rendered and the fallback regular rendering will be used, the proper field value might still be useful for subclasses or saving out to CIBs etc.
2011-12-06 23:29:57 +00:00
Alexander Ljungberg
9367566e61
Fixes #1412 . IE rendered clearColor shadows in black.
2011-12-06 23:01:26 +00:00
Alexander Ljungberg
107103bcbb
Fixes #1413 : Internet Explorer colorWithCSSString crash.
...
Syntax such as [[CPColor colorWithCSSString:@"rgba(0,0,0,0.5)"] cssString] lead to a CSS string incompatible with browsers without the CSS rgba feature.
2011-12-06 22:45:26 +00:00
Valerii Hiora
d4ecb03d15
Fixed: On changing selection of CPPopUpButton value wasn't reverse
...
transformed to binded object
2011-12-06 22:41:30 +02:00
James Dessart
f4eb47519d
Issue #1297 : Added tableViewSelectionDidChange: to the table view delegate in order to propagate keyboard-driven selection changes up to the browser
2011-12-02 15:46:07 -04:00