Commit Graph

970 Commits

Author SHA1 Message Date
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
Michael Drake
67b1dccf55 Increase default mem cache size.
svn path=/trunk/netsurf/; revision=13027
2011-10-10 11:40:26 +00:00
John Mark Bell
50f9420286 Only permit root windows to convert fetch requests to downloads
svn path=/trunk/netsurf/; revision=13026
2011-10-10 08:56:34 +00:00
Michael Drake
265bfdd323 Avoid a strlen.
svn path=/trunk/netsurf/; revision=13004
2011-10-08 12:22:29 +00:00
Michael Drake
f14184ee1d Pedantic style changes.
svn path=/trunk/netsurf/; revision=13001
2011-10-08 10:22:34 +00:00
John Mark Bell
4cd69b8aa9 Improve error handling
svn path=/trunk/netsurf/; revision=12997
2011-10-08 00:06:43 +00:00
John Mark Bell
59fdc29e66 Lose unnecessary logging
svn path=/trunk/netsurf/; revision=12993
2011-10-07 22:31:52 +00:00
Vincent Sanders
2f60ecea61 use the default resource:favicon.ico when a site has no icon of its own
svn path=/trunk/netsurf/; revision=12992
2011-10-07 22:22:15 +00:00
Michael Drake
62111d36be nsurl_ref returns the referenced nsurl.
svn path=/trunk/netsurf/; revision=12991
2011-10-07 22:18:27 +00:00
Michael Drake
2c636bc0a4 Don't fetch favicons for (i)frames.
svn path=/trunk/netsurf/; revision=12986
2011-10-07 21:49:29 +00:00
Vincent Sanders
4c829ae481 use resource:favicon.ico instead of resource:favicon.png
svn path=/trunk/netsurf/; revision=12982
2011-10-07 21:03:45 +00:00
Vincent Sanders
8a293636fb fix favicon default selection for non http(s) urls
svn path=/trunk/netsurf/; revision=12981
2011-10-07 20:47:34 +00:00
Vincent Sanders
33af42360f fix ico handler to actually decode to bitmap when called via get_internal
svn path=/trunk/netsurf/; revision=12980
2011-10-07 19:39:52 +00:00