summaryrefslogtreecommitdiff
path: root/render/html.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs in charset detection.John Mark Bell2007-05-291-20/+66
| | | | | | | | | | | Strip BOM from parser input, as it confuses libxml. Ignore non-ASCII-compatible charsets declared in meta tag (the parser defaults to 8 bit, so if it's managed to extract a meta charset, then it must be ASCII-compatible, so a non-ASCII-compatible meta charset is lies). Fixes WightLink timetable and 1726341. svn path=/trunk/netsurf/; revision=3304
* Return an error from html_convert() if the base stylesheet fails to load, ↵James Bursa2007-05-061-24/+31
| | | | | | instead of continuing to layout which will assert. svn path=/trunk/netsurf/; revision=3266
* Set minimum META refresh delay to 1sRichard Wilson2007-04-071-0/+5
| | | | svn path=/trunk/netsurf/; revision=3246
* Deal with more ways in which meta refresh URLs can be invalid.John Mark Bell2007-04-011-14/+23
| | | | svn path=/trunk/netsurf/; revision=3229
* Fix invalidation of unwanted contents.John Mark Bell2007-03-191-1/+12
| | | | svn path=/trunk/netsurf/; revision=3214
* Ensure content owners check that they are still interested in a content John Mark Bell2007-03-181-9/+24
| | | | | | | | when receiving notification that the content's in error. This prevents content pointers being corrupted when redirects occur. Fixes 1522002, 1551475. svn path=/trunk/netsurf/; revision=3211
* Content handlers should not call warn_user - they should broadcast the John Mark Bell2007-03-111-2/+7
| | | | | | | | | | error using content_broadcast and leave it to the content owner(s) to decide what to do about it. Only use warn_user for top-level contents. svn path=/trunk/netsurf/; revision=3204
* Reparse entire document if meta charset resulting in changed document John Mark Bell2007-02-101-14/+48
| | | | | | encoding is encountered (fixes 1389126) svn path=/trunk/netsurf/; revision=3176
* Work around libxml oddness in allowing document meta encoding to John Mark Bell2007-02-101-0/+20
| | | | | | override external charset information. svn path=/trunk/netsurf/; revision=3175
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-11/+13
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165
* Add html_dump_frameset() to help understand and debug frames.James Bursa2007-01-241-0/+56
| | | | svn path=/trunk/netsurf/; revision=3148
* Fix parsing error when an empty HTML data is returned. Add HTTP status and ↵James Bursa2007-01-131-96/+126
| | | | | | other information to status bar. svn path=/trunk/netsurf/; revision=3140
* Stop animated images rendering for hidden or fallback boxes.James Bursa2006-12-311-1/+3
| | | | svn path=/trunk/netsurf/; revision=3128
* Implement form targets (fix 1619094)Richard Wilson2006-12-301-1/+2
| | | | svn path=/trunk/netsurf/; revision=3125
* Improved tracking of memory usage. c->size is now exclusive of talloc size, ↵James Bursa2006-12-031-2/+0
| | | | | | and the two are added to find the full size. svn path=/trunk/netsurf/; revision=3103
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Add browser_window_reformat() and use it instead of content_reformat() to ↵James Bursa2006-11-261-5/+0
| | | | | | remove browser_window calls from html.c. svn path=/trunk/netsurf/; revision=3071
* Move frames-related code out of browser.c into a new file. Remove some ↵James Bursa2006-11-261-5/+0
| | | | | | browser_window calls from html.c. svn path=/trunk/netsurf/; revision=3070
* Media-descriptors are case-insensitive.Michael Drake2006-11-111-4/+4
| | | | svn path=/trunk/netsurf/; revision=3044
* Ensure page encoding isn't trampled.John Mark Bell2006-11-041-0/+3
| | | | svn path=/trunk/netsurf/; revision=3027
* Call html_reformat() from html_convert() to eliminate duplicate code. ↵James Bursa2006-09-161-19/+25
| | | | | | Improve calculations of document width and height. svn path=/trunk/netsurf/; revision=2956
* Experimental new frames code.Richard Wilson2006-09-021-91/+95
| | | | svn path=/trunk/netsurf/; revision=2906
* Allow broken meta refresh commands (fix mail.google.com, bug 1522982)Richard Wilson2006-07-171-1/+10
| | | | svn path=/trunk/netsurf/; revision=2777
* Check an object has a frame name before comparing.James Bursa2006-07-121-1/+2
| | | | svn path=/trunk/netsurf/; revision=2733
* Use case-insensitive strstr to match "stylesheet"John Mark Bell2006-07-021-2/+2
| | | | svn path=/trunk/netsurf/; revision=2689
* Ignore alternate stylesheetsJohn Mark Bell2006-06-291-0/+4
| | | | svn path=/trunk/netsurf/; revision=2679
* Link rel attribute may be a space separated list, take account of this John Mark Bell2006-06-291-2/+2
| | | | | | when looking for stylesheets. svn path=/trunk/netsurf/; revision=2676
* Fix clipping of page background if body shorter than window heightJohn Mark Bell2006-06-291-6/+7
| | | | svn path=/trunk/netsurf/; revision=2675
* Report fetching of 1 object/stylesheet correctly in status barAdrian Lees2006-05-291-5/+12
| | | | svn path=/trunk/netsurf/; revision=2609
* Remove incorrect comment.James Bursa2006-04-091-1/+0
| | | | svn path=/trunk/netsurf/; revision=2513
* [project @ 2006-03-26 23:05:08 by dsilvers]Daniel Silverstone2006-03-261-4/+2
| | | | | | Do not include the border in the extra margin calculation for <html> tags svn path=/import/netsurf/; revision=2188
* [project @ 2006-03-26 22:43:22 by dsilvers]Daniel Silverstone2006-03-261-2/+10
| | | | | | First pass at fixing the bug shown by margintest.html in netsurftest svn path=/import/netsurf/; revision=2187
* [project @ 2006-03-22 03:56:44 by adrianl]Adrian Lees2006-03-221-1/+4
| | | | | | Prevent access to non-existent base stylesheet if it fails to load svn path=/import/netsurf/; revision=2149
* [project @ 2006-02-23 15:06:53 by jmb]John Mark Bell2006-02-231-0/+16
| | | | | | | | | | Handle invalid SSL certificates better - UI still needs work. Modify fetch callback data parameter type to remove compiler warnings. Constify things. Lose global ssl_verify_certificates option. Fix issue when closing a dialog without input focus. svn path=/import/netsurf/; revision=2092
* [project @ 2006-01-28 16:01:19 by jmb]John Mark Bell2006-01-281-0/+18
| | | | | | Fix meta-refresh implementation svn path=/import/netsurf/; revision=2049
* [project @ 2006-01-25 08:25:37 by jmb]John Mark Bell2006-01-251-1/+6
| | | | | | Fix stupid aborts due to not removing scheduled callbacks svn path=/import/netsurf/; revision=2040
* [project @ 2006-01-25 06:52:38 by jmb]John Mark Bell2006-01-251-0/+116
| | | | | | Meta refresh support svn path=/import/netsurf/; revision=2039
* [project @ 2005-10-30 21:23:03 by bursa]James Bursa2005-10-301-15/+164
| | | | | | Add page, index, and box to struct content_html_data. Implement html_replace_object() and html_find_target(). No longer combine box trees of frames and frameset (was causing crashes). svn path=/import/netsurf/; revision=1874
* [project @ 2005-08-22 22:49:52 by bursa]James Bursa2005-08-221-1/+1
| | | | | | More work towards frame targets: add target parameter to box_create(), and copy target down the box tree during construction. svn path=/import/netsurf/; revision=1853
* [project @ 2005-08-21 12:04:17 by bursa]James Bursa2005-08-211-35/+40
| | | | | | Change void * parameters to intptr_t to make them correct for storing integers or pointers. svn path=/import/netsurf/; revision=1852
* [project @ 2005-08-20 22:52:20 by bursa]James Bursa2005-08-201-5/+9
| | | | | | Work towards implementing link target frames: add target attribute to struct box, add frame to struct content_html_object and html_fetch_object(). svn path=/import/netsurf/; revision=1849
* [project @ 2005-08-14 23:56:15 by jmb]John Mark Bell2005-08-141-1/+1
| | | | | | | Move imagemap.[ch] into render/ Make imagemap URL extraction use box_extract_link svn path=/import/netsurf/; revision=1847
* [project @ 2005-08-07 21:28:48 by bursa]James Bursa2005-08-071-5/+10
| | | | | | Improvements to frames. Fix bug with BR at end of inline container. svn path=/import/netsurf/; revision=1843
* [project @ 2005-07-27 22:49:53 by jmb]John Mark Bell2005-07-271-0/+11
| | | | | | Mark invalid CSS contents with an error so they get flushed from the cache. svn path=/import/netsurf/; revision=1828
* [project @ 2005-07-02 18:17:51 by bursa]James Bursa2005-07-021-2/+2
| | | | | | Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height. svn path=/import/netsurf/; revision=1777
* [project @ 2005-06-23 17:22:28 by rjw]Richard Wilson2005-06-231-0/+5
| | | | | | 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
* [project @ 2005-05-22 19:09:43 by bursa]James Bursa2005-05-221-0/+1
| | | | | | Fix crash due to uninitialised variable. svn path=/import/netsurf/; revision=1731
* [project @ 2005-05-22 12:44:44 by bursa]James Bursa2005-05-221-2/+3
| | | | | | Fix crash when stylesheets fail to load. svn path=/import/netsurf/; revision=1730
* [project @ 2005-05-21 23:30:19 by bursa]James Bursa2005-05-211-0/+20
| | | | | | Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style(). svn path=/import/netsurf/; revision=1729
* [project @ 2005-05-15 17:37:00 by jmb]John Mark Bell2005-05-151-1/+1
| | | | | | Fix read from NULL pointer svn path=/import/netsurf/; revision=1723