Commit Graph

70 Commits

Author SHA1 Message Date
Vincent Sanders
cbf07e1bc3 make schedule_run return if it has active jobs to schedule
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
John Mark Bell
191d876e41 Merged revisions 4859-5013,5016-5018 via svnmerge from
svn://source.netsurf-browser.org/branches/takkaria/netsurf-hubbub

........
  r4860 | takkaria | 2008-08-02 03:51:35 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  A really horribly rough first go at integrating hubbub with NetSurf.  Segfaults, but I'm not sure what I've done wrong.
........
  r4861 | jmb | 2008-08-02 05:01:19 +0100 (Sat, 02 Aug 2008) | 3 lines
  
  Fix segfault caused by mismatched struct layout expectations.
  Fix warnings, too.
........
  r4862 | jmb | 2008-08-02 05:11:02 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Destroy parser as soon as it's no longer needed, and flag this so that html_destroy doesn't cause things to trample all over the heap.
........
  r4863 | takkaria | 2008-08-02 15:30:34 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Remove deugging printf()s, add Aliases file, add script { display: none; } block.
........
  r4868 | takkaria | 2008-08-02 22:14:55 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix a segfault bug.
........
  r4869 | takkaria | 2008-08-02 22:17:58 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Add gtk/res/Aliases as a symlink to the one in !NS/Resources
........
  r4870 | takkaria | 2008-08-02 22:26:31 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix symlink.
........
  r4885 | jmb | 2008-08-03 23:26:54 +0100 (Sun, 03 Aug 2008) | 2 lines
  
  Make multiple parallel parser instances work correctly.
........
  r4886 | tlsa | 2008-08-04 00:21:29 +0100 (Mon, 04 Aug 2008) | 1 line
  
  Don't display contents of STYLE.
........
  r4891 | jmb | 2008-08-04 01:18:07 +0100 (Mon, 04 Aug 2008) | 5 lines
  
  Fix reparent_children to actually work
  Make get_parent_node pay attention to the element_only flag
  Fixup node referencing when appending a text child
  Make clone_node clone attributes and namespace information in the non-deep case
........
  r4918 | jmb | 2008-08-05 15:27:03 +0100 (Tue, 05 Aug 2008) | 2 lines
  
  Fix debug target
........
  r4944 | takkaria | 2008-08-07 12:56:50 +0100 (Thu, 07 Aug 2008) | 2 lines
  
  Use talloc to allocate space for Hubbub.
........
  r4993 | takkaria | 2008-08-10 17:49:47 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Stub out the encoding change callback so NS-hubbub compiles again.
........
  r4994 | takkaria | 2008-08-10 18:02:33 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Tell Hubbub the encoding that HTTP gives us, if we have one.
........
  r5001 | takkaria | 2008-08-11 02:53:24 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  First go at implementing proper <meta charset> support in NetSurf, amongst some refactoring.  Probably works, but I have no pages around to test it on.
........
  r5002 | takkaria | 2008-08-11 02:56:35 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix (I hope) a 64-bit compiler warning.
........
  r5012 | takkaria | 2008-08-11 08:40:28 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix some nits from jmb.  (Remove const from html->encoding, set encoding_source to something about right.)
........
  r5013 | takkaria | 2008-08-11 08:48:50 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Properly fix <meta charset> handling, by passing in the right thing as the context.  No idea how this worked before. :) (credit: jmb)
........
  r5017 | jmb | 2008-08-11 09:13:22 +0100 (Mon, 11 Aug 2008) | 7 lines
  
  Pedantic typo fix.
  Make Hubbub YES when building for RISC OS.
  Make Hubbub AUTO when building for GTK
  Ignore the presence of Hubbub on other platforms.
  Remove the explicit libparserutils pkg-config stuff from the makefile (see r5016)
  Add some logic that means Hubbub gets enabled correctly when building on RISC OS and when cross-compiling for it. (This is ugly and will go away when pkg-config is available on RO)
........

svn path=/trunk/netsurf/; revision=5019
2008-08-11 08:17:48 +00:00
John Mark Bell
7a2454a40a Fix callback prototype
svn path=/trunk/netsurf/; revision=4208
2008-05-26 10:40:00 +00:00
John Mark Bell
b1c8ab83f2 Lose redundant function
svn path=/trunk/netsurf/; revision=4207
2008-05-26 10:37:10 +00:00
James Bursa
b53f36ebc2 Add TARGET=debug and fix the debug build.
svn path=/trunk/netsurf/; revision=4202
2008-05-25 23:28:06 +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
James Bursa
21db9de5f8 Make F9 dump box tree to an editor for easier debugging.
svn path=/trunk/netsurf/; revision=3529
2007-08-20 02:39:49 +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
John Mark Bell
7ec7ba37db Fix debug build
svn path=/trunk/netsurf/; revision=3477
2007-08-06 22:17:42 +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
John Mark Bell
d3718bd4a7 Fix debug build.
svn path=/trunk/netsurf/; revision=3185
2007-02-21 21:23:01 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
8e530e68ae Fix debug build.
svn path=/trunk/netsurf/; revision=3072
2006-11-26 21:06:14 +00:00
James Bursa
985c82a46c Fix debug build.
svn path=/trunk/netsurf/; revision=2790
2006-07-23 16:49:19 +00:00
James Bursa
74b6dce0be Fix debug build.
svn path=/trunk/netsurf/; revision=2761
2006-07-16 01:07:29 +00:00
John Mark Bell
ef301b8619 Fix URL file loading and add support for file:/// URLs to urldb
Convert file:/... to file:///... (the former isn't a valid URL)

svn path=/trunk/netsurf/; revision=2524
2006-04-12 08:09:27 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
James Bursa
f7634e18c7 [project @ 2006-03-10 08:08:45 by bursa]
Fix debug build.

svn path=/import/netsurf/; revision=2121
2006-03-10 08:08:45 +00:00
James Bursa
4b3d4f97a8 [project @ 2006-03-09 18:55:30 by bursa]
Partly fix debug build.

svn path=/import/netsurf/; revision=2113
2006-03-09 18:55:30 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
James Bursa
9ccfab8705 [project @ 2005-05-04 21:00:59 by bursa]
Fix debug build.

svn path=/import/netsurf/; revision=1713
2005-05-04 21:00:59 +00:00
James Bursa
6af1e81e52 [project @ 2005-04-17 16:42:05 by bursa]
Fix the debug and gtk builds.

svn path=/import/netsurf/; revision=1661
2005-04-17 16:42:05 +00:00
James Bursa
df1b47c612 [project @ 2005-04-17 10:15:52 by bursa]
Update debug font functions to new interface.

svn path=/import/netsurf/; revision=1659
2005-04-17 10:15:52 +00:00
James Bursa
a76404dfd0 [project @ 2005-01-13 20:28:50 by bursa]
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.

svn path=/import/netsurf/; revision=1447
2005-01-13 20:29:24 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
James Bursa
7114e4b4af [project @ 2005-01-02 11:46:29 by bursa]
Fix debug and riscos_debug builds.

svn path=/import/netsurf/; revision=1423
2005-01-02 11:46:29 +00:00
John Mark Bell
8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa
ed05aa87f8 [project @ 2004-12-25 11:37:35 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1409
2004-12-25 11:37:35 +00:00
James Bursa
a9e62d78f7 [project @ 2004-09-04 07:08:26 by bursa]
Add missing files.

svn path=/import/netsurf/; revision=1266
2004-09-04 07:08:26 +00:00
John Mark Bell
b1399acea2 [project @ 2004-08-15 19:54:24 by jmb]
Make debug builds compile

svn path=/import/netsurf/; revision=1239
2004-08-15 19:54:24 +00:00
John Tytgat
7d3a242132 [project @ 2004-08-14 12:57:00 by joty]
Using more stddef.h types.

svn path=/import/netsurf/; revision=1230
2004-08-14 12:57:02 +00:00
James Bursa
233f6cc3dd [project @ 2004-07-28 23:13:39 by bursa]
Make debug build compile again.

svn path=/import/netsurf/; revision=1160
2004-07-28 23:13:39 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
James Bursa
b4723c1d05 [project @ 2004-06-21 15:09:58 by bursa]
Merge memory cache into content module.

svn path=/import/netsurf/; revision=986
2004-06-21 15:09:59 +00:00
James Bursa
a454eaa527 [project @ 2004-06-11 00:03:11 by bursa]
Bring debug build up-to-date.

svn path=/import/netsurf/; revision=958
2004-06-11 00:03:11 +00:00
James Bursa
08177fa581 [project @ 2004-06-10 20:41:26 by bursa]
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.

svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
James Bursa
39fd4d9c23 [project @ 2004-06-02 21:44:39 by bursa]
Bug fix.

svn path=/import/netsurf/; revision=926
2004-06-02 21:44:39 +00:00
James Bursa
d250ff9f82 [project @ 2004-06-02 21:01:52 by bursa]
Call gif_decode_frame() for testing. Misc updates.

svn path=/import/netsurf/; revision=912
2004-06-02 21:01:52 +00:00
James Bursa
a9f9cd5e8f [project @ 2004-06-02 21:01:01 by bursa]
Implement enumerate_fonts().

svn path=/import/netsurf/; revision=911
2004-06-02 21:01:01 +00:00
James Bursa
00be6366a7 [project @ 2004-06-02 21:00:10 by bursa]
Add some extensions.

svn path=/import/netsurf/; revision=910
2004-06-02 21:00:10 +00:00
Matthew Hambley
67faa03448 [project @ 2004-05-20 20:10:42 by matthewh]
A stub function which should have returned a value wasn't.

svn path=/import/netsurf/; revision=871
2004-05-20 20:10:42 +00:00
James Bursa
01586b4ab9 [project @ 2004-05-13 14:41:50 by bursa]
Minor fixes to the debug build.

svn path=/import/netsurf/; revision=860
2004-05-13 14:41:50 +00:00
James Bursa
1f07fc6de5 [project @ 2004-04-24 23:42:31 by bursa]
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.

svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
James Bursa
ac7c95a641 [project @ 2004-04-14 12:54:20 by bursa]
Add loginlist to the debug build and schedule to the debugro build.

svn path=/import/netsurf/; revision=783
2004-04-14 12:54:20 +00:00
James Bursa
3fb3866dfb [project @ 2004-03-27 18:47:21 by bursa]
Add save_complete to the debug build.

svn path=/import/netsurf/; revision=679
2004-03-27 18:47:21 +00:00
James Bursa
b0fdba3f59 [project @ 2004-03-27 00:53:19 by bursa]
Add imagemap and jpeg to the debug build.

svn path=/import/netsurf/; revision=675
2004-03-27 00:54:03 +00:00
James Bursa
6a02385c1c [project @ 2004-03-22 00:38:08 by bursa]
Add a fetch_mimetype() for the debug build.

svn path=/import/netsurf/; revision=652
2004-03-22 00:38:08 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00