Here’s a quick update on what’s new with Cappuccino in the last month.
Community
The Cappuccino Core Team are planning to organize a conference about Cappuccino and how people are using it. Please let us know if you would like to join this event by taking this survey.
More information here.
Cappuccino
News
New:
CPURLConnection +sendAsynchronousRequest:queue:completionHandler:. (cacaodev - 8809c16)New: ability to localize a Cappuccino application. An app can be localized through
stringsandcibs. The language to use is selected from the brower or from theInfo.plist. (Dogild - 686f931)New: ability to more widely theme AppKit: in particular
CPColor alternateSelectedControlColorand relatedCPColorfields can now be themed. (Dogild - 1fe1e6f)New:
CPRunLoop -performBlock:argument:order:modes:. (Dogild-d5f38fe)
Changes/Fixes
Fixed:
CPImage -sizereturned internal object ref. (aparajita - 526181a)New:
CPTabViewimprovements. The methodsCPTabViewItem -tabViewItemWithViewController:andCPTabViewItem -setImage:have been added. New bindings options (CPContentBinding-CPSelectedIndexBinding-CPSelectionIndexesBinding) have been added toCPTabView. (cacaodev - d5b90c9)Fixed:
CPTabView -insertTabViewItem:atIndex:. (cacaodev - d5b90c9)Fixed:
CPDictionary -initWithObjectsAndKeys:andCPDictionary -initWithObjects:forKeys:was not compliant with Cocoa when duplicated keys were passed to the method. (mrcarlberg - 912930Optmization: some AppKit speed improvements through the use of the new
objj_msgSendin some places includingCPTableViewandCPWindow. (mrcarlberg - 4b81e0dFixed: crash when a new
CPPlatformWindowwas blocked by the browser when opening (adblock for instance). (Dogild - 40a9f19)Optimization:
CPView -layoutSubviewsandCPView -viewWillLayout. (Dogild - f062fda)Fixed: the param queue of the method
CPNotificationCenter -addObserverForName:object:queue:usingBlock:was ignored. It now creates a new operation and adds it to the given queue if needed. (Dogild - 3e29732)Tests: new unittests for the method
CPString -stringByReplacingCharactersInRange:. (Dogild - b04e576)Fixed: copy and pasty did not work properly in a new
CPPlatformWindow. (Dogild - d4b1680)Fixed: timing key responder issue when a
CPTextFieldbecame the first key responder. (Dogild-d5f38fe
Cucapp
News
New:
jake installforcucapp. The command will installcucappinnarwhaland every gems needed (Cucumber,Thin,Nokogiri,LaunchyandJSON). (Dogild - e0f276e)New: added the command
cucapp. This command allows you to create a testing architecture in your Cappuccino application. The architecture provides a new commandjake cucumber-test, creates a soft link wherecucappis installed and creates every file needed to create cucumber tests. (Dogild - e0f276e)
Change/Fixes
OJTest
New
Changes/Fixes
Fixed: use runtime functions instead of accessing attribute names directly. (mrcarlberg - f799634)
Fixed:
CPRunLoopwas not called at the end of every tests. (Dogild - def9006)