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
daboe01
8e0fdf68e4
move left/right of line fix
2015-06-28 12:36:40 +02:00
daboe01
9c7a9b5674
cursor up down fix
2015-06-27 16:13:10 +02:00
daboe01
0a49e31b30
add lastmarker to linefrag
2015-06-27 16:01:42 +02:00
daboe01
9478206202
simplify insertText:
2015-06-27 15:43:10 +02:00
daboe01
c86e6f5b88
fix rare invisibility bug
2015-06-27 13:58:58 +02:00
daboe01
87868acecd
formatitng
2015-06-27 13:46:31 +02:00
daboe01
6d877754da
focusForClipboard fixes
2015-06-27 13:10:53 +02:00
daboe01
dd5521a07c
various native deadkey fixes
2015-06-27 13:03:41 +02:00
daboe01
cca142ce86
smart paste at end fix
2015-06-25 20:48:30 +02:00
daboe01
fa3567cb9f
fix arrow down last line
2015-06-25 06:03:02 +02:00
daboe01
7d22230b13
keyboard-selection-extension fix
2015-06-25 05:54:34 +02:00
Alexandre Wilhelm
9694c796e3
Revert "fix disappearing buttons"
...
This reverts commit 7323a5e393 .
Fixed #2361
2015-06-24 14:35:23 -07:00
daboe01
1b7f684ab2
make safari fix more robust
2015-06-24 21:14:24 +02:00
daboe01
fef8f4d29c
safari backspace fix
2015-06-23 20:36:57 +02:00
daboe01
0d7e945623
fix native cut
2015-06-22 20:30:44 +02:00
daboe01
13ea8eae77
fix initial platform paste
2015-06-21 14:20:14 +02:00
daboe01
cdb2ef3ac7
prevent dom-flickering
2015-06-20 19:11:05 +02:00
daboe01
f216e0198f
harmonize capp and system pasteboards
2015-06-20 13:23:33 +02:00
daboe01
c5c3698f43
make undo work again
2015-06-19 23:26:14 +02:00