Commit Graph

982 Commits

Author SHA1 Message Date
John Mark Bell
72baec3aec Remove bogus dependencies on box.h
svn path=/trunk/netsurf/; revision=13607
2012-03-24 17:42:29 +00:00
Daniel Silverstone
d1194be49f Migrate frame types so that desktop/browser.h does not include render/html.h
svn path=/trunk/netsurf/; revision=13605
2012-03-24 17:09:21 +00:00
Michael Drake
aaf874980e Remove include that's pulled in from browser.h anyway.
svn path=/trunk/netsurf/; revision=13591
2012-03-24 11:02:10 +00:00
Vincent Sanders
67b6f8d4a3 remove unecessary includes
svn path=/trunk/netsurf/; revision=13556
2012-03-23 16:56:43 +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
9c0c9ecdfe Add browser_window drag type accessor.
svn path=/trunk/netsurf/; revision=13494
2012-02-28 12:20:49 +00:00
Michael Drake
ed9fb931cd Add browser window scale acceser.
svn path=/trunk/netsurf/; revision=13491
2012-02-27 22:43:25 +00:00
Michael Drake
2c7a54013d Constify rect param to browser_window_set_drag_type.
svn path=/trunk/netsurf/; revision=13398
2012-01-11 16:48:59 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +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
Michael Drake
24b7ae1bf4 Browser window destruction destroys search context.
svn path=/trunk/netsurf/; revision=13390
2012-01-06 23:32:38 +00:00
Michael Drake
767f40dc72 Simplify frameset distribution calcs.
svn path=/trunk/netsurf/; revision=13376
2012-01-06 14:44:01 +00:00
Michael Drake
b4bf069099 Set drag type correctly for page drag.
svn path=/trunk/netsurf/; revision=13375
2012-01-06 12:41:24 +00:00
Vincent Sanders
6ebaecccaf Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
2012-01-01 21:42:38 +00:00
Vincent Sanders
df18a97143 Change GTK plotting to use cairo surfaces throughout
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00
Michael Drake
075c18b27d Redraw old width after deletion too.
svn path=/trunk/netsurf/; revision=13340
2011-12-24 09:54:51 +00:00
Michael Drake
246ee6dc6f Set background image requirement in core print redraw_context.
svn path=/trunk/netsurf/; revision=13338
2011-12-23 23:17:48 +00:00
Michael Drake
081217a321 Add core options to disable fetch of foreground & background images.
Remove broken background image option from RISC OS front end.

svn path=/trunk/netsurf/; revision=13332
2011-12-23 19:48:09 +00:00
Michael Drake
9a44d4b535 Delete comment that seems incorrect.
svn path=/trunk/netsurf/; revision=13307
2011-12-20 14:51:47 +00:00
Michael Drake
8fc3baa48d When deleting multiple treeview nodes, don't redraw after every node is deleted, only after the whole lot has gone. (Much faster.) Fix redraw to clear bottom of treeview after deleting nodes.
svn path=/trunk/netsurf/; revision=13306
2011-12-20 14:46:29 +00:00
Michael Drake
877988a7ef Add named scroll offset values for page up, page down, top and bottom.
svn path=/trunk/netsurf/; revision=13293
2011-12-18 15:36:38 +00:00
Michael Drake
41ef599293 Fix frame dimension calculations when required sizes don't fit the available space.
svn path=/trunk/netsurf/; revision=13271
2011-12-14 18:31:57 +00:00
Michael Drake
a0bbd87b1e Fix frameset resizing.
svn path=/trunk/netsurf/; revision=13246
2011-12-05 13:49:34 +00:00
John Mark Bell
d2ce167021 Revert r13235 as we can now log URLs for hlcache_handles without an underlying content
svn path=/trunk/netsurf/; revision=13237
2011-12-04 14:56:54 +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
890bb67993 Can't log an erroring content's URL.
svn path=/trunk/netsurf/; revision=13235
2011-12-04 14:40:47 +00:00
Michael Drake
e2a7600e9a Big wodge of internal browser window scroll fixes, or "rationalisation of browser window scrollbar handling".
svn path=/trunk/netsurf/; revision=13221
2011-12-02 16:10:13 +00:00
Michael Drake
71a8a8118c Currently untested (and unused) "drop file on browser window" handling.
svn path=/trunk/netsurf/; revision=13215
2011-12-01 21:51:04 +00:00
Michael Drake
70c8d94858 Squash use of uninitialised variable warning.
svn path=/trunk/netsurf/; revision=13213
2011-12-01 17:04:35 +00:00
Michael Drake
4856a4c1fb Pass scroll wheel action into contents. Handle scrolling of box scrollbars and iframes.
svn path=/trunk/netsurf/; revision=13200
2011-11-29 17:47:29 +00:00
Michael Drake
64c405c541 New function for sending a scroll request into a core browser window at a given coordinate. Currently handles frames only. TODO: iframes and css overflow scrollable boxes. Front ends should call this to pass scroll wheel actions to the core.
svn path=/trunk/netsurf/; revision=13197
2011-11-29 14:20:25 +00:00
Michael Drake
449e41e306 New function for applying a change in offset to a scrollbar.
svn path=/trunk/netsurf/; revision=13196
2011-11-29 14:16:26 +00:00
Michael Drake
d54e5719d8 Remove redundant break.
svn path=/trunk/netsurf/; revision=13194
2011-11-29 10:43:15 +00:00
Michael Drake
e79c7d2ce8 Fix caret position after deleting selection. Thanks to Ole Loots.
svn path=/trunk/netsurf/; revision=13193
2011-11-29 10:40:30 +00:00
Chris Young
a7ba1b7ccd Fix function usage
svn path=/trunk/netsurf/; revision=13190
2011-11-28 21:10:58 +00:00
Chris Young
d169eefe59 Allow new (blank) hotlist entries to be created in the currently-selected folder
(if there is one) as this gives the user more control where their additions are
being created.
Functionality can be enabled/disabled by passing true/false to
hotlist_add_folder/hotlist_add_entry.

svn path=/trunk/netsurf/; revision=13185
2011-11-27 20:07:26 +00:00
Michael Drake
714f07c48b Rename nsurl_enquire to nsurl_has_component.
svn path=/trunk/netsurf/; revision=13183
2011-11-27 18:32:06 +00:00
John Mark Bell
5970157fc7 Fix bug #3441539: downloads may be created from within frames
svn path=/trunk/netsurf/; revision=13178
2011-11-24 00:13:19 +00:00
John Mark Bell
3f395ec3bf Committing textarea_set_dimensions patch from Ole Loots.
svn path=/trunk/netsurf/; revision=13160
2011-11-21 09:09:28 +00:00
Michael Drake
87fdebb534 Squash warnings.
svn path=/trunk/netsurf/; revision=13148
2011-11-15 11:40:40 +00:00
Chris Young
dd267bd90a Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
2011-11-11 13:09:12 +00:00
Chris Young
ee58cd0ea0 fix redraw
svn path=/trunk/netsurf/; revision=13143
2011-11-10 14:02:37 +00:00
Chris Young
a8471a9343 Make default folder appear different (redraw seems to be broken at present)
svn path=/trunk/netsurf/; revision=13142
2011-11-10 13:47:24 +00:00
Chris Young
dd6d1ce527 Make default hotlist folder persistent across sessions
svn path=/trunk/netsurf/; revision=13141
2011-11-10 13:07:47 +00:00
Chris Young
0b6e5da662 Allow setting a default folder in the tree for hotlist entries to go into. Frontends
will need to be updated to use hotlist_set_default_folder() if they want to use this
functionality.

svn path=/trunk/netsurf/; revision=13139
2011-11-10 12:22:48 +00:00
Michael Drake
ab45ecd228 Use lwc_string for box->id.
svn path=/trunk/netsurf/; revision=13093
2011-10-29 11:37:05 +00:00
Michael Drake
4abaf2f085 Intern bw->frag_id.
svn path=/trunk/netsurf/; revision=13090
2011-10-28 22:27:50 +00:00
Michael Drake
240fdc5187 Constify frag_id param.
svn path=/trunk/netsurf/; revision=13089
2011-10-28 22:25:00 +00:00
Michael Drake
dcc5a532bc Use nsurl to add fragment for URL bar display.
svn path=/trunk/netsurf/; revision=13088
2011-10-28 19:19:08 +00:00