Vincent Sanders
bd065d4a43
split browser gui operations up
2014-01-15 19:37:05 +00:00
Vincent Sanders
0075eab194
move remaining gui operations to table
2014-01-14 23:31:54 +00:00
Daniel Silverstone
9a9cb399f9
Merge branch 'rjek/click-file-gadget'
2014-01-05 17:03:17 +00:00
Daniel Silverstone
ef5c516ee3
Restore missing message send
2014-01-05 17:01:27 +00:00
Daniel Silverstone
6bf609a1a4
Support image inputs
2014-01-05 16:14:17 +00:00
Daniel Silverstone
0516e4c069
Reflect toggling of 'selected' in the DOM
2014-01-04 18:02:50 +00:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Michael Drake
3afd9c9731
Remove search context from browser window, simplify search interface for front ends.
...
Added content interface for search.
Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.
Search API reduced to a pair of functions at each level:
{desktop|content|html|textplain}_search
and
{desktop|content|html|textplain}_search_clear
Updated front ends to use simplified search API. Only tested GTK and RO builds.
These confine the search stuff to render/. However search still uses struct
selection. The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake
6b178fb3fe
HTML selections are always read-only now.
2013-05-02 09:34:01 +01:00
Michael Drake
41e4928e25
Fix pointer shape and status bar messages for textareas and their scrollbars.
2013-03-11 12:57:33 +00:00
François Revol
e31007f6a7
C89
2013-03-09 20:44:25 +01:00
Michael Drake
e8950dee22
Propagate native caret clip rect through core.
2013-03-05 22:54:51 +00:00
Michael Drake
8445bc166b
Don't bypass html form handling layer when passing keypress to textarea.
2013-02-22 15:01:13 +00:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
Michael Drake
9c20ff9592
Drag fixup. Add some documentation.
2013-02-08 15:05:07 +00:00
Michael Drake
4747bbbfb2
HTML drags now go via content msg.
2013-02-08 13:22:53 +00:00
Michael Drake
cb283c516a
Don't build or include old render/textinput module.
2013-02-07 14:28:20 +00:00
Michael Drake
762e1aad73
First pass at getting html forms to use textarea widget.
...
(Input element types text & password, and textarea element.)
Can edit and submit forms, but there are loads of issues.
2013-02-06 22:39:45 +00:00
Vincent Sanders
c1c3a06748
document mouse interaction a bit
2012-12-10 08:49:54 +00:00
Vincent Sanders
3052864773
issue click events at dom
2012-12-03 17:09:44 +00:00
Michael Drake
892aee8070
Improve interaction with html objects.
2012-08-21 16:46:46 +01:00
Michael Drake
afdf72d7b5
Confine box_at_point to the document it's given. Callers are now responsible for calling whatever functionality for object boxes. Remove last bw dereference from render directory. Remove a couple of unused functions.
2012-08-21 15:27:52 +01:00
Michael Drake
57d2e31e59
Avoid using hlcache_handle for drag saves in html_interaction. Drag save msg with NULL content now means save the content which sends the message.
2012-08-19 12:46:42 +01:00
Michael Drake
762cade362
Don't use hlcache_handle for URL, since hlcache_handle needs to go.
2012-08-19 12:03:39 +01:00
Michael Drake
081976105a
Minor style tweaks.
2012-08-19 11:39:00 +01:00
Michael Drake
d878ea4fb9
Don't pass internal content status text as an explicit message.
2012-08-19 11:34:46 +01:00
Michael Drake
eb35a576c1
Can get root element node directly from within the html content handler. Avoids using hlcache_handle which needs to go.
2012-08-17 20:57:35 +01:00
Michael Drake
6d39b569c7
Pass content containing form's nsurl to form_submit, instead of its hlcache_handle. Avoid dereferencing bw in html content handlers.
2012-08-17 20:26:00 +01:00
Michael Drake
8e315f9f8f
Set content handlers now set pointer via content msg.
2012-08-17 10:02:10 +01:00
Michael Drake
402de7572d
Use new content message for saving of hyperlink target URL.
2012-08-16 23:26:05 +01:00
Michael Drake
a548275fa2
Avoid forward declaration of functions. Add missing comment to one function.
2012-08-16 22:54:00 +01:00
Michael Drake
317a1dd923
get_pointer_shape() doesn't need bw.
2012-08-16 22:48:28 +01:00
Michael Drake
d9bd357802
Move browser window related control over mouse pointer out of html content handler.
2012-08-16 22:44:25 +01:00
Michael Drake
35fd2ad7f2
Don't use GUI_POINTERs in content handlers.
2012-08-16 22:21:08 +01:00
Michael Drake
cb9781e057
Move bw time recording to bw layer.
2012-08-16 21:35:42 +01:00
Michael Drake
f04845b2cf
Broadcast message for drag save start and avoid messing inside bw.
2012-08-16 20:39:45 +01:00
Michael Drake
6daf6c178d
Frame drag start function can take child bw. Don't need to get root bw in html handler. Avoids bw dereferences.
2012-08-16 16:14:15 +01:00
Michael Drake
195a77a4cd
Make new function for starting a frames resize and use it.
2012-08-16 15:55:20 +01:00
Michael Drake
7277ce5dfc
Remove redundant "action" param.
2012-08-16 15:43:14 +01:00
Michael Drake
83c8e940f8
Don't pass status to frames handler.
2012-08-16 15:38:06 +01:00
Michael Drake
02d5589dfa
When dragging frames, we're done handling mouse.
2012-08-16 15:23:09 +01:00
Michael Drake
a736775bbd
Avoid doing html->bw->current_content.
2012-08-16 13:25:59 +01:00
Michael Drake
4872bc30b8
Remove redundant scrollbar widget message.
2012-08-16 13:13:25 +01:00
Michael Drake
e5928ebd5f
Broadcast explict status messages for mouse hovers via content msg system, rather than using the browser window.
2012-08-15 19:01:54 +01:00
Daniel Silverstone
24894214bc
Include dom/dom.h where it might be needed
...
svn path=/trunk/netsurf/; revision=13625
2012-03-24 20:55:22 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Michael Drake
ee378aa3f1
Set/get drag type via API.
...
svn path=/trunk/netsurf/; revision=13496
2012-02-28 12:54:00 +00:00
Michael Drake
c9a30d073e
Check drag type via accessor.
...
svn path=/trunk/netsurf/; revision=13495
2012-02-28 12:21:36 +00:00