Commit Graph

4520 Commits

Author SHA1 Message Date
Michael Drake
e3861bbc1a Remove dead doc.
svn path=/trunk/netsurf/; revision=8847
2009-07-28 11:52:23 +00:00
John Mark Bell
1b60cd63b7 Include size of lwc_context in content size.
svn path=/trunk/netsurf/; revision=8835
2009-07-28 00:21:36 +00:00
John Mark Bell
c75a613546 Add stylesheet size + size of imported sheets onto CSS content size.
Remove imported contents once we've fetched them and imported them into their parent (once this has happened, the content object is just an empty shell, so not worth keeping around).

svn path=/trunk/netsurf/; revision=8831
2009-07-27 19:40:55 +00:00
John Mark Bell
2c8a235a5d Shrink allocated <style> source data block to minimum.
svn path=/trunk/netsurf/; revision=8828
2009-07-27 18:32:55 +00:00
John Mark Bell
bbdb07fe16 Fix RISC OS and Amiga builds.
The sooner this stuff is in the core, the better.

svn path=/trunk/netsurf/; revision=8827
2009-07-27 18:01:54 +00:00
John Mark Bell
3be8193500 Port r8808 to trunk.
svn path=/trunk/netsurf/; revision=8825
2009-07-27 14:58:06 +00:00
John Mark Bell
1916193813 Slight optimisation
svn path=/trunk/netsurf/; revision=8824
2009-07-27 14:57:40 +00:00
Michael Drake
abd76d327e Delete old CSS document, because it's out-of-date. Should we move the other docs to the wiki?
svn path=/trunk/netsurf/; revision=8823
2009-07-27 14:39:33 +00:00
John Mark Bell
3f62ae40d4 Retrieve charset specified on the HTTP layer.
svn path=/trunk/netsurf/; revision=8821
2009-07-27 13:56:05 +00:00
John Mark Bell
b5d55eb295 Consider stylesheet media types
svn path=/trunk/netsurf/; revision=8820
2009-07-27 13:49:10 +00:00
John Mark Bell
e5f55a27ef Fix potential crash when inline replaced elements have percentage width.
svn path=/trunk/netsurf/; revision=8814
2009-07-27 10:22:44 +00:00
John Mark Bell
4aaf13f9ed Respect configured font size
svn path=/trunk/netsurf/; revision=8813
2009-07-27 10:00:31 +00:00
Chris Young
51ab05d49f Revert r8804. This is still occuring, on two different XOOPS sites.
svn path=/trunk/netsurf/; revision=8807
2009-07-26 19:21:14 +00:00
Chris Young
a4d3cabd34 Allow the user to disable URL suggestion.
svn path=/trunk/netsurf/; revision=8806
2009-07-26 18:47:15 +00:00
Chris Young
22dd183a1b Updated version from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=8805
2009-07-26 16:26:24 +00:00
Chris Young
9c7423c90a Remove setting incremental_reflow off by default. Whatever the cause, the libcss
changes appear to have fixed it.

svn path=/trunk/netsurf/; revision=8804
2009-07-26 16:24:26 +00:00
Chris Young
d63daf0525 Minor corrections for libcss build
svn path=/trunk/netsurf/; revision=8803
2009-07-26 16:23:34 +00:00
Chris Young
055ab3ee17 Ensure quirks.css gets recognised as CSS
svn path=/trunk/netsurf/; revision=8802
2009-07-26 16:04:02 +00:00
Chris Young
f899bd2076 Fix logic
svn path=/trunk/netsurf/; revision=8801
2009-07-26 15:56:38 +00:00
John Mark Bell
24881dfb98 Something approximating error reporting. This really needs addressing properly.
svn path=/trunk/netsurf/; revision=8791
2009-07-25 21:42:27 +00:00
John Mark Bell
f734aaace5 Make round-to-nearest clearer.
svn path=/trunk/netsurf/; revision=8786
2009-07-25 17:21:35 +00:00
John Mark Bell
c51b14383c Now that libwapcaplet guarantees NUL-termination of strings, stop copying them unnecessarily.
svn path=/trunk/netsurf/; revision=8785
2009-07-25 15:47:11 +00:00
John Mark Bell
2c00c55963 Simplify line-height calculation, deferring to nscss_len2px.
svn path=/trunk/netsurf/; revision=8783
2009-07-25 13:20:12 +00:00
John Mark Bell
2939ec04de More consistent conversion of lengths to pixels.
We now calculate the nearest whole number of pixels required for 1 unit, then multiply that by the requested length.
This means that 2 * len2px(1, cm) == len2px(2, cm), for example.

svn path=/trunk/netsurf/; revision=8782
2009-07-25 13:19:11 +00:00
Michael Drake
3c8f684145 Mention how to get LibCSS.
svn path=/trunk/netsurf/; revision=8776
2009-07-24 21:47:31 +00:00
John Mark Bell
12e49b11c2 Fix crash when a style element is not used because of mismatched media or type.
svn path=/trunk/netsurf/; revision=8768
2009-07-24 01:48:53 +00:00
John Mark Bell
4af04582ad Fix textarea line height.
svn path=/trunk/netsurf/; revision=8766
2009-07-24 01:03:17 +00:00
John Mark Bell
7ee7281fcd Fix font config stuff
svn path=/trunk/netsurf/; revision=8765
2009-07-24 00:43:02 +00:00
Michael Drake
836859763e Undo alignment change pending proper implementation of HTML alignment.
svn path=/trunk/netsurf/; revision=8764
2009-07-24 00:20:59 +00:00
John Mark Bell
cc662408b7 Fix text/plain lineheight calculation
svn path=/trunk/netsurf/; revision=8763
2009-07-24 00:17:43 +00:00
Michael Drake
48e3221458 Don't attempt to basline-align non text related inlines.
svn path=/trunk/netsurf/; revision=8762
2009-07-24 00:08:23 +00:00
Michael Drake
010774fb25 Remove old forced table cell text alignement.
svn path=/trunk/netsurf/; revision=8759
2009-07-23 23:54:49 +00:00
James Bursa
b1c1d85f97 Better way of aligning text baselines. Move boxes down to align 0.75 point instead of changing height.
svn path=/trunk/netsurf/; revision=8758
2009-07-23 23:51:43 +00:00
John Mark Bell
3dd350a5ea Correct include.
svn path=/trunk/netsurf/; revision=8757
2009-07-23 23:50:35 +00:00
Michael Drake
b22f567bdd Remove mention of re2c and lemon. Still need to update with LibCSS and wapcaplet info.
svn path=/trunk/netsurf/; revision=8755
2009-07-23 23:25:51 +00:00
John Mark Bell
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Chris Young
b20949a350 Replace URL bar with custom StringView class. Thanks to Stephen Fellner, Rene W Olsen
and Joerg Strohmayer.

svn path=/trunk/netsurf/; revision=8723
2009-07-23 11:23:34 +00:00
James Bursa
dffc8779ed Set height of all text boxes in a line to the height of the highest one. This aligns the baseline of text which changes font size in a line. However, when the inline-block is reflowed, the heights do not shrink again where they could.
svn path=/trunk/netsurf/; revision=8716
2009-07-23 02:29:12 +00:00
Michael Drake
f1eb054b87 Merged revisions 8663 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines
  
  added getter for textarea dimensions
........

svn path=/trunk/netsurf/; revision=8695
2009-07-22 15:59:25 +00:00
John Mark Bell
1e96962f6f Fix stupid
svn path=/trunk/netsurf/; revision=8672
2009-07-22 07:59:55 +00:00
John Mark Bell
6e13c2fb0a Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
Michael Drake
4ff22c67df Fix render colour of selected text.
svn path=/trunk/netsurf/; revision=8642
2009-07-21 11:33:55 +00:00
John Mark Bell
2565a37a52 Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Chris Young
1930989f8c Switch off incremental reflow by default, as for some reason it started causing some
sites randomly to freeze on load (with objects remaining) a couple of months back.

svn path=/trunk/netsurf/; revision=8618
2009-07-18 11:50:22 +00:00
Chris Young
0ef4d08580 Fix OS4.0 key duplication issue (unsat bug#62)
and there was much rejoicing

svn path=/trunk/netsurf/; revision=8617
2009-07-18 11:36:41 +00:00
Chris Young
01d87bd5ba Remove old progress pointer hack
svn path=/trunk/netsurf/; revision=8562
2009-07-15 17:44:25 +00:00
Michael Drake
1299c213ea Revert accidental commit.
svn path=/trunk/netsurf/; revision=8529
2009-07-14 16:53:39 +00:00
Michael Drake
3bfba0f584 mouse_track
svn path=/trunk/netsurf/; revision=8528
2009-07-14 16:51:42 +00:00
Michael Drake
9ec94e4dcf Use progress pointer.
svn path=/trunk/netsurf/; revision=8527
2009-07-14 16:18:35 +00:00
Michael Drake
7fc42b80a4 Improve RISC OS progress pointer.
svn path=/trunk/netsurf/; revision=8526
2009-07-14 15:54:01 +00:00