summaryrefslogtreecommitdiff
path: root/render/box.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [project @ 2004-08-25 23:56:48 by bursa]James Bursa2004-08-251-0/+1
| | | | | | Experimental overflow: scroll code. svn path=/import/netsurf/; revision=1250
* [project @ 2004-08-25 22:11:38 by bursa]James Bursa2004-08-251-3/+4
| | | | | | Fix a NULL pointer read. svn path=/import/netsurf/; revision=1249
* [project @ 2004-08-14 15:07:19 by joty]John Tytgat2004-08-141-2/+2
| | | | | | | | - Rename len() to css_len2px(). - Less compiler warnings concerning float/int implicit casts. - More stddef.h type usuage. svn path=/import/netsurf/; revision=1232
* [project @ 2004-08-14 14:30:10 by joty]John Tytgat2004-08-141-374/+353
| | | | | | 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-30/+35
| | | | | | 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/+0
| | | | | | 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