Here’s a quick update on what’s new with Cappuccino in the last month.
Cappuccino
News
The graphical
CPDatePickernow disallows dates outside of the specifiedminDateandmaxDate. (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 -needsLayouthave 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,distinctUnionOfArraysanddistinctUnionOfSets. (Dogild - PR)The method
CPTableView -viewAtColumn:row:makeIfNecessaryhas 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
CPDomDisplayServerSetStyleBackgroundSizetoCPDOMDisplayServerSetStyleBackgroundSize. (ahankinson - PR)Removed unreachable code in
CPDOMDisplayServer.h. (ahankinson - PR)The
CPStepperclass initializer methods returns an object of typeidinstead ofCPStepper. (ahankinson - PR)The
CPTableViewclass 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)
CPDatePickerwill now raiseCPInvalidArgumentExceptionif given an invalid date. (Dogild - PR)The divider color of a
CPSegmentedControlnow has the expected color. (Dogild - PR)CPPopoverupdates its position when the frame of one of its superviews has changed. (Dogild - PR)When the auto-complete menu for a
CPTokenFieldis 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)