…ield Any Previously, cappuccino crashed when dragging the first line of a CPRuleEditor above the field any. Now we make sure, we can not drag over this limit.
Previously, the CPDatePicker took the key code CPReturnKeyCode all the time. It means, the key event wasn't redistributed to the other component, for example a defaultButton in a window. Now instead of returning YES, it returns [super performKeyEquivalent:anEvent]
Lastly, we removed the usage of max-size to enable some controls like CPTextField to have a specific height. This may caused a CPTextField to have a wrong height. As all controls in a CPPredicateEditor have a CPControlSize to small, we now force their height to the minimum size.
Previously the option of the observer in _CPPopoverWindow were set to 0, now it's set to CPKeyValueObservingOptionNew. This PR fix also another issue, the popoverWindow registered the observer in the wrong order. It firstly observed the frame of the sender and then removed it directly. Now it register when ordering front the popover and remove it when closing the popover
Previously, the button of a CPButtonBar were always removed and readded in the method layoutSubviews. Now we only remove the hidden button.
Previously, the CPDatePicker didn't have a focus ring when an user was editing it. Now it does. It works for Aristo1 and Aristo2. Test App in Tests/Manual/CPDatePickerTest Fixed #2263
Previously, the CPDatePicker didn't have a focus ring when an user was editing it. Now it does. It works for Aristo1 and Aristo2. Test App in Tests/Manual/CPDatePickerTest
+ fixed new warnings from master Conflicts: Foundation/CPNotificationCenter.j
…cationName object:(id)anObject queue:(id)queue usingBlock:(Function)block
…ationCenter Previously, the method addObserverForName:object::usingBlock: didn't exist in Cappuccino. Now it does. To observe, you need to use the method - (id <CPObject>)addObserverForName:(CPString)aNotificationName object:(id)anObject usingBlock:(Function)block To unregister observations, you pass the object returned by this method to removeObserver:. You must invoke removeObserver: or removeObserver:name:object:. Test /Tests/Foundation/CPNotificationCenterTest.j Fixed #2259