Commit Graph

8417 Commits

Author SHA1 Message Date
Chris Young
78f3f53622 re-enable ami_drag_selection 2013-01-08 20:15:27 +00:00
Chris Young
5a43a5a1a9 fix typo 2013-01-08 20:07:46 +00:00
Chris Young
e408c9ea43 Update copy to new API (untested), pasting needs work, ami_drag_selection needs thought. 2013-01-08 19:58:44 +00:00
Michael Drake
0767e590fd Remove unused function. 2013-01-08 17:54:55 +00:00
Michael Drake
fe210c5d58 Fixups. 2013-01-08 17:52:12 +00:00
Michael Drake
9cb1da921b Prompt core to deal with copy/paste correctly. 2013-01-08 17:47:04 +00:00
Michael Drake
9dc965d51c Untested update for new clipboard API. 2013-01-08 17:07:04 +00:00
Michael Drake
94f13d8555 Untested update for new clipboard API. 2013-01-08 17:06:37 +00:00
Michael Drake
0bfc40618a Make Monkey front end build with new clipboard API. 2013-01-08 17:06:01 +00:00
Michael Drake
00a08e7b94 Update RISC OS front end to implement new clipboard API. TODO: Handle paste when NetSurf doesn't own clipboard. Might be able to do some setup before KEY_PASTE is passed to the core. 2013-01-08 17:03:50 +00:00
Michael Drake
fc9199f14e Update framebuffer front end to implement new clipboard API. 2013-01-08 17:03:12 +00:00
Michael Drake
e2e7aa135c Update GTK front end to implement new clipboard API. 2013-01-08 17:02:27 +00:00
Michael Drake
8af3dd9a43 Redo html textinput for new front end clipboard API. This doesn't affect the textinput code's brokenness. 2013-01-08 16:59:26 +00:00
Michael Drake
de63a64b50 Update to use new front end clipboard functions. Now we build the buffer from each individual text box in the core, instead of in each front end. Styles for text runs are generated in the HTML case. 2013-01-08 16:54:46 +00:00
Michael Drake
147f2bd08a Remove content_msg for PASTE, since it doesn't need a gui_window to get the buffer from the front end now. 2013-01-08 16:53:00 +00:00
Michael Drake
e93fae7f2d Change clipboard api, so it does not assume either browser_window/gui_window, or html/text-plain content selection objects. This allows desktop/textarea to use clipboard. 2013-01-08 16:44:45 +00:00
Michael Drake
8314101ada Pass various control keys to core for clipboard control, etc. 2013-01-08 12:07:56 +00:00
Vincent Sanders
87ee963ff2 Initial changes ready to improve caching decisions 2013-01-07 18:45:29 +00:00
Michael Drake
f43f84f5ad Fix redraw of selection hightlight during selection drags. 2013-01-07 14:15:35 +00:00
Michael Drake
0c0f1e4b7a Remove wrong comments. 2013-01-07 12:59:06 +00:00
Michael Drake
e414d545af Make comment concise. 2013-01-07 12:22:51 +00:00
Michael Drake
c22c04710e Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-07 12:05:25 +00:00
Chris Young
94118d22be Remove unused global 2013-01-06 11:44:37 +00:00
Chris Young
a6c6d476e2 Set the default pointer, not the busy pointer, after completing a redraw 2013-01-06 11:42:19 +00:00
Chris Young
4011cc8671 Only set the busy pointer after we've decided not to bail out early 2013-01-06 11:40:37 +00:00
Chris Young
cc321d5f63 Track the mouse pointer on a per-window basis 2013-01-06 00:21:15 +00:00
Michael Drake
1ac2e00134 Remove forward declaration. 2013-01-05 15:27:53 +00:00
Michael Drake
912d3f7690 Put exported function comments in header. 2013-01-05 15:15:23 +00:00
Michael Drake
46b7691522 Start rationalising textarea widget. 2013-01-05 14:52:02 +00:00
John-Mark Bell
3dff750ae2 Downgrade TLS version support if it turns out the server can't cope with TLSv1.1. 2013-01-04 23:13:23 +00:00
John-Mark Bell
d0d3d31e97 Revert "Treat cookies from HTTP and HTTPS as identical."
Sadly, this breaks path cookies on HTTPS sites. The correct
fix is to implement RFC6265 in full (probably replacing
urldb with something less complex, too).

This reverts commit 924f8844d4.
2013-01-04 22:06:31 +00:00
Chris Young
07024b05c4 Change the mouse pointer back to what it was (and what NetSurf thinks it is) instead of to the default pointer. Additionally don't use ami_update_pointer for treeview windows as AmigaOS has a pointer setting per window, but NetSurf is only storing the current one as a single global variable. 2013-01-03 19:53:20 +00:00
Chris Young
dfc2fe6f97 gui_window_2 var should be gwin for consistency 2013-01-03 19:32:21 +00:00
Chris Young
625012a869 Set the busy pointer during redraws 2013-01-03 19:26:51 +00:00
Michael Drake
131b4cdda1 For now selection clear and selection copy are handled by the bw. Select all is only handled by the bw if nothing has claimed input. This stops the crash when select all is used in textarea.
TODO: The special keys should not be handled by the bw, they should be handled by the content with focus.
2013-01-03 15:25:59 +00:00
Michael Drake
4aadb5237a Ensure selection related keypresses go to whatever has claimed input. 2013-01-03 12:48:09 +00:00
Michael Drake
70d83baa6d Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-03 11:57:23 +00:00
John-Mark Bell
0c56340897 Fix typo. 2013-01-03 00:41:11 +00:00
John-Mark Bell
568a9c2b8f Remove junk "http_equiv" string. 2013-01-03 00:33:36 +00:00
John-Mark Bell
924f8844d4 Treat cookies from HTTP and HTTPS as identical. 2013-01-03 00:28:51 +00:00
Vincent Sanders
beffd9e481 search for teh correct script type in the defer callback.
Should fix SF bug #3599063
2013-01-02 23:14:31 +00:00
Vincent Sanders
bb10e7131f use a prologue section in the node binding to abstract out javascrip dom node to libdom node conversion 2013-01-02 23:14:31 +00:00
Vincent Sanders
1b8f9daa51 Initial implementation of document.createComment
Improve robustness of jsobject to libdom object conversion in appendChild
2013-01-02 23:14:30 +00:00
Michael Drake
bda7bfa739 Make scale const. 2013-01-02 18:44:08 +00:00
Michael Drake
96841ae2ff Remove forward declaration. 2013-01-02 18:02:15 +00:00
Michael Drake
3f33f5327e Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-02 14:12:08 +00:00
Michael Drake
700429897a Fix #3584934. Case insensitive matching of align attribute value. 2013-01-02 14:06:02 +00:00
Michael Drake
d7e3ca2230 Fix form input size attribute handling to be case insensitive. Fixes form input widths. 2013-01-02 13:56:00 +00:00
Michael Drake
8bf3346ce2 Fix min_max line width calc to include box spaces. 2013-01-02 12:46:17 +00:00
Vincent Sanders
33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00