summaryrefslogtreecommitdiff
path: root/render/box_construct.c
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2005-08-22 22:49:52 by bursa]James Bursa2005-08-221-38/+51
| | | | | | 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-20 22:52:20 by bursa]James Bursa2005-08-201-10/+43
| | | | | | 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/+0
| | | | | | | 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-23/+2
| | | | | | Improvements to frames. Fix bug with BR at end of inline container. svn path=/import/netsurf/; revision=1843
* [project @ 2005-07-03 15:57:10 by jmb]John Mark Bell2005-07-031-5/+16
| | | | | | Handle forms with no action attribute svn path=/import/netsurf/; revision=1783
* [project @ 2005-07-02 20:08:24 by bursa]James Bursa2005-07-021-0/+7
| | | | | | Fix hidden form inputs being rendered. svn path=/import/netsurf/; revision=1780
* [project @ 2005-06-26 01:55:20 by jmb]John Mark Bell2005-06-261-26/+8
| | | | | | | | Move acceptable character set determination to form submission time, rather thanat box tree creation time. Use UTF-8 encoding, if specified, else use first specified encoding. Improve use of utf8_to_enc - falling back to document encoding then 8859-1 where appropriate. svn path=/import/netsurf/; revision=1765
* [project @ 2005-06-07 22:52:56 by bursa]James Bursa2005-06-071-1/+1
| | | | | | Fix bug causing an extra line to be inserted for <br> at the end of a paragraph. svn path=/import/netsurf/; revision=1746
* [project @ 2005-06-05 20:54:37 by bursa]James Bursa2005-06-051-6/+18
| | | | | | More work on borders / padding / margins on inline elements. Add BOX_INLINE_END to hold the right border / padding / margin (left is in the BOX_INLINE). svn path=/import/netsurf/; revision=1742
* [project @ 2005-06-04 12:12:38 by bursa]James Bursa2005-06-041-16/+10
| | | | | | Fix text-decoration and borders on inline elements by replacing inline_parent in box structure with end_inline_children. svn path=/import/netsurf/; revision=1741
* [project @ 2005-05-24 20:21:47 by bursa]James Bursa2005-05-241-9/+9
| | | | | | Convert remaining BOX_INLINEs in forms to BOX_TEXT. svn path=/import/netsurf/; revision=1736
* [project @ 2005-05-22 21:50:14 by bursa]James Bursa2005-05-221-11/+18
| | | | | | Add BOX_TEXT type to distinguish boxes which came from an inline element to boxes which came from a text node. Add inline_parent pointer to box structure. Rewrite text-decoration support to take advantage of the new data (line colours are now correct). Note: there is a clipping issue in redraw. svn path=/import/netsurf/; revision=1732
* [project @ 2005-05-21 23:30:19 by bursa]James Bursa2005-05-211-10/+4
| | | | | | 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-04-29 01:33:50 by rjw]Richard Wilson2005-04-291-2/+40
| | | | | | Correctly respect tr heights svn path=/import/netsurf/; revision=1697
* [project @ 2005-04-28 15:57:07 by rjw]Richard Wilson2005-04-281-2/+2
| | | | | | Unbreak HTML table border specification. svn path=/import/netsurf/; revision=1695
* [project @ 2005-04-28 02:35:03 by rjw]Richard Wilson2005-04-281-18/+24
| | | | | | HTML border attributes have lower priority that CSS values (fix osnews). Disable tr height minimum value usage for now. svn path=/import/netsurf/; revision=1694
* [project @ 2005-04-28 01:17:52 by rjw]Richard Wilson2005-04-281-1/+45
| | | | | | Translate hspace/vspace to CSS margin values. svn path=/import/netsurf/; revision=1692
* [project @ 2005-04-27 19:13:30 by bursa]James Bursa2005-04-271-2/+4
| | | | | | Fix cellpadding="0". svn path=/import/netsurf/; revision=1688
* [project @ 2005-04-24 21:49:28 by jmb]John Mark Bell2005-04-241-3/+4
| | | | | | Fix invalid reads from freed data. svn path=/import/netsurf/; revision=1683
* [project @ 2005-04-17 16:56:41 by bursa]James Bursa2005-04-171-1/+2
| | | | | | Fix frameset code. svn path=/import/netsurf/; revision=1663
* [project @ 2005-04-16 05:09:32 by jmb]John Mark Bell2005-04-161-2/+28
| | | | | | | | | | | | Split out UTF-8 handling functions. Submit URL-encoded forms in sensible encoding: * First entry in accept-charset list, if present * Document encoding, otherwise We may want to explicitly look for UTF-8, to save converting. Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc). Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS) svn path=/import/netsurf/; revision=1647
* [project @ 2005-04-14 23:17:37 by jmb]John Mark Bell2005-04-141-5/+7
| | | | | | Fix form selection abort svn path=/import/netsurf/; revision=1633
* [project @ 2005-04-14 19:54:24 by rjw]Richard Wilson2005-04-141-7/+83
| | | | | | Implement HTML table border setting. Improve support for the collapsing border model. svn path=/import/netsurf/; revision=1632
* [project @ 2005-04-13 21:58:28 by bursa]James Bursa2005-04-131-306/+156
| | | | | | 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-10 17:08:49 by bursa]James Bursa2005-04-101-102/+145
| | | | | | Implement box_get_attribute() to simplify code. Add code to attempt to extract URLs from "javascript:" links. svn path=/import/netsurf/; revision=1620
* [project @ 2005-04-09 22:56:34 by jmb]John Mark Bell2005-04-091-8/+23
| | | | | | Fix inappropriate free()s of talloced content svn path=/import/netsurf/; revision=1619
* [project @ 2005-04-09 13:25:05 by bursa]James Bursa2005-04-091-2/+8
| | | | | | Fix iframe related crash. svn path=/import/netsurf/; revision=1613
* [project @ 2005-04-09 09:52:52 by bursa]James Bursa2005-04-091-8/+0
| | | | | | Remove obsolete style_clone field from struct box. svn path=/import/netsurf/; revision=1609
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-1207/+1081
| | | | | | 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-28 19:17:06 by bursa]James Bursa2005-03-281-172/+267
| | | | | | Split convert_xml_to_box() into box_construct_element() and box_construct_text(). Add box_solve_display(). svn path=/import/netsurf/; revision=1585
* [project @ 2005-03-26 01:12:27 by bursa]James Bursa2005-03-261-0/+2384
Split box.c into box_construct.c, box_normalise.c, and box.c. svn path=/import/netsurf/; revision=1583