Alexander Ljungberg
f8984ced97
Refs #903 . Comment out failing tests until Obj-J 2 fixes them.
2011-05-15 19:36:04 -04:00
Alexander Ljungberg
7539b5b06d
Merge pull request #903 from paulbaumgart/cappuccino
...
---
Some OJTestCases for the Preprocessor to help make sure it still works as expected when it gets revamped to remove with() from method code generation.
Note that this adds a test case which the current Preprocessor fails: http://github.com/paulbaumgart/cappuccino/commit/8cc61cccfd78debe96eba96a7b332938e6d5377e#L1R81
2011-05-15 19:25:10 -04:00
Alexander Ljungberg
37cad2f59a
Merge pull request #1245 from primalmotion/cappuccino
...
---
This is a basic merge of the TNKits tooltip system in Cappuccino.
2011-05-11 19:30:41 -04:00
Alexander Ljungberg
8f5fe55dea
Manual test for continuous buttons.
2011-05-11 19:28:01 -04:00
Alexander Ljungberg
abd32f5abc
Renamed CPButtonImageTest to CPButtonTest to reuse it for non image related tests.
...
Having fewer but slightly wider manual tests reduces the number of individual apps which need testing when changes are made.
2011-05-11 19:03:21 -04:00
Alexander Ljungberg
5a2e5a7de3
Fixed CPColor isEqual: for pattern images.
2011-05-09 21:38:32 -04:00
Alexander Ljungberg
3db05c94ab
Closes #682 . Fix CPColor isEqual:.
2011-05-09 20:59:38 -04:00
Alexander Ljungberg
1ba69aee91
Refs #1254 . Updated unit test to account for, and verify that CPSet addObject:nil/undefined throws an exception.
2011-05-09 20:03:09 -04:00
Alexander Ljungberg
d5f281320f
[CPView _isVisible] convenience method.
2011-05-09 14:37:54 -04:00
Alexander Ljungberg
d6c7fecf64
Closes #684 . Cleaned up, added attribution and instructions for the CPWebView2 manual test.
2011-05-09 01:36:23 -04:00
Alexander Ljungberg
1392714896
Manual test which tests the effectiveness of both of the previous fixes.
...
The test also includes a URL based web view to show it works before and after the fixes.
2011-05-09 01:24:33 -04:00
Alexander Ljungberg
6f869cebc1
Closes #688 . Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved.
2011-05-09 00:29:43 -04:00
Klaas Pieter Annema
1a842b2a6f
add manual test case for previous commit
2011-05-05 13:21:50 +02:00
Klaas Pieter Annema
d8a09722c6
Merge branch '0.9.1'
2011-05-04 19:08:42 +02:00
Klaas Pieter Annema
21a50b990f
fix 2 bugs in CPIndexPath
...
1. we didn't return a copy of the indexes
2. indexPathByRemovingLastIndex didn't remove the last index
2011-05-04 19:07:06 +02:00
Klaas Pieter Annema
a9fe07f854
Merge branch '0.9.1'
2011-04-29 12:02:14 +02:00
Klaas Pieter Annema
0f88207d7b
fix out of bounds error in itemWithTitle:
2011-04-29 12:01:51 +02:00
Klaas Pieter Annema
81ffed3b9b
Merge branch '0.9.1'
2011-04-28 14:01:24 +02:00
Klaas Pieter Annema
ead6e4a592
implement CPDictionary's keysSortedByValueUsingSelector
2011-04-28 14:01:04 +02:00
Antoine Mercadal
3ddf6031fb
Support for tooltips on CPControls
2011-04-26 14:46:30 +02:00
Klaas Pieter Annema
0ee304058d
consolidate both CPKeyValueObservingTests into one
2011-04-26 11:34:47 +02:00
Klaas Pieter Annema
afb2352a7c
consolidate both CPKeyValueObservingTests into one
2011-04-26 11:20:47 +02:00
Randy Luecke
3d8b836184
Merged pull request #1243 from gorenje/more_unit_tests_2.
...
Fix shadowOffset not being copied when creating a copy of the GState
2011-04-25 10:17:35 -07:00
Randy Luecke
08d33f3c1f
Merged pull request #1242 from gorenje/unit_tests_cgcolor.
...
Some more unit tests for coregraphics - cgcolor and cgcolorspace
2011-04-25 10:16:54 -07:00
Gerrit Riessen
6a4d8a24be
unit test for CGContext
2011-04-25 14:13:04 +02:00
Gerrit Riessen
d147e9cbaa
unit test for CGAffineTransform
2011-04-25 14:12:52 +02:00
Gerrit Riessen
c537541825
added test for color equal to color
2011-04-23 20:56:23 +02:00
Gerrit Riessen
e248433ec0
fixed an issue where setting the alpha after creating the color causes all colors referencing that color in the cache to have their alpha value changed
2011-04-23 20:50:42 +02:00
Gerrit Riessen
63e63ce7a1
fix the color creation when using shortcut functions
2011-04-23 17:22:02 +02:00
Gerrit Riessen
6e6011c5ea
testing rgb colorspace
2011-04-23 15:50:32 +02:00
Gerrit Riessen
4ce8dcef12
testing cgcolorspace
2011-04-23 15:25:11 +02:00
Gerrit Riessen
7ee414d0b8
remove an assumption of two colors in the gradient creation stuff
2011-04-23 14:10:23 +02:00
Alexander Ljungberg
321c11ec9f
Merge branch '0.9.1'
2011-04-21 20:02:22 -04:00
Alexander Ljungberg
ca53e56c19
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-21 20:01:53 -04:00
Alexander Ljungberg
dcf1d324a5
Additional test for the previous bug.
2011-04-21 19:03:10 -04:00
Alexander Ljungberg
27211db0cc
Fixed: JS objects 'randomly' failed to unarchive.
...
The problem was that if the same JS object was decoded twice as part of a more complex object, the first decoded version was cached in its unwrapped state and not properly unwrapped the second time. This caused very hard to debug theming errors where e.g. a CPTextField's custom inset would decode fine, but a subclass of a CPTextField otherwise exactly the same would fail to decode the inset.
2011-04-21 18:59:30 -04:00
Klaas Pieter Annema
2743fe4c0d
Merge branch 'master' of github.com:280north/cappuccino
2011-04-20 21:01:24 +02:00
Klaas Pieter Annema
dc5d8f5fd3
never disable menu items with submenus
2011-04-20 21:00:52 +02:00
Randall Luecke
be96e3037d
Merge branch '0.9.1'
2011-04-20 12:25:41 -04:00
Gerrit Riessen and Randall Luecke
b249a1db13
test demostrating limitations of CGGradientCreateWithColorComponents
2011-04-20 12:25:24 -04:00
Klaas Pieter Annema
ba3a2a9f89
add unit test for CPMenu user interface validation
2011-04-20 11:20:07 +02:00
Alexander Ljungberg
ff7f469f9f
Fixed: CPColor colorWithCSSString did not properly handle the alpha component of the CSS rbga() syntax. Fixes #687 .
2011-04-10 22:16:28 -04:00
Alexander Ljungberg
e44ffdc7f4
CPString subtringWithRange: and rangeOfString:options:range now throws CPRangeException for out of bounds ranges.
2011-04-10 21:20:22 -04:00
Alexander Ljungberg
91ef6bf925
Fixed: CPString rangeOfString:options:range returned locations relative to the passed-in range instead of the full string.
2011-04-10 21:05:43 -04:00
Alexander Ljungberg
a33dd51d8e
Fixed: searching a string for @"" with CPString rangeOfString returned results other than CPNotFound.
2011-04-10 20:38:51 -04:00
Alexander Ljungberg
2166fc1d51
Fixed: CPString rangeOfString: anchored backwards search did not work.
2011-04-10 20:19:04 -04:00
Alexander Ljungberg
06122bba19
Test CPString rangeOfString: in CPCaseInsensitiveSearch | CPBackwardsSearch mode.
2011-04-10 20:10:08 -04:00
Alexander Ljungberg
e327c39776
Code formatting.
2011-04-10 17:26:22 -04:00
Alexander Ljungberg
c7a1717ebe
Added CPDate test which catches mishandling of timezones in initWithString.
...
(Unfortunately the test is rather crude and only works when your current timezone offset is not 0 (UTC).)
2011-04-10 17:24:18 -04:00
Mike Fellows and Randall Luecke
69d27364d5
Trivial fix, add missing spinner.gif from manual scroll view test
2011-04-08 09:30:56 -04:00