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:
inCPBinder
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 classCPBinder
works again. (RoosterDragon - PR)Memory leaks in
CPImageView
due to theCPImageDidLoadNotification
has been resolved. (RoosterDragon - PR)Added option
CPDiacriticInsensitiveSearch
inCPString
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
andCPSegmentedControl
when using bindings. (cacaodev - PR)The
Objective-J
VIM highlighting has been updated and is similar to the officialObjective-C
VIM highlighting and the officialJavaScript
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
andCPTextField
. (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 aCPTextField
in aCPTableView
. When clicking on theCPDatePicker
, 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 methodfind_cucappID()
. This function, accessible from the JavaScript console, prints every component equal to the given parameter offind_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)