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
Michael Drake
046ee36430
Use browser window scale accessor.
...
svn path=/trunk/netsurf/; revision=13493
2012-02-27 22:44:59 +00:00
Michael Drake
d2253eee8f
Don't need root bw here any more.
...
svn path=/trunk/netsurf/; revision=13396
2012-01-11 14:29:44 +00:00
Michael Drake
04ece30fa9
Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
...
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Michael Drake
c08ee82076
Allow drag handlers to inform browser window layer of any pointer range constraints.
...
svn path=/trunk/netsurf/; revision=13394
2012-01-10 22:02:19 +00:00
John Mark Bell
f2993e6ed0
content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
...
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
898b01e721
More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)
...
svn path=/trunk/netsurf/; revision=12933
2011-10-03 20:28:29 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
John Mark Bell
74395ac888
Restartable box tree constructor. Yield between elements.
...
svn path=/trunk/netsurf/; revision=12912
2011-09-29 19:15:54 +00:00
Michael Drake
318803d382
Pass html_content to imagemap_get, instead of hlcache_handle.
...
svn path=/trunk/netsurf/; revision=12752
2011-09-06 16:26:02 +00:00
Michael Drake
fb8d73567a
Move to new frame dimensions. Need to avoid poking inside bw struct here.
...
svn path=/trunk/netsurf/; revision=12748
2011-09-06 10:27:42 +00:00
Michael Drake
6e3e168d08
Avoid instance of using bw->current_content outside desktop/.
...
svn path=/trunk/netsurf/; revision=12690
2011-08-31 17:53:40 +00:00
John Mark Bell
63cc03a5dc
Fix GCC 4.6 warnings in core
...
svn path=/trunk/netsurf/; revision=12629
2011-07-26 21:30:38 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
bc91b72c56
Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
...
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
Michael Drake
d284ac14d9
Front end gets root browser window on notification of scrollbar widget drag start.
...
svn path=/trunk/netsurf/; revision=12533
2011-06-28 21:16:37 +00:00
Michael Drake
5c9155e606
Core form select widget now associated with HTML contents. Don't use current_redraw_browser for select widget redraw. Fixes core select widget in iframes.
...
svn path=/trunk/netsurf/; revision=12522
2011-06-28 11:15:39 +00:00