| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
New files for some table layout functions.
svn path=/import/netsurf/; revision=1776
|
|
|
|
|
|
| |
Bring comment showing permitted child nodes up to date.
svn path=/import/netsurf/; revision=1775
|
|
|
|
|
|
| |
Display contents of table->col[] in box_dump().
svn path=/import/netsurf/; revision=1774
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix bug causing an extra line to be inserted for <br> at the end of a paragraph.
svn path=/import/netsurf/; revision=1746
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix textarea submission
svn path=/import/netsurf/; revision=1740
|
|
|
|
|
|
| |
Convert remaining BOX_INLINEs in forms to BOX_TEXT.
svn path=/import/netsurf/; revision=1736
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix inversion of overline and line-through plot offsets
svn path=/import/netsurf/; revision=1733
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix crash due to uninitialised variable.
svn path=/import/netsurf/; revision=1731
|
|
|
|
|
|
| |
Fix crash when stylesheets fail to load.
svn path=/import/netsurf/; revision=1730
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix read from NULL pointer
svn path=/import/netsurf/; revision=1723
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix for default checkbox submit value.
svn path=/import/netsurf/; revision=1718
|
|
|
|
|
|
| |
Check box->background before using box->background->bitmap.
svn path=/import/netsurf/; revision=1706
|
|
|
|
|
|
| |
Improve table rendering.
svn path=/import/netsurf/; revision=1698
|
|
|
|
|
|
| |
Correctly respect tr heights
svn path=/import/netsurf/; revision=1697
|
|
|
|
|
|
| |
Unbreak HTML table border specification.
svn path=/import/netsurf/; revision=1695
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Respect minimum height for tr.
svn path=/import/netsurf/; revision=1693
|
|
|
|
|
|
| |
Translate hspace/vspace to CSS margin values.
svn path=/import/netsurf/; revision=1692
|
|
|
|
|
|
| |
Fix cellpadding="0".
svn path=/import/netsurf/; revision=1688
|
|
|
|
|
|
| |
Fix invalid reads from freed data.
svn path=/import/netsurf/; revision=1683
|
|
|
|
|
|
| |
text import from global clipboard, other apps & files and additional keys for editing text in textareas
svn path=/import/netsurf/; revision=1673
|
|
|
|
|
|
| |
Fix frameset code.
svn path=/import/netsurf/; revision=1663
|
|
|
|
|
|
| |
Fix null pointer read in box_dump().
svn path=/import/netsurf/; revision=1662
|
|
|
|
|
|
| |
Search text highlighting in browser windows
svn path=/import/netsurf/; revision=1657
|
|
|
|
|
|
| |
Don't append a space to the end of textarea input
svn path=/import/netsurf/; revision=1654
|
|
|
|
|
|
| |
first cut at selecting inter-block spaces
svn path=/import/netsurf/; revision=1652
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Text selection
svn path=/import/netsurf/; revision=1636
|
|
|
|
|
|
| |
Fix form selection abort
svn path=/import/netsurf/; revision=1633
|
|
|
|
|
|
| |
Implement HTML table border setting. Improve support for the collapsing border model.
svn path=/import/netsurf/; revision=1632
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement box_get_attribute() to simplify code. Add code to attempt to extract URLs from "javascript:" links.
svn path=/import/netsurf/; revision=1620
|
|
|
|
|
|
| |
Fix inappropriate free()s of talloced content
svn path=/import/netsurf/; revision=1619
|
|
|
|
|
|
| |
Add an assert() to layout_line() to help detect bugs.
svn path=/import/netsurf/; revision=1614
|
|
|
|
|
|
| |
Fix iframe related crash.
svn path=/import/netsurf/; revision=1613
|
|
|
|
|
|
| |
Remove obsolete style_clone field from struct box.
svn path=/import/netsurf/; revision=1609
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix more FP exceptions
svn path=/import/netsurf/; revision=1589
|