Commit Graph

32 Commits

Author SHA1 Message Date
John Mark Bell ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell f0432b9f7b Purge WITH_SAVE_COMPLETE
svn path=/trunk/netsurf/; revision=6979
2009-03-29 00:22:20 +00:00
John Mark Bell 38980e99fe Squash warnings
svn path=/trunk/netsurf/; revision=6921
2009-03-27 02:07:17 +00:00
John Mark Bell b577562953 We don't need to reparse the document when saving complete -- the document persists for the lifetime of its content.
Better still would be to perform the serialisation manually, so that we don't need to copy the document at all.

svn path=/trunk/netsurf/; revision=6774
2009-03-11 17:22:46 +00:00
John Tytgat 203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
John Tytgat 5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +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
James Bursa decb20da52 Add URL file (with the original URL) and Inventory file (listing URLs of objects) to Full Saves.
svn path=/trunk/netsurf/; revision=3383
2007-07-05 04:29:09 +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
John Mark Bell 9edb2fb92c [project @ 2005-05-21 20:29:43 by jmb]
Remove base tags from output document as they have no meaning.

svn path=/import/netsurf/; revision=1728
2005-05-21 20:29:43 +00:00
John Mark Bell 2233db5b7d [project @ 2005-05-21 15:59:19 by jmb]
Fix encoding handling when full saving

svn path=/import/netsurf/; revision=1727
2005-05-21 15:59:19 +00:00
John Mark Bell c9bd6fa9fc [project @ 2004-08-09 16:11:58 by jmb]
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.

svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
John Mark Bell 8e650e3e39 [project @ 2004-07-30 23:40:00 by jmb]
Rework stylesheet fetching code to remove dependence on magic numbers (now uses
values defined in html.h)
Make ad blocking optional.

svn path=/import/netsurf/; revision=1168
2004-07-30 23:40:01 +00:00
James Bursa 6efe47b59d [project @ 2004-06-29 12:38:49 by bursa]
Fix bug in rewrite_urls(): xmlNodes may have no name.

svn path=/import/netsurf/; revision=1027
2004-06-29 12:38:49 +00:00
John Mark Bell 8cb25b425d [project @ 2004-06-09 23:21:24 by jmb]
Add background attribute to URL rewriting engine

svn path=/import/netsurf/; revision=946
2004-06-09 23:21:24 +00:00
James Bursa 6879c02a33 [project @ 2004-06-06 19:39:17 by bursa]
Add and improve error handling of save_complete. Save HTML as UTF-8 to prevent encoding issues.

svn path=/import/netsurf/; revision=931
2004-06-06 19:39:17 +00:00
James Bursa 24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
John Mark Bell dcfa1164d3 [project @ 2004-05-01 20:16:38 by jmb]
Escape @import in doxygen comments

svn path=/import/netsurf/; revision=809
2004-05-01 20:16:38 +00:00
John Mark Bell 1df9d83656 [project @ 2004-04-13 13:31:54 by jmb]
Fix bug in URL rewriting affecting pages with embedded HTML documents.
Rename save_complete_internal to save_complete_html to aid clarity

svn path=/import/netsurf/; revision=770
2004-04-13 13:31:54 +00:00
John Mark Bell 076b8c8a96 [project @ 2004-04-10 23:41:12 by jmb]
Fix use of wrong variable when rewriting <style> elements

svn path=/import/netsurf/; revision=749
2004-04-10 23:41:12 +00:00
John Mark Bell 8961ddc366 [project @ 2004-04-05 22:36:48 by jmb]
Tidy up handling of save_complete_list.
Fix rewriting of <style> elements to cater for hidden elements.

svn path=/import/netsurf/; revision=724
2004-04-05 22:36:48 +00:00
John Mark Bell f5a0093a88 [project @ 2004-04-05 21:54:22 by jmb]
Implement outstanding functionality

svn path=/import/netsurf/; revision=722
2004-04-05 21:54:22 +00:00
James Bursa b5cd93fb6b [project @ 2004-03-27 18:44:26 by bursa]
Implement @import rewriting, fix and simplify code.

svn path=/import/netsurf/; revision=676
2004-03-27 18:44:26 +00:00
John Mark Bell a723f7b224 [project @ 2004-03-24 20:54:22 by jmb]
Remove check for well formed document.
Remove call to LOG(()) when rewriting URLs

svn path=/import/netsurf/; revision=663
2004-03-24 20:54:22 +00:00
John Mark Bell b2242ae0f0 [project @ 2004-03-24 20:10:03 by jmb]
Remove need for XML parse tree to be kept in memory.
The source document is now reparsed when saving complete.

svn path=/import/netsurf/; revision=662
2004-03-24 20:10:03 +00:00
John Mark Bell 45991c8e62 [project @ 2004-03-24 00:44:52 by jmb]
Factor out duplicate code.
Rewrite unknown URLs to be absolute

svn path=/import/netsurf/; revision=660
2004-03-24 00:44:52 +00:00
John Mark Bell 9c723a5924 [project @ 2004-03-24 00:07:21 by jmb]
Add URL rewriting for most URLs.
Still TODO:
	1) rewriting of @import rules
	2) Objects used by embedded html pages

NB. This change means that the XML parse tree is kept in memory until the content is freed.

svn path=/import/netsurf/; revision=659
2004-03-24 00:07:21 +00:00
James Bursa fba46de9cb [project @ 2004-03-11 02:19:13 by bursa]
Add source_data to content structure and remove equivalents from individual contents.

svn path=/import/netsurf/; revision=606
2004-03-11 02:19:14 +00:00
James Bursa 1c85bf0429 [project @ 2004-03-02 18:02:17 by bursa]
Add new url functions and modify to use them.

svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
John Mark Bell 36bb869ae4 [project @ 2004-02-17 23:38:44 by jmb]
Improve save_complete.
Add missing #ifdef to about.c.

svn path=/import/netsurf/; revision=559
2004-02-17 23:38:44 +00:00
John Mark Bell 6839622183 [project @ 2004-02-17 12:41:38 by jmb]
Begin save complete support.
Fix memory leak when using Select PNG renderer. (commented out lines can probably removed)

svn path=/import/netsurf/; revision=556
2004-02-17 12:41:38 +00:00