summaryrefslogtreecommitdiff
path: root/render/box.h
Commit message (Collapse)AuthorAgeFilesLines
* 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/+1
| | | | 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-7/+6
| | | | | | 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-4/+9
| | | | svn path=/trunk/netsurf/; revision=3028
* Modify implementation of absolute positioning to support "static positions". ↵James Bursa2006-10-081-5/+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
* Experimental new frames code.Richard Wilson2006-09-021-0/+1
| | | | svn path=/trunk/netsurf/; revision=2906
* Changes to struct box for absolute positioning.James Bursa2006-06-211-0/+5
| | | | svn path=/trunk/netsurf/; revision=2640
* [project @ 2006-04-04 10:56:21 by dsilvers]Daniel Silverstone2006-04-041-0/+4
| | | | | | 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-0/+7
| | | | | | 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-1/+1
| | | | | | 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-0/+7
| | | | | | 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-0/+1
| | | | | | | Move imagemap.[ch] into render/ Make imagemap URL extraction use box_extract_link svn path=/import/netsurf/; revision=1847
* [project @ 2005-07-21 21:48:41 by bursa]James Bursa2005-07-211-2/+5
| | | | | | Fix layout min max bug with blocks with negative margins. Add assert()s to check that 0 <= min_width <= max_width at the end of each layout_minmax_X() function. svn path=/import/netsurf/; revision=1813
* [project @ 2005-07-02 17:58:32 by bursa]James Bursa2005-07-021-1/+2
| | | | | | Bring comment showing permitted child nodes up to date. svn path=/import/netsurf/; revision=1775
* [project @ 2005-06-05 20:54:37 by bursa]James Bursa2005-06-051-6/+5
| | | | | | 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/+5
| | | | | | 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-1/+5
| | | | | | 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-0/+1
| | | | | | 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-15 05:52:11 by adrianl]Adrian Lees2005-04-151-0/+2
| | | | | | Text selection svn path=/import/netsurf/; revision=1636
* [project @ 2005-04-13 21:58:28 by bursa]James Bursa2005-04-131-21/+22
| | | | | | 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-5/+1
| | | | | | 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-5/+4
| | | | | | 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-5/+10
| | | | | | Split box.c into box_construct.c, box_normalise.c, and box.c. svn path=/import/netsurf/; revision=1583
* [project @ 2005-02-20 13:18:21 by bursa]James Bursa2005-02-201-3/+0
| | | | | | Font rewrite, part 2. svn path=/import/netsurf/; revision=1518
* [project @ 2004-12-09 22:22:13 by bursa]James Bursa2004-12-091-1/+1
| | | | | | xcalloc/xrealloc/xstrdup-purge week, part 1. svn path=/import/netsurf/; revision=1398
* [project @ 2004-11-20 00:02:56 by bursa]James Bursa2004-11-201-0/+10
| | | | | | 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-08-25 23:56:48 by bursa]James Bursa2004-08-251-0/+3
| | | | | | Experimental overflow: scroll code. svn path=/import/netsurf/; revision=1250
* [project @ 2004-08-14 14:30:10 by joty]John Tytgat2004-08-141-4/+4
| | | | | | 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-3/+4
| | | | | | Using more stddef.h types. svn path=/import/netsurf/; revision=1230
* [project @ 2004-08-13 00:55:59 by jmb]John Mark Bell2004-08-131-9/+2
| | | | | | | | Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality. Note: This is now configurable via an option (defaults to OFF) This has only really been tested with the Flash plugin and seems to work reasonably. svn path=/import/netsurf/; revision=1216
* [project @ 2004-08-11 22:08:25 by bursa]James Bursa2004-08-111-2/+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-11 19:02:32 by bursa]James Bursa2004-08-111-4/+2
| | | | | | Start work on removing instances and making content types non-shareable. Clean up some #includes. svn path=/import/netsurf/; revision=1211
* [project @ 2004-08-11 16:26:13 by jmb]John Mark Bell2004-08-111-4/+6
| | | | | | | | | | | Make content_redraw return a bool Printing of foreground images now uses OS_SpriteOp Printing of background images disabled Mega-paranoid SWI result checking in htmlredraw.c Rearranged GIF data structure slightly - updates to reflect this. Other stuff I've probably forgotten svn path=/import/netsurf/; revision=1208
* [project @ 2004-08-06 22:19:12 by jmb]John Mark Bell2004-08-061-1/+3
| | | | | | Anchor support svn path=/import/netsurf/; revision=1187
* [project @ 2004-07-19 20:40:11 by joty]John Tytgat2004-07-191-15/+14
| | | | | | | | | | 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-18 17:38:01 by bursa]James Bursa2004-07-181-0/+1
| | | | | | 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-0/+3
| | | | | | 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/+19
| | | | | | Preliminary overflow support. This also goes some way to making the horizontal scrollbar work. svn path=/import/netsurf/; revision=1088
* [project @ 2004-06-18 22:55:28 by bursa]James Bursa2004-06-181-1/+1
| | | | | | Output some more data in box_dump(). svn path=/import/netsurf/; revision=980
* [project @ 2004-06-09 19:55:06 by jmb]John Mark Bell2004-06-091-0/+4
| | | | | | | | | Implement background-image, background-repeat, background-position and background-attachment CSS properties. background-attachment and background-position need more work. Some redraw issues remain. svn path=/import/netsurf/; revision=938
* [project @ 2004-05-27 22:13:20 by bursa]James Bursa2004-05-271-10/+21
| | | | | | Fix some table layout bugs related to the recent changes to calculate_table_widths(). svn path=/import/netsurf/; revision=898
* [project @ 2004-05-21 14:26:59 by bursa]James Bursa2004-05-211-1/+2
| | | | | | Improved handling of objects and frames; some work on malloc() failure in box conversion. svn path=/import/netsurf/; revision=880
* [project @ 2004-04-26 13:45:52 by bursa]James Bursa2004-04-261-1/+1
| | | | | | Fix box_coords(). svn path=/import/netsurf/; revision=804
* [project @ 2004-04-18 15:19:53 by bursa]James Bursa2004-04-181-2/+2
| | | | | | Implement <br> properly by adding BOX_BR; fix box tree normalisation bugs. svn path=/import/netsurf/; revision=791
* [project @ 2004-04-14 12:55:16 by bursa]James Bursa2004-04-141-5/+0
| | | | | | Remove incorrect use of WITH_PLUGIN. svn path=/import/netsurf/; revision=784
* [project @ 2004-03-26 22:16:31 by jmb]John Mark Bell2004-03-261-0/+2
| | | | | | Imagemap support svn path=/import/netsurf/; revision=671
* [project @ 2004-02-22 22:22:50 by bursa]James Bursa2004-02-221-1/+2
| | | | | | Take margins, broder, padding into account in calculate_widths(). svn path=/import/netsurf/; revision=563
* [project @ 2004-02-18 00:24:41 by bursa]James Bursa2004-02-181-4/+4
| | | | | | Correct documentation of struct box. svn path=/import/netsurf/; revision=560
* [project @ 2004-02-15 20:39:53 by bursa]James Bursa2004-02-151-46/+126
| | | | | | Document box.h, remove struct page_elements. svn path=/import/netsurf/; revision=547