Commit Graph

415 Commits

Author SHA1 Message Date
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
John Mark Bell 642a3d62f2 [project @ 2005-05-16 00:55:43 by jmb]
Fix issue with erroneously appending a space to the end of every line of textarea input - should we actually be examining box->space here, instead?

svn path=/import/netsurf/; revision=1724
2005-05-16 00:55:43 +00:00
John Mark Bell 4a80b3cccf [project @ 2005-05-15 17:37:00 by jmb]
Fix read from NULL pointer

svn path=/import/netsurf/; revision=1723
2005-05-15 17:37:00 +00:00
John Mark Bell 6257ee1fec [project @ 2005-05-11 02:03:15 by jmb]
Correctly handle submitting forms via pressing return in a text input (the first declared submit button should be used)

svn path=/import/netsurf/; revision=1719
2005-05-11 02:03:15 +00:00
Richard Wilson 303f214df7 [project @ 2005-05-11 01:34:41 by rjw]
Fix for default checkbox submit value.

svn path=/import/netsurf/; revision=1718
2005-05-11 01:34:41 +00:00
James Bursa 03810e4b6c [project @ 2005-04-30 17:11:24 by bursa]
Check box->background before using box->background->bitmap.

svn path=/import/netsurf/; revision=1706
2005-04-30 17:11:24 +00:00
Richard Wilson 683892f9db [project @ 2005-04-29 01:34:19 by rjw]
Improve table rendering.

svn path=/import/netsurf/; revision=1698
2005-04-29 01:34:19 +00:00
Richard Wilson 0d54ba24d4 [project @ 2005-04-29 01:33:50 by rjw]
Correctly respect tr heights

svn path=/import/netsurf/; revision=1697
2005-04-29 01:33:50 +00:00
Richard Wilson f0dc9a3294 [project @ 2005-04-28 15:57:07 by rjw]
Unbreak HTML table border specification.

svn path=/import/netsurf/; revision=1695
2005-04-28 15:57:07 +00:00
Richard Wilson 240f15b692 [project @ 2005-04-28 02:35:03 by rjw]
HTML border attributes have lower priority that CSS values (fix osnews). Disable tr height minimum value usage for now.

svn path=/import/netsurf/; revision=1694
2005-04-28 02:35:03 +00:00
Richard Wilson 7525f1dc31 [project @ 2005-04-28 01:50:55 by rjw]
Respect minimum height for tr.

svn path=/import/netsurf/; revision=1693
2005-04-28 01:50:55 +00:00
Richard Wilson 991b660eea [project @ 2005-04-28 01:17:52 by rjw]
Translate hspace/vspace to CSS margin values.

svn path=/import/netsurf/; revision=1692
2005-04-28 01:17:52 +00:00
James Bursa ee8b6f0628 [project @ 2005-04-27 19:13:30 by bursa]
Fix cellpadding="0".

svn path=/import/netsurf/; revision=1688
2005-04-27 19:13:30 +00:00
John Mark Bell 8c21386b00 [project @ 2005-04-24 21:49:28 by jmb]
Fix invalid reads from freed data.

svn path=/import/netsurf/; revision=1683
2005-04-24 21:49:28 +00:00
Adrian Lees 31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
James Bursa 2f389b3032 [project @ 2005-04-17 16:56:41 by bursa]
Fix frameset code.

svn path=/import/netsurf/; revision=1663
2005-04-17 16:56:41 +00:00
James Bursa b1848eb109 [project @ 2005-04-17 16:42:37 by bursa]
Fix null pointer read in box_dump().

svn path=/import/netsurf/; revision=1662
2005-04-17 16:42:37 +00:00
Adrian Lees 452a27e74c [project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows

svn path=/import/netsurf/; revision=1657
2005-04-17 03:30:35 +00:00
John Mark Bell 352e18ac37 [project @ 2005-04-16 19:34:30 by jmb]
Don't append a space to the end of textarea input

svn path=/import/netsurf/; revision=1654
2005-04-16 19:34:30 +00:00
Adrian Lees 2f3895f088 [project @ 2005-04-16 08:22:57 by adrianl]
first cut at selecting inter-block spaces

svn path=/import/netsurf/; revision=1652
2005-04-16 08:22:57 +00:00
John Mark Bell c17dc661ea [project @ 2005-04-16 05:09:32 by jmb]
Split out UTF-8 handling functions.
Submit URL-encoded forms in sensible encoding:
  * First entry in accept-charset list, if present
  * Document encoding, otherwise
  We may want to explicitly look for UTF-8, to save converting.
Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc).
Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS)

svn path=/import/netsurf/; revision=1647
2005-04-16 05:09:33 +00:00
Adrian Lees 043db9ece0 [project @ 2005-04-15 05:52:11 by adrianl]
Text selection

svn path=/import/netsurf/; revision=1636
2005-04-15 05:52:11 +00:00
John Mark Bell ef7fe5d3e5 [project @ 2005-04-14 23:17:37 by jmb]
Fix form selection abort

svn path=/import/netsurf/; revision=1633
2005-04-14 23:17:37 +00:00
Richard Wilson 487cad486d [project @ 2005-04-14 19:54:24 by rjw]
Implement HTML table border setting. Improve support for the collapsing border model.

svn path=/import/netsurf/; revision=1632
2005-04-14 19:54:24 +00:00
James Bursa 11bc5345c5 [project @ 2005-04-13 21:58:28 by bursa]
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
2005-04-13 21:58:28 +00:00
James Bursa 72e3ad4fcd [project @ 2005-04-10 17:08:49 by bursa]
Implement box_get_attribute() to simplify code. Add code to attempt to extract URLs from "javascript:" links.

svn path=/import/netsurf/; revision=1620
2005-04-10 17:08:49 +00:00
John Mark Bell 63c33349f0 [project @ 2005-04-09 22:56:34 by jmb]
Fix inappropriate free()s of talloced content

svn path=/import/netsurf/; revision=1619
2005-04-09 22:56:34 +00:00
James Bursa 49fdeafbbf [project @ 2005-04-09 13:25:54 by bursa]
Add an assert() to layout_line() to help detect bugs.

svn path=/import/netsurf/; revision=1614
2005-04-09 13:25:54 +00:00
James Bursa f9d5c0f7c8 [project @ 2005-04-09 13:25:05 by bursa]
Fix iframe related crash.

svn path=/import/netsurf/; revision=1613
2005-04-09 13:25:05 +00:00
James Bursa 10fa42cd12 [project @ 2005-04-09 09:52:52 by bursa]
Remove obsolete style_clone field from struct box.

svn path=/import/netsurf/; revision=1609
2005-04-09 09:52:52 +00:00
James Bursa 2920bca14a [project @ 2005-04-09 09:47:36 by bursa]
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
2005-04-09 09:47:37 +00:00
John Mark Bell f228f3c8da [project @ 2005-04-02 18:24:47 by jmb]
Fix more FP exceptions

svn path=/import/netsurf/; revision=1589
2005-04-02 18:24:47 +00:00
James Bursa bed3897f66 [project @ 2005-04-02 11:13:27 by bursa]
Assert when a box has UNKNOWN_WIDTH after layout.

svn path=/import/netsurf/; revision=1588
2005-04-02 11:13:27 +00:00
James Bursa 29d44c739e [project @ 2005-03-28 19:17:06 by bursa]
Split convert_xml_to_box() into box_construct_element() and box_construct_text(). Add box_solve_display().

svn path=/import/netsurf/; revision=1585
2005-03-28 19:17:06 +00:00
James Bursa 64d8f9d5ed [project @ 2005-03-26 01:12:27 by bursa]
Split box.c into box_construct.c, box_normalise.c, and box.c.

svn path=/import/netsurf/; revision=1583
2005-03-26 01:12:27 +00:00
Richard Wilson 770a3f7494 [project @ 2005-03-24 13:44:24 by rjw]
Don't add fetches that failed to initialise to the object list.

svn path=/import/netsurf/; revision=1580
2005-03-24 13:44:24 +00:00
Richard Wilson c0b5985867 [project @ 2005-03-23 19:17:03 by rjw]
Fix scaling of very small background images when viewing at less than 100%

svn path=/import/netsurf/; revision=1575
2005-03-23 19:17:03 +00:00
Richard Wilson 511891d27c [project @ 2005-03-23 18:14:38 by rjw]
Fix incorrect background position calculations. Modify CSS parser to pass all background-position testcases.

svn path=/import/netsurf/; revision=1574
2005-03-23 18:14:38 +00:00