Alexander Ljungberg
87cb2eb19d
Merge pull request #1476 from cacaodev/cappuccino
...
---
In nib2cib, this typo was preventing from decoding base64 data included in nib files.
2012-03-12 19:20:01 +00:00
Alexander Ljungberg
53334251b8
Fix a typo in CPGradient comment and attempt to better explain what's going on.
2012-03-12 12:04:34 +00:00
Alexander Ljungberg
a069f2945b
Optimise.
2012-03-11 22:13:05 +00:00
Alexander Ljungberg
5a0e1d7bb3
Support any angle in CPGradient drawInRect:angle:.
2012-03-11 19:40:22 +00:00
Alexander Ljungberg
ed1d77c86d
Skeleton CPGraphicsContext isFlipped.
2012-03-11 19:39:25 +00:00
Alexander Ljungberg
74054442a2
CPGradient initWithColors:.
2012-03-11 19:38:02 +00:00
Alexander Ljungberg
59ef8329c0
Handle CPGradient colorSpace argument.
2012-03-11 15:37:45 +00:00
Alexander Ljungberg
20cffaa7fe
Fix CPGradient angle.
2012-03-11 14:07:17 +00:00
Alexander Ljungberg
ebeb1040e8
Simplify CPGrahicsTest slightly by connecting delegates in IB.
2012-03-11 14:06:31 +00:00
Alexander Ljungberg
cdb919dea3
Add reference renderings to CPGraphicsTest. Add visual tests of CPGradient.
2012-03-11 13:13:50 +00:00
Alexander Ljungberg
c509e6131a
Fixed: CPGradient reversed its colours.
2012-03-11 13:12:17 +00:00
Alexander Ljungberg
db6a4d7042
Stub out CPView inLiveResize.
...
CPWindow should send `viewWillStartLiveResize` and `viewWillEndLiveResize` to make this work.
2012-03-10 12:43:47 +00:00
Alexander Ljungberg
a32b5ea72b
nib2cib support for table view background colour.
2012-03-10 12:02:17 +00:00
Alexander Ljungberg
58a2fce110
Code formatting.
2012-03-10 12:01:40 +00:00
Alexander Ljungberg
3d9ae42dbf
Starter CPGradient with drawInRect:angle:.
2012-03-10 11:55:13 +00:00
Alexander Ljungberg
c4a16d10bc
Starter CPColorSpace implementation.
2012-03-10 11:53:47 +00:00
Alexander Ljungberg
eeca40c6f0
Implemented CPColor colorWithSRGBRed:green:blue:alpha:.
2012-03-10 11:52:49 +00:00
Alexander Ljungberg
2a031e82a4
Constrain CPColor components to [0.0, 1.0].
2012-03-10 10:11:35 +00:00
cacaodev
0e6ce205ab
CPPropertyListSerializationTest for CPPropertyListXMLFormat_v1_0 format
2012-03-09 20:52:08 +01:00
Alexander Ljungberg
9acbe0f2f8
Fix incorrect parameter type.
2012-03-09 19:49:58 +00:00
Alexander Ljungberg
3ee9c1a439
Fixed misplaced var, formatting.
2012-03-09 19:17:28 +00:00
Alexander Ljungberg
0eeff20af6
Code formatting.
2012-03-09 16:52:21 +00:00
Alexander Ljungberg
a1cf9f1cd4
Table view cell layout test.
2012-03-09 15:36:21 +00:00
cacaodev
3897f422fe
Use setter
2012-03-09 15:22:19 +01:00
cacaodev
9d785d1a3c
CFPropertyList typo: CFData has _bytes, not bytes. In nib2cib, this typo was preventing from decoding base64 data included in nib files
2012-03-09 14:39:53 +01:00
Alexander Ljungberg
66f818872c
Simplify shadow view code.
2012-03-09 12:50:52 +00:00
Alexander Ljungberg
342bacb25c
Manual test for CPImageView with and without shadow.
2012-03-09 12:49:38 +00:00
Alexander Ljungberg
8e81be0319
Clean up.
2012-03-09 12:06:30 +00:00
Alexander Ljungberg
3acfa142bc
Merge pull request #1475 from miLibris/cappuccino
...
---
Remove CPShadowView constants in CPImageView
2012-03-09 12:00:05 +00:00
Alexander Ljungberg
94a58c810e
Calculate a default key view loop for windows loading from cibs even if autorecalculatesKeyViewLoop is NO.
2012-03-08 12:23:05 +00:00
Alexander Ljungberg
757a2bf400
nib2cib support for CPWindow autorecalculatesKeyViewLoop.
2012-03-08 12:05:12 +00:00
Luc Vauvillier
b18fbd685b
CPImageView : Remove shadow vars dependency
2012-03-08 12:49:31 +01:00
Alexander Ljungberg
56b5a9ec22
Make CPWindow autorecalculatesKeyViewLoop default to NO rather than null.
2012-03-08 11:39:59 +00:00
Alexander Ljungberg
0736f86f32
Fixed: "[CPString count] unrecognized selector" error when binding an array controller's content array to a key of another AC's selection.
...
This change also avoids wrapping a selection proxy in a KVO array proxy, which isn't helpful and probably hurts performance.
2012-03-07 16:49:41 +00:00
Alexander Ljungberg
107d739489
Add support for checkbox placeholder bindings options.
2012-03-07 14:33:32 +00:00
Alexander Ljungberg
32a86a911f
Allow custom binders to set default placeholders.
...
This makes it easier to write custom binders.
2012-03-07 14:31:53 +00:00
Alexander Ljungberg
9a32733f88
Fixed: incorrect bindings option in array controller test.
2012-03-07 13:04:20 +00:00
Alexander Ljungberg
0f655e3264
Fixed: sending CPWindow setAutorecalculatesKeyViewLoop:NO caused the window to recalculate the key view loop.
...
Although the intention might have been to do 'one final calculation run to provide a sensible default', the result is unintuitive and does not match Cocoa's behaviour.
If the key view loop has been manually set up and the user then calls `setAutorecalculatesKeyViewLoop:NO` they don't expect their work to be overwritten.
2012-03-01 20:35:20 +00:00
Alexander Ljungberg
55a4afa341
Merge pull request #1471 from tfc/cappuccino
...
---
...and fixed my last documentation commit for CPSplitView.
2012-03-01 18:15:53 +00:00
Jacek Galowicz
3b5aa1a2ab
CPScrollView: Documented delegate methods
2012-03-01 18:44:51 +01:00
Jacek Galowicz
658e569251
Fix of last commit
...
My commit 1d8092e431 added some
documentation, but destroyed the order of the text.
2012-03-01 18:41:44 +01:00
Alexander Ljungberg
4eacfd83d6
Refs #1469 . Formatting.
2012-03-01 10:48:07 +00:00
Alexander Ljungberg
ad0fd0a34e
Merge pull request #1469 from tfc/cappuccino
...
---
This regards CPSplitViews new delegate method
- (BOOL)splitView: (CPSplitView)aSplitView shouldAdjustSizeOfSubview: (CPView)aSubView
which was introduced in b27a3cdbe5 by Alexander Ljungberg.
2012-03-01 10:44:51 +00:00
Jacek Galowicz
1d8092e431
Added a documentation line for CPSplitView.
...
This regards CPSplitView's new delegate method
- (BOOL)splitView: (CPSplitView)aSplitView shouldAdjustSizeOfSubview: (CPView)aSubView
which was introduced in b27a3cdbe5 by Alexander Ljungberg.
2012-03-01 08:46:06 +01:00
Alexander Ljungberg
87cc62d1d8
Fixed with nib2cib: CPBox title position 'none' was converted to 'on top'.
2012-02-24 20:53:02 +00:00
Alexander Ljungberg
a16388b57d
Allow toolbar size to be changed even after the toolbar has been created.
2012-02-24 20:38:05 +00:00
Alexander Ljungberg
98e54d2e09
Support for "small" size toolbars (CPToolbar sizeMode).
...
Support only in nib2cib and coding ATM. Calling setSizeMode: on an existing toolbar will not have an effect.
2012-02-24 20:10:36 +00:00
Alexander Ljungberg
bd02ec057c
Style fix.
2012-02-24 19:44:26 +00:00
Alexander Ljungberg
6ac804d37c
CPWorkspace openFile and openURL.
2012-02-24 19:44:13 +00:00
Alexander Ljungberg
4b764dc8b4
Throw an exception when trying to set a null minimum item size for a collection view.
2012-02-17 16:25:16 +00:00