Commit Graph

1313 Commits

Author SHA1 Message Date
Michael Drake
892aee8070 Improve interaction with html objects. 2012-08-21 16:46:46 +01:00
Michael Drake
02afe314af Fix object box construction. 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
b134279644 Allow the presence of form inputs to be obtained without knowledge of html content internals. 2012-08-20 22:02:37 +01:00
Michael Drake
a11de47b64 Implement debug dump content call for HTML. 2012-08-20 16:04:44 +01:00
Michael Drake
edef40bbc4 Don't pass struct box to content open. 2012-08-20 14:22:28 +01:00
Michael Drake
427fb928c5 Remove unused member of html_content struct. 2012-08-20 13:10:14 +01:00
Michael Drake
a4f796e217 Let *_drop_file_at_point determine if a drop is possible. 2012-08-20 12:12:10 +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
47db5546c5 Use content msg system for status text, and don't pass internal status message as an explict message. 2012-08-19 11:35:32 +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
c4b284e43c Use interface to set drag type. Longer term, it would be better to avoid using bw altogether. 2012-08-18 22:45:17 +01:00
Michael Drake
5a2d4c6ddb Group content messages that are passed on. 2012-08-18 22:25:03 +01:00
Michael Drake
45755a9e0d Use paste content msg. 2012-08-18 22:19:42 +01:00
Michael Drake
a2906b3994 Add paste request content message. 2012-08-18 22:19:15 +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
be00425776 Avoid bw dereference. 2012-08-17 15:20:53 +01:00
Michael Drake
8e315f9f8f Set content handlers now set pointer via content msg. 2012-08-17 10:02:10 +01:00
Michael Drake
142a0bf859 Add content message for setting mouse pointer. 2012-08-17 10:01:15 +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
1919c8e071 Add message for content wanting wanting drag save to start. 2012-08-16 20:20:49 +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
699173331b html__redraw_a_box takes html_content instead of struct content. 2012-08-16 13:22:35 +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
Michael Drake
e5374cc042 Let contents broadcast explicit status messages as well as announce that their internal status has been updated. 2012-08-15 19:00:50 +01:00
Michael Drake
fcb7143ecb Simplify content status text setting. 2012-08-15 11:50:08 +01:00
Michael Drake
c3f9e3d3ce Don't need to include browser.h. 2012-08-14 14:53:48 +01:00
Michael Drake
5526d7e6f2 Stop render/search.c from dereferencing bw and remove dependency on html & text contents' bw pointer. 2012-08-14 14:03:54 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
119b5cca3f Remove forward declaration. 2012-08-14 11:23:03 +01:00
Michael Drake
19b3876ff2 Fix comment. 2012-08-13 23:41:02 +01:00
Michael Drake
d09dc44310 Use content message broadcast to request scrolls, instead of depending on html and text contents to keep a bw pointer. 2012-08-13 23:38:34 +01:00
Michael Drake
5810d131d5 Let HTML content handle object content srcoll request messages. 2012-08-13 23:35:23 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake
6d585308f8 Fix handling of form elements without a <form>. 2012-08-07 10:53:40 +01:00