cacaodev
cee032bbc9
FIXED: send live resize notifications when the window animates
...
Like in cocoa, these notifications are not sent when a sheet is
displayed.
2017-06-02 09:42:59 +02:00
cacaodev
ac193cd97a
Test: Add liveResize testing in CPWindowResizeStyle manual test
...
The window title changes during live resize.
2017-05-30 19:06:50 +02:00
cacaodev
0f767d9dfc
CPWindow: add CPWindowWillStartLiveResizeNotification and CPWindowDidEndLiveResizeNotification
...
Also fixed CPView -(BOOL)inLiveResize
If a view is added during a live resize, it will not receive a
willStart notif.
If a view is removed during a live resize it will not receive a Didend
notif.
2017-05-20 13:52:50 +02:00
Martin Carlberg
d0cd976246
Fixed: Get class method instead of instance method
...
When asking a protocol for a specific class method we asked each super protocol for an instance method.
Thanks Frank for finding this!
2017-04-11 12:30:16 +02:00
cacaodev and GitHub
f18074bf49
Merge pull request #2532 from cacaodev/CPWindowAnimator
...
New: Optional declarative layout for use in CoreAnimation (css animations).
Code refactor.
2017-03-13 08:34:01 +01:00
cacaodev and GitHub
3f64b74453
Merge pull request #2533 from cacaodev/CPCompatibility-SetFeature
...
NEW: CPCompatibility: add a function to set a feature externally.
```CPSetPlatformFeature(aFeature, aBool)```
2017-03-13 08:28:51 +01:00
cacaodev
1c86256f83
Add CPCSSAnimationFeature to CPCompatibility constants
2017-03-02 11:21:57 +01:00
cacaodev
98105ad4dc
Merge branch 'CPCompatibility-SetFeature' into CPWindowAnimator-copy
2017-03-02 10:57:23 +01:00
cacaodev
6bf2d6c1ab
Move css animation creation & frame updaters to CPViewAnimator
...
Reason: • consistency : animations handled by animator.
• Views can now animate several DOM elements. For example
a view with a nine part image need to animate its sub divs.
• Do not create any css animation when the start and end values are
equal and there is no intermediate values.
+ This commit adds an optional method to CPView
- (CGRect)frameRectOfView:(CPView)aView inSuperviewSize:(CGSize)aSize
Returns the frame of a view given its superview frame. This will allow
views implementing -layoutSubviews to gain an optional declarative
layout. The animation system will use this method to compute the end
value of an animation.
2017-03-02 10:30:09 +01:00
cacaodev
cebd51aac1
reduce the number of args in a private method
2017-03-02 10:30:08 +01:00
cacaodev
42b8b3aa75
Ask the animator if periodic frame updates are needed
2017-03-02 10:30:08 +01:00
cacaodev
c0eaf79d25
Remove jshashtable.js in favor of Map()
2017-03-02 10:30:07 +01:00
cacaodev
fb2fe3eb63
Enable forced frame updates in CPViewAnimator
2017-03-02 10:30:07 +01:00
cacaodev
184d63f7eb
Move the FrameUpdater function to CPViewAnimator
2017-03-02 10:30:07 +01:00
cacaodev
14ebd58c96
Move CFRunLoopObserver to CPRunLoop.j as a global function
2017-03-02 10:30:05 +01:00
cacaodev
3edddb8e91
Add CSSAnimation.description() function
2017-03-02 10:30:05 +01:00
cacaodev
d2340dff1a
Style, whitespace
2017-03-02 10:30:04 +01:00
cacaodev
d30c6aec7d
Fix label in demo (AutoSize checkbox)
2017-03-02 09:56:47 +01:00
cacaodev
4854b3e08f
Fix typo
2017-03-02 09:48:12 +01:00
cacaodev
facc748090
NEW: CPCompatibility add a function to set a feature externally.
...
CPSetPlatformFeature(aFeature, aBool)
2017-03-01 19:10:00 +01:00
cacaodev and GitHub
5c71612e34
Typo
2017-02-10 20:01:57 +01:00
cacaodev and GitHub
f00a5fbaf4
Merge pull request #2531 from cacaodev/cptableview-diddragcolumn
...
FIXED: tableView:didDragTableColumn: was never sent
With tests.
Fixes #2530
2017-02-03 08:13:46 +01:00
cacaodev
34769da9cc
FIXED: tableview:didDragTableColumn: was never sent
...
With manual test.
2017-02-02 09:36:48 +01:00
cacaodev
458e6ed531
FiXED: CPTableColumn description
2017-02-02 09:34:17 +01:00
Martin Carlberg and GitHub
1a299d85b6
Merge pull request #2503 from enquora/master
...
Fix CPBox drawing artifacts when used in CPSeparator mode
2017-01-19 09:46:33 +01:00
David Richardson
1816274ebe
Revert "Fix CPBox drawing artifacts when used in CPSeparator mode"
...
This reverts commit 7596c66703 .
2017-01-17 11:59:26 -07:00
David Richardson
b02e4c5308
Handle case when CPBox is used as a separator line having no title
...
If _titlePosition is correctly set to CPNoTitle value, class already handles removing title view from display.
Previously, _titlePosition was not correctly set, title view was left in place.
With no supplied value for title, outline of title view was rendered with visible artifacts.
2017-01-16 11:23:32 -07:00
Martin Carlberg and GitHub
12ed42e163
Merge pull request #2505 from HTPC-Schrauber/fix-RegEx
...
Fixed: RegEx for gcc > 4.9
2017-01-16 12:36:57 +01:00
Martin Carlberg and GitHub
6c9c135062
Merge pull request #2525 from daboe01/new-textview-bindings
...
New: bindings support for CPTextView + dragging improvements
2017-01-16 12:24:56 +01:00
Martin Carlberg and GitHub
6aea0160df
Merge pull request #2508 from daboe01/fix-sizing-issue
...
Fixed: text-sizing by canvas and via DOM sizing differed by 1px
2017-01-16 12:20:06 +01:00
David Richardson
7734402e8e
Merge branch 'master' of https://github.com/cappuccino/cappuccino into enquora-master
2017-01-05 16:00:51 -07:00
daboe01
ace1332ca5
fixed: semipredicate issue caused typingAttributes being overwritten by placeholder attibutes
2016-12-28 23:16:03 +01:00
daboe01
baa313e8f8
fixed: insertion point was wrong sometimes when dragging beyond last character
2016-12-26 23:30:23 +01:00
daboe01
3d9aa24f3c
formatting
2016-12-26 23:18:24 +01:00
daboe01
c287d457d6
formatting
2016-12-26 22:14:12 +01:00
daboe01
7537b27a58
fixed: pboad types were wrong when unarchiving from cib
2016-12-26 22:11:11 +01:00
daboe01
1f560c92fc
fixed: dragging pasteboard was not respecting rich vs. plain
2016-12-26 21:49:36 +01:00
daboe01
74cd11c763
minor cleanup
2016-12-26 14:50:33 +01:00
daboe01
ee7d89331b
fixed: selection dragging was broken by changes to insertText
2016-12-26 12:50:16 +01:00
daboe01
5b51077823
fixed: changing the selection was possible despite isSelectable returning NO
2016-12-26 12:35:23 +01:00
daboe01
d2f94d1945
formatting
2016-12-26 11:53:49 +01:00
daboe01
0170a099bb
formatting
2016-12-26 11:50:25 +01:00
daboe01
2b893d0ea1
fixed: placeholder string was not supported in textview bindings
2016-12-26 11:47:33 +01:00
daboe01
a08da57cbb
fixed: reverse setting did not work
2016-12-26 10:56:43 +01:00
daboe01
a313fe5a86
add basic binder + manual test
2016-12-26 09:40:58 +01:00
daboe01
544de699f6
Merge remote-tracking branch 'cappuccino/master' into new-textview-bindings
2016-12-24 20:46:26 +01:00
daboe01
d9d35b7f50
add binder class router
2016-12-24 20:46:12 +01:00
daboe01
7dbec00f0e
Merge remote-tracking branch 'cappuccino/master' into new-textview-bindings
2016-12-18 21:07:21 +01:00
Martin Carlberg and GitHub
51b9b40c7e
Merge pull request #2515 from daboe01/chrome-rich-paste-fix
...
fixed: native paste on chrome was not working as robustly as it should [+1]
2016-12-13 09:40:18 +01:00
daboe01
b2383a084a
fixed: wrong name in CPTextView manual test
2016-12-12 22:32:00 +01:00