Commit Graph

6834 Commits

Author SHA1 Message Date
Michael Drake
921e9959e6 Namespaceing.
svn path=/trunk/netsurf/; revision=12955
2011-10-05 12:13:26 +00:00
Michael Drake
291307d64e Terminate raw resource URL string.
svn path=/trunk/netsurf/; revision=12954
2011-10-05 11:54:15 +00:00
Michael Drake
0c30fe98af Handle % in URL without 2 hex digits after.
svn path=/trunk/netsurf/; revision=12953
2011-10-05 09:46:06 +00:00
Michael Drake
20c70fcb90 Fix upper case hex and return -1 for invalid hex.
svn path=/trunk/netsurf/; revision=12952
2011-10-05 09:41:54 +00:00
Vincent Sanders
c18c9b5511 make url character checks table driven and remove expensive strchr
svn path=/trunk/netsurf/; revision=12951
2011-10-05 09:33:56 +00:00
Michael Drake
280ece6df9 Handle upper case hex.
svn path=/trunk/netsurf/; revision=12950
2011-10-05 09:30:12 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Vincent Sanders
a25f87a739 make nsurl__create_from_section correctly escape characters as per RFC3986
svn path=/trunk/netsurf/; revision=12948
2011-10-04 22:32:04 +00:00
Chris Young
d4285464e8 Fix icon loader
svn path=/trunk/netsurf/; revision=12947
2011-10-04 17:40:15 +00:00
Michael Drake
3b4b986739 Don't try to LOG url of errored stylesheet content.
svn path=/trunk/netsurf/; revision=12946
2011-10-04 13:55:28 +00:00
Michael Drake
08b42089ca Pass nsurls through html_fetch_object.
svn path=/trunk/netsurf/; revision=12945
2011-10-04 10:23:47 +00:00
John Mark Bell
170136a4e8 Ensure refcounts add up
svn path=/trunk/netsurf/; revision=12944
2011-10-03 22:13:45 +00:00
Michael Drake
5b23bcae95 Set iframe url pointer to NULL after unref at other end too.
svn path=/trunk/netsurf/; revision=12943
2011-10-03 22:12:51 +00:00
Michael Drake
012e0838cb Set url pointers to NULL after unref.
svn path=/trunk/netsurf/; revision=12942
2011-10-03 22:06:47 +00:00
John Mark Bell
8e0015798c Remove unused API
svn path=/trunk/netsurf/; revision=12941
2011-10-03 22:02:33 +00:00
Michael Drake
382beb779e Can't talloc_free nsurls. Thanks jmb.
svn path=/trunk/netsurf/; revision=12940
2011-10-03 21:58:50 +00:00
Michael Drake
19f0f7053b More talloc destructors for nsurls.
svn path=/trunk/netsurf/; revision=12939
2011-10-03 21:49:28 +00:00
John Mark Bell
3043c58aaf Fix handling of preformatted text
svn path=/trunk/netsurf/; revision=12938
2011-10-03 21:32:32 +00:00
Michael Drake
2c41d4b44e Add talloc destructor for object_params.
svn path=/trunk/netsurf/; revision=12937
2011-10-03 21:04:54 +00:00
Michael Drake
6366f25f0d Remove LOG.
svn path=/trunk/netsurf/; revision=12936
2011-10-03 20:56:35 +00:00
Michael Drake
a522d9ff14 Fix host/path with no scheme.
svn path=/trunk/netsurf/; revision=12935
2011-10-03 20:54:41 +00:00
John Mark Bell
3049f37e24 Parallelise object fetches
svn path=/trunk/netsurf/; revision=12934
2011-10-03 20:38: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
Chris Young
b9a40d8e47 Fix crash when switching tabs
svn path=/trunk/netsurf/; revision=12932
2011-10-03 18:08:52 +00:00
Michael Drake
231dfe5887 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12931
2011-10-03 16:51:46 +00:00
Michael Drake
817841eab3 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12930
2011-10-03 16:49:55 +00:00
Michael Drake
7dc000e643 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12929
2011-10-03 16:45:54 +00:00
Michael Drake
e52aaecd7a Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Michael Drake
bba4c426f3 Update for content_get_url returning a nsurl.
svn path=/trunk/netsurf/; revision=12927
2011-10-03 16:30:08 +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
Michael Drake
a595d7c4bb Fix parse of url with host name only.
svn path=/trunk/netsurf/; revision=12925
2011-10-03 11:36:26 +00:00
Michael Drake
2220e1c725 Fragment component doesn't include hash.
svn path=/trunk/netsurf/; revision=12924
2011-10-03 11:35:02 +00:00
Vincent Sanders
7744edaa30 add html objects in better order
svn path=/trunk/netsurf/; revision=12923
2011-10-03 08:51:57 +00:00
Chris Young
602c2502e7 Add context menu for plain text content.
All non-HTML contents now have context menus activated

svn path=/trunk/netsurf/; revision=12922
2011-10-02 16:46:21 +00:00
Chris Young
71552e84d8 Make adding context menus more modular
svn path=/trunk/netsurf/; revision=12921
2011-10-02 16:37:25 +00:00
Michael Drake
73dbd82b7d Optimise fetch item selection when fetching many items from same host.
svn path=/trunk/netsurf/; revision=12920
2011-10-02 12:10:02 +00:00
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