Antoine Mercadal
90c60cc5e4
Merge pull request #2184 from daboe01/patch-1
...
Fixed: typo in scrollRectToVisible: documentation
2014-09-04 13:56:26 -07:00
Antoine Mercadal
e79ab4f47a
Merge pull request #2190 from Dogild/text-ColorDatePicker
...
Fixed: wrong text-color for CPDatePicker
2014-09-04 13:55:32 -07:00
Antoine Mercadal
4e946cbb27
Merge pull request #2185 from daboe01/backport-closebutton-aristo
...
Fixed: Aristo1 close button of inactive windows looks like as in active windows
2014-09-04 13:55:11 -07:00
Antoine Mercadal
d5c5070e59
Merge pull request #2191 from t00f/fix#2182
...
Fixed truncated CPRadio / CPRadioGroup. #2182
2014-09-04 13:54:47 -07:00
Alexandre Wilhelm
1a7f7cb197
Fixed: CSS style background-size doesn't change its value when changing frameSize
...
Previously, when changing the frameSize of a CPView, the style background-size wasn't changed with.
This raised issue with threePartImage.
Fixed #2187
2014-09-04 13:42:25 -07:00
daboe01
ecab61929e
formatting
2014-09-04 18:00:13 +02:00
daboe01
ab4f0f87ca
bump zIndex by 1 to avoid -1
2014-09-04 17:51:59 +02:00
Alexandre Wilhelm
ae5b3c4c2d
Fixed: CPDatePicker textual and graphical doesn't work in a CPTableView
...
Previously, when using a textual or graphical CPDatePicker in a CPTableView Cappuccino crashed.
This PR fix this issue by adding the subviews of a CPDatePicker in the method layoutSubviews instead of in the initialization.
This PR add another feature on the graphical CPDatePicker, the button next and previous month are now in the mode continuous as in Cocoa.
2014-09-03 16:09:58 -07:00
Christophe Serafin
8420f6ccfe
Fixed: CPRadioGroup were truncated
...
Since PR #2170 , CPRadioGroup were truncated because they are specific components translated into a NSMatrix (CPView) object.
This fix sets CPRadio controlSize according to xCode value and uses its frame adjustment to adjust CPRadio inside a CPRadioGroup.
2014-09-02 17:39:33 -07:00
Alexandre Wilhelm
f007ecf6c5
Fixed: wrong text-color for CPDatePicker
...
Previously the color of a CPDatePicker wasn't black as a CPTextField
Fixed #2188
2014-09-02 13:17:07 -07:00
daboe01
758a023267
style
2014-08-31 21:21:42 +02:00
daboe01
fe6a576d84
add special close button for inactive windows
2014-08-31 21:16:36 +02:00
daboe01
d4f2d99a6b
Fixed: typo in scrollRectToVisible: documentation
2014-08-31 13:48:34 +02:00
Antoine Mercadal
cb390325a6
Merge pull request #2170 from t00f/themeable-rule-editor
...
ControlSize management and CPRuleEditor/CPPredicateEditor alignments
2014-08-29 10:11:05 -07:00
Alexandre Wilhelm
de495aa1c5
Fixed: _removeObservers called in orderFront, we don't need this as addObservers and removeObservers work with boolean to check if the observers are set or not
2014-08-28 22:28:41 -07:00
Alexandre Wilhelm
aa4a4b07d8
Fixed: method viewWillMoveToWindow and viewDidMoveToWindow not called when when adding a view to a view without a window where the previous superview had a window
2014-08-28 22:22:50 -07:00
Antoine Mercadal
b92214461e
FIXED: Some tooltips was truncated
...
This patch adds a small size adjustment when we compute the size of the
tooltip. It seems to fix all truncated tooltips problem.
2014-08-28 19:02:22 -07:00
Antoine Mercadal
3f4ba87079
FIXED: Tooltip content alignement was mistakely set to be justified
...
This patch ensure the tooltip content is left aligned correctly
2014-08-28 18:30:55 -07:00
Antoine Mercadal
f1cfa14750
FIXED: buttons in CPButtonBar were never removed from the CPButtonBar
...
Previsouly, layoutSubview was layouting the visible buttons, but it was not removing them from
the buttonbar
2014-08-28 17:26:22 -07:00
Christophe Serafin
3dbce0e800
move DOMElement.style.backgroundSize to CPDomDisplayServerSetStyleBackgroundSize equivalent method
2014-08-22 10:09:09 -07:00
Christophe Serafin
efca50c6ac
fix style
2014-08-22 10:07:29 -07:00
Antoine Mercadal
3cf013b25b
Merge pull request #2178 from Dogild/CPOUtlineView-fix-reuseItem
...
Fixed: crash of the CPOutlineView when reloading and changing an item to another parent
2014-08-21 10:42:58 -07:00
Alexandre Wilhelm
92a5fa19fb
Fixed: crash of the CPOutlineView when reloading and changing an item to another parent
...
Previously, when reloading the CPOutlineView and changing an item to another parentItem, the CPOutlineView deleted the reference of the item.
Now, when removing old data to avoid memory leaks, the CPOutlineView checks if the pending item to delete doesn't have another parent item.
2014-08-20 18:32:20 -07:00
Alexandre Wilhelm
1fcf13d149
Fixed: added optimization for releasing observers
2014-08-20 16:13:59 -07:00
Alexandre Wilhelm
bd20050db8
Fixed: added a boolean to avoid to addObservers seveal times
2014-08-20 15:23:10 -07:00
Alexandre Wilhelm
ce0233d0a2
Fixed: revert commit abdf1156d4 for CPComboBox
2014-08-20 15:11:21 -07:00
daboe01
ce777348b3
cursor up/down+ frames protection
2014-08-20 23:09:53 +02:00
daboe01
c052325487
various fixes and cleanup
2014-08-20 22:39:15 +02:00
Alexandre Wilhelm
0479e9b3f3
Fixed: make sure to remove observers when opening a CPWindow
2014-08-19 17:52:24 -07:00
Alexandre Wilhelm
abdf1156d4
Fixed: memory leaks with CPNotifications
...
Previously, when removing a view, Cappuccino didn't clean the notification center. The notification center kept in reference old views.
This PR fix this issue. When a CPView is added to a view, the methods _removeObservers and _addObservers are called. In these both methods we remove and add the observer to the notification center if needed. _removeObservers and _addObservers are called for the view and its subviews. These both methods are called through the method viewWillMoveToSuperview.
When a CPView is removed, we only call the method _removeObservers.
When a CPWindow is closed, we call the method _removeObservers on its contentView.
When a CPWindow is about to be opened, we call the method _removeObservers and _addObservers on its contentView.
Refs #1880
Refs #2024
Test app in Tests/Manual/AttachedSheet2/SheetWindowController.j
2014-08-19 17:45:01 -07:00
Alexandre Wilhelm
9ed30f563a
Fixed: Methods viewDidMoveToSuperview viewDidMoveToWindow viewWillMoveToSuperview viewWillMoveToWindow not called as in Cocoa
...
Previously, when adding, removing, replacing a CPView, the framework didn't call the methods viewDidMoveToSuperview, viewDidMoveToWindow, viewWillMoveToSuperview and viewWillMoveToWindow as in Cocoa. Now it does.
The main change is that these methods will be called when removing a CPView.
Added unit-test in Tests/AppKit/CPViewTest.j
2014-08-19 14:26:26 -07:00
Christophe Serafin
5484bbf8bf
fix Aristo and Aristo2 alignments
2014-08-18 13:08:47 -07:00
Christophe Serafin
62e8d70d74
fix _adjustNib2CibSize calls
2014-08-18 13:08:09 -07:00
Alexandre Wilhelm
b2f1477b45
Fixed: wrong condition in CPApplication
2014-08-15 16:37:03 -07:00
Christophe Serafin
7323a5e393
fix disappearing buttons
2014-08-15 09:04:26 -07:00
Christophe Serafin
f8205cc376
realign Aristo2 buttons for fix 6f9210
2014-08-15 08:20:46 -07:00
Antoine Mercadal
4828f7478e
Merge branch 'master' into themeable-rule-editor
2014-08-14 21:05:58 -07:00
Antoine Mercadal
775141b7f7
Merge branch 'themeable-rule-editor' of https://github.com/t00f/cappuccino into themeable-rule-editor
2014-08-14 21:03:45 -07:00
Christophe Serafin
4b639843ec
fixed buttons positions and extended Nib2CibAlignment test
2014-08-14 18:18:08 -07:00
Christophe Serafin
464389a862
update nib2cib-adjustment-frame to match Nib2CibAlignment Test. Except for button in small and mini sizes
2014-08-14 14:17:57 -07:00
Alexandre Wilhelm
48b3eb259d
Fixed: delegate popover did show not called with a none animate CPPopover
...
Previously, the delegate popoverDidShow wasn't called with an none animated CPPopover.
2014-08-14 14:10:37 -07:00
daboe01
4cebfbcd13
removed collectionViewDidChangeSelection
2014-08-14 22:57:05 +02:00
daboe01
1767cf8ad4
formatting+nil equality
2014-08-14 22:41:59 +02:00
daboe01
b1981bb70c
fix activateIgnoringOtherApps:shouldIgnoreOthe...
2014-08-14 22:27:46 +02:00
Christophe Serafin
3dc581efbb
introduce nib2cib-adjustment-frame as theme attribute to enbable proper control alignment
2014-08-14 10:54:38 -07:00
Christophe Serafin
655cc3256c
remove arbitrary CONTROL_HEIGHT
2014-08-14 10:45:12 -07:00
daboe01
ce69410f49
revert of breaking change wrt backspace
2014-08-14 18:21:53 +02:00
daboe01
5f0be0cc7f
make storage length zero more tolerant
2014-08-14 14:14:49 +02:00
Andrew Hankinson
dca6347ea9
Fixed: Remove lingering references to i
...
Refs 75e347e8e3
2014-08-14 07:19:53 -04:00
daboe01
94c4db9072
fixed equality operator
2014-08-14 07:17:00 +02:00