New clipboard API for front ends, and textarea progress

2013-01-08 Thread Michael Drake
Text inputs and textareas used in HTML forms have never been robust and we've decided to fix them for NetSurf 3.0. Since the existing implementation is unmaintainable, the plan is to make html forms use the desktop/textarea.{c|h} widget (which is currently used for Hotlist node editing and the At

Re: New clipboard API for front ends, and textarea progress

2013-01-08 Thread Michael Drake
On 08 Jan, t...@netsurf-browser.org wrote: > The Atari, Amiga, and BeOS front ends all need updated. In case it isn't clear, if you need to implement a menu option to cut/copy/paste, you pass the approprate key to the core. So for browser windows: browser_window_key_press(bw, KEY_CUT_SELECTIO

Re: New clipboard API for front ends, and textarea progress

2013-01-08 Thread Chris Young
Hi Michael On Tue, 08 Jan 2013 18:06:23 + (GMT), Michael Drake wrote: > (e.g. for KEY_PASTE, there must be an editable feature with input focus in > the core for it to act on the KEY_PASTE and call gui_get_clipboard). Previously I was checking to see if something was selected in order to upd

Re: New clipboard API for front ends, and textarea progress

2013-01-08 Thread Michael Drake
In article , Chris Young wrote: > If not functions like can_copy(), can_paste(), can_select etc would be > very nice to have. OK, noted. -- Michael Drake (tlsa) http://www.netsurf-browser.org/