Alexander Ljungberg
d5f281320f
[CPView _isVisible] convenience method.
2011-05-09 14:37:54 -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
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
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
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
9fc10260fb
Merge branch 'fonts' of https://github.com/aparajita/cappuccino into aparajita-fonts
2011-04-02 22:26:21 -04:00
Alexander Ljungberg
8aaa5fe07f
Test array controller KVC binding correctness.
...
This change splits the insertObjectAtArrangedObjectIndex:, addObject:, and removeObject: tests into two versions: one for a regular AC setContent: setup and one for when the AC is bound to an array-like destination implementing KVC.
2011-04-02 18:09:16 -04:00
Alexander Ljungberg
76400ecca9
Make table column internal bindings support methods private.
2011-03-31 20:48:51 -04:00
Alexander Ljungberg
2532c760ea
Closes #1202 . Test that CPEvent deltaX, deltaY and deltaZ do work. Also initialise deltas to 0 instead of nil.
2011-03-31 11:11:57 -04:00
Alexander Ljungberg
430a74735b
Fixed: CPSliders always became continuous when archived/unarchived through CPCoding.
2011-03-28 21:18:47 -04:00
Alexander Ljungberg
26003365bc
Fixed: CPSlider isContinuous disagreed with setContinuous.
2011-03-28 21:06:07 -04:00
Aparajita Fishman
2599f820c7
Merge branch 'font-fun' into fonts
...
Conflicts:
Tools/nib2cib/NSButton.j
2011-03-28 18:51:10 -04:00
Brian Donovan
abce41d6fd
Make sure -[CPArrayController arrangedObjects] always has a non-nil value.
2011-03-15 19:53:14 -07:00
Aparajita Fishman
239b6ed79d
Fixed CPFontTest, removed unused RegExp from CPFont
2011-03-10 19:19:32 -05:00
Aparajita Fishman and Randall Luecke
f254122346
Added CPView -hasThemeAttribute and tests
2011-03-10 17:02:30 -05:00
Alexander Ljungberg
92cb69b623
Merge branch 'CPArrayControllerFixes' of https://github.com/cacaodev/cappuccino into cacaodev-CPArrayControllerFixes
2011-01-20 22:14:17 -03:00
Francisco Ryan Tolmasky I
ec330a1090
Fix for pop up not reflecting changes in individual menu items.
...
Reviewed by me.
2011-01-20 09:07:04 -08:00
cacaodev
59cc590b51
CPArrayController -setContent: fixed a bug where objects where not rearranged if clearsFilterPredicateOnInsertion == YES and filterPredicate == nil.
2011-01-19 19:26:01 +01:00
Francisco Ryan Tolmasky I
9796f5d5d7
Fix CPPopUpButton menu support.
...
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298 .
Closes $1059.
Reviewed by me.
2011-01-17 01:31:15 -08:00
Alexander Ljungberg
6b8c85df7c
Additional testing for outline view archiving.
2011-01-14 19:59:25 -03:00
Alexander Ljungberg
0240c648aa
Encode delegate when archiving CPBrowser.
2011-01-14 14:36:57 -03:00
Alexander Ljungberg
c4ee83e4c1
Basic CPBrowser CPCoding support.
2011-01-14 13:34:18 -03:00
Alexander Ljungberg
61b0cbb1af
Test CPBrowser data loading.
2011-01-14 12:42:38 -03:00
Alexander Ljungberg
b7bdec189a
Fixed: when an outline view node was expanded, selections below it would not stick to their items if the newly expanded node also had previously expanded children.
2011-01-14 12:10:52 -03:00
Alexander Ljungberg
2a27a87ae6
Fixed: CPOutlineView could not be archived with CPCoding. Closes #1093 .
...
This fixes the exception "[_CPOutlineViewTableViewDataSource encodeWithCoder:] unrecognized selector sent to instance".
2011-01-13 22:18:05 -03:00
Alexander Ljungberg
6bc109f7fc
Optimised: outline view expandItem:expandChildren:YES sent repeated selection change notifications.
2011-01-13 20:51:43 -03:00
Alexander Ljungberg
2d603df83c
Fixed: outline view's collapseItem sent up selection notifications in triplicate, each of them at the wrong time.
2011-01-13 20:03:06 -03:00
Alexander Ljungberg
dcf440396d
Fixed: the outline view was temporarily inconsistent to outside observers while expanding a node.
...
In particular, a selection did change notification was sent before the rows the selection referred to had had a chance to be loaded.
2011-01-13 18:57:36 -03:00
Klaas Pieter Annema
e7dbd5a5cc
add test for CPButton setObjectValue: behavior
2011-01-10 09:32:18 +01:00
Derek Hammer
f3066594fe
Tests for Pull Request 1085
2011-01-08 22:12:20 -06:00