summaryrefslogtreecommitdiff
path: root/render/html.c
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2005-04-13 21:58:28 by bursa]James Bursa2005-04-131-2/+97
| | | | | | Add fallback field to struct box for object fallback content. Add some checks for tree consistency to box_dump(). Rename struct plugin_params to object_param. Clean up box_object(), box_embed(), box_iframe(), and box_image(). Implement object fallback to contents if the fetch or conversion fails. svn path=/import/netsurf/; revision=1627
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-47/+39
| | | | | | Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c. svn path=/import/netsurf/; revision=1608
* [project @ 2005-03-24 13:44:24 by rjw]Richard Wilson2005-03-241-8/+14
| | | | | | Don't add fetches that failed to initialise to the object list. svn path=/import/netsurf/; revision=1580
* [project @ 2005-02-20 13:18:21 by bursa]James Bursa2005-02-201-4/+0
| | | | | | Font rewrite, part 2. svn path=/import/netsurf/; revision=1518
* [project @ 2005-01-24 23:02:37 by bursa]James Bursa2005-01-241-5/+9
| | | | | | Reformat pages loaded from memory cache to window width. svn path=/import/netsurf/; revision=1467
* [project @ 2005-01-16 21:32:10 by jmb]John Mark Bell2005-01-161-1/+3
| | | | | | Ensure style exists before freeing it svn path=/import/netsurf/; revision=1455
* [project @ 2005-01-16 00:03:45 by jmb]John Mark Bell2005-01-161-1/+1
| | | | | | Create interface for duplication and destruction of css_style structs. svn path=/import/netsurf/; revision=1450
* [project @ 2005-01-03 02:09:20 by jmb]John Mark Bell2005-01-031-6/+6
| | | | | | Shift + Click == download svn path=/import/netsurf/; revision=1429
* [project @ 2005-01-02 03:58:20 by jmb]John Mark Bell2005-01-021-2/+6
| | | | | | xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c) svn path=/import/netsurf/; revision=1419
* [project @ 2005-01-01 22:05:20 by bursa]James Bursa2005-01-011-115/+238
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection. svn path=/import/netsurf/; revision=1416
* [project @ 2004-12-13 22:17:43 by bursa]James Bursa2004-12-131-4/+5
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 3. svn path=/import/netsurf/; revision=1403
* [project @ 2004-12-08 00:33:25 by jmb]John Mark Bell2004-12-081-1/+7
| | | | | | Update to work with new imagemap interface svn path=/import/netsurf/; revision=1391
* [project @ 2004-10-17 22:13:34 by jmb]John Mark Bell2004-10-171-12/+2
| | | | | | Lose hard-coded stylesheet URLs. svn path=/import/netsurf/; revision=1323
* [project @ 2004-10-17 21:10:19 by bursa]James Bursa2004-10-171-29/+6
| | | | | | Move box tree from html.layout->children to html.layout. Work on scrollbars. svn path=/import/netsurf/; revision=1314
* [project @ 2004-08-14 14:30:10 by joty]John Tytgat2004-08-141-6/+6
| | | | | | Removed a chunk of Norcroft compiler warnings. Re-ident some pieces. svn path=/import/netsurf/; revision=1231
* [project @ 2004-08-14 12:57:00 by joty]John Tytgat2004-08-141-2/+2
| | | | | | Using more stddef.h types. svn path=/import/netsurf/; revision=1230
* [project @ 2004-08-11 22:08:25 by bursa]James Bursa2004-08-111-1/+49
| | | | | | Remove content_add_instance(), content_remove_instance(), content_reshape_instance(). Add content_open(), content_close(). Implement for CONTENT_HTML. svn path=/import/netsurf/; revision=1213
* [project @ 2004-08-11 19:02:32 by bursa]James Bursa2004-08-111-0/+10
| | | | | | Start work on removing instances and making content types non-shareable. Clean up some #includes. svn path=/import/netsurf/; revision=1211
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-4/+7
| | | | | | | 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
* [project @ 2004-07-30 23:40:00 by jmb]John Mark Bell2004-07-301-22/+45
| | | | | | | | 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
* [project @ 2004-07-16 20:26:49 by jmb]John Mark Bell2004-07-161-2/+24
| | | | | | Preliminary overflow support. This also goes some way to making the horizontal scrollbar work. svn path=/import/netsurf/; revision=1088
* [project @ 2004-07-05 20:19:51 by joty]John Tytgat2004-07-051-8/+28
| | | | | | Using UTF-8 instead of Latin1 encoding. svn path=/import/netsurf/; revision=1049
* [project @ 2004-06-24 23:29:31 by bursa]James Bursa2004-06-241-3/+3
| | | | | | Simplify and improve parse_background_position(). Implement css_parse_rgb(). Fix truncation of paragraphs with background images. svn path=/import/netsurf/; revision=1003
* [project @ 2004-06-21 15:09:58 by bursa]James Bursa2004-06-211-7/+6
| | | | | | Merge memory cache into content module. svn path=/import/netsurf/; revision=986
* [project @ 2004-06-20 23:09:51 by bursa]James Bursa2004-06-201-5/+36
| | | | | | Implement content_stop() and html_stop(). svn path=/import/netsurf/; revision=982
* [project @ 2004-06-12 20:08:47 by joty]John Tytgat2004-06-121-19/+19
| | | | | | html_find_stylesheets() : returns void, not bool. svn path=/import/netsurf/; revision=968
* [project @ 2004-06-10 23:55:23 by bursa]James Bursa2004-06-101-74/+66
| | | | | | Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements. svn path=/import/netsurf/; revision=957
* [project @ 2004-06-10 22:39:56 by jmb]John Mark Bell2004-06-101-1/+1
| | | | | | Compiler warning purge svn path=/import/netsurf/; revision=954
* [project @ 2004-06-10 20:41:26 by bursa]James Bursa2004-06-101-61/+50
| | | | | | 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
* [project @ 2004-06-09 23:13:55 by bursa]James Bursa2004-06-091-7/+9
| | | | | | Fix double-free of background image url. Add background parameter to html_fetch_object(). svn path=/import/netsurf/; revision=944
* [project @ 2004-06-09 19:55:06 by jmb]John Mark Bell2004-06-091-5/+16
| | | | | | | | | Implement background-image, background-repeat, background-position and background-attachment CSS properties. background-attachment and background-position need more work. Some redraw issues remain. svn path=/import/netsurf/; revision=938
* [project @ 2004-06-05 15:03:59 by joty]John Tytgat2004-06-051-16/+14
| | | | | | | Created content_set_status() : one centralised place where status_message in the content struct is updated in a fail safe way. svn path=/import/netsurf/; revision=928
* [project @ 2004-06-02 21:09:14 by bursa]James Bursa2004-06-021-4/+7
| | | | | | Update calls to layout_document() for error handling. svn path=/import/netsurf/; revision=915
* [project @ 2004-05-21 14:26:59 by bursa]James Bursa2004-05-211-51/+43
| | | | | | Improved handling of objects and frames; some work on malloc() failure in box conversion. svn path=/import/netsurf/; revision=880
* [project @ 2004-05-09 16:49:53 by joty]John Tytgat2004-05-091-8/+18
| | | | | | Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk). svn path=/import/netsurf/; revision=846
* [project @ 2004-04-26 13:47:51 by bursa]James Bursa2004-04-261-4/+16
| | | | | | Fix scaled GIF animations. svn path=/import/netsurf/; revision=805
* [project @ 2004-04-24 23:42:31 by bursa]James Bursa2004-04-241-20/+32
| | | | | | 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
* [project @ 2004-04-17 16:00:16 by bursa]James Bursa2004-04-171-13/+12
| | | | | | Supply XML_CHAR_ENCODING_NONE to libxml2 when no encoding is specified so that meta charsets are used. svn path=/import/netsurf/; revision=788
* [project @ 2004-04-11 00:35:24 by jmb]John Mark Bell2004-04-111-0/+21
| | | | | | | | Retain aspect ratio of boxes if only one of width/height are specified (eg <img src="blah" width="123"> would scale height to be 123/image_width * image_height) NB: This does /not/ work for %age widths as %age heights do nothing as yet svn path=/import/netsurf/; revision=750
* [project @ 2004-03-28 15:41:50 by bursa]James Bursa2004-03-281-1/+0
| | | | | | Disable some excess logging. svn path=/import/netsurf/; revision=688
* [project @ 2004-03-26 22:16:31 by jmb]John Mark Bell2004-03-261-0/+7
| | | | | | Imagemap support svn path=/import/netsurf/; revision=671
* [project @ 2004-03-24 20:10:03 by jmb]John Mark Bell2004-03-241-6/+2
| | | | | | | 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
* [project @ 2004-03-24 00:07:21 by jmb]John Mark Bell2004-03-241-2/+6
| | | | | | | | | | | 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
* [project @ 2004-03-21 13:55:51 by bursa]James Bursa2004-03-211-2/+1
| | | | | | Implement gui_window_update_box() and use in response to CONTENT_MSG_REDRAW. svn path=/import/netsurf/; revision=644
* [project @ 2004-03-21 12:50:10 by bursa]James Bursa2004-03-211-0/+5
| | | | | | Animation support, not yet optimised. svn path=/import/netsurf/; revision=641
* [project @ 2004-03-11 02:19:13 by bursa]James Bursa2004-03-111-14/+6
| | | | | | Add source_data to content structure and remove equivalents from individual contents. svn path=/import/netsurf/; revision=606
* [project @ 2004-03-08 18:21:21 by jmb]John Mark Bell2004-03-081-1/+20
| | | | | | Attempt to detect document charset encoding if the server doesn't send it. svn path=/import/netsurf/; revision=592
* [project @ 2004-03-02 18:02:17 by bursa]James Bursa2004-03-021-3/+4
| | | | | | Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578
* [project @ 2004-02-27 17:45:19 by bursa]James Bursa2004-02-271-12/+17
| | | | | | Move English text to Messages file for translation. svn path=/import/netsurf/; revision=576
* [project @ 2004-02-20 00:43:17 by bursa]James Bursa2004-02-201-129/+211
| | | | | | Fix html_destroy() crash, add documentation. svn path=/import/netsurf/; revision=562