Here’s a quick update on what’s new with Cappuccino in the last month.
Cappuccino
News
The graphical
CPDatePicker
now disallows dates outside of the specifiedminDate
andmaxDate
. (daboe01 - PR)By default, Cappuccino now draws in high DPI when using
canvas2D
. You can disable this feature globally using the methodCPView +setAllowsHighDPIDrawing:
. (Dogild - PR)CPView -setNeedsLayout:
andCPView -needsLayout
have been added. This makes it possible to choose not to lay out a view when needed, whereas previously once a layout had been scheduled it would always occur. (Dogild - PR)Cappuccino now supports the KVC operators
unionOfObjects
,distinctUnionOfObjects
,unionOfArrays
,distinctUnionOfArrays
anddistinctUnionOfSets
. (Dogild - PR)The method
CPTableView -viewAtColumn:row:makeIfNecessary
has been added. (Dogild - PR)
Changes/Fixes
Fixed:
CPObjectController -setValue:forKey:
incorrectly used the key as the value. (krodelin - PR)Changed the name of the method
CPDomDisplayServerSetStyleBackgroundSize
toCPDOMDisplayServerSetStyleBackgroundSize
. (ahankinson - PR)Removed unreachable code in
CPDOMDisplayServer.h
. (ahankinson - PR)The
CPStepper
class initializer methods returns an object of typeid
instead ofCPStepper
. (ahankinson - PR)The
CPTableView
class has been refactored and optimized. The methodsCPTableView -preparedViewAtColumn:row:
andCPTableView -enumerateAvailableViewsUsingblock:
have been added. (cacaodev - PR PR PR PR PR PR)Duplicated unit tests have been removed or renamed. (Dogild - PR)
CPDatePicker
will now raiseCPInvalidArgumentException
if given an invalid date. (Dogild - PR)The divider color of a
CPSegmentedControl
now has the expected color. (Dogild - PR)CPPopover
updates its position when the frame of one of its superviews has changed. (Dogild - PR)When the auto-complete menu for a
CPTokenField
is open, the Enter key is no longer forwarded to the application. (Dogild - PR)
Cucapp
News
Fixed: Cucapp imported
<AppKit/AppKit.j>
. This could raise exceptions when testing a compiled application. (Dogild - PR)The Cucapp’s CLI now logs informations when clicking on a
CPView
. (Dogild - PR PR)
OJTest
New
- New: OJTest raises a warning when a test method has already been declared in the same test class. (Dogild - PR)