cacaodev
d6dd0e551d
Revert "FIXED: CPView received multiple -viewDidHide/Unhide messages"
...
This reverts commit e58420b031 .
2016-06-09 10:13:21 +02:00
cacaodev
e58420b031
FIXED: CPView received multiple -viewDidHide/Unhide messages
...
FIXED: when a view is hidden by a hidden superview and added to a non
hidden superview, the -viewDidUnhide message is sent.
With test : CPViewTest.j
2016-05-23 15:39:47 +02:00
cacaodev
c38daac646
Test: test for pr #2449
...
In CPPredicateEditor, tests that the input predicate is equal to the
output when the right control is editable.
2016-05-14 10:00:44 +02:00
Alexandre Wilhelm
3e6e5f95ec
Merge pull request #2448 from cacaodev/CPViewController-async
...
Fixed: CPViewController isViewLoaded property in async mode
2016-05-11 12:20:48 -07:00
Martin Carlberg and cacaodev
ae5d31746e
Dependent key paths use a relationship ( #2431 )
...
Fixed: When dependent key paths use a relationship, only the first added observer will observe the attribute for the relationship object.
Also, an optimisation on when the willChange… chain is running, there is no need to replace the observers as no new values are set yet. That will be done when the didChange… chain is running.
2016-05-09 22:14:20 +02:00
cacaodev
1c1976abbf
Simple cucapp test for the CPViewController isViewLoaded property in async mode
2016-05-09 09:45:18 +02:00
Alexandre Wilhelm
f67fafdb8e
Merge pull request #2446 from cacaodev/CPCollectionView-fixes
...
CPCollectionView content binding & minor code refactor
2016-05-08 11:16:34 -07:00
cacaodev
ffcac677e0
Fixed: Manual test SmartFoldersDemo
...
The sheet was not closing when asked.
2016-05-07 21:14:35 +02:00
cacaodev
a9d643aa55
OJTest for CPCollectionView selectionIndexes, CPCollectionViewItem isSelected, CPSelectionIndexesBinding and CPContentBinding.
2016-05-03 21:51:10 +02:00
cacaodev
1575c2bc10
CPTableView ViewBasedCib test app: a bug in CPBox decoding was crashing the app. Remove the box until this bug is fixed.
2016-05-03 19:09:32 +02:00
Martin Carlberg
699503042f
Fixed: First item is always selected if selected binding value is set before content binding value.
...
Test case is provided.
2016-04-05 23:22:29 +02:00
Antoine Mercadal
598a6ebaed
Merge pull request #2278 from cacaodev/CPAnimationContext
...
Animations: CPAnimationContext & animator
2016-04-04 09:57:55 -07:00
Alexander Ljungberg
e13f5ed730
Fixed: CPNumber intValue did not return an integer.
...
We expect this method to return a whole number like in Objective-C. This also goes for the related methods, `shortValue`, `longValue` and `longLongValue`.
Also adds more tests (in addition to the existing, already failing test).
2016-04-01 22:22:03 +01:00
Alexandre Wilhelm
edbc1baf32
Merge pull request #2427 from cacaodev/cpbutton-image-scaling
...
NEW: nib2cib support for CPButton -imageScaling.
2016-03-28 23:43:22 -07:00
Alexandre Wilhelm
a10dfa4ab4
Merge pull request #2429 from mrcarlberg/integer_value
...
Fixed: Added ’integerValue’ method for CPNumber and CPString.
2016-03-27 09:20:12 -07:00
Martin Carlberg
c1ec27045c
Fixed: Rhino does not support numbers starting with ’0’
2016-03-23 09:35:19 +01:00
Martin Carlberg
111b12161c
Added: test cases for ’intValue’ and ’integerValue’ methods on CPString and CPNumber
2016-03-23 09:02:09 +01:00
Alexandre Wilhelm
b12d1491d4
Merge pull request #2415 from cacaodev/CPViewController-loadviewAsynchronously
...
NEW: CPViewController -loadViewAsynchronously:(Function/*view, error*/)
2016-03-20 19:40:20 -07:00
cacaodev
a1248db3e7
CPSearchField: use CPMenuItem -setIndentationLevel: now that it's available.
2016-03-13 16:09:27 +01:00
cacaodev
6fd2d12d3f
Merge remote-tracking branch 'cappuccino/master' into CPAnimationContext
2016-03-12 23:29:46 +01:00
cacaodev
9fab52c044
NEW: nib2cib support for CPButton -imageScaling. With manual test CPButtonTest. Fixes #2425 .
2016-03-12 22:18:46 +01:00
Alexandre Wilhelm
6d305e4a84
Test: some manual tests were broken
...
This PR fixes the manual tests. We can no launch every manual tests of Cappuccino...
2016-02-13 11:36:42 -08:00
cacaodev
ccdc1eed5a
Rename to loadViewWithCompletionHandler:
2016-02-07 11:17:53 +01:00
cacaodev
6b683bd02d
Merge pull request #2402 from cacaodev/CPExpression-constructors
...
NEW : CPExpression +expressionForBlock:arguments:
+expressionForConditional:trueExpression:falseExpression:
2016-01-25 10:22:18 +01:00
Didier Korthoudt
2877178b34
Formatting: following Aparajita's recommandations
2016-01-21 20:46:37 +01:00
cacaodev
d547d04277
NEW: CPViewController -loadViewAsynchronously:(Function/*view, error*/)
...
with manual test CPViewControllerTest
2016-01-20 11:54:02 +01:00
Didier Korthoudt
0f30d7744d
FIXED: CPTrackingArea incorrect handling of view hierarchy updates while processing events
2016-01-19 07:07:45 +01:00
cacaodev
e172217427
Merge pull request #2404 from cacaodev/CPArray-mapUsingBlock
...
New: CPArray -arrayByApplyingBlock:
2016-01-16 19:25:07 +01:00
Antoine Mercadal
5d88d07edc
FIXED: CPPredicate's predicateFormat with a CPNull value as right expression wasn't working
...
Previously a CPPredicate created with format `value == nil` was converted back to `value == <CPNull @ xxxx>`
This patch ensures `predicateFormat` returns `value == nil`
Test added in CPPredicateTest.j
2016-01-14 15:50:24 -08:00
cacaodev
08aa591c65
NEW CPArray -arrayByApplyingBlock:(Function/*element, index*/)aBlock
...
Test for CPArray -arrayByApplyingBlock:
2016-01-14 21:57:57 +01:00
Alexander Ljungberg
8403e36d4d
New: arrange the kitchen sink test windows a little.
...
It just looks better.
2016-01-14 11:28:58 +00:00
Alexander Ljungberg
2dda326cc4
Fixed: radio button cropped in Theme Kitchen Sink test.
...
Without this fix the radio group was too short for Aristo 2 and as a result the bottom radio button had its bottom pixels cut off.
2016-01-14 11:20:31 +00:00
Christophe Serafin
5ec5198dda
Test: Added a test that verifies CPSplitView divider behavior when having only 1 subview.
...
Issue#2406 reported a behavior different from Cocoa Framework. This test validates that Cappuccino CPSplitView is working well when adding
and removing a subview. A CPSplitView that has only one subview should resize it to take the whole space available.
This PR adds a new test to Tests/Manual
2016-01-12 16:29:24 +01:00
Aparajita Fishman
2f5e7f3b2d
Allow custom formatters in xibs
...
Previously, adding a "Custom Formatter" (direct subclass of NSFormatter) to a cell in Xcode would cause a failure in nib2cib, because it didn't know how to deal with it.
This commit adds support for custom formatters in nib2cib (and thus in xibs), and updates the CPFormatter test app to demonstrate that this works.
2016-01-03 15:26:06 -08:00
cacaodev
e6e2f4c22c
TEST: CPTabViewBindings manual test
...
Add test for pr #1921 *Label size not calculated when they change*
closes #1921
2015-12-27 18:19:48 +01:00
cacaodev
07b6e2b9f1
CPExpression +expressionForConditional:trueExpression:falseExpression:
...
Conditional Expression : an expression using different expressions for
evaluation, depending of a predicate result.
Support for predicate parsing: ```TERNARY(predicate, trueExpression,
falseExpression)```
With init, equal, evaluation, parsing tests.
2015-12-27 15:45:03 +01:00
cacaodev
5ab10f4024
NEW: CPExpression +expressionForBlock:arguments:
...
An expression that returns the result of evaluating a block.
With tests.
2015-12-27 15:44:36 +01:00
cacaodev
0ac08456bc
Merge pull request #2401 from cacaodev/CPSubqueryExpression
...
FIXED: Subquery expressions were ignoring evaluation context
2015-12-26 00:12:13 +01:00
cacaodev
80a3549ef5
FIXED: Subquery expressions were ignoring evaluation context
...
When the predicate part of a subquery expression was containing
variables, the substitution was ignored.
Now, the subpredicate can contain variables that will be substituted
when calling evaluateWithObject:substitutionVariables:.
Added expression test and predicate parsing test.
2015-12-23 18:49:07 +01:00
Aparajita Fishman
932b825818
Merge pull request #2395 from didierkorthoudt/CPTrackingArea
...
Implementation of CPTrackingArea
2015-12-21 15:23:51 -08:00
Didier Korthoudt
936c7190c7
manual test update
2015-12-16 22:16:31 +01:00
Didier Korthoudt
3452984b8e
2 cases added
2015-12-16 19:29:14 +01:00
Didier Korthoudt
3e17890528
cursor tests in CPViewTest
2015-12-15 23:33:10 +01:00
Didier Korthoudt
2a7c50d356
events-during-drag-fix
2015-12-15 15:09:19 +01:00
Didier Korthoudt
89c78f6030
unit-test-additions
2015-12-09 21:38:50 +01:00
Alexandre Wilhelm
b59b0259ca
Fixed: CPDateFormatter did not work with symbols MM and LL with the month of december
2015-12-09 10:51:51 -08:00
Didier Korthoudt
e46e1b20de
unit-test-v2
2015-12-08 23:09:20 +01:00
Didier Korthoudt
dcc0768411
Unit-test+fix
2015-12-05 20:14:24 +01:00
Didier Korthoudt
2bfebfee3c
Manual-test-fix
2015-12-01 05:58:36 +01:00
Antoine Mercadal
3cf0d60f5d
Merge pull request #2399 from mrcarlberg/default_include_method_types
...
Default include type signatures for all kind of builds
2015-11-23 13:38:14 -08:00