Alexandre Wilhelm
324d796aca
Fixed: issue with typingAttributes and selectingAttributes when the CPTextView was created from a xib
2015-09-30 11:29:55 -07:00
daboe01
1d3a8bcacd
fix for moveRight: with non-zero length selection
2015-09-30 12:19:04 +02:00
daboe01
dd187aef08
refactor rich copy: to CPTextView
2015-09-30 12:11:39 +02:00
daboe01
78b2c4d094
kvb fix for editable and selectable
2015-09-30 12:00:12 +02:00
daboe01
83876532d0
fix cursor position in empty textview
2015-09-26 22:56:17 +02:00
daboe01
edc824d05e
fix moveLeft line issue
2015-09-26 21:09:06 +02:00
daboe01
9a7869dd40
fix select the text just after you have deleted something
2015-09-26 21:03:58 +02:00
daboe01
1aa247d4da
no selection after undo
2015-09-26 20:57:25 +02:00
daboe01
93e8ec7f06
formatting
2015-09-02 09:04:39 +02:00
daboe01
ba1d1c3bac
fix for recent FF update
2015-09-02 09:02:04 +02:00
daboe01
fbaff2b75b
fix for FF40+
2015-09-02 09:00:29 +02:00
daboe01
9774e8807b
fix disappearing cursor
2015-08-31 23:40:18 +02:00
daboe01
b4dd3a9889
typing at the end fix
2015-07-18 17:44:18 +02:00
daboe01
4510b69798
refacturing
2015-07-14 19:29:46 +02:00
daboe01
84a3ee209a
fix cursor up newline issues
2015-07-09 20:45:23 +02:00
Alexandre Wilhelm
2cb6ddf3ca
Fixed: document was not wrap in a #if PLATFORM
2015-07-07 11:14:56 -07:00
daboe01
799622a932
Merge remote-tracking branch 'upstream/master' into NEW--CPTextView
2015-07-07 18:24:54 +02:00
Alexandre Wilhelm
4c1e22b0f6
Fixed: travis failed because the unittests tried to display a layer
...
Previously, the unittests for the CPDatePicker broke the tests suite of cappuccino. A CPDatePicker uses a CALayer, and the CALayer display methods wasn't wrap in a #if PLATFOrM(DOM). Now it does, so during the tests we do not try to access do the element document anymore.
This PR fixes also some warnings when compiling.
2015-07-06 14:14:39 -07:00
daboe01
2283652704
add missing ivar
2015-07-05 22:50:21 +02:00
daboe01
33fb2daabf
fix shift selection
2015-07-05 14:19:11 +02:00
daboe01
845aaad891
fix keywindow observer mechanics
2015-07-05 08:57:25 +02:00
daboe01
3c0b061220
cursor fixes
2015-07-04 21:18:40 +02:00
daboe01
af7de73f5c
fix dom protection
2015-07-04 19:24:52 +02:00
daboe01
1a8a9f0047
make dom protection more stringent
2015-07-04 19:17:22 +02:00
daboe01
f9e8875803
merge current master in
2015-07-04 16:46:24 +02:00
daboe01
e4c11d9a88
various fixes
2015-07-03 23:13:57 +02:00
daboe01
6d1d8da101
recursion fix
2015-07-03 22:56:58 +02:00
daboe01
77303e668f
fix missing reference
2015-07-03 21:03:28 +02:00
daboe01
72725b91c7
fix undefined constant
2015-07-03 20:56:14 +02:00
daboe01
46f50f55c2
various baseline fixes
2015-07-03 20:03:53 +02:00
daboe01
5e880f6bfa
Revert "_textContainer refac preparation"
...
This reverts commit 80cf88dcc1 .
2015-07-03 17:26:20 +02:00
Alexandre Wilhelm
058a73f8a0
New: added delegate methods applicationShouldTerminate and applicationShouldTerminateMessage
...
This PR adds the delegate methods applicationShouldTerminate and applicationShouldTerminateMessage in CPApplicationDelegateProtocol.
The delegate applicationShouldTerminate does not exactly work as in Cocoa. In Cocoa, this method is called in CPApp -terminate, but in cappuccino it is called in the method onbeforeunload of the window. In JS, this is the only time where we can prevent to reload the HTML page. If the developer cancel to reload the page, the browser will ask the user if he wants to reload or not the page thought (natural behavior of js).
The method applicationShouldTerminateMessage allows you to define what will be the text displayed in the confirmation alert.
Test app in Tests/Manual/CPPlatformWindow/
2015-07-02 16:35:35 -07:00
Alexandre Wilhelm
3f9f926c8e
New: added method closeAllPlatformWindows in CPPlatform
...
Added the method closeAllPlatformWindows in CPPlatform. This platform close all platform windows of the application (except the main one). This method is now used when reloading or leaving a cappuccino application, the application will now close every external window openend by the application.
2015-07-02 13:41:37 -07:00
daboe01
80cf88dcc1
_textContainer refac preparation
2015-07-02 19:56:54 +02:00
daboe01
dddc7f348f
fix lineheight issue during wrapping
2015-07-02 19:48:12 +02:00
daboe01
ce45f2e114
move to end of line fix
2015-07-02 06:03:05 +02:00
daboe01
d22a7c0a63
FF copy paste fix
2015-07-01 22:52:01 +02:00
daboe01
59162155de
caret loc refac
2015-07-01 07:20:17 +02:00
daboe01
0f347cd0b4
revert to capp pasteboard
2015-07-01 05:58:12 +02:00
Alexandre Wilhelm
1f983db47c
Fixed: refactoring of the class _CPDatePickerTextField.j. We now use the method called by interpreteKeyEvents instead of handling the key equivalent in performKeyEquivalent
2015-06-29 14:28:28 -07:00
daboe01
dc50793733
cosmetics
2015-06-29 20:58:33 +02:00
daboe01
b98329f91c
end of doc fix
2015-06-29 20:54:43 +02:00
daboe01
587d8fbfa9
fix caret position
2015-06-29 20:19:47 +02:00
daboe01
26a2e9ef53
capture mode for copy/paste
2015-06-29 19:43:23 +02:00
daboe01
e5ca98a1d3
fix baseline cross multiple fragments issue
2015-06-28 21:19:33 +02:00
daboe01
5bd5e9000e
fix baseline issue with native input
2015-06-28 21:07:51 +02:00
daboe01
d566642c98
improved baseline support
2015-06-28 17:16:24 +02:00
daboe01
f81ddc60ec
simplify baseline code
2015-06-28 16:20:06 +02:00
daboe01
6e0b20c921
prepare baseline support
2015-06-28 16:03:23 +02:00
daboe01
0c308b38c5
move to right end simplification
2015-06-28 15:18:59 +02:00