Commit Graph

6898 Commits

Author SHA1 Message Date
Michael Drake
52513e6c9f Reduce logging flood.
svn path=/trunk/netsurf/; revision=12919
2011-10-01 17:23:46 +00:00
Michael Drake
3a319b4829 Store host as lwc_string in curl fetcher and obtain it via nsurl. Clean up cached hosts on exit.
svn path=/trunk/netsurf/; revision=12918
2011-10-01 16:53:45 +00:00
Michael Drake
4b2730e407 Keep url as nsurl.
svn path=/trunk/netsurf/; revision=12917
2011-10-01 16:02:49 +00:00
Michael Drake
af6c81b042 Convert nsurl to string for log.
svn path=/trunk/netsurf/; revision=12916
2011-10-01 15:40:16 +00:00
Chris Young
87ba84abfe Disable RAmiga-U temporarily as ActivateGadget() is causing a bizarre but fatal
interaction with context menus.

svn path=/trunk/netsurf/; revision=12913
2011-09-29 22:13:13 +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
f97d7425a8 lwc version of ring function.
svn path=/trunk/netsurf/; revision=12911
2011-09-29 15:32:39 +00:00
Michael Drake
6cfd37e60f Convert fetchers to nsurl.
svn path=/trunk/netsurf/; revision=12910
2011-09-29 15:31:54 +00:00
Chris Young
828d8e0de8 Re-instate default.css.info as the install script copies it to def_css.info if there
isn't one already.

svn path=/trunk/netsurf/; revision=12909
2011-09-28 17:12:28 +00:00
Vincent Sanders
561d6613dd set default pkg-config path on Mac OS X to make default build work
svn path=/trunk/netsurf/; revision=12907
2011-09-28 16:01:06 +00:00
Michael Drake
57547f7b1e Make llcache_handle_get_url return a nsurl.
svn path=/trunk/netsurf/; revision=12905
2011-09-28 14:21:35 +00:00
Michael Drake
861f88aa43 Port llcache to nsurl.
svn path=/trunk/netsurf/; revision=12904
2011-09-28 11:26:30 +00:00
Michael Drake
970d6dd835 Add function to get a nsurl with fragment removed from a nsurl.
svn path=/trunk/netsurf/; revision=12903
2011-09-28 11:26:10 +00:00
Michael Drake
e3211bf4fc fetch_can_fetch can take const nsurl.
svn path=/trunk/netsurf/; revision=12902
2011-09-27 14:42:45 +00:00
Michael Drake
7e7e1f6ed3 Squash erroneous warnings abuout uninitalised variable use from gcc 3.4.6.
svn path=/trunk/netsurf/; revision=12901
2011-09-27 12:08:23 +00:00
Michael Drake
58225862c2 fetch_can_fetch takes a nsurl now.
svn path=/trunk/netsurf/; revision=12900
2011-09-27 12:02:15 +00:00
Michael Drake
e1f7a37f15 Port fetch layer to nsurl. Remove unused fetch_get_referer function.
svn path=/trunk/netsurf/; revision=12899
2011-09-27 11:07:32 +00:00
Michael Drake
a269a82d1f s/nsurl_get_lwc/nsurl_get_component/
svn path=/trunk/netsurf/; revision=12898
2011-09-27 08:18:32 +00:00
John Mark Bell
e9cdc14d79 Reflect differences between draft-abarth-mime-sniff-06 and draft-ietf-websec-mime-sniff-03 (and thus, http://mimesniff.spec.whatwg.org)
In summary: audio/x-wave becomes audio/wave and we add sniffing for mp4 video

svn path=/trunk/netsurf/; revision=12897
2011-09-27 00:33:37 +00:00
Vincent Sanders
cb27637a41 add option to set tab position
svn path=/trunk/netsurf/; revision=12896
2011-09-26 23:35:06 +00:00
Chris Young
e3aceb4344 Abort if user is <OS4.1 and no static version available.
Probably needs moving up to before the user has been asked for an install location

svn path=/trunk/netsurf/; revision=12895
2011-09-26 21:50:39 +00:00
Michael Drake
e90f794706 Add nsurl_get_lwc function.
svn path=/trunk/netsurf/; revision=12894
2011-09-26 21:50:16 +00:00
Chris Young
ad3af34742 Build Cairo version as NetSurf; non-Cairo version as NetSurf-Static
Don't bother to build/copy NetSurf-Static for release packages
Update .readme to show requirement for AmigaOS 4.1

svn path=/trunk/netsurf/; revision=12893
2011-09-26 21:41:33 +00:00
Michael Drake
9992ee9119 Document fetch_add_fetcher.
svn path=/trunk/netsurf/; revision=12892
2011-09-26 21:23:47 +00:00
Michael Drake
c94271edf5 Fetchers register with an lwc_string, rather than a string.
svn path=/trunk/netsurf/; revision=12891
2011-09-26 21:07:19 +00:00
Michael Drake
393b1afd4f Disable fetch debug loops when not debugging.
svn path=/trunk/netsurf/; revision=12890
2011-09-26 15:22:38 +00:00
Michael Drake
75d61bca44 Simply return bool from nsurl_compare.
svn path=/trunk/netsurf/; revision=12889
2011-09-26 14:57:45 +00:00
Vincent Sanders
212358278c clean up gtk tabs argument types to avoid uncessary casting
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +00:00
Michael Drake
47b18439e7 Change if/else if ladder to a switch.
svn path=/trunk/netsurf/; revision=12887
2011-09-26 14:12:19 +00:00
Michael Drake
8435195ea4 Remember to free host, now it's not kept for anything.
svn path=/trunk/netsurf/; revision=12886
2011-09-26 13:43:34 +00:00
Michael Drake
460648872f Remove unused host from fetch info struct.
svn path=/trunk/netsurf/; revision=12885
2011-09-26 13:38:06 +00:00
Michael Drake
85e5fcea40 Updated documentation.
svn path=/trunk/netsurf/; revision=12884
2011-09-26 13:29:05 +00:00
Michael Drake
38caddcf93 Add means to find out if a NetSurf URL object contains a given component.
svn path=/trunk/netsurf/; revision=12883
2011-09-26 13:27:20 +00:00
Michael Drake
dc53b47e0b Don't return length from nsurl_access.
svn path=/trunk/netsurf/; revision=12882
2011-09-26 12:19:35 +00:00
Vincent Sanders
07d140f0f1 make cocoa build use pkg-config properly and build release tarballs (primarily jmb I just made it link)
svn path=/trunk/netsurf/; revision=12879
2011-09-26 10:04:29 +00:00
John Mark Bell
e7dffc15b1 Fix bug #3413611: results page should be added to history
svn path=/trunk/netsurf/; revision=12878
2011-09-26 08:46:00 +00:00
Chris Young
0b6b01f08f Add context menu items for frames
svn path=/trunk/netsurf/; revision=12877
2011-09-25 18:44:10 +00:00
Chris Young
5d7c1caffe Also read mimetype mappings from mimetypes.user
svn path=/trunk/netsurf/; revision=12876
2011-09-25 17:03:37 +00:00
Chris Young
4573560c61 increase keyboard scroll speed to 10px
svn path=/trunk/netsurf/; revision=12875
2011-09-25 10:08:23 +00:00
Chris Young
3be63e2f69 Reduce task priority to -1
This stops the rest of the system slowing down when NetSurf is trying to receive data

svn path=/trunk/netsurf/; revision=12874
2011-09-25 09:56:43 +00:00
Chris Young
215c31ac0d When pressing mouse button don't try to go forwards in history first... instead make
releasing mouse button 5 go forwards in history.

svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
Vincent Sanders
7334ec404e reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Michael Drake
9854ad6313 Add layout_get_object_dimensions param documentation missing from last commit.
svn path=/trunk/netsurf/; revision=12871
2011-09-23 17:42:25 +00:00
Michael Drake
9e91992478 Handle min/max-width on replaced elements.
svn path=/trunk/netsurf/; revision=12870
2011-09-23 17:34:04 +00:00
Michael Drake
dcfd80956f Use fixed insted of floating point to get percentage of available_width, for width calc.
svn path=/trunk/netsurf/; revision=12869
2011-09-23 16:50:20 +00:00
Michael Drake
e4a91f380c Move css_fixed and css_unit variables to where they're used.
svn path=/trunk/netsurf/; revision=12868
2011-09-23 16:40:58 +00:00
Michael Drake
9028673259 Simplify layout_get_object_dimensions.
svn path=/trunk/netsurf/; revision=12867
2011-09-23 16:35:37 +00:00
Michael Drake
b0ea2a46e9 Use layout_find_dimensions to get inline object width/height.
svn path=/trunk/netsurf/; revision=12866
2011-09-23 15:48:40 +00:00
Michael Drake
1385dea029 Assert that the url exists before reducing its reference count. Thanks to Martin Bazley.
svn path=/trunk/netsurf/; revision=12865
2011-09-23 09:06:05 +00:00
John Mark Bell
e7c67e8bb8 Fix fallout from r12733
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +00:00