Commit Graph

452 Commits

Author SHA1 Message Date
James Bursa 666cdaf8dd [project @ 2005-12-11 21:54:30 by bursa]
Disable some log messages.

svn path=/import/netsurf/; revision=1896
2005-12-11 21:54:30 +00:00
Adrian Lees 1efd4796a2 [project @ 2005-12-10 14:31:32 by adrianl]
ArtWorks support

svn path=/import/netsurf/; revision=1891
2005-12-10 14:31:33 +00:00
James Bursa 04566797cd [project @ 2005-11-06 11:00:33 by bursa]
Fix crash when a frame contains floats.

svn path=/import/netsurf/; revision=1877
2005-11-06 11:00:33 +00:00
James Bursa a54ae0e82d [project @ 2005-10-30 21:23:24 by bursa]
Treat HTML objects (frames) as part of the box tree during layout.

svn path=/import/netsurf/; revision=1875
2005-10-30 21:23:24 +00:00
James Bursa c28747d710 [project @ 2005-10-30 21:23:03 by bursa]
Add page, index, and box to struct content_html_data. Implement html_replace_object() and html_find_target(). No longer combine box trees of frames and frameset (was causing crashes).

svn path=/import/netsurf/; revision=1874
2005-10-30 21:23:03 +00:00
James Bursa 1481f4b7f0 [project @ 2005-08-31 20:29:11 by bursa]
Fix submitting of forms with more than one image button.

svn path=/import/netsurf/; revision=1856
2005-08-31 20:29:11 +00:00
James Bursa 4ce357f09b [project @ 2005-08-22 22:49:52 by bursa]
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
2005-08-22 22:49:52 +00:00
James Bursa 08e8ee3ed1 [project @ 2005-08-21 12:04:17 by bursa]
Change void * parameters to intptr_t to make them correct for storing integers or pointers.

svn path=/import/netsurf/; revision=1852
2005-08-21 12:04:18 +00:00
James Bursa 8afd957986 [project @ 2005-08-20 22:52:20 by bursa]
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
2005-08-20 22:52:20 +00:00
John Mark Bell 58d9b45e81 [project @ 2005-08-14 23:56:15 by jmb]
Move imagemap.[ch] into render/
Make imagemap URL extraction use box_extract_link

svn path=/import/netsurf/; revision=1847
2005-08-14 23:56:15 +00:00
James Bursa d3a5e7251d [project @ 2005-08-14 21:43:36 by bursa]
Fix box_contains_point() for non-rectangular inlines.

svn path=/import/netsurf/; revision=1846
2005-08-14 21:43:36 +00:00
James Bursa 7a981bb70a [project @ 2005-08-08 19:19:20 by bursa]
Fix redraw of underlines and other text-decoration.

svn path=/import/netsurf/; revision=1845
2005-08-08 19:19:20 +00:00
James Bursa 419517f0aa [project @ 2005-08-07 21:28:48 by bursa]
Improvements to frames. Fix bug with BR at end of inline container.

svn path=/import/netsurf/; revision=1843
2005-08-07 21:28:48 +00:00
James Bursa 1808739e33 [project @ 2005-08-06 23:34:30 by bursa]
Fix vertical positioning of floats when an empty block with top padding is present.

svn path=/import/netsurf/; revision=1842
2005-08-06 23:34:30 +00:00
James Bursa 362a6000b4 [project @ 2005-08-06 22:29:30 by bursa]
Use given width as initial min/max width of fixed-width table columns. This improves the layout of certain tables with colspans.

svn path=/import/netsurf/; revision=1841
2005-08-06 22:29:30 +00:00
James Bursa 3b4baa8008 [project @ 2005-08-04 22:51:42 by bursa]
Fix strndup() compiler warnings.

svn path=/import/netsurf/; revision=1840
2005-08-04 22:51:42 +00:00
James Bursa 0ba79e1ad4 [project @ 2005-07-31 21:57:07 by bursa]
Implement clear on <br>.

svn path=/import/netsurf/; revision=1834
2005-07-31 21:57:07 +00:00
James Bursa 0455ab1c54 [project @ 2005-07-31 11:21:46 by bursa]
Fix certain cases of relative positioning, and make the recursion more efficient (don't recurse for BOX_TEXT).

svn path=/import/netsurf/; revision=1831
2005-07-31 11:21:46 +00:00
John Mark Bell aa0b803063 [project @ 2005-07-30 23:32:48 by jmb]
Position: relative; support.

svn path=/import/netsurf/; revision=1830
2005-07-30 23:32:48 +00:00
John Mark Bell e37acd498f [project @ 2005-07-27 22:49:53 by jmb]
Mark invalid CSS contents with an error so they get flushed from the cache.

svn path=/import/netsurf/; revision=1828
2005-07-27 22:49:53 +00:00
James Bursa e05db0c28c [project @ 2005-07-24 14:29:32 by bursa]
Fix position of certain floats.

svn path=/import/netsurf/; revision=1822
2005-07-24 14:29:32 +00:00
James Bursa 4e9457bee1 [project @ 2005-07-21 21:48:41 by bursa]
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
2005-07-21 21:48:41 +00:00
James Bursa 5e14874115 [project @ 2005-07-20 22:25:56 by bursa]
Fix fixed width table min / max width calculations.

svn path=/import/netsurf/; revision=1811
2005-07-20 22:25:56 +00:00
James Bursa e24bed7715 [project @ 2005-07-20 22:08:56 by bursa]
Fix min / max bug with negative margins (treat as 0 for now).

svn path=/import/netsurf/; revision=1810
2005-07-20 22:08:56 +00:00
Adrian Lees 17bbed4523 [project @ 2005-07-18 16:38:59 by adrianl]
Fix text selection jitter

svn path=/import/netsurf/; revision=1804
2005-07-18 16:38:59 +00:00
John Mark Bell b37420136c [project @ 2005-07-18 14:22:26 by jmb]
Fix erroneous attempt to uppercase address of character instead of the character itself

svn path=/import/netsurf/; revision=1802
2005-07-18 14:22:26 +00:00
James Bursa fba1dfcf68 [project @ 2005-07-06 19:56:34 by bursa]
Fix broken code in table_find_cell().

svn path=/import/netsurf/; revision=1788
2005-07-06 19:56:34 +00:00
John Mark Bell 3805c219fb [project @ 2005-07-03 15:57:10 by jmb]
Handle forms with no action attribute

svn path=/import/netsurf/; revision=1783
2005-07-03 15:57:10 +00:00
James Bursa 78102aa4e1 [project @ 2005-07-02 23:37:41 by bursa]
Improvements to layout_minmax_line(). Fix width of floats / inline blocks without an explicit width (space for margins, borders, padding was added twice).

svn path=/import/netsurf/; revision=1781
2005-07-02 23:37:41 +00:00
James Bursa 8a7ebeb2cc [project @ 2005-07-02 20:08:24 by bursa]
Fix hidden form inputs being rendered.

svn path=/import/netsurf/; revision=1780
2005-07-02 20:08:24 +00:00
James Bursa 5abb753c85 [project @ 2005-07-02 18:19:41 by bursa]
Fix copyright comments.

svn path=/import/netsurf/; revision=1779
2005-07-02 18:19:41 +00:00
James Bursa 9b78daf135 [project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.

svn path=/import/netsurf/; revision=1777
2005-07-02 18:17:51 +00:00
James Bursa 894ba8b623 [project @ 2005-07-02 18:06:10 by bursa]
New files for some table layout functions.

svn path=/import/netsurf/; revision=1776
2005-07-02 18:06:10 +00:00
James Bursa 39c981a4d8 [project @ 2005-07-02 17:58:32 by bursa]
Bring comment showing permitted child nodes up to date.

svn path=/import/netsurf/; revision=1775
2005-07-02 17:58:32 +00:00
James Bursa 844f4af2de [project @ 2005-07-02 17:49:40 by bursa]
Display contents of table->col[] in box_dump().

svn path=/import/netsurf/; revision=1774
2005-07-02 17:49:40 +00:00
John Mark Bell 5817f82ba8 [project @ 2005-06-26 22:18:37 by jmb]
Improve clarity of use of utf8_to_enc.
Remove use of curl_escape - url_escape does similar things, just better.

svn path=/import/netsurf/; revision=1766
2005-06-26 22:18:37 +00:00
John Mark Bell 3286c99dd5 [project @ 2005-06-26 01:55:20 by jmb]
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
2005-06-26 01:55:20 +00:00
Richard Wilson b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
James Bursa 84f274f215 [project @ 2005-06-07 22:52:56 by bursa]
Fix bug causing an extra line to be inserted for <br> at the end of a paragraph.

svn path=/import/netsurf/; revision=1746
2005-06-07 22:52:56 +00:00
John Mark Bell 0bcfdbeb50 [project @ 2005-06-07 21:29:26 by jmb]
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.

svn path=/import/netsurf/; revision=1744
2005-06-07 21:29:26 +00:00
James Bursa 57b68bd933 [project @ 2005-06-05 20:54:37 by bursa]
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
2005-06-05 20:54:37 +00:00
James Bursa 99a483dd7b [project @ 2005-06-04 12:12:38 by bursa]
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
2005-06-04 12:12:38 +00:00
John Mark Bell b2918fc57b [project @ 2005-05-25 23:06:26 by jmb]
Fix textarea submission

svn path=/import/netsurf/; revision=1740
2005-05-25 23:06:26 +00:00
James Bursa 69d6e0685f [project @ 2005-05-24 20:21:47 by bursa]
Convert remaining BOX_INLINEs in forms to BOX_TEXT.

svn path=/import/netsurf/; revision=1736
2005-05-24 20:21:47 +00:00
James Bursa e2fb0a94cd [project @ 2005-05-23 22:14:09 by bursa]
Start to implement borders on inline elements. Note: borders of form controls are rendered incorrectly (text boxes in form controls need changing from INLINE to TEXT).

svn path=/import/netsurf/; revision=1734
2005-05-23 22:14:09 +00:00
John Mark Bell 2714ddd459 [project @ 2005-05-22 22:16:00 by jmb]
Fix inversion of overline and line-through plot offsets

svn path=/import/netsurf/; revision=1733
2005-05-22 22:16:00 +00:00
James Bursa 22640f85e0 [project @ 2005-05-22 21:50:14 by bursa]
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
2005-05-22 21:50:14 +00:00
James Bursa 48d1759374 [project @ 2005-05-22 19:09:43 by bursa]
Fix crash due to uninitialised variable.

svn path=/import/netsurf/; revision=1731
2005-05-22 19:09:43 +00:00
James Bursa 6bf7e4a318 [project @ 2005-05-22 12:44:44 by bursa]
Fix crash when stylesheets fail to load.

svn path=/import/netsurf/; revision=1730
2005-05-22 12:44:44 +00:00
James Bursa ff74a126f7 [project @ 2005-05-21 23:30:19 by bursa]
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
2005-05-21 23:30:19 +00:00