cacaodev
27cda34f8b
CPTableView: When columns or rows dragging ends, enqueue the dragged views so they can be available when you drag again the column if they haven't been unloaded before.
...
The 2nd time you drag the same column/row, reduces -dragViewFor... duration by 90% according to webkit profiling.
2012-03-17 16:10:54 +01:00
Alexander Ljungberg
b7dcd24e11
Adjust size of spinner progress indicators properly in nib2cib.
2012-03-16 18:36:09 +00:00
Alexander Ljungberg
5097030143
Fixed: spinner style progress indicators were nib2cibbed to progress bars.
2012-03-16 18:23:47 +00:00
Alexander Ljungberg
516fac037f
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-03-15 00:14:39 +00:00
Alexander Ljungberg
1bf632a575
Rename shouldShowOutlineViewForItem to shouldShowOutlineDisclosureControlForItem.
...
ShouldShowOutlineView is not a great delegate method name for a control called an outline view. The original Cocoa name refers to an 'OutlineCell' which we don't have so that's not appropriate either.
2012-03-15 00:14:25 +00:00
Alexander Ljungberg
6137aa8637
Optimise shouldShowOutlineView.
2012-03-14 23:23:12 +00:00
Alexander Ljungberg
4be4506ffc
Implement outline view outlineView:shouldShowOutlineViewForItem: delegate method (corresponding to shouldShowOutlineCellForItem in Cocoa).
2012-03-14 23:08:01 +00:00
aparajita
d3c368ba92
Merge pull request #1477 from cacaodev/CFBundle-loadStatus-fix
...
CFBundle: isLoaded() should return a bool
2012-03-14 14:27:04 -07:00
cacaodev
9b0d03b024
CFBundle: isLoaded() should return a bool
2012-03-14 21:10:35 +01:00
Alexander Ljungberg
c21d2fd017
Fixed: toolbar search fields created in IB were cut in half height-wise due to a too small max size.
2012-03-14 16:02:25 +00:00
Alexander Ljungberg
2940b5e787
Fixed: nib2cibbed search fields had the bottom pixel cut off.
2012-03-14 15:58:35 +00:00
Alexander Ljungberg
cf18bcaaf9
Clean up.
2012-03-14 15:50:07 +00:00
Alexander Ljungberg
c4eaf083b4
Code formatting. Don't shadow compressor function name.
2012-03-13 20:29:38 +00:00
Alexander Ljungberg
df6b592d11
Refs #1474 . Allow -T argument before -- in objjc and document it in help.
...
Seems like all options should be before -- really.
2012-03-13 20:27:20 +00:00
Alexander Ljungberg
109e8b1e33
Merge pull request #1474 from ternarylabs/cappuccino
...
---
2012-03-13 20:06:33 +00:00
Alexander Ljungberg
85c88d7c93
Whitespace.
2012-03-13 20:03:11 +00:00
Alexander Ljungberg
d8e5fa3087
Merge pull request #1441 from cacaodev/cappuccino
...
---
With manual test.
See comments in the code about how to make bindings adoptions easier and avoid repeating code.
2012-03-13 19:58:29 +00:00
cacaodev
697a7b308a
CPColorWell : Implements CPValueBinding (color), supports markers.
...
With manual test.
2012-03-13 20:35:31 +01:00
Alexander Ljungberg
dcc031f23a
Fixed: small size toolbars in bridge windows didn't show the bottom shadow line.
...
Switched to using a somewhat vertically resizable three part image. The centre image part is being compressed which normally would look poor but you can't tell since it's a gradient.
2012-03-13 14:45:33 +00:00
Alexander Ljungberg
061ea47953
Test N-part image layout.
2012-03-13 13:51:01 +00:00
Alexander Ljungberg
f0e5161b7b
Tile narrow vertical three part images horizontally, and short horizontal three part images vertically.
...
This allows you to use a 1px wide vertical three part image to stretch to any width.
2012-03-13 13:36:52 +00:00
Alexander Ljungberg
eada36af26
More minor formatting.
2012-03-12 21:01:27 +00:00
Alexander Ljungberg
a02c687df9
Fix missing semicolon.
2012-03-12 20:14:11 +00:00
Alexander Ljungberg
e636087f4a
Fixed decodeBytesForKey in theory.
...
There's no way to encode bytes today in the first place.
2012-03-12 20:06:23 +00:00
Alexander Ljungberg
4876f77914
Refs #1476 . Format code.
2012-03-12 20:05:18 +00:00
Alexander Ljungberg
ed6bed9bf7
Format code.
2012-03-12 19:43:28 +00:00
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