up

Cappuccino News 2014 October 1st

Every two weeks, we show you how Cappuccino is growing.

Cappuccino

New
  • The method -(void)bind:toObject:withKeyPath:options: now checks if another exclusive binding exists. (cacaodev - PR)

  • Added the private method +(void)_reverseSetValueFromExclusiveBinderForObject: in CPBinder to send the value back to the bound object when you don’t know the original binding name. (cacaodev - PR)

Changes/Fixes
  • Display-issue in Google Chrome has been fixed by not having a negative z-index. (daboe01 - PR)

  • The method -(void)activateIgnoringOtherApps: activates the Cappuccino application again. (daboe01 - PR)

  • The method -(void)unbindAllForObject: of the class CPBinder works again. (RoosterDragon - PR)

  • Memory leaks in CPImageView due to the CPImageDidLoadNotification has been resolved. (RoosterDragon - PR)

  • Added option CPDiacriticInsensitiveSearch in CPString for the method -(CPRange)rangeOfString:options:range:. Added support for strip variants of ‘E’ ‘I’ ‘O’ ‘U’. (sbalay - PR)

  • Memory leaks have been fixed for the class CPPopUpButton, CPRadio and CPSegmentedControl when using bindings. (cacaodev - PR)

  • The Objective-J VIM highlighting has been updated and is similar to the official Objective-C VIM highlighting and the official JavaScript VIM highlighting. (kevin-xu - PR)

  • The command jake works in the Cappuccino directory for non-MacOS system. (kevin-xu - PR)

  • The compiler now shows an error when the error is on the first line of the file. (mrcarlberg - PR)

  • Objective-J now gives an understandable error when the compiler can not find a protocol in a class declaration. (mrcarlberg - PR)

  • The methods -(void)viewDidMoveToSuperview, -(void)viewDidMoveToWindow, -(void)viewWillMoveToSuperview: and -(void)viewWillMoveToWindow: are now called as in Cocoa. They are even called when removing the view from its superview. (Dogild - PR)

  • Memory leaks due to notification observers have been fixed for the class CPColorWell, CPClipView, CPDatePicker, CPTableView and CPTextField. (Dogild - PR)

  • The CPDatePicker doesn’t send an action to its target when using the method -(void)setObjectValue: or -(void)setDateValue: anymore. (Dogild - PR)

  • The CPDatePicker now has the same behavior as a CPTextField in a CPTableView. When clicking on the CPDatePicker, we first select the row as in Cocoa. (Dogild - PR)

  • When encoding and decoding a CPTableView, several _CPTableDrawView were added to the view. Now only one _CPTableDrawView is added. (Dogild - PR)

  • Fixed an issue where the first responder would stop being the first responder when moved between two views in the same window. (Dogild - PR)

Cucapp

New
  • The category CPResponder+CuCapp.j now contains the method find_cucappID(). This function, accessible from the JavaScript console, prints every component equal to the given parameter of find_cucappID. (Dogild - PR)
Changes/Fixes
  • Correctly set key code of the CPEvent when simulating a keyboard event. (Dogild - PR)

  • Simulated events now use integral location points. (Dogild - PR)

RSS
Posted by Alexandre Wilhelm
on Oct 01, 2014.
Tagged cappuccino, update.
comments powered by Disqus