summaryrefslogtreecommitdiff
path: root/render/box.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of absolutely positioned table cells. Corrects positioning ↵Michael Drake2008-04-201-1/+4
| | | | | | of "Weather" box contents on BBC homepage. svn path=/trunk/netsurf/; revision=4100
* Various text selection improvements:Michael Drake2008-04-071-0/+27
| | | | | | | | | + Fix redraw bug where parts of old selections would get left behind + Enable selection of list marker boxes (bullet points and numbers) + Improve formatting of copied-to-clipboard or saved text selections + Select click anywhere outside current selection now clears current selection svn path=/trunk/netsurf/; revision=4079
* Make box dump show "gadget".Michael Drake2008-01-281-0/+2
| | | | svn path=/trunk/netsurf/; revision=3796
* Make F9 dump box tree to an editor for easier debugging.James Bursa2007-08-201-46/+47
| | | | svn path=/trunk/netsurf/; revision=3529
* 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-6/+6
| | | | | | | | | | | | | | 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
* Fix warning: format '%u' expects type 'unsigned int', but argument 3 has ↵James Bursa2007-05-021-1/+1
| | | | | | type 'size_t'. svn path=/trunk/netsurf/; revision=3264
* Fix box_visible() to return a bool.James Bursa2007-01-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=3144
* Stop animated images rendering for hidden or fallback boxes.James Bursa2006-12-311-0/+28
| | | | svn path=/trunk/netsurf/; revision=3128
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* More work on lists. Simplify the implementation to a BLOCK for display: ↵James Bursa2006-11-051-4/+8
| | | | | | 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-0/+4
| | | | svn path=/trunk/netsurf/; revision=3028
* Modify implementation of absolute positioning to support "static positions". ↵James Bursa2006-10-081-46/+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
* Make box_at_point detection consider absolute children tooJohn Mark Bell2006-06-261-2/+11
| | | | svn path=/trunk/netsurf/; revision=2651
* Changes to struct box for absolute positioning.James Bursa2006-06-211-0/+37
| | | | svn path=/trunk/netsurf/; revision=2640
* Fix box_at_point() for certain cases involving floats (solves unclickable ↵James Bursa2006-05-241-17/+23
| | | | | | links on Wikipedia). Fix text-selection code that assumed that text boxes would be returned last by box_at_point(). svn path=/trunk/netsurf/; revision=2606
* [project @ 2006-04-04 10:56:21 by dsilvers]Daniel Silverstone2006-04-041-0/+1
| | | | | | New way to do the <pre> newline stripping to cope with tags in the <pre> svn path=/import/netsurf/; revision=2486
* [project @ 2006-02-15 23:09:53 by adrianl]Adrian Lees2006-02-151-2/+25
| | | | | | Extend text selection, copying, saving and searching code to handle textplain contents; modified textplain code to accept other line terminators svn path=/import/netsurf/; revision=2081
* [project @ 2005-08-22 22:49:52 by bursa]James Bursa2005-08-221-2/+3
| | | | | | 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-3/+6
| | | | | | 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 21:43:36 by bursa]James Bursa2005-08-141-1/+2
| | | | | | Fix box_contains_point() for non-rectangular inlines. svn path=/import/netsurf/; revision=1846
* [project @ 2005-07-02 17:49:40 by bursa]James Bursa2005-07-021-0/+11
| | | | | | Display contents of table->col[] in box_dump(). svn path=/import/netsurf/; revision=1774
* [project @ 2005-06-05 20:54:37 by bursa]James Bursa2005-06-051-4/+7
| | | | | | 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-3/+4
| | | | | | 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-22 21:50:14 by bursa]James Bursa2005-05-221-0/+4
| | | | | | 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-04-20 12:24:41 by adrianl]Adrian Lees2005-04-201-1/+29
| | | | | | text import from global clipboard, other apps & files and additional keys for editing text in textareas svn path=/import/netsurf/; revision=1673
* [project @ 2005-04-17 16:42:37 by bursa]James Bursa2005-04-171-1/+1
| | | | | | Fix null pointer read in box_dump(). svn path=/import/netsurf/; revision=1662
* [project @ 2005-04-13 21:58:28 by bursa]James Bursa2005-04-131-37/+24
| | | | | | 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:52:52 by bursa]James Bursa2005-04-091-1/+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-43/+16
| | | | | | 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-26 01:12:27 by bursa]James Bursa2005-03-261-3119/+110
| | | | | | Split box.c into box_construct.c, box_normalise.c, and box.c. svn path=/import/netsurf/; revision=1583
* [project @ 2005-03-22 00:10:42 by rjw]Richard Wilson2005-03-221-0/+15
| | | | | | Experimental cellpadding support svn path=/import/netsurf/; revision=1569
* [project @ 2005-03-19 14:23:47 by rjw]Richard Wilson2005-03-191-4/+4
| | | | | | Solve clickable area test case. svn path=/import/netsurf/; revision=1544
* [project @ 2005-03-18 23:50:36 by rjw]Richard Wilson2005-03-181-4/+4
| | | | | | Take borders into account when checking whether a box contains a point. svn path=/import/netsurf/; revision=1540
* [project @ 2005-02-20 13:18:21 by bursa]James Bursa2005-02-201-18/+0
| | | | | | Font rewrite, part 2. svn path=/import/netsurf/; revision=1518
* [project @ 2005-02-15 22:34:22 by jmb]John Mark Bell2005-02-151-165/+241
| | | | | | | Fix loads of object/embed/applet/iframe memory leaks. Disable handling of applet tag as the implementation's broken and we don't have a sensible JVM anyway. svn path=/import/netsurf/; revision=1514
* [project @ 2005-02-04 19:41:59 by jmb]John Mark Bell2005-02-041-1/+6
| | | | | | Prevent assertion failure on pages with white-space: pre-wrap / pre-line svn path=/import/netsurf/; revision=1492
* [project @ 2005-01-16 00:14:31 by jmb]John Mark Bell2005-01-161-1/+1
| | | | | | Ensure style struct exists before attempting to free svn path=/import/netsurf/; revision=1452
* [project @ 2005-01-16 00:03:45 by jmb]John Mark Bell2005-01-161-39/+47
| | | | | | Create interface for duplication and destruction of css_style structs. svn path=/import/netsurf/; revision=1450
* [project @ 2005-01-13 20:28:50 by bursa]James Bursa2005-01-131-0/+1
| | | | | | Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters. svn path=/import/netsurf/; revision=1447
* [project @ 2005-01-01 22:05:20 by bursa]James Bursa2005-01-011-9/+15
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection. svn path=/import/netsurf/; revision=1416
* [project @ 2005-01-01 14:51:35 by bursa]James Bursa2005-01-011-62/+169
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 4. svn path=/import/netsurf/; revision=1415
* [project @ 2004-12-13 22:17:43 by bursa]James Bursa2004-12-131-54/+77
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 3. svn path=/import/netsurf/; revision=1403
* [project @ 2004-12-12 22:00:30 by bursa]James Bursa2004-12-121-134/+175
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 2. svn path=/import/netsurf/; revision=1401
* [project @ 2004-12-09 22:22:13 by bursa]James Bursa2004-12-091-130/+211
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 1. svn path=/import/netsurf/; revision=1398
* [project @ 2004-12-06 22:31:22 by bursa]James Bursa2004-12-061-1/+1
| | | | | | Fix horizontal cellspacing. svn path=/import/netsurf/; revision=1385
* [project @ 2004-12-05 21:42:08 by bursa]James Bursa2004-12-051-5/+52
| | | | | | Make frames scroll. Implement table cellspacing attribute. svn path=/import/netsurf/; revision=1383
* [project @ 2004-11-20 00:02:56 by bursa]James Bursa2004-11-201-2/+1
| | | | | | Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders. svn path=/import/netsurf/; revision=1363
* [project @ 2004-10-17 21:10:19 by bursa]James Bursa2004-10-171-53/+85
| | | | | | Move box tree from html.layout->children to html.layout. Work on scrollbars. svn path=/import/netsurf/; revision=1314
* [project @ 2004-09-03 20:32:57 by kevinb]Kevin Bagust2004-09-031-41/+196
| | | | | | Added support for table colspan=0 and rowspan=0. svn path=/import/netsurf/; revision=1262