daboe01
85cff2c0f3
changed test to use cocoa api
2014-06-30 05:57:10 +02:00
daboe01
437142ed7b
manual test
2014-06-28 17:03:00 +02:00
Antoine Mercadal
f418f9de4c
Merge pull request #2139 from Dogild/EscapePanel
...
Fixed: CPPanel and popover doesn't close when hitting escape
2014-06-24 17:45:27 -07:00
Antoine Mercadal
036b82afd9
Merge pull request #2134 from Dogild/CPTextFieldEditingStyle
...
Fixed: CPTextField doesn't update its style when editing [+1]
2014-06-24 16:44:05 -07:00
Alexander Ljungberg
8d7594c96a
Formatting and clean up.
...
Refs #2103 .
2014-06-22 16:07:17 +01:00
Alexander Ljungberg
ed36869f1d
Test: complex message receiver.
...
Refs #2103 .
2014-06-22 16:02:37 +01:00
Alexander Ljungberg
ea3adc44fd
Fixed: objj_msgSend_reset not resetting with fast objj_msgSend.
...
Refs #2103 .
2014-06-22 14:29:40 +01:00
Alexander Ljungberg
5fafc97bc0
Merge branch 'master' into fastobjj
2014-06-22 13:05:32 +01:00
Alexander Ljungberg
fba900707a
Test: formatting, fix name of previous test.
...
Refs #2103 .
2014-06-22 12:58:24 +01:00
Alexander Ljungberg
175a455d75
Test: add CPAutosizePerformance test to validate objj_msgSend speed improvements.
...
This test was written by cacaodev.
Refs #2103 .
2014-06-22 12:57:11 +01:00
Alexandre Wilhelm
5d5d03fd4c
Fixed: textField in CPTextFieldTest doens't have a placeholder
2014-06-19 21:05:06 -07:00
Alexandre Wilhelm
cd6ffba9ac
Fixed: CPPanel and popover doesn't close when hitting escape
...
Previously, a panel or a popover didn't close when the user hit the key escape.
Now it does. The panel or the popover will close on the keyDown event as in cocoa.
Test app in Tests/Manual/CPPanelTest/ and Tests/Manual/CPPopoverTests
Fixed #1767
2014-06-18 16:29:13 -07:00
Alexandre Wilhelm
a129f2c5c5
Fixed: CPTextField doesn't update its style when editing
...
Previously, the update of the style of an editing textField didn't work.
Now when editing, we can update the font, color, alignment and vertical-alignment of the textField
Test app in Tests/Manual/CPTextFieldEditingStyleTest/
Fixed #2057
2014-06-09 12:16:15 -07:00
Alexander Ljungberg
7c6ef51cb2
New: CPDate dateByAddingTimeInterval:.
...
Refs #2126 .
2014-06-03 17:41:35 +01:00
Alexander Ljungberg
f151920404
Fixed: table view selection text colour in Aristo 1.
...
This is the same fix as in a4702d48b4 but applied to Aristo 1.
Refs #2009 , refs #2001 .
2014-05-12 16:04:00 +01:00
Alexander Ljungberg
02f36a1abe
New: theme kitchen sink manual test to exercise many themable controls in many states at once.
...
This test makes it easier to verify themes and theme tweaks.
2014-05-12 15:22:39 +01:00
Alexander Ljungberg
ba27a4cc4a
Fixed: new first responder and key window theme states not always applied.
2014-05-12 15:17:49 +01:00
Alexander Ljungberg
025a43ea4e
New: CPThemeStateKeyWindow for CPView.
...
Every view in the key window now takes on the 'key window' theme state. This makes it easy to theme everything in inactive windows in more muted colours. Also, combined with the first responder theme state of the previous commit we can have visuals like "first responder but in an inactive window" for text views and such things.
2014-05-11 15:51:17 +01:00
Alexander Ljungberg
050fcf2ab8
New: CPThemeStateFirstResponder for CPView.
...
When a CPView becomes the first responder it now takes on the 'first responder' theme state, as does all its subviews. This allows it to naturally change appearance when it has the keyboard focus, such as with focus rings and brighter colour schemes.
2014-05-11 15:48:37 +01:00
Alexander Ljungberg
c9642fcf35
Test: CPLevelIndicatorTest.
...
Refs #2071 .
2014-05-09 23:24:50 +01:00
Alexander Ljungberg
79c257642c
New: visual test for warning/critical state in CPLevelIndicator.
...
This change makes sure there is both a level indicator which goes into warning and critical display mode for low levels and one which goes into the same for high levels in the manual test for level indicator.
Refs #2071 .
2014-05-09 23:04:02 +01:00
Alexander Ljungberg
b5f9501001
Test: CPObject isSubclassOfClass.
2014-04-16 23:01:17 +01:00
Martin Carlberg
e8e10d4224
Fixed: If receiver in the function objj_msgSend is a class we don't need to check if it is nil as a class can never be nil without the load has already failed.
2014-04-15 13:52:41 +02:00
Martin Carlberg
88d2ed9e93
Fixed: Forgot to commit the files for the new test case
2014-04-14 18:39:34 +02:00
Martin Carlberg
ab5674aa4e
Fixed: Send message test cases now work. Also added a test case for send message with 'self' as receiver
2014-04-14 16:38:34 +02:00
Martin Carlberg
0f5b36e9c5
Fixed: Code generated in test cases is corrected for the fast msgSend function
2014-04-09 17:02:28 +02:00
Antoine Mercadal
7ac37b75f3
Merge pull request #2097 from Asriwi/fix-textfield-placeholder
...
Fixed: show placeholder string while editing empty CPTextField
2014-04-03 10:50:05 -07:00
Antoine Mercadal
c6bd758793
Merge pull request #2087 from Dogild/CPAnimationDelegateProtocol
...
New: Added protocol CPAnimationDelegate
2014-04-03 10:40:07 -07:00
Alexander Ljungberg
1b351ad5bb
New: + CPColor checkerBoardColor for debug use.
...
This color has a standard 'transparency' checkerboard pattern which is especially useful for our scrolling tests where it makes scrolling easy to visualise.
Refs #2078 , #2079 .
2014-04-03 11:38:11 +01:00
Alexandre Wilhelm
104761d064
Fixed: AppController of CPAnimationTest does not implement protocol CPAnimationDelegate
2014-03-27 12:21:38 -07:00
Alexandre Wilhelm
7ccdc50637
New: Added protocol CPAnimationDelegate
...
Added protocol CPAnimationDelegate.
Also, now, delegate methods are called as we are used to do it in Cappuccino
Test app in Tests/Manual/CPAnimationTest.
2014-03-27 12:11:22 -07:00
Ashley Williams
d5c48567b3
Test: added manual test case to check for placeholder.
...
Refs #2049
2014-03-23 17:05:57 -07:00
Alexander Ljungberg
d51f179c2d
Fixed: error when running some XML tests with rhino.
...
This problem causes error in Travis that are not errors with JSC.
2014-03-10 22:44:00 +00:00
Saikat Chakrabarti
647686e68e
Fix CPViewTest
2014-03-10 12:17:23 -07:00
Saikat Chakrabarti
45df8c0f74
Fix bug with unsetThemeState + more tests.
2014-03-09 15:15:11 -07:00
Alexander Ljungberg
633445883e
Test: CFPropertyList.propertyListFromXML.
...
These tests validate some basic edge cases with the parsing of XML plists.
Refs #2051 .
2014-03-06 14:09:18 +00:00
Alexander Ljungberg
e6acc3c336
Fixed: missing var, minor tweaks.
...
Refs #2073 .
2014-03-06 14:03:46 +00:00
Saikat Chakrabarti
2fd8940c02
Allow array arguments to various methods that take ThemeStates
2014-03-01 23:11:24 -08:00
Saikat Chakrabarti
68952b273b
Add a bunch of unit tests for CPTheme.j
2014-02-21 14:30:09 -08:00
Saikat Chakrabarti
8b2f2fe24d
Add new unit tests for CPView
2014-02-21 13:11:08 -08:00
Saikat Chakrabarti
7d304fbd51
First round of changes to change theming system to use arrays and not bitmasks as their underlying datatype
2014-02-20 17:30:27 -08:00
Alexander Ljungberg
c6dd18ce40
Fixed: typo.
2014-02-13 12:41:20 +00:00
Alexander Ljungberg
a31ad2c367
Fixed: CPAttributedString isEqual: despite attribute differences.
...
As soon as a range reached the end of the string the equality test would end with a YES, without even comparing the final attribute dict.
2014-02-13 12:41:14 +00:00
Alexander Ljungberg
7e20422e20
Test: CPAttributedString coding.
2014-02-13 12:17:55 +00:00
Alexander Ljungberg
f72119f1b6
Formatting: CPAttributedStringTest.
...
Refs #2045 .
2014-02-12 21:57:44 +00:00
daboe01 and Alexander Ljungberg
a34ae45b05
formatting
2014-02-12 21:57:44 +00:00
daboe01 and Alexander Ljungberg
c2534ae6da
unit-tests + simplification
2014-02-12 21:57:44 +00:00
cacaodev
93b48ba973
Fixed: support for dates (CPDatePicker) in CPPredicateEditor
...
Before this commit, row templates and views belo,ging to them were copied via archiving/unarchiving.
This was causing problems when the view was not completely CPCoding compliant, like for CPDatePicker.
With this commit, template views use CPCopying (-copy method) when available.
Also added CPCopying for CPDatePicker as a category in CPPredicateEditor.
Test: in CPPredicateEditorTest, on the right panel, choose a keypath, operator, and select 'Dates' in the popup for the right expression.
Fixes #2041
2014-01-17 10:49:52 +01:00
Antoine Mercadal
4622600ab0
Merge pull request #2031 from Dogild/protocolTableView
...
New : Added protocols CPTableViewDelegate and CPTableViewDataSource
2014-01-14 14:47:39 -08:00
Alexandre Wilhelm
e822966464
Fixed: removed unused test case
2013-12-10 11:00:47 -08:00