Commit Graph

505 Commits

Author SHA1 Message Date
John Mark Bell
19e81ab5e9 Fix previous commit; it failed to make available_width include mbp such
that subtracting them after determining the width works in the case 
where available_width > box->min_width.

svn path=/trunk/netsurf/; revision=2671
2006-06-29 09:55:31 +00:00
John Mark Bell
38bd0b13fe Compensate for box->{min_width,max_width} including mbp when
auto-widthing absolutely positioned content.

svn path=/trunk/netsurf/; revision=2670
2006-06-29 09:37:18 +00:00
John Mark Bell
22e405f914 Fix float placement when it's an exact fit for the width available
svn path=/trunk/netsurf/; revision=2661
2006-06-28 16:47:02 +00:00
John Mark Bell
61dc91e0c5 Relative positioning for absolutely positioned boxes
svn path=/trunk/netsurf/; revision=2653
2006-06-26 22:24:42 +00:00
John Mark Bell
50a8bae10f Box x,y coordinates are of padding edge relative to parent;
top,left,bottom,right are of margin edge relative to parent, so add 
margin and border width when calculating x,y from left,top.

svn path=/trunk/netsurf/; revision=2652
2006-06-26 22:00:10 +00:00
John Mark Bell
58dc86655e Make box_at_point detection consider absolute children too
svn path=/trunk/netsurf/; revision=2651
2006-06-26 20:16:24 +00:00
John Mark Bell
f881db3654 Fix calculation of right margin in case where margin right is auto
Initialise available_width correctly for shrink-to-fit widthing.

svn path=/trunk/netsurf/; revision=2649
2006-06-26 13:22:43 +00:00
James Bursa
8ee81a7d8e Implement absolute positioning.
svn path=/trunk/netsurf/; revision=2648
2006-06-26 04:52:34 +00:00
James Bursa
f1a1143a24 Fix rendering of float children of a hidden box. Render box absolute children.
svn path=/trunk/netsurf/; revision=2646
2006-06-25 23:07:24 +00:00
James Bursa
878ef9883e Changes to struct box for absolute positioning.
svn path=/trunk/netsurf/; revision=2640
2006-06-21 02:51:00 +00:00
Adrian Lees
8f7eeb9e58 Report fetching of 1 object/stylesheet correctly in status bar
svn path=/trunk/netsurf/; revision=2609
2006-05-29 00:55:43 +00:00
James Bursa
dece339528 Fix box_at_point() for certain cases involving floats (solves unclickable links on Wikipedia). Fix text-selection code that assumed that text boxes would be returned last by box_at_point().
svn path=/trunk/netsurf/; revision=2606
2006-05-24 22:55:37 +00:00
James Bursa
21dd10bcda Fix float positions after a block with a specified height.
svn path=/trunk/netsurf/; revision=2598
2006-05-07 17:20:18 +00:00
James Bursa
3e5490c6fd Move word that doesn't fit next to float below float correctly (fixes crash on ofsted site).
svn path=/trunk/netsurf/; revision=2516
2006-04-09 18:59:07 +00:00
James Bursa
eaf8a13653 Remove incorrect comment.
svn path=/trunk/netsurf/; revision=2513
2006-04-09 16:22:07 +00:00
Richard Wilson
91c933213b [project @ 2006-04-06 23:03:32 by rjw]
Fix 1462681

svn path=/import/netsurf/; revision=2499
2006-04-06 23:03:32 +00:00
Daniel Silverstone
e32213f5e4 [project @ 2006-04-04 10:56:21 by dsilvers]
New way to do the <pre> newline stripping to cope with tags in the <pre>

svn path=/import/netsurf/; revision=2486
2006-04-04 10:56:21 +00:00
Daniel Silverstone
cb243c8565 [project @ 2006-04-04 10:55:47 by dsilvers]
Small extra debug statement for when looking at box splitting

svn path=/import/netsurf/; revision=2485
2006-04-04 10:55:47 +00:00
John Mark Bell
3f979633b8 [project @ 2006-03-27 01:04:56 by jmb]
Reinstate checks for embedded content being the same as its parent (fixes 1456335)

svn path=/import/netsurf/; revision=2196
2006-03-27 01:04:56 +00:00
Daniel Silverstone
c15a9ebee7 [project @ 2006-03-26 23:52:22 by dsilvers]
Allow white-space: pre* elements to consume one initial new line to make rendering neater

svn path=/import/netsurf/; revision=2191
2006-03-26 23:52:22 +00:00
Daniel Silverstone
aee810d4d3 [project @ 2006-03-26 23:05:08 by dsilvers]
Do not include the border in the extra margin calculation for <html> tags

svn path=/import/netsurf/; revision=2188
2006-03-26 23:05:08 +00:00
Daniel Silverstone
0f13799768 [project @ 2006-03-26 22:43:22 by dsilvers]
First pass at fixing the bug shown by margintest.html in netsurftest

svn path=/import/netsurf/; revision=2187
2006-03-26 22:43:22 +00:00
James Bursa
4750aa968f [project @ 2006-03-26 21:41:18 by bursa]
Fix layout bug related to negative text indent (fixes 1437728).

svn path=/import/netsurf/; revision=2185
2006-03-26 21:41:18 +00:00
James Bursa
c2bddcee46 [project @ 2006-03-26 19:59:15 by bursa]
Fix layout bug related to floats near end of line (fixes 1453561). Pass 1 and pass 2 in layout_line() were handling space_after differently.

svn path=/import/netsurf/; revision=2182
2006-03-26 19:59:15 +00:00
Adrian Lees
05be9c073c [project @ 2006-03-26 05:46:21 by adrianl]
Correct usage of utf8_next

svn path=/import/netsurf/; revision=2172
2006-03-26 05:46:21 +00:00
Adrian Lees
a80b268ad9 [project @ 2006-03-26 04:48:45 by adrianl]
Selection and scaled plotting of tabs

svn path=/import/netsurf/; revision=2171
2006-03-26 04:48:45 +00:00
Adrian Lees
446f207168 [project @ 2006-03-25 08:53:32 by adrianl]
Tabs in textplain content

svn path=/import/netsurf/; revision=2161
2006-03-25 08:53:32 +00:00
Adrian Lees
99c1bfc195 [project @ 2006-03-22 03:56:44 by adrianl]
Prevent access to non-existent base stylesheet if it fails to load

svn path=/import/netsurf/; revision=2149
2006-03-22 03:56:44 +00:00
Rob Kendrick
190672dc98 [project @ 2006-03-22 01:06:05 by rjek]
Replace check in selected checkboxes with a tick, also now black.

svn path=/import/netsurf/; revision=2148
2006-03-22 01:06:05 +00:00
Rob Kendrick
d59c1e3537 [project @ 2006-03-21 17:33:35 by rjek]
Fix typo in redraw code.  Yes, I will learn to compile code before checking in.

svn path=/import/netsurf/; revision=2146
2006-03-21 17:33:35 +00:00
Rob Kendrick
388ce7b8c4 [project @ 2006-03-21 17:22:41 by rjek]
Radio and checkbox widgets are now 3D, and implemented arc plotting for them

svn path=/import/netsurf/; revision=2145
2006-03-21 17:22:41 +00:00
Rob Kendrick
dd6bb64347 [project @ 2006-03-20 10:56:54 by rjek]
Source cleanup and true/false to TRUE/FALSE conversion for GTK plotters

svn path=/import/netsurf/; revision=2142
2006-03-20 10:56:54 +00:00
Rob Kendrick
18fea23803 [project @ 2006-03-19 23:56:10 by rjek]
Slightly alter ratio of radio button selected dot to work better when small

svn path=/import/netsurf/; revision=2140
2006-03-19 23:56:10 +00:00
Rob Kendrick
1562dd03cb [project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting

svn path=/import/netsurf/; revision=2136
2006-03-19 19:03:07 +00:00
James Bursa
4b3d4f97a8 [project @ 2006-03-09 18:55:30 by bursa]
Partly fix debug build.

svn path=/import/netsurf/; revision=2113
2006-03-09 18:55:30 +00:00
Richard Wilson
da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +00:00
John Mark Bell
d4d3e5ee1c [project @ 2006-02-23 15:06:53 by jmb]
Handle invalid SSL certificates better - UI still needs work.
Modify fetch callback data parameter type to remove compiler warnings.
Constify things.
Lose global ssl_verify_certificates option.
Fix issue when closing a dialog without input focus.

svn path=/import/netsurf/; revision=2092
2006-02-23 15:06:54 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
John Mark Bell
b6c6d77772 [project @ 2006-02-20 02:29:19 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=2086
2006-02-20 02:29:19 +00:00
Adrian Lees
dbfdafdf18 [project @ 2006-02-15 23:09:53 by adrianl]
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
2006-02-15 23:09:55 +00:00
John Mark Bell
a784d112c5 [project @ 2006-02-13 00:17:44 by jmb]
Add missing includes

svn path=/import/netsurf/; revision=2079
2006-02-13 00:17:44 +00:00
James Bursa
415254c326 [project @ 2006-02-12 23:07:28 by bursa]
Rewrite handling of text/plain contents. Now rendered directly instead of converting to HTML.

svn path=/import/netsurf/; revision=2078
2006-02-12 23:07:28 +00:00
John Mark Bell
4c90aad659 [project @ 2006-02-04 14:40:01 by jmb]
Fix handling of controls with no value - should fix 1424022.

svn path=/import/netsurf/; revision=2056
2006-02-04 14:40:01 +00:00
James Bursa
2ef092f546 [project @ 2006-02-04 12:02:06 by bursa]
Fix text-decorations for empty elements (fixes 1398172).

svn path=/import/netsurf/; revision=2055
2006-02-04 12:02:06 +00:00
John Mark Bell
b9de635dab [project @ 2006-01-28 16:01:19 by jmb]
Fix meta-refresh implementation

svn path=/import/netsurf/; revision=2049
2006-01-28 16:01:19 +00:00
John Mark Bell
9f7e57c99d [project @ 2006-01-25 08:25:37 by jmb]
Fix stupid aborts due to not removing scheduled callbacks

svn path=/import/netsurf/; revision=2040
2006-01-25 08:25:38 +00:00
John Mark Bell
0f77b057a1 [project @ 2006-01-25 06:52:38 by jmb]
Meta refresh support

svn path=/import/netsurf/; revision=2039
2006-01-25 06:52:38 +00:00
Richard Wilson
443818ff07 [project @ 2006-01-24 23:42:28 by rjw]
Manually decode GIFs used as backgrounds.

svn path=/import/netsurf/; revision=2034
2006-01-24 23:42:28 +00:00
James Bursa
e8ef816111 [project @ 2006-01-15 22:25:40 by bursa]
Fix crash related to negative margins on inlines.

svn path=/import/netsurf/; revision=2021
2006-01-15 22:25:40 +00:00
John Mark Bell
53a6cc7e06 [project @ 2006-01-06 21:23:47 by jmb]
Fix normalisation of tables to update table->last correctly

svn path=/import/netsurf/; revision=1998
2006-01-06 21:23:47 +00:00