Michael Drake
725d8c94a2
Media-descriptors are case-insensitive.
...
svn path=/trunk/netsurf/; revision=3044
2006-11-11 09:43:47 +00:00
Michael Drake
5adbed530c
Fix gap between list marker and list content.
...
svn path=/trunk/netsurf/; revision=3040
2006-11-10 14:53:46 +00:00
James Bursa
df7912f96b
Fix distortion of list marker images.
...
svn path=/trunk/netsurf/; revision=3039
2006-11-07 21:49:03 +00:00
James Bursa
f546f6b5e7
Implement list-style-type circle, square, none, and decimal.
...
svn path=/trunk/netsurf/; revision=3034
2006-11-05 19:50:34 +00:00
James Bursa
f4f17f905b
More work on lists. Simplify the implementation to a BLOCK for display: list-item, with a marker box on box->list_marker.
...
svn path=/trunk/netsurf/; revision=3031
2006-11-05 12:58:24 +00:00
John Mark Bell
7bd710a71c
Initial work for display: list-item support
...
svn path=/trunk/netsurf/; revision=3028
2006-11-04 19:53:22 +00:00
John Mark Bell
2d4276ee41
Ensure page encoding isn't trampled.
...
svn path=/trunk/netsurf/; revision=3027
2006-11-04 19:52:49 +00:00
James Bursa
b6c8e435cd
Implement absolute positioned inlines.
...
svn path=/trunk/netsurf/; revision=3026
2006-11-04 19:17:11 +00:00
James Bursa
a6b1a2ee46
Remove code to determine containing block; no longer used.
...
svn path=/trunk/netsurf/; revision=3015
2006-10-22 20:20:17 +00:00
James Bursa
2227b7c582
Do absolute positioning after other layout so that containing block is fully positioned.
...
svn path=/trunk/netsurf/; revision=2991
2006-10-10 22:00:10 +00:00
James Bursa
7b30364bc3
Check for null style before using it.
...
svn path=/trunk/netsurf/; revision=2986
2006-10-09 21:34:34 +00:00
James Bursa
a785bc25f7
Modify implementation of absolute positioning to support "static positions". Absolutely positioned boxes are now in their original place in the tree instead of linked from absolute_children.
...
svn path=/trunk/netsurf/; revision=2984
2006-10-08 22:46:25 +00:00
John Mark Bell
4b09b7b8a0
Correcly encode spaces for url-encoded form submission.
...
svn path=/trunk/netsurf/; revision=2960
2006-09-19 10:08:33 +00:00
John Mark Bell
a1b6005497
Fix 1559653.
...
svn path=/trunk/netsurf/; revision=2959
2006-09-18 00:16:39 +00:00
James Bursa
bd0dff9098
Add some documentation to layout_block_context(). Move code out into layout_block_object().
...
svn path=/trunk/netsurf/; revision=2957
2006-09-16 21:48:28 +00:00
James Bursa
7a08d0f03d
Call html_reformat() from html_convert() to eliminate duplicate code. Improve calculations of document width and height.
...
svn path=/trunk/netsurf/; revision=2956
2006-09-16 21:33:55 +00:00
John Mark Bell
55a217c6be
Squash warnings.
...
svn path=/trunk/netsurf/; revision=2953
2006-09-11 11:55:17 +00:00
Jeffrey Lee
36278685ff
Fixed translation of html entities when a textarea has an initial value
...
svn path=/trunk/netsurf/; revision=2952
2006-09-11 08:02:13 +00:00
Jeffrey Lee
f2cd31779b
Fixed textarea wordwrap if first character on line is a space
...
svn path=/trunk/netsurf/; revision=2941
2006-09-10 13:59:19 +00:00
Jeffrey Lee
271c28a5df
textarea html tag fix; horizontal scrollbars; auto-scroll improvements
...
svn path=/trunk/netsurf/; revision=2940
2006-09-10 13:27:08 +00:00
John Mark Bell
221e5aa2a3
Add frame target support to imagemaps.
...
svn path=/trunk/netsurf/; revision=2920
2006-09-06 00:15:10 +00:00
Richard Wilson
923d9f1365
Fix 1546941.
...
svn path=/trunk/netsurf/; revision=2909
2006-09-02 19:03:49 +00:00
Richard Wilson
74fa727509
Experimental new frames code.
...
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
John Mark Bell
978637a134
Stop rendering of iframe children; they're for non-iframe supporting UAs
...
(which isn't us)
svn path=/trunk/netsurf/; revision=2893
2006-08-24 20:02:37 +00:00
James Bursa
877fe5c658
Remove unused and unimplemented nsfont_txtenum().
...
svn path=/trunk/netsurf/; revision=2875
2006-08-21 02:05:51 +00:00
James Bursa
304616a797
Fix layout of standalone <br>.
...
svn path=/trunk/netsurf/; revision=2849
2006-08-14 23:05:08 +00:00
James Bursa
8405d18361
Use a minimum line height of 0 for inline containers which have no text.
...
svn path=/trunk/netsurf/; revision=2838
2006-08-13 01:00:22 +00:00
James Bursa
80b3286e9d
Layout absolutely positioned children of tables.
...
svn path=/trunk/netsurf/; revision=2791
2006-07-23 18:23:02 +00:00
Richard Wilson
675df80871
Allow broken meta refresh commands (fix mail.google.com, bug 1522982)
...
svn path=/trunk/netsurf/; revision=2777
2006-07-17 23:57:42 +00:00
James Bursa
1bf15f1e15
Check an object has a frame name before comparing.
...
svn path=/trunk/netsurf/; revision=2733
2006-07-12 04:22:57 +00:00
Richard Wilson
a47f148f2d
Optimise out redundant group_start and group_end calls (speed up rendering.)
...
svn path=/trunk/netsurf/; revision=2725
2006-07-10 09:52:31 +00:00
Richard Wilson
badad073ec
Generate directory listings (fix 1397934)
...
svn path=/trunk/netsurf/; revision=2719
2006-07-06 00:07:11 +00:00
Richard Wilson
cd59d27008
Ignore junk values (fix 1444336)
...
svn path=/trunk/netsurf/; revision=2715
2006-07-05 00:21:04 +00:00
Richard Wilson
ff6694c108
Set correct message on TEXTPLAIN completion (fix 1484874)
...
svn path=/trunk/netsurf/; revision=2712
2006-07-04 21:01:17 +00:00
John Mark Bell
5e2567370d
Fix submission of forms in embedded objects; resolve submission URL at
...
form creation time rather than at submit.
svn path=/trunk/netsurf/; revision=2707
2006-07-03 21:41:25 +00:00
James Bursa
71287140ca
Ensure that layout of absolute children is carried out after the height is known.
...
svn path=/trunk/netsurf/; revision=2696
2006-07-02 17:36:27 +00:00
Richard Wilson
eca33bd559
Add missing file.
...
svn path=/trunk/netsurf/; revision=2695
2006-07-02 17:36:18 +00:00
John Mark Bell
2cb285209e
Use case-insensitive strstr to match "stylesheet"
...
svn path=/trunk/netsurf/; revision=2689
2006-07-02 10:26:51 +00:00
Richard Wilson
cf4294d3a8
Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
...
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
John Mark Bell
928f949413
Ensure containing block has valid height for positioning absolute children
...
svn path=/trunk/netsurf/; revision=2680
2006-06-29 23:30:06 +00:00
John Mark Bell
f8469d2051
Ignore alternate stylesheets
...
svn path=/trunk/netsurf/; revision=2679
2006-06-29 23:29:15 +00:00
John Mark Bell
c5cb54b94d
Handle transparent borders correctly when plotting
...
svn path=/trunk/netsurf/; revision=2677
2006-06-29 21:30:05 +00:00
John Mark Bell
bf26437321
Link rel attribute may be a space separated list, take account of this
...
when looking for stylesheets.
svn path=/trunk/netsurf/; revision=2676
2006-06-29 21:29:21 +00:00
John Mark Bell
8c2e33b399
Fix clipping of page background if body shorter than window height
...
svn path=/trunk/netsurf/; revision=2675
2006-06-29 19:55:08 +00:00
John Mark Bell
b427a005b6
Properly take account of padding on containing block.
...
svn path=/trunk/netsurf/; revision=2673
2006-06-29 15:53:17 +00:00
John Mark Bell
25537a488a
Position specifiers are relative to containing block's padding edge for
...
absolutely positioned boxes. Compensate for this.
svn path=/trunk/netsurf/; revision=2672
2006-06-29 11:55:21 +00:00
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
John Mark Bell
611ec68e46
[project @ 2006-01-02 23:31:28 by jmb]
...
Implement font default option properly
svn path=/import/netsurf/; revision=1969
2006-01-02 23:31:29 +00:00
James Bursa
fc4317b926
[project @ 2006-01-02 13:19:34 by bursa]
...
Fix comment typo.
svn path=/import/netsurf/; revision=1948
2006-01-02 13:20:01 +00:00
Richard Wilson
b9c8f6fa4b
[project @ 2006-01-01 23:55:24 by rjw]
...
Tidy up code.
svn path=/import/netsurf/; revision=1932
2006-01-01 23:55:24 +00:00
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
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
Richard Wilson
c16c3ffa2f
[project @ 2005-03-23 16:42:37 by rjw]
...
Don't pass scaled values to children to minimise rounding errors.
svn path=/import/netsurf/; revision=1573
2005-03-23 16:42:37 +00:00
Richard Wilson
39c6af5d64
[project @ 2005-03-22 16:29:16 by rjw]
...
Fix some rounding issues for table cell calculations.
svn path=/import/netsurf/; revision=1571
2005-03-22 16:29:16 +00:00
Richard Wilson
b832e05f03
[project @ 2005-03-22 00:10:42 by rjw]
...
Experimental cellpadding support
svn path=/import/netsurf/; revision=1569
2005-03-22 00:10:42 +00:00
Richard Wilson
7f37d2f559
[project @ 2005-03-19 18:05:45 by rjw]
...
Further updates to the colour highlighting algorithm.
svn path=/import/netsurf/; revision=1547
2005-03-19 18:05:45 +00:00
Richard Wilson
5703b71610
[project @ 2005-03-19 16:39:47 by rjw]
...
Stop certain colours being incorrectly highlighted
svn path=/import/netsurf/; revision=1546
2005-03-19 16:39:47 +00:00
Richard Wilson
f61f097e9a
[project @ 2005-03-19 15:33:06 by rjw]
...
Improved colour light/dark algorith. Button borders are now dual-level 3d to improve appearance.
svn path=/import/netsurf/; revision=1545
2005-03-19 15:33:06 +00:00
Richard Wilson
fb0903a089
[project @ 2005-03-19 14:23:47 by rjw]
...
Solve clickable area test case.
svn path=/import/netsurf/; revision=1544
2005-03-19 14:23:47 +00:00
Richard Wilson
793bb9119a
[project @ 2005-03-18 23:50:36 by rjw]
...
Take borders into account when checking whether a box contains a point.
svn path=/import/netsurf/; revision=1540
2005-03-18 23:50:36 +00:00
James Bursa
527bbec028
[project @ 2005-03-07 21:30:28 by bursa]
...
Fix some more FP exceptions related to layout.
svn path=/import/netsurf/; revision=1528
2005-03-07 21:30:28 +00:00
James Bursa
10b27f45f8
[project @ 2005-02-26 18:30:48 by bursa]
...
Fix some FP exceptions due to widths left as UNKNOWN_WIDTH.
svn path=/import/netsurf/; revision=1526
2005-02-26 18:30:48 +00:00
James Bursa
1a52a32e5d
[project @ 2005-02-20 13:18:21 by bursa]
...
Font rewrite, part 2.
svn path=/import/netsurf/; revision=1518
2005-02-20 13:18:21 +00:00
John Mark Bell
f93e387801
[project @ 2005-02-15 22:34:22 by jmb]
...
Fix loads of object/embed/applet/iframe memory leaks.
Disable handling of applet tag as the implementation's broken and we don't have a sensible JVM anyway.
svn path=/import/netsurf/; revision=1514
2005-02-15 22:34:22 +00:00
John Mark Bell
430d7bc1ae
[project @ 2005-02-04 19:41:59 by jmb]
...
Prevent assertion failure on pages with white-space: pre-wrap / pre-line
svn path=/import/netsurf/; revision=1492
2005-02-04 19:41:59 +00:00
James Bursa
04f0525fbf
[project @ 2005-01-24 23:02:37 by bursa]
...
Reformat pages loaded from memory cache to window width.
svn path=/import/netsurf/; revision=1467
2005-01-24 23:02:37 +00:00
Richard Wilson
71ad0bdf69
[project @ 2005-01-16 21:39:21 by rjw]
...
Read content, counter-reset and counter-increment properties.
svn path=/import/netsurf/; revision=1456
2005-01-16 21:39:21 +00:00
John Mark Bell
7ab8b2c1ba
[project @ 2005-01-16 21:32:10 by jmb]
...
Ensure style exists before freeing it
svn path=/import/netsurf/; revision=1455
2005-01-16 21:32:10 +00:00
John Mark Bell
b75313f591
[project @ 2005-01-16 00:14:31 by jmb]
...
Ensure style struct exists before attempting to free
svn path=/import/netsurf/; revision=1452
2005-01-16 00:14:31 +00:00
John Mark Bell
1e592489b1
[project @ 2005-01-16 00:03:45 by jmb]
...
Create interface for duplication and destruction of css_style structs.
svn path=/import/netsurf/; revision=1450
2005-01-16 00:03:45 +00:00
Richard Wilson
1487697cb3
[project @ 2005-01-15 22:11:53 by rjw]
...
Background work for CSS counters (CSS 2.1/12.4)
svn path=/import/netsurf/; revision=1449
2005-01-15 22:11:53 +00:00
James Bursa
a76404dfd0
[project @ 2005-01-13 20:28:50 by bursa]
...
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.
svn path=/import/netsurf/; revision=1447
2005-01-13 20:29:24 +00:00
John Mark Bell
15e08b5252
[project @ 2005-01-11 19:39:49 by jmb]
...
Handle property: inherit; properly
svn path=/import/netsurf/; revision=1441
2005-01-11 19:39:49 +00:00
Richard Wilson
652fe9ac95
[project @ 2005-01-11 14:16:40 by rjw]
...
Perform vertical alignment for cells with specified heights.
svn path=/import/netsurf/; revision=1439
2005-01-11 14:16:40 +00:00
Richard Wilson
7b1c6c0ea8
[project @ 2005-01-10 21:35:33 by rjw]
...
Vertical alignment for table cells
svn path=/import/netsurf/; revision=1437
2005-01-10 21:35:34 +00:00
John Mark Bell
77de9c1336
[project @ 2005-01-03 02:09:20 by jmb]
...
Shift + Click == download
svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
8334683068
[project @ 2005-01-02 03:58:20 by jmb]
...
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)
svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa
7a71363d76
[project @ 2005-01-01 22:05:20 by bursa]
...
xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection.
svn path=/import/netsurf/; revision=1416
2005-01-01 22:05:21 +00:00
James Bursa
ff8dc1f9d6
[project @ 2005-01-01 14:51:35 by bursa]
...
xcalloc/xrealloc/xstrdup-purge week, part 4.
svn path=/import/netsurf/; revision=1415
2005-01-01 14:51:35 +00:00
James Bursa
1d0ef6335c
[project @ 2004-12-13 22:17:43 by bursa]
...
xcalloc/xrealloc/xstrdup-purge week, part 3.
svn path=/import/netsurf/; revision=1403
2004-12-13 22:17:43 +00:00
James Bursa
9d56448775
[project @ 2004-12-12 22:00:30 by bursa]
...
xcalloc/xrealloc/xstrdup-purge week, part 2.
svn path=/import/netsurf/; revision=1401
2004-12-12 22:00:30 +00:00
James Bursa
9995dbad57
[project @ 2004-12-12 21:49:23 by bursa]
...
Add form_new() and form_add_option().
svn path=/import/netsurf/; revision=1400
2004-12-12 21:51:01 +00:00
James Bursa
f3ce5e1e48
[project @ 2004-12-09 22:22:13 by bursa]
...
xcalloc/xrealloc/xstrdup-purge week, part 1.
svn path=/import/netsurf/; revision=1398
2004-12-09 22:22:13 +00:00
John Mark Bell
76efc5a0d0
[project @ 2004-12-08 00:33:25 by jmb]
...
Update to work with new imagemap interface
svn path=/import/netsurf/; revision=1391
2004-12-08 00:33:25 +00:00
James Bursa
dfc28d0ccb
[project @ 2004-12-06 22:31:22 by bursa]
...
Fix horizontal cellspacing.
svn path=/import/netsurf/; revision=1385
2004-12-06 22:31:22 +00:00
John Mark Bell
8a0965110f
[project @ 2004-12-05 23:51:10 by jmb]
...
Explicitly check for boxes with 0 area, as there's no point redrawing them
svn path=/import/netsurf/; revision=1384
2004-12-05 23:51:10 +00:00
James Bursa
3e6a2b9d9a
[project @ 2004-12-05 21:42:08 by bursa]
...
Make frames scroll. Implement table cellspacing attribute.
svn path=/import/netsurf/; revision=1383
2004-12-05 21:42:08 +00:00
James Bursa
37d7353f43
[project @ 2004-12-01 21:48:11 by bursa]
...
Implement table cell padding and separated borders model for tables. Min/max width calculations still need implementing.
svn path=/import/netsurf/; revision=1378
2004-12-01 21:48:11 +00:00
John Mark Bell
1105d9c397
[project @ 2004-11-22 00:33:04 by jmb]
...
Improve plain text rendering (converts occurrences of '<' with '<')
svn path=/import/netsurf/; revision=1369
2004-11-22 00:33:04 +00:00
James Bursa
48ee62b660
[project @ 2004-11-21 19:45:51 by bursa]
...
Take objects into account when calculating descendant boxes.
svn path=/import/netsurf/; revision=1367
2004-11-21 19:45:51 +00:00
James Bursa
58401792bd
[project @ 2004-11-21 19:45:17 by bursa]
...
Fix possible divide by 0. Scroll objects correctly.
svn path=/import/netsurf/; revision=1366
2004-11-21 19:45:17 +00:00
James Bursa
a31f6306f9
[project @ 2004-11-20 00:02:56 by bursa]
...
Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders.
svn path=/import/netsurf/; revision=1363
2004-11-20 00:02:56 +00:00
Richard Wilson
4bcef8408a
[project @ 2004-11-11 00:52:17 by rjw]
...
Fix for HTML redraw artifacts
svn path=/import/netsurf/; revision=1359
2004-11-11 00:52:17 +00:00
Richard Wilson
015b27ad4a
[project @ 2004-11-10 23:02:11 by rjw]
...
Get bitmap opacity rather than test it
svn path=/import/netsurf/; revision=1358
2004-11-10 23:02:11 +00:00
Richard Wilson
3276fe3ed8
[project @ 2004-11-03 02:29:01 by rjw]
...
Changing screenmodes causes font handles to be refound.
svn path=/import/netsurf/; revision=1338
2004-11-03 02:29:01 +00:00
James Bursa
da5d07f0be
[project @ 2004-10-22 20:58:11 by bursa]
...
Fix form textarea scrolling. The scrollbar now works properly.
svn path=/import/netsurf/; revision=1334
2004-10-22 20:58:11 +00:00
John Mark Bell
963c3766d5
[project @ 2004-10-20 23:31:31 by jmb]
...
Reimplement draw groups
svn path=/import/netsurf/; revision=1332
2004-10-20 23:31:32 +00:00
John Mark Bell
e215fc6136
[project @ 2004-10-18 02:27:19 by jmb]
...
Fix segv in GTK build.
/me also slaps the RISC OS build for not dying appropriately too.
svn path=/import/netsurf/; revision=1324
2004-10-18 02:27:19 +00:00
John Mark Bell
fff5f231ed
[project @ 2004-10-17 22:13:34 by jmb]
...
Lose hard-coded stylesheet URLs.
svn path=/import/netsurf/; revision=1323
2004-10-17 22:13:35 +00:00
James Bursa
fd4e3de0b5
[project @ 2004-10-17 21:10:19 by bursa]
...
Move box tree from html.layout->children to html.layout. Work on scrollbars.
svn path=/import/netsurf/; revision=1314
2004-10-17 21:10:19 +00:00
James Bursa
6db5ad1b73
[project @ 2004-10-17 21:05:12 by bursa]
...
New target-independent implementation of html_redraw(), using plotters.
svn path=/import/netsurf/; revision=1313
2004-10-17 21:05:12 +00:00
John Mark Bell
bd17f8b9d1
[project @ 2004-10-09 19:14:26 by jmb]
...
Work around issue with selected radio buttons/checkboxes having no current value
svn path=/import/netsurf/; revision=1308
2004-10-09 19:14:26 +00:00
John Mark Bell
4a37e17037
[project @ 2004-09-29 20:13:42 by jmb]
...
Write heuristically-generated font names to choices file - should speed up program load a bit.
Heuristic is re-run each time the choices file is saved.
svn path=/import/netsurf/; revision=1294
2004-09-29 20:13:42 +00:00
John Mark Bell
c358b80cc5
[project @ 2004-09-13 23:56:18 by jmb]
...
Make fonts user-configurable.
This loses font-style support, though it shouldn't be hard to put it back again.
svn path=/import/netsurf/; revision=1274
2004-09-13 23:56:18 +00:00
Kevin Bagust
13a19ab22b
[project @ 2004-09-03 20:32:57 by kevinb]
...
Added support for table colspan=0 and rowspan=0.
svn path=/import/netsurf/; revision=1262
2004-09-03 20:32:57 +00:00
James Bursa
e44249f6ed
[project @ 2004-08-25 23:56:48 by bursa]
...
Experimental overflow: scroll code.
svn path=/import/netsurf/; revision=1250
2004-08-25 23:56:49 +00:00
James Bursa
26d107c444
[project @ 2004-08-25 22:11:38 by bursa]
...
Fix a NULL pointer read.
svn path=/import/netsurf/; revision=1249
2004-08-25 22:11:38 +00:00
John Mark Bell
d1eb18f62e
[project @ 2004-08-18 01:45:29 by jmb]
...
Restrict last change to hidden inputs only - breaks sf.net bug tracker otherwise
svn path=/import/netsurf/; revision=1243
2004-08-18 01:45:29 +00:00
John Mark Bell
4ff7d738bc
[project @ 2004-08-18 01:36:39 by jmb]
...
Fix issue with hidden inputs having no value property
Log on memory error to aid debugging
svn path=/import/netsurf/; revision=1242
2004-08-18 01:36:39 +00:00
John Mark Bell
006344401c
[project @ 2004-08-15 19:06:23 by jmb]
...
Rationalise image redraw.
Supply background colour when redrawing contents
Reenable printing of background images
Require Tinct 0.07
svn path=/import/netsurf/; revision=1234
2004-08-15 19:06:24 +00:00
John Tytgat
7264ae50e5
[project @ 2004-08-14 15:07:19 by joty]
...
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.
svn path=/import/netsurf/; revision=1232
2004-08-14 15:07:21 +00:00
John Tytgat
402c4ca66c
[project @ 2004-08-14 14:30:10 by joty]
...
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
2004-08-14 14:30:12 +00:00
John Tytgat
7d3a242132
[project @ 2004-08-14 12:57:00 by joty]
...
Using more stddef.h types.
svn path=/import/netsurf/; revision=1230
2004-08-14 12:57:02 +00:00
John Mark Bell
d7627ceceb
[project @ 2004-08-13 00:55:59 by jmb]
...
Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality.
Note: This is now configurable via an option (defaults to OFF)
This has only really been tested with the Flash plugin and seems to work reasonably.
svn path=/import/netsurf/; revision=1216
2004-08-13 00:55:59 +00:00
James Bursa
acfb4c0adb
[project @ 2004-08-11 22:08:25 by bursa]
...
Remove content_add_instance(), content_remove_instance(), content_reshape_instance(). Add content_open(), content_close(). Implement for CONTENT_HTML.
svn path=/import/netsurf/; revision=1213
2004-08-11 22:08:26 +00:00
James Bursa
bc727dda1c
[project @ 2004-08-11 19:02:32 by bursa]
...
Start work on removing instances and making content types non-shareable. Clean up some #includes.
svn path=/import/netsurf/; revision=1211
2004-08-11 19:02:32 +00:00
John Mark Bell
912d09b1cb
[project @ 2004-08-11 16:26:13 by jmb]
...
Make content_redraw return a bool
Printing of foreground images now uses OS_SpriteOp
Printing of background images disabled
Mega-paranoid SWI result checking in htmlredraw.c
Rearranged GIF data structure slightly - updates to reflect this.
Other stuff I've probably forgotten
svn path=/import/netsurf/; revision=1208
2004-08-11 16:26:13 +00:00
John Mark Bell
c9bd6fa9fc
[project @ 2004-08-09 16:11:58 by jmb]
...
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.
svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
James Bursa
8337acfc78
[project @ 2004-08-08 19:13:40 by bursa]
...
Fix form submitting with an empty file upload. Update form_textarea_value(). Purge xcalloc() etc from form.c and handle memory exhaustion.
svn path=/import/netsurf/; revision=1195
2004-08-08 19:13:40 +00:00
John Mark Bell
09afabf63c
[project @ 2004-08-06 22:19:12 by jmb]
...
Anchor support
svn path=/import/netsurf/; revision=1187
2004-08-06 22:19:13 +00:00
John Mark Bell
c8e7fd93e6
[project @ 2004-08-01 23:09:17 by jmb]
...
Ignore height="", width=""
svn path=/import/netsurf/; revision=1175
2004-08-01 23:09:17 +00:00
James Bursa
dcb72507b2
[project @ 2004-08-01 20:28:02 by bursa]
...
Modify box_at_point() to use descendant bounding boxes and to search siblings (fixes links in cells with colspan not 1, as reported by Stuart Halliday and others).
svn path=/import/netsurf/; revision=1173
2004-08-01 20:28:02 +00:00
James Bursa
9e1dbe3a36
[project @ 2004-08-01 13:08:18 by bursa]
...
More work on overflow. Modify block centering to left-align when insufficient space. Fix caret positioning for form controls with padding.
svn path=/import/netsurf/; revision=1171
2004-08-01 13:08:19 +00:00
John Mark Bell
8e650e3e39
[project @ 2004-07-30 23:40:00 by jmb]
...
Rework stylesheet fetching code to remove dependence on magic numbers (now uses
values defined in html.h)
Make ad blocking optional.
svn path=/import/netsurf/; revision=1168
2004-07-30 23:40:01 +00:00
John Tytgat
2fedec98f9
[project @ 2004-07-19 20:59:10 by joty]
...
Warning squashing.
svn path=/import/netsurf/; revision=1120
2004-07-19 20:59:10 +00:00
John Tytgat
c93b54b07c
[project @ 2004-07-19 20:40:11 by joty]
...
form.h (struct form_control): renamed caret_char_offset to caret_box_offset; Added caret_form_offset & length.
form.c: initialise new entries in struct form_control; form_successful_controls() : code reshuffling to improve readibility.
box.h: TABing.
box.c (box_input): init struct form_control::length.
browser.c (browser_window_input_callback): UTF-8 support. Text area code needs similar changes.
svn path=/import/netsurf/; revision=1117
2004-07-19 20:40:11 +00:00
James Bursa
9bd3eadbe6
[project @ 2004-07-19 14:31:31 by bursa]
...
Update and simplify textarea code. Now uses BOX_BR instead of more than one inline container. Prepare for use of UTF-8 in textareas and inputs.
svn path=/import/netsurf/; revision=1104
2004-07-19 14:31:31 +00:00
James Bursa
946566b0b6
[project @ 2004-07-19 14:29:16 by bursa]
...
Make layout_inline_container() public for use of textareas.
svn path=/import/netsurf/; revision=1103
2004-07-19 14:29:16 +00:00
James Bursa
58e2d033ec
[project @ 2004-07-18 17:38:01 by bursa]
...
Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code.
svn path=/import/netsurf/; revision=1096
2004-07-18 17:38:01 +00:00
James Bursa
f23fd2a094
[project @ 2004-07-17 23:32:08 by bursa]
...
Rewrite and simplify mouse click handling.
svn path=/import/netsurf/; revision=1094
2004-07-17 23:32:09 +00:00
John Mark Bell
b6782d6095
[project @ 2004-07-17 01:36:21 by jmb]
...
Invalidate descendant_* values
svn path=/import/netsurf/; revision=1091
2004-07-17 01:36:21 +00:00
John Mark Bell
51af46fde6
[project @ 2004-07-16 20:26:49 by jmb]
...
Preliminary overflow support. This also goes some way to making the horizontal scrollbar work.
svn path=/import/netsurf/; revision=1088
2004-07-16 20:26:49 +00:00
Richard Wilson
b7bb766e95
[project @ 2004-07-16 19:47:02 by rjw]
...
Fix for hotlist menu selection. Interface for MNG/JNG display.
svn path=/import/netsurf/; revision=1083
2004-07-16 19:47:03 +00:00
John Mark Bell
c04047f586
[project @ 2004-07-13 14:03:02 by jmb]
...
Prevent pages including themselves.
svn path=/import/netsurf/; revision=1074
2004-07-13 14:03:02 +00:00
John Tytgat
a0d511734a
[project @ 2004-07-05 20:19:51 by joty]
...
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
James Bursa
496bfa6d74
[project @ 2004-06-24 23:29:31 by bursa]
...
Simplify and improve parse_background_position(). Implement css_parse_rgb(). Fix truncation of paragraphs with background images.
svn path=/import/netsurf/; revision=1003
2004-06-24 23:29:31 +00:00
James Bursa
2a23749fc6
[project @ 2004-06-22 17:52:40 by bursa]
...
Fix some strdup()s on non-terminated strings.
svn path=/import/netsurf/; revision=992
2004-06-22 17:52:40 +00:00
James Bursa
b4723c1d05
[project @ 2004-06-21 15:09:58 by bursa]
...
Merge memory cache into content module.
svn path=/import/netsurf/; revision=986
2004-06-21 15:09:59 +00:00
James Bursa
f8825b81e4
[project @ 2004-06-20 23:09:51 by bursa]
...
Implement content_stop() and html_stop().
svn path=/import/netsurf/; revision=982
2004-06-20 23:09:52 +00:00
James Bursa
6ce6e99659
[project @ 2004-06-18 22:55:28 by bursa]
...
Output some more data in box_dump().
svn path=/import/netsurf/; revision=980
2004-06-18 22:55:28 +00:00
James Bursa
02898d7b26
[project @ 2004-06-18 22:54:07 by bursa]
...
Fix inline boxes with 0 width not having their width set when available width is 0 (eg. in tables) (fixes www.hic.gov.au crash reported by Peter Prewett). Table layout fix related to cells spanning columns with fixed-width cells.
svn path=/import/netsurf/; revision=979
2004-06-18 22:54:07 +00:00
John Tytgat
e773536c97
[project @ 2004-06-17 21:41:11 by joty]
...
Added comment on struct form_option::text.
svn path=/import/netsurf/; revision=977
2004-06-17 21:41:11 +00:00
John Tytgat
e6b68bc3a7
[project @ 2004-06-14 07:28:27 by joty]
...
layout_table() : avoid division by zero (e.g. table at <URL:http://www.pcguide.com/ref/fdd/confCable-c.html >)
svn path=/import/netsurf/; revision=970
2004-06-14 07:28:27 +00:00
John Tytgat
3ccc79bc81
[project @ 2004-06-12 20:08:47 by joty]
...
html_find_stylesheets() : returns void, not bool.
svn path=/import/netsurf/; revision=968
2004-06-12 20:08:47 +00:00
John Mark Bell
e932715010
[project @ 2004-06-11 12:51:40 by jmb]
...
Fix for crash caused by inline style attributes specifying background images.
svn path=/import/netsurf/; revision=961
2004-06-11 12:51:40 +00:00
James Bursa
d938fe135b
[project @ 2004-06-10 23:55:23 by bursa]
...
Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements.
svn path=/import/netsurf/; revision=957
2004-06-10 23:55:23 +00:00
John Mark Bell
bd6ec25190
[project @ 2004-06-10 22:39:56 by jmb]
...
Compiler warning purge
svn path=/import/netsurf/; revision=954
2004-06-10 22:39:56 +00:00
James Bursa
08177fa581
[project @ 2004-06-10 20:41:26 by bursa]
...
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
James Bursa
035eaa7849
[project @ 2004-06-09 23:13:55 by bursa]
...
Fix double-free of background image url. Add background parameter to html_fetch_object().
svn path=/import/netsurf/; revision=944
2004-06-09 23:13:55 +00:00
John Mark Bell
78594f3f60
[project @ 2004-06-09 19:55:06 by jmb]
...
Implement background-image, background-repeat, background-position and background-attachment CSS properties.
background-attachment and background-position need more work.
Some redraw issues remain.
svn path=/import/netsurf/; revision=938
2004-06-09 19:55:06 +00:00
John Tytgat
dc65374aa6
[project @ 2004-06-05 15:03:59 by joty]
...
Created content_set_status() : one centralised place where status_message
in the content struct is updated in a fail safe way.
svn path=/import/netsurf/; revision=928
2004-06-05 15:03:59 +00:00
James Bursa
6d76fb8e75
[project @ 2004-06-02 21:21:13 by bursa]
...
Memory exhaustion handling. Form control related bug fix.
svn path=/import/netsurf/; revision=917
2004-06-02 21:21:13 +00:00
James Bursa
4565574eaa
[project @ 2004-06-02 21:14:40 by bursa]
...
Revert accidental checkin.
svn path=/import/netsurf/; revision=916
2004-06-02 21:16:48 +00:00
James Bursa
ed4c1ad391
[project @ 2004-06-02 21:09:14 by bursa]
...
Update calls to layout_document() for error handling.
svn path=/import/netsurf/; revision=915
2004-06-02 21:09:14 +00:00
James Bursa
ef8e27a458
[project @ 2004-06-02 21:06:18 by bursa]
...
Remove some #ifdef riscos.
svn path=/import/netsurf/; revision=914
2004-06-02 21:06:18 +00:00
James Bursa
745d4b1d67
[project @ 2004-05-27 23:45:26 by bursa]
...
Table and float bug fixes.
svn path=/import/netsurf/; revision=899
2004-05-27 23:45:26 +00:00
James Bursa
4f31db54f7
[project @ 2004-05-27 22:13:20 by bursa]
...
Fix some table layout bugs related to the recent changes to calculate_table_widths().
svn path=/import/netsurf/; revision=898
2004-05-27 22:13:20 +00:00
James Bursa
4a500f5614
[project @ 2004-05-21 23:42:26 by bursa]
...
Fix and clean code for radio and checkbox inputs.
svn path=/import/netsurf/; revision=884
2004-05-21 23:42:26 +00:00
James Bursa
3c707fbeea
[project @ 2004-05-21 22:51:02 by bursa]
...
Fix <select>, which got broken earlier.
svn path=/import/netsurf/; revision=882
2004-05-21 22:51:02 +00:00
James Bursa
fe2a9961df
[project @ 2004-05-21 17:08:48 by bursa]
...
Improve multilength parsing.
svn path=/import/netsurf/; revision=881
2004-05-21 17:08:48 +00:00
James Bursa
8b78a7803d
[project @ 2004-05-21 14:26:59 by bursa]
...
Improved handling of objects and frames; some work on malloc() failure in box conversion.
svn path=/import/netsurf/; revision=880
2004-05-21 14:26:59 +00:00
James Bursa
9412dfeaed
[project @ 2004-05-21 10:25:42 by bursa]
...
Add form_new_control() and form_free_control().
svn path=/import/netsurf/; revision=878
2004-05-21 10:25:42 +00:00
James Bursa
52700ad3cb
[project @ 2004-05-11 16:40:12 by bursa]
...
Ignore negative colspan.
svn path=/import/netsurf/; revision=851
2004-05-11 16:40:12 +00:00
John Tytgat
226c002d57
[project @ 2004-05-09 16:49:53 by joty]
...
Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk).
svn path=/import/netsurf/; revision=846
2004-05-09 16:49:53 +00:00
James Bursa
bb41604045
[project @ 2004-05-05 16:33:15 by bursa]
...
Fix some compiler warnings. Ignore size attribute for file inputs.
svn path=/import/netsurf/; revision=828
2004-05-05 16:33:15 +00:00
James Bursa
8da6079f6f
[project @ 2004-05-03 22:05:40 by bursa]
...
Implement dragging files into <input type="file" ...>.
svn path=/import/netsurf/; revision=821
2004-05-03 22:05:40 +00:00