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
daboe01
61848c5e24
fixed: selection was not properly restored upon undo/redo
2016-12-12 20:29:19 +01:00
Martin Carlberg and GitHub
60b2f7d243
Merge pull request #2513 from daboe01/fix-combobox-scroll-issue
...
Fixed: legacy scrollers were not clickable under some circumstances
2016-12-12 13:16:01 +01:00
daboe01
d2a5e126ae
fixed: native rich text was parsed when pasted into plain textview
...
+ newline fix in rtf parser
2016-12-11 22:42:43 +01:00
daboe01
9d7d8ddde9
fixed: native rich pasting pasted rich text into plain textviews
2016-12-11 14:05:51 +01:00
Martin Carlberg and GitHub
249ebeb4aa
Merge pull request #2517 from daboe01/fix-initial-blinking-on-sheet
...
Fixed: caret did not blink in empty textview, e.g. when on freshly opened popover
2016-12-10 11:11:13 +01:00
daboe01
378c14d790
formatting
2016-12-09 23:53:08 +01:00
daboe01
30c1093c2f
fixed: rich native pasting caused FF to flicker
2016-12-09 23:45:16 +01:00
daboe01
b966c8cb0b
formatting
2016-12-09 21:35:42 +01:00
daboe01
38cddf029b
fixed: rich native pasting was not using the rtf pasteboard type on chrome
2016-12-09 21:32:21 +01:00
Martin Carlberg and GitHub
6652a27781
Merge pull request #2518 from cacaodev/CPControl-usesSingleLine
...
New: Allow a text based control to stay on a single line when text wraps.
2016-12-09 15:13:28 +01:00
daboe01 and cacaodev
08b067cfc5
fixed: cared was blinking during typing ( #2519 )
2016-12-04 13:33:24 +01:00
cacaodev
d42562fdcb
New: Allow a text based control to stay on a single line when wrapping
...
A private flag have been added in _CPImageAndTextView. It must be set
to YES when it does not make sense for a control to hold multiline text.
This is now the case for all CPSegmentedControl.
Test: In CPSegmentedControlTest, hit « Add Segment with flexible
width » button. The new label should be vertically centered.
2016-12-02 09:10:39 +01:00
Alexandre Wilhelm and GitHub
1e0aacd811
Merge pull request #2511 from cacaodev/CPObjet-instancesImplementSelector
...
New: CPObject -instancesImplementSelector:(SEL)aSelector
2016-11-22 22:44:30 -08:00
daboe01
329469fe84
fixed: _textContainerOrigin.y was not respected when predicting the cared position in empty textview
2016-11-20 22:36:24 +01:00
daboe01
93b0c5a7e5
fixed: font height was nil under certain circumstances
2016-11-20 21:44:08 +01:00
daboe01
9e456fd315
Merge remote-tracking branch 'cappuccino/master'
2016-11-20 15:31:25 +01:00
daboe01 and cacaodev
8203c71b03
fixed: CPTextView's needsPanelToBecomeKey did not return YES ( #2512 )
...
This is confirmed to conform to cocoa.
2016-11-17 16:43:54 +01:00
daboe01
3c27e57b19
fixed: native rich pasting curly braces crashed chrome
2016-11-15 21:02:04 +01:00
daboe01
b46b2f048d
fixed: native paste on chrome was not working as robustly as it should
2016-11-14 23:09:04 +01:00
cacaodev
8d403f579c
FIxed: IB connections in CPTabViewNibTest
2016-11-14 22:03:51 +01:00
daboe01
12b274ab43
formatting
2016-11-13 22:55:29 +01:00
daboe01
986cccb800
fixed: legacy scroller was not clickable under some circumstances
2016-11-12 23:03:45 +01:00
cacaodev
5da8728d6c
New: CPObject instancesImplementSelector:(SEL)aSelector
...
Tests if instances of given class implement a selector.
With test.
Note: The naming is from cocoa where this method is semi-public.
2016-11-12 18:30:02 +01:00
daboe01
da0910b1e5
Merge remote-tracking branch 'cappuccino/master'
2016-11-08 19:34:28 +01:00
cacaodev
947d552509
Fix merging
2016-11-07 22:57:33 +01:00
cacaodev
037bc4ea2b
Test: demonstrate the new wantsPeriodicFrameUpdates animator property
...
In Tests/Manual/CPAnimatablePropertyContainerTest/
2016-11-07 22:26:30 +01:00
cacaodev
cfbef141d8
CPAnimationContext: Inhibit DOM updates during size animation
...
Previously, during frame updates, we were writing the css values we
just read before.
Canvas sizing is preserved as it is needed when the view has custom
drawing.
2016-11-07 22:26:30 +01:00
cacaodev
410ad0dc09
Style: print debug logs in debug mode only
2016-11-07 22:26:29 +01:00
cacaodev
3d9b42f0c2
Style: CSSAnimation.j linting
...
Using default eslint config for js
2016-11-07 22:26:29 +01:00
Didier Korthoudt and cacaodev
eeea21c882
Fixed: CPViewAnimator was not giving correct frame information ( #2502 )
...
Fixed: When only animating frameSize, there’s no matrix defined. This is now
correctly handled.
New: The animator can explicitly request frames updates when the frameOrigin
keyPath changes with the new method [animator setWantsPeriodicFramesUpdates:YES]
2016-11-07 22:20:55 +01:00
Alexander Ljungberg
ef1d6c78ac
Merge branch 'master' of github.com:cappuccino/cappuccino
2016-10-30 21:06:25 +00:00
Alexander Ljungberg
f36406af08
Text tweak.
2016-10-30 21:05:54 +00:00
Alexandre Wilhelm and GitHub
4b7d215d9d
Merge pull request #2498 from daboe01/fixed--font-can-be-nil
...
Fixed: font can be nil sometimes
2016-10-30 13:52:03 -07:00
daboe01
e09f12dc0b
fixed: accessors for _font were not used sometimes
2016-10-26 19:58:21 +02:00
daboe01
efa7406741
fixed: typing font was nil in sometimes cib-generated textviews
2016-10-26 19:53:59 +02:00
daboe01
5a2181c064
Merge remote-tracking branch 'cappuccino/master'
2016-10-26 19:51:22 +02:00
cacaodev
dda81b12da
Revert "nib2cib: discard warnings in the nib file."
...
This reverts commit 4e11152e76 .
2016-10-22 08:40:38 +02:00
Martin Carlberg and GitHub
c4bf67d133
Merge pull request #2496 from cacaodev/cptabview-initial-selection
...
Fixed: CPTabView should not allow empty selection
2016-10-21 18:16:31 +02:00
daboe01
f355c8679d
Merge remote-tracking branch 'cappuccino/master'
2016-10-21 17:38:56 +02:00
cacaodev
095864de39
Fixed: CPTabView should not allow empty selection
...
Before this commit, a tab view could have an empty selection with the
following circumstances:
- The tab view was not created in IB
- the Tab View selection had not binding management
With test.
2016-10-21 10:13:47 +02:00
cacaodev and GitHub
0eb196e852
CPTabView: load tab view items asynchronously when possible ( #2479 )
...
When an item created with +tabViewItemWithViewController:, the view is loaded asynchronously
Manual test CPTabViewNib have been modified to show a tab view item
managed by a view controller. Any setup happens in
-viewDidAppear: because we cannot use any more the
tabView:didSelectTabViewItem: delegate method.
2016-10-20 17:24:18 +02:00
cacaodev and GitHub
62e5d8d841
Fixed: type declaration
2016-10-20 08:48:01 +02:00
cacaodev and GitHub
2f82fb842d
Merge pull request #2495 from daboe01/fixed--typo-in-CPControl-comment
...
Fixed: typo in CPControl comment
2016-10-19 08:37:27 +02:00
daboe01
f9fa6abbad
fixed: small typo in comment
2016-10-18 21:46:21 +02:00