summaryrefslogtreecommitdiff
path: root/render/box.c
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-28/+39
| | | | | | | Rework the interface of the URL handing module to allow for multiple error types. Modify save_complete URL rewriting appropriately. svn path=/import/netsurf/; revision=1206
* [project @ 2004-08-06 22:19:12 by jmb]John Mark Bell2004-08-061-49/+111
| | | | | | Anchor support svn path=/import/netsurf/; revision=1187
* [project @ 2004-08-01 23:09:17 by jmb]John Mark Bell2004-08-011-4/+4
| | | | | | Ignore height="", width="" svn path=/import/netsurf/; revision=1175
* [project @ 2004-08-01 20:28:02 by bursa]James Bursa2004-08-011-14/+64
| | | | | | Modify box_at_point() to use descendant bounding boxes and to search siblings (fixes links in cells with colspan not 1, as reported by Stuart Halliday and others). svn path=/import/netsurf/; revision=1173
* [project @ 2004-08-01 13:08:18 by bursa]James Bursa2004-08-011-13/+16
| | | | | | More work on overflow. Modify block centering to left-align when insufficient space. Fix caret positioning for form controls with padding. svn path=/import/netsurf/; revision=1171
* [project @ 2004-07-19 20:59:10 by joty]John Tytgat2004-07-191-2/+4
| | | | | | Warning squashing. svn path=/import/netsurf/; revision=1120
* [project @ 2004-07-19 20:40:11 by joty]John Tytgat2004-07-191-9/+8
| | | | | | | | | | form.h (struct form_control): renamed caret_char_offset to caret_box_offset; Added caret_form_offset & length. form.c: initialise new entries in struct form_control; form_successful_controls() : code reshuffling to improve readibility. box.h: TABing. box.c (box_input): init struct form_control::length. browser.c (browser_window_input_callback): UTF-8 support. Text area code needs similar changes. svn path=/import/netsurf/; revision=1117
* [project @ 2004-07-19 14:31:31 by bursa]James Bursa2004-07-191-25/+46
| | | | | | Update and simplify textarea code. Now uses BOX_BR instead of more than one inline container. Prepare for use of UTF-8 in textareas and inputs. svn path=/import/netsurf/; revision=1104
* [project @ 2004-07-18 17:38:01 by bursa]James Bursa2004-07-181-0/+30
| | | | | | Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code. svn path=/import/netsurf/; revision=1096
* [project @ 2004-07-17 23:32:08 by bursa]James Bursa2004-07-171-26/+102
| | | | | | Rewrite and simplify mouse click handling. svn path=/import/netsurf/; revision=1094
* [project @ 2004-07-16 20:26:49 by jmb]John Mark Bell2004-07-161-0/+2
| | | | | | Preliminary overflow support. This also goes some way to making the horizontal scrollbar work. svn path=/import/netsurf/; revision=1088
* [project @ 2004-07-16 19:47:02 by rjw]Richard Wilson2004-07-161-0/+4
| | | | | | Fix for hotlist menu selection. Interface for MNG/JNG display. svn path=/import/netsurf/; revision=1083