summaryrefslogtreecommitdiff
path: root/render/box_construct.c
Commit message (Collapse)AuthorAgeFilesLines
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-16/+16
| | | | | | | | | | | | | | 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
* Import font containing symbols we need for list items.John Mark Bell2007-05-141-4/+4
| | | | | | | (Un)Install font appropriately at runtime. Make list markers use the right characters. svn path=/trunk/netsurf/; revision=3280
* Fix embedded object + display: none; crash (1695751) (c.f r3236)John Mark Bell2007-04-061-17/+32
| | | | svn path=/trunk/netsurf/; revision=3239
* Squash access to freed memory.John Mark Bell2007-04-061-5/+5
| | | | | | | | | | | | | | | | | Actually process form inputs which have been styled display:none; This needs revisiting after 1.0 as the following will still break: <form ..> <div style="display:none;"> <input type="hidden" name="foo" value="bar"/> </div> <input type="submit" name="submit" value="submit"/> </form> The children of the div are not processed (which is correct for display purposes, but results in the hidden input being ignored entirely). A more correct fix would be to perform form input -> gadget creation orthogonally from box tree generation; then styling will have no effect. svn path=/trunk/netsurf/; revision=3236
* Recognise <image> as a synonym for <img> (fixes 1692426)John Mark Bell2007-04-011-0/+2
| | | | svn path=/trunk/netsurf/; revision=3231
* Make <object> attribute handling more spec compliantJohn Mark Bell2007-03-221-10/+31
| | | | svn path=/trunk/netsurf/; revision=3215
* Default form field maxlength to UINT_MAX (fixes 1620540)John Mark Bell2007-03-111-1/+0
| | | | svn path=/trunk/netsurf/; revision=3205
* Fix handling of % signs in textarea initial value. (Fixes 1617123)John Mark Bell2007-02-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=3180
* Make GTK build compile on FreeBSD.James Bursa2007-01-291-0/+1
| | | | svn path=/trunk/netsurf/; revision=3154
* Default frame margin 0 instead of -1. Fix marginheight parsing.James Bursa2007-01-241-9/+9
| | | | svn path=/trunk/netsurf/; revision=3147
* Don't require frames to specify a URL (fixes frame names not being recognised)Richard Wilson2007-01-031-22/+13
| | | | svn path=/trunk/netsurf/; revision=3135
* Reflow iframes on layout (fix 1617625)Richard Wilson2006-12-301-2/+6
| | | | svn path=/trunk/netsurf/; revision=3126
* Remove wrong kind of free for data allocated using talloc.James Bursa2006-12-081-1/+0
| | | | svn path=/trunk/netsurf/; revision=3113
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Implement list-style-type circle, square, none, and decimal.James Bursa2006-11-051-2/+36
| | | | svn path=/trunk/netsurf/; revision=3034
* More work on lists. Simplify the implementation to a BLOCK for display: ↵James Bursa2006-11-051-58/+31
| | | | | | list-item, with a marker box on box->list_marker. svn path=/trunk/netsurf/; revision=3031
* Initial work for display: list-item supportJohn Mark Bell2006-11-041-1/+58
| | | | svn path=/trunk/netsurf/; revision=3028
* Implement absolute positioned inlines.James Bursa2006-11-041-0/+13
| | | | svn path=/trunk/netsurf/; revision=3026
* Remove code to determine containing block; no longer used.James Bursa2006-10-221-24/+3
| | | | svn path=/trunk/netsurf/; revision=3015
* Modify implementation of absolute positioning to support "static positions". ↵James Bursa2006-10-081-13/+0
| | | | | | Absolutely positioned boxes are now in their original place in the tree instead of linked from absolute_children. svn path=/trunk/netsurf/; revision=2984
* Squash warnings.John Mark Bell2006-09-111-26/+41
| | | | svn path=/trunk/netsurf/; revision=2953
* Fixed translation of html entities when a textarea has an initial valueJeffrey Lee2006-09-111-2/+19
| | | | svn path=/trunk/netsurf/; revision=2952
* textarea html tag fix; horizontal scrollbars; auto-scroll improvementsJeffrey Lee2006-09-101-6/+22
| | | | svn path=/trunk/netsurf/; revision=2940
* Fix 1546941.Richard Wilson2006-09-021-6/+10
| | | | svn path=/trunk/netsurf/; revision=2909
* Experimental new frames code.Richard Wilson2006-09-021-218/+312
| | | | svn path=/trunk/netsurf/; revision=2906
* Stop rendering of iframe children; they're for non-iframe supporting UAs John Mark Bell2006-08-241-0/+3
| | | | | | (which isn't us) svn path=/trunk/netsurf/; revision=2893
* Ignore junk values (fix 1444336)Richard Wilson2006-07-051-9/+9
| | | | svn path=/trunk/netsurf/; revision=2715
* Fix submission of forms in embedded objects; resolve submission URL at John Mark Bell2006-07-031-7/+17
| | | | | | form creation time rather than at submit. svn path=/trunk/netsurf/; revision=2707
* Implement absolute positioning.James Bursa2006-06-261-8/+38
| | | | svn path=/trunk/netsurf/; revision=2648
* [project @ 2006-04-04 10:56:21 by dsilvers]Daniel Silverstone2006-04-041-8/+28
| | | | | | New way to do the <pre> newline stripping to cope with tags in the <pre> svn path=/import/netsurf/; revision=2486
* [project @ 2006-03-27 01:04:56 by jmb]John Mark Bell2006-03-271-0/+15
| | | | | | Reinstate checks for embedded content being the same as its parent (fixes 1456335) svn path=/import/netsurf/; revision=2196
* [project @ 2006-03-26 23:52:22 by dsilvers]Daniel Silverstone2006-03-261-0/+11
| | | | | | Allow white-space: pre* elements to consume one initial new line to make rendering neater svn path=/import/netsurf/; revision=2191
* [project @ 2006-02-25 18:50:34 by rjw]Richard Wilson2006-02-251-2/+3
| | | | | | Support for BMP files svn path=/import/netsurf/; revision=2095
* [project @ 2006-01-02 23:31:28 by jmb]John Mark Bell2006-01-021-0/+2
| | | | | | Implement font default option properly svn path=/import/netsurf/; revision=1969
* [project @ 2005-12-10 14:31:32 by adrianl]Adrian Lees2005-12-101-0/+3
| | | | | | ArtWorks support svn path=/import/netsurf/; revision=1891
* [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