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
Antoine Mercadal
1922ef974b
Merge pull request #2180 from kevin-xu/kevin-xu-branch
...
Fixed: bootstrap.sh cannot filter the OpenRDK version key out correctly.
2014-08-28 22:42:01 -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
cf0b4c8f03
Fixed: added CPView test for the method addSubview
2014-08-28 22:23:20 -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
kevin-xu
75a4d8a2b9
Fixed: bootstrap.sh cannot filter the OpenRDK version key out correctly.
...
When running ./bootstrap.sh, it will print the error message:
"./bootstrap.sh: line 138: [: too many arguments"
This fix correct it by filtering out the OpenRDK Runtime Environment line.
Fixes #2179
2014-08-28 20:14:35 -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
daboe01
b24f5b6ad6
fixed unit test
2014-08-24 14:12:44 +02:00
Christophe Serafin
3dbce0e800
move DOMElement.style.backgroundSize to CPDomDisplayServerSetStyleBackgroundSize equivalent method
2014-08-22 10:09:09 -07:00
Christophe Serafin
872fd126f4
fix style
2014-08-22 10:07:56 -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
d1985bad3b
update Nib2CibAlignment test
2014-08-18 13:09:51 -07:00
Christophe Serafin
c83a4dc8e4
fix _adjustNib2CibSize calls
2014-08-18 13:09:15 -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
1b639ab978
Improve test XIB
2014-08-15 01:01:47 -07:00
Antoine Mercadal
4828f7478e
Merge branch 'master' into themeable-rule-editor
2014-08-14 21:05:58 -07:00
Antoine Mercadal
9646f7039a
Update XIB
2014-08-14 21:05:16 -07:00
Antoine Mercadal
6f921028de
do not call again _adjustNib2CibSize
2014-08-14 21:04:57 -07:00
Antoine Mercadal
2508db0550
Remove usless computation
2014-08-14 21:04:32 -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
Antoine Mercadal
a2d9c1aa72
Merge pull request #2174 from Dogild/PopoverDelegate
...
Fixed: delegate popover did show not called with a none animate CPPopover
2014-08-14 20:59:29 -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