Commit Graph

29 Commits

Author SHA1 Message Date
Vincent Sanders
46f369ca9e move themse install to its own header 2014-11-06 14:19:15 +00:00
Vincent Sanders
72f8e711d7 additional risc os header cleanups 2014-06-05 23:01:37 +01:00
Michael Drake
259a02a72a Scope reduce some variables. 2014-05-30 23:06:30 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Rob Kendrick
1bd4a34a27 Remove asserts for default cases from all content message handlers; this is laborious and is no longer useful for catching bugs. 2014-01-05 14:39:08 +00:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01: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
John Mark Bell
dcd33c3798 Port to hlcache-enabled core
svn path=/trunk/netsurf/; revision=10377
2010-04-11 23:04:06 +00:00
John Mark Bell
0fee18ebdc Add missing return statement.
svn path=/trunk/netsurf/; revision=7639
2009-05-29 23:13:28 +00:00
John Mark Bell
57fa6e30c6 Use byte instead of unsigned char.
svn path=/trunk/netsurf/; revision=6913
2009-03-27 01:28:57 +00:00
John Mark Bell
ae326427a1 Squash warnings
svn path=/trunk/netsurf/; revision=6912
2009-03-27 01:27:27 +00:00
John Tytgat
c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Mark Bell
dc85ddb0a8 Launch redirects to unsupported URLs in other applications.
svn path=/trunk/netsurf/; revision=4098
2008-04-19 11:07:42 +00:00
John Mark Bell
78d194cb77 Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
Redirect handling is now transparent to clients of fetchcache.

The new scheme works as follows:

1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
   If redirect, receive NEWPTR for each redirect that occurs, then continue
   through LOADING, READY, DONE etc. states as before.

The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.

As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.

svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
826a48d737 Fix 1496309.
svn path=/trunk/netsurf/; revision=2700
2006-07-03 01:14:46 +00:00
John Mark Bell
70fbf97688 [project @ 2006-02-22 20:04:39 by jmb]
Lose warnings

svn path=/import/netsurf/; revision=2091
2006-02-22 20:04:39 +00:00
John Mark Bell
745deb7a9d [project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet)
Reduce intrusiveness of ncos modifications
Fix GTK build
Remove Cookies file details from Messages (this data never belonged in there anyway)
Make gui_init more robust against memory exhaustion.

svn path=/import/netsurf/; revision=2014
2006-01-08 01:51:33 +00:00
Richard Wilson
d1094d1238 [project @ 2005-12-31 04:40:48 by rjw]
Use new wimp_event system.

svn path=/import/netsurf/; revision=1916
2005-12-31 04:40:49 +00:00
James Bursa
253c199d1f [project @ 2005-07-23 20:43:37 by bursa]
Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently).

svn path=/import/netsurf/; revision=1814
2005-07-23 20:43:37 +00:00
Richard Wilson
d8608af812 [project @ 2005-05-17 23:46:36 by rjw]
Make long theme names work on old filesystems.

svn path=/import/netsurf/; revision=1726
2005-05-17 23:46:36 +00:00
Richard Wilson
ea9bfd8f22 [project @ 2005-04-29 05:50:00 by rjw]
Fix theme installation

svn path=/import/netsurf/; revision=1700
2005-04-29 05:50:00 +00:00
James Bursa
6aea3ff270 [project @ 2005-03-09 00:20:45 by bursa]
Fix installed themes sitting in memory cache. Break out some code into functions.

svn path=/import/netsurf/; revision=1531
2005-03-09 00:20:45 +00:00
Richard Wilson
f11a991992 [project @ 2005-02-03 13:10:21 by rjw]
Make themes auto-install work on NCOS (probably)

svn path=/import/netsurf/; revision=1486
2005-02-03 13:10:21 +00:00
Richard Wilson
422df90089 [project @ 2005-01-23 16:09:05 by rjw]
Further work on theme installing

svn path=/import/netsurf/; revision=1463
2005-01-23 16:09:05 +00:00
James Bursa
d63e9fac4f [project @ 2005-01-16 21:04:00 by bursa]
Rename themeinstall template to avoid issues with 12-character names in some Wimp versions.

svn path=/import/netsurf/; revision=1454
2005-01-16 21:04:00 +00:00
James Bursa
f0b264670e [project @ 2005-01-13 22:42:38 by bursa]
Start on theme auto-install. Fix content_add_user() not to broadcast error on memory exhaustion.

svn path=/import/netsurf/; revision=1448
2005-01-13 22:42:39 +00:00