Commit Graph

7016 Commits

Author SHA1 Message Date
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
7805550e82 Port presentational hint backgrounds to nsurl.
svn path=/trunk/netsurf/; revision=12990
2011-10-07 22:07:57 +00:00
Michael Drake
ad17f799ea Choose right ico image for typical url bar.
svn path=/trunk/netsurf/; revision=12989
2011-10-07 21:56:17 +00:00
Chris Young
f9ca9f3595 comment removal
svn path=/trunk/netsurf/; revision=12988
2011-10-07 21:53:35 +00:00
Chris Young
677d0d4874 fix botched link rename
svn path=/trunk/netsurf/; revision=12987
2011-10-07 21:50:44 +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
Chris Young
c8d9e012e5 favicon fixes
svn path=/trunk/netsurf/; revision=12985
2011-10-07 21:41:31 +00:00
John Mark Bell
787f4954ea Fix framebuffer
svn path=/trunk/netsurf/; revision=12984
2011-10-07 21:20:45 +00:00
Michael Drake
c8bdbdd2e7 Handle joining to a base with no path.
svn path=/trunk/netsurf/; revision=12983
2011-10-07 21:16:35 +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
John Mark Bell
c22373e000 Attempting to download favicons is silly
svn path=/trunk/netsurf/; revision=12979
2011-10-07 19:09:52 +00:00
Vincent Sanders
8f3d6d3649 consolidate code so a single codepath starts the retrival of the favicon
svn path=/trunk/netsurf/; revision=12978
2011-10-07 18:49:16 +00:00
Vincent Sanders
230779848e metadata links stored in contents
browser uses metadata links for favicons

svn path=/trunk/netsurf/; revision=12977
2011-10-07 18:12:47 +00:00
Vincent Sanders
52ad2c1e25 initial favicon support
svn path=/trunk/netsurf/; revision=12975
2011-10-06 23:31:55 +00:00
Michael Drake
3fde9589c1 Remove unused url_normalise() and don't include regex.h.
svn path=/trunk/netsurf/; revision=12971
2011-10-06 12:38:47 +00:00
Michael Drake
9493cec576 Optimise hotlist loading by using nsurl instead of url_normalise. Also convert tree url post-edit normalisation to use nsurl. The treeviews still store urls as strings for now.
svn path=/trunk/netsurf/; revision=12970
2011-10-06 12:31:22 +00:00
Michael Drake
fd5ad500c5 Only need to cope with trailing whitespace if it exists.
svn path=/trunk/netsurf/; revision=12969
2011-10-06 11:53:23 +00:00
Michael Drake
65943b7a67 Remove plugin.h too.
svn path=/trunk/netsurf/; revision=12968
2011-10-06 11:38:32 +00:00
Michael Drake
149ac31cac Remove old plugin.c.
svn path=/trunk/netsurf/; revision=12967
2011-10-06 10:21:50 +00:00
Michael Drake
22f2ffeeea Don't need to url_normalise, since the core is nsurl based.
svn path=/trunk/netsurf/; revision=12966
2011-10-06 10:16:11 +00:00
Michael Drake
22a34841f7 Don't need to url_normalise, since the core is nsurl based.
svn path=/trunk/netsurf/; revision=12965
2011-10-06 10:07:33 +00:00
Chris Young
d52f40b575 also convert nsdefault.css in svn tree into a proper link (OS4 SVN does not support fs
links)

svn path=/trunk/netsurf/; revision=12964
2011-10-05 22:29:52 +00:00
Chris Young
1bbb2321ea Adjust some types
svn path=/trunk/netsurf/; revision=12963
2011-10-05 22:23:02 +00:00
Chris Young
7aa2b4771f Keep running if an error occurs
svn path=/trunk/netsurf/; revision=12962
2011-10-05 22:12:51 +00:00
Michael Drake
201dcddff8 Port disabled :visited support to nsurl.
svn path=/trunk/netsurf/; revision=12961
2011-10-05 20:22:56 +00:00
Michael Drake
1203c4baf2 Ensure trailing whitespace is ignored.
svn path=/trunk/netsurf/; revision=12960
2011-10-05 20:16:19 +00:00
Chris Young
d06fcf791a Shuffle CSS files so default.css is the main one
svn path=/trunk/netsurf/; revision=12959
2011-10-05 18:56:59 +00:00
Michael Drake
17525fbf25 Avoid making a new nsurl to remove fragment if there is no fragment.
svn path=/trunk/netsurf/; revision=12958
2011-10-05 18:05:41 +00:00
Michael Drake
7d3a84231e Optimise nsurl__is_no_escape.
svn path=/trunk/netsurf/; revision=12957
2011-10-05 15:43:44 +00:00
Michael Drake
7d0b91caa7 Make sure the fragment remover sets the nsurl to NULL on failure.
svn path=/trunk/netsurf/; revision=12956
2011-10-05 12:15:27 +00:00
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