Commit Graph

1651 Commits

Author SHA1 Message Date
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 '&lt;')

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
John Mark Bell
afb5e4209b [project @ 2004-05-02 17:01:37 by jmb]
Remove #ifdef nastiness. Now uses alloca.

svn path=/import/netsurf/; revision=816
2004-05-02 17:01:37 +00:00
John Mark Bell
51bea40b9a [project @ 2004-05-02 01:04:38 by jmb]
A couple more Norcroft-related patches.
The use of #ifdef __GNU_C__ in both of these can be avoided. I'm not entirely sure whether it would be sensible to do so, so I've left them as-is.

svn path=/import/netsurf/; revision=814
2004-05-02 01:04:38 +00:00
James Bursa
199eee4b0b [project @ 2004-04-26 13:47:51 by bursa]
Fix scaled GIF animations.

svn path=/import/netsurf/; revision=805
2004-04-26 13:47:51 +00:00
James Bursa
330a3bb64c [project @ 2004-04-26 13:45:52 by bursa]
Fix box_coords().

svn path=/import/netsurf/; revision=804
2004-04-26 13:45:52 +00:00
James Bursa
1f07fc6de5 [project @ 2004-04-24 23:42:31 by bursa]
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.

svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
James Bursa
3662d2aec7 [project @ 2004-04-21 22:27:49 by bursa]
Position floats correctly horizontally when padding or margins are present.

svn path=/import/netsurf/; revision=799
2004-04-21 22:27:49 +00:00
James Bursa
0422445008 [project @ 2004-04-18 22:53:22 by bursa]
Remove obsolete assert() to fix frames crash.

svn path=/import/netsurf/; revision=794
2004-04-18 22:53:22 +00:00
James Bursa
dc937fe9ba [project @ 2004-04-18 15:19:53 by bursa]
Implement <br> properly by adding BOX_BR; fix box tree normalisation bugs.

svn path=/import/netsurf/; revision=791
2004-04-18 15:19:53 +00:00
James Bursa
455efb4fb7 [project @ 2004-04-17 16:00:16 by bursa]
Supply XML_CHAR_ENCODING_NONE to libxml2 when no encoding is specified so that meta charsets are used.

svn path=/import/netsurf/; revision=788
2004-04-17 16:00:16 +00:00
James Bursa
27816b80df [project @ 2004-04-16 22:29:10 by bursa]
Fix height of block contexts with no children (fixes FP exception crashes); factor out code for increasing height for floats.

svn path=/import/netsurf/; revision=787
2004-04-16 22:29:10 +00:00
John Mark Bell
e4952d83eb [project @ 2004-04-15 16:18:19 by jmb]
Take account of configured minimun font size when calculating line height.

svn path=/import/netsurf/; revision=786
2004-04-15 16:18:19 +00:00
James Bursa
eaf5d43082 [project @ 2004-04-14 12:55:16 by bursa]
Remove incorrect use of WITH_PLUGIN.

svn path=/import/netsurf/; revision=784
2004-04-14 12:55:16 +00:00
James Bursa
5e41f0465c [project @ 2004-04-13 23:20:23 by bursa]
Table layout fix and table-float interaction changes.

svn path=/import/netsurf/; revision=778
2004-04-13 23:20:23 +00:00
James Bursa
ccba68eb36 [project @ 2004-04-12 17:32:45 by bursa]
Fix layout bugs related to height and inline blocks.

svn path=/import/netsurf/; revision=756
2004-04-12 17:32:45 +00:00
James Bursa
9628b9102c [project @ 2004-04-12 00:00:47 by bursa]
Rewrite block context layout, implementing collapsing and negative margins and margins for tables.

svn path=/import/netsurf/; revision=754
2004-04-12 00:00:47 +00:00
John Mark Bell
67fce3b801 [project @ 2004-04-11 00:35:24 by jmb]
Retain aspect ratio of boxes if only one of width/height are specified (eg <img src="blah" width="123"> would scale height to be 123/image_width * image_height)

NB: This does /not/ work for %age widths as %age heights do nothing as yet

svn path=/import/netsurf/; revision=750
2004-04-11 00:35:24 +00:00
John Mark Bell
9de746e0a0 [project @ 2004-04-08 23:46:41 by jmb]
Improve keypress handling in form text boxes.
Note: Not yet implemented for textareas as these need more work anyway.

svn path=/import/netsurf/; revision=740
2004-04-08 23:46:41 +00:00
James Bursa
095d17b8ad [project @ 2004-04-02 19:30:13 by bursa]
Fix double-free of frame url.

svn path=/import/netsurf/; revision=704
2004-04-02 19:30:13 +00:00
James Bursa
18cfe064be [project @ 2004-04-02 18:13:23 by bursa]
Experimental work on frames.

svn path=/import/netsurf/; revision=703
2004-04-02 18:13:23 +00:00
James Bursa
e4269c8903 [project @ 2004-04-01 18:29:42 by bursa]
Fix bug with submission of forms with no successful controls.

svn path=/import/netsurf/; revision=696
2004-04-01 18:29:42 +00:00
James Bursa
804cd42a34 [project @ 2004-03-30 11:45:48 by bursa]
Reduce frequency of gui_multitask() to improve performance.

svn path=/import/netsurf/; revision=691
2004-03-30 11:45:48 +00:00
James Bursa
8052ed8c6c [project @ 2004-03-28 15:41:50 by bursa]
Disable some excess logging.

svn path=/import/netsurf/; revision=688
2004-03-28 15:41:50 +00:00
John Mark Bell
4b38a2d61a [project @ 2004-03-26 22:16:31 by jmb]
Imagemap support

svn path=/import/netsurf/; revision=671
2004-03-26 22:16:31 +00:00
James Bursa
3c4148943a [project @ 2004-03-26 01:35:35 by bursa]
Fix infinite loop in layout_line(), improve layout of inline blocks, break out layout_float().

svn path=/import/netsurf/; revision=669
2004-03-26 01:35:35 +00:00
John Mark Bell
b2242ae0f0 [project @ 2004-03-24 20:10:03 by jmb]
Remove need for XML parse tree to be kept in memory.
The source document is now reparsed when saving complete.

svn path=/import/netsurf/; revision=662
2004-03-24 20:10:03 +00:00
John Mark Bell
9c723a5924 [project @ 2004-03-24 00:07:21 by jmb]
Add URL rewriting for most URLs.
Still TODO:
	1) rewriting of @import rules
	2) Objects used by embedded html pages

NB. This change means that the XML parse tree is kept in memory until the content is freed.

svn path=/import/netsurf/; revision=659
2004-03-24 00:07:21 +00:00
James Bursa
85e6f03a92 [project @ 2004-03-22 00:37:38 by bursa]
Minor change in layout_line() to fix some failures.

svn path=/import/netsurf/; revision=651
2004-03-22 00:37:38 +00:00
John Mark Bell
7e922c290f [project @ 2004-03-21 21:32:15 by jmb]
Fix for SparkFS causing problems with uploading zip files.
Map filetypes to mimetype properly.

svn path=/import/netsurf/; revision=646
2004-03-21 21:32:15 +00:00
John Mark Bell
3aeafecd7b [project @ 2004-03-21 20:07:14 by jmb]
<input type="file" support>
Broken in places.

svn path=/import/netsurf/; revision=645
2004-03-21 20:07:14 +00:00
James Bursa
423f0f1e70 [project @ 2004-03-21 13:55:51 by bursa]
Implement gui_window_update_box() and use in response to CONTENT_MSG_REDRAW.

svn path=/import/netsurf/; revision=644
2004-03-21 13:55:51 +00:00
James Bursa
15537fb20d [project @ 2004-03-21 12:50:10 by bursa]
Animation support, not yet optimised.

svn path=/import/netsurf/; revision=641
2004-03-21 12:50:10 +00:00
John Mark Bell
19bb86e2ad [project @ 2004-03-20 22:15:40 by jmb]
Fix potential crash caused by <input type="button">

svn path=/import/netsurf/; revision=639
2004-03-20 22:15:40 +00:00
John Mark Bell
cd6ce1339f [project @ 2004-03-20 21:56:43 by jmb]
Render <input type="button" ...>

svn path=/import/netsurf/; revision=638
2004-03-20 21:56:43 +00:00
James Bursa
f606bc6219 [project @ 2004-03-14 22:49:40 by bursa]
Break out box_text_transform().

svn path=/import/netsurf/; revision=621
2004-03-14 22:49:40 +00:00
James Bursa
b5322e10b0 [project @ 2004-03-14 22:49:14 by bursa]
Fix serious inline container layout bug.

svn path=/import/netsurf/; revision=620
2004-03-14 22:49:14 +00:00
James Bursa
5ddcc2b440 [project @ 2004-03-13 20:48:00 by bursa]
Remove +1 from size of inline containers.

svn path=/import/netsurf/; revision=619
2004-03-13 20:48:00 +00:00
James Bursa
fba46de9cb [project @ 2004-03-11 02:19:13 by bursa]
Add source_data to content structure and remove equivalents from individual contents.

svn path=/import/netsurf/; revision=606
2004-03-11 02:19:14 +00:00
John Mark Bell
217eae922b [project @ 2004-03-08 18:21:21 by jmb]
Attempt to detect document charset encoding if the server doesn't send it.

svn path=/import/netsurf/; revision=592
2004-03-08 18:21:21 +00:00
James Bursa
1c85bf0429 [project @ 2004-03-02 18:02:17 by bursa]
Add new url functions and modify to use them.

svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
2d816dda23 [project @ 2004-02-28 17:23:07 by bursa]
Fix float-related crashes.

svn path=/import/netsurf/; revision=577
2004-02-28 17:23:07 +00:00
James Bursa
7f68e012cc [project @ 2004-02-27 17:45:19 by bursa]
Move English text to Messages file for translation.

svn path=/import/netsurf/; revision=576
2004-02-27 17:45:19 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
James Bursa
22cb2fe809 [project @ 2004-02-22 22:27:31 by bursa]
Fix calculate_widths() for floats.

svn path=/import/netsurf/; revision=564
2004-02-22 22:27:31 +00:00
James Bursa
3a93e23b60 [project @ 2004-02-22 22:22:50 by bursa]
Take margins, broder, padding into account in calculate_widths().

svn path=/import/netsurf/; revision=563
2004-02-22 22:22:50 +00:00
James Bursa
a7f3829d55 [project @ 2004-02-20 00:43:17 by bursa]
Fix html_destroy() crash, add documentation.

svn path=/import/netsurf/; revision=562
2004-02-20 00:43:17 +00:00
James Bursa
919805da51 [project @ 2004-02-20 00:42:36 by bursa]
Partial implementation of collapsing margins.

svn path=/import/netsurf/; revision=561
2004-02-20 00:42:36 +00:00
James Bursa
13925ef8d5 [project @ 2004-02-18 00:24:41 by bursa]
Correct documentation of struct box.

svn path=/import/netsurf/; revision=560
2004-02-18 00:24:41 +00:00
John Mark Bell
6839622183 [project @ 2004-02-17 12:41:38 by jmb]
Begin save complete support.
Fix memory leak when using Select PNG renderer. (commented out lines can probably removed)

svn path=/import/netsurf/; revision=556
2004-02-17 12:41:38 +00:00
John Mark Bell
88beb484c5 [project @ 2004-02-15 22:19:43 by jmb]
Font support in draw export.

svn path=/import/netsurf/; revision=549
2004-02-15 22:19:43 +00:00
James Bursa
86f7dfbc96 [project @ 2004-02-15 20:39:53 by bursa]
Document box.h, remove struct page_elements.

svn path=/import/netsurf/; revision=547
2004-02-15 20:39:53 +00:00
James Bursa
765c02622b [project @ 2004-02-13 23:07:42 by bursa]
Add font size configuration and fix proxy options bug.

svn path=/import/netsurf/; revision=538
2004-02-13 23:07:42 +00:00
James Bursa
b5fd9fb297 [project @ 2004-02-13 16:10:28 by bursa]
Simplify and break out layout_clear().

svn path=/import/netsurf/; revision=537
2004-02-13 16:10:28 +00:00
James Bursa
add94ad038 [project @ 2004-02-11 20:51:34 by bursa]
Fix crash related to floats.

svn path=/import/netsurf/; revision=535
2004-02-11 20:51:34 +00:00
James Bursa
9aabe954c0 [project @ 2004-02-11 17:15:36 by bursa]
Work on margins etc., clean up many parts of layout code.

svn path=/import/netsurf/; revision=534
2004-02-11 17:15:36 +00:00
James Bursa
d642474df1 [project @ 2004-02-10 18:13:18 by bursa]
Remove ancient test files.

svn path=/import/netsurf/; revision=533
2004-02-10 18:13:18 +00:00
James Bursa
b0c5b74987 [project @ 2004-02-02 00:22:59 by bursa]
Start at margin / padding / border support.

svn path=/import/netsurf/; revision=529
2004-02-02 00:22:59 +00:00
John Mark Bell
edf9d941f1 [project @ 2004-02-01 22:42:40 by jmb]
Add text-indent support.

svn path=/import/netsurf/; revision=527
2004-02-01 22:42:40 +00:00
John Mark Bell
9d342dad80 [project @ 2004-02-01 04:45:55 by jmb]
Fix text-transform capitalization on inline elements.

svn path=/import/netsurf/; revision=526
2004-02-01 04:45:55 +00:00
John Mark Bell
00ef17153c [project @ 2004-01-31 21:18:44 by jmb]
text-transform support.

svn path=/import/netsurf/; revision=521
2004-01-31 21:18:44 +00:00
James Bursa
2b0fc5d2e8 [project @ 2004-01-26 15:07:20 by bursa]
Fix box_create() width init.

svn path=/import/netsurf/; revision=510
2004-01-26 15:07:20 +00:00
James Bursa
92941a762d [project @ 2004-01-26 14:09:39 by bursa]
Initialise box dimensions to 0 (fixes window resizing bug).

svn path=/import/netsurf/; revision=507
2004-01-26 14:09:39 +00:00
James Bursa
92c32b005d [project @ 2004-01-24 17:12:32 by bursa]
Fix removing URL leading and trailing whitespace.

svn path=/import/netsurf/; revision=501
2004-01-24 17:12:32 +00:00
James Bursa
1bdcb44639 [project @ 2004-01-24 17:08:15 by bursa]
Add permitted_types to html_fetch_object().

svn path=/import/netsurf/; revision=500
2004-01-24 17:08:16 +00:00
John Mark Bell
b116f20cd4 [project @ 2004-01-24 16:41:52 by jmb]
Strip leading and trailing whitespace from image src attributes.

svn path=/import/netsurf/; revision=499
2004-01-24 16:41:52 +00:00
John Mark Bell
0dab93fe76 [project @ 2004-01-20 19:08:34 by jmb]
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h

svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +00:00
John Mark Bell
62245d13ec [project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.

svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
James Bursa
825c81f03a [project @ 2004-01-02 12:04:04 by bursa]
Use memory pool for box tree.

svn path=/import/netsurf/; revision=477
2004-01-02 12:04:04 +00:00
John Mark Bell
4e2345da92 [project @ 2003-12-29 18:59:15 by jmb]
Comment out unnecessary call to cache_dump from html_process_data.
Add Licence and relevant #include to tt2code. Stops the compiler moaning
about no definition of unicode_transliterate.

svn path=/import/netsurf/; revision=467
2003-12-29 18:59:15 +00:00
James Bursa
ce0d5294d5 [project @ 2003-12-27 20:15:22 by bursa]
Use charset from Content-Type header.

svn path=/import/netsurf/; revision=460
2003-12-27 20:15:23 +00:00
John Mark Bell
0a1756a84f [project @ 2003-12-27 02:03:48 by jmb]
Reduce compiler warnings

svn path=/import/netsurf/; revision=456
2003-12-27 02:03:48 +00:00
James Bursa
894703b53b [project @ 2003-12-26 16:20:57 by bursa]
Enable cookies.

svn path=/import/netsurf/; revision=443
2003-12-26 16:20:57 +00:00
James Bursa
f1b59814f8 [project @ 2003-12-26 00:17:55 by bursa]
New url_join using liburi, <base href=...>.

svn path=/import/netsurf/; revision=441
2003-12-26 00:17:55 +00:00
James Bursa
086d66c9a1 [project @ 2003-12-11 19:06:39 by bursa]
Fix submit outside form crash.

svn path=/import/netsurf/; revision=426
2003-12-11 19:06:39 +00:00
James Bursa
c5f1560a70 [project @ 2003-12-10 23:12:39 by bursa]
Remove obsolete css_selector code.

svn path=/import/netsurf/; revision=424
2003-12-10 23:12:39 +00:00
John Mark Bell
01d735dab8 [project @ 2003-11-12 22:22:45 by jmb]
Begin frames support. Just data structure handling for now. None of this
code is called atm.

svn path=/import/netsurf/; revision=416
2003-11-12 22:22:45 +00:00
James Bursa
2b8e469f19 [project @ 2003-11-04 18:35:32 by bursa]
Patch inline container failure on some pages (eg. ebay).

svn path=/import/netsurf/; revision=402
2003-11-04 18:35:32 +00:00
James Bursa
d3bd31c3a7 [project @ 2003-10-27 00:34:09 by bursa]
Fix controls which aren't inside a form.

svn path=/import/netsurf/; revision=393
2003-10-27 00:34:09 +00:00
John Mark Bell
ab8edd9da4 [project @ 2003-10-25 22:51:45 by jmb]
Fix bug relating to
http://www.mw-software.com/software/artworks2/aw2support.html

svn path=/import/netsurf/; revision=388
2003-10-25 22:51:45 +00:00
James Bursa
a325bfeed6 [project @ 2003-10-25 21:51:15 by bursa]
Submit textarea contents.

svn path=/import/netsurf/; revision=386
2003-10-25 21:51:15 +00:00
James Bursa
ee31317480 [project @ 2003-10-25 21:50:49 by bursa]
Textarea loading fix.

svn path=/import/netsurf/; revision=385
2003-10-25 21:50:49 +00:00
John Mark Bell
c9e188a4d1 [project @ 2003-10-25 19:20:13 by jmb]
HTTP Auth login improved (greatly).
Addresses all three issues in the previous version.

svn path=/import/netsurf/; revision=382
2003-10-25 19:20:13 +00:00
James Bursa
28f974f00f [project @ 2003-10-25 14:13:49 by bursa]
URL encoded POST support.

svn path=/import/netsurf/; revision=375
2003-10-25 14:13:49 +00:00
James Bursa
f1375fe19d [project @ 2003-10-25 00:35:49 by bursa]
Split out and clean up form submit code.

svn path=/import/netsurf/; revision=374
2003-10-25 00:35:49 +00:00
James Bursa
13d6923b5e [project @ 2003-10-17 17:39:29 by bursa]
Implement :link, ignore stylesheets with syntax errors, parse pseudo classes.

svn path=/import/netsurf/; revision=367
2003-10-17 17:39:29 +00:00
James Bursa
65263651e3 [project @ 2003-10-09 15:22:48 by bursa]
Implement box_insert_sibling().

svn path=/import/netsurf/; revision=358
2003-10-09 15:22:48 +00:00
James Bursa
b510716c1d [project @ 2003-10-08 20:49:57 by bursa]
Fix column width recalculation when objects are loaded.

svn path=/import/netsurf/; revision=354
2003-10-08 20:49:57 +00:00
James Bursa
669a5e213a [project @ 2003-10-07 23:47:57 by bursa]
white-space: pre fixes.

svn path=/import/netsurf/; revision=350
2003-10-07 23:47:57 +00:00
James Bursa
bbcdf13fe0 [project @ 2003-10-07 21:34:39 by bursa]
Implement white-space property.

svn path=/import/netsurf/; revision=348
2003-10-07 21:34:39 +00:00
James Bursa
0dad9a677a [project @ 2003-10-02 11:13:21 by bursa]
Initial value fix for <select>.

svn path=/import/netsurf/; revision=343
2003-10-02 11:13:21 +00:00
James Bursa
7ef999c573 [project @ 2003-10-01 22:48:39 by bursa]
Improvements to <select>.

svn path=/import/netsurf/; revision=341
2003-10-01 22:48:39 +00:00
James Bursa
9db8936d5a [project @ 2003-10-01 16:12:04 by bursa]
Partial fix for pages including themselves.

svn path=/import/netsurf/; revision=339
2003-10-01 16:12:04 +00:00
James Bursa
0a1975f8d6 [project @ 2003-09-29 16:32:17 by bursa]
Textareas scroll to show current line.

svn path=/import/netsurf/; revision=332
2003-09-29 16:32:17 +00:00
James Bursa
73f7db2a75 [project @ 2003-09-28 23:41:06 by bursa]
Rewrite text and password inputs to stop using wimp icons.

svn path=/import/netsurf/; revision=330
2003-09-28 23:41:07 +00:00
James Bursa
fd7078b1ad [project @ 2003-09-28 17:37:43 by bursa]
Implement CSS specificity and fix bugs.

svn path=/import/netsurf/; revision=329
2003-09-28 17:37:43 +00:00
James Bursa
c48e0ce8dc [project @ 2003-09-28 17:37:19 by bursa]
Fix redirected images which are already loaded.

svn path=/import/netsurf/; revision=328
2003-09-28 17:37:19 +00:00
James Bursa
1975b5cd1a [project @ 2003-09-27 23:36:34 by bursa]
Implement CSS attribute selectors and parent / preceding combinators.

svn path=/import/netsurf/; revision=324
2003-09-27 23:36:34 +00:00
James Bursa
311c488f5a [project @ 2003-09-26 23:22:00 by bursa]
Implement button element and more work on input element.

svn path=/import/netsurf/; revision=322
2003-09-26 23:22:00 +00:00
James Bursa
6da97decbf [project @ 2003-09-23 21:48:22 by bursa]
Textarea related fixes.

svn path=/import/netsurf/; revision=312
2003-09-23 21:48:22 +00:00
James Bursa
29952cfc1f [project @ 2003-09-23 18:35:44 by bursa]
More work on editing textareas.

svn path=/import/netsurf/; revision=311
2003-09-23 18:35:44 +00:00
James Bursa
287986b28a [project @ 2003-09-22 21:55:08 by bursa]
Experimental textarea editing code.

svn path=/import/netsurf/; revision=309
2003-09-22 21:55:08 +00:00
James Bursa
5363548052 [project @ 2003-09-21 22:47:08 by bursa]
Implement display: inline-block and work on textarea.

svn path=/import/netsurf/; revision=307
2003-09-21 22:47:08 +00:00
James Bursa
7859d24ee5 [project @ 2003-09-21 22:46:17 by bursa]
Fix destroy problem with aborted fetches.

svn path=/import/netsurf/; revision=306
2003-09-21 22:46:17 +00:00
James Bursa
4aadb2d013 [project @ 2003-09-19 23:36:17 by bursa]
Start converting forms to use CSS properly.

svn path=/import/netsurf/; revision=305
2003-09-19 23:36:17 +00:00
James Bursa
e526454e67 [project @ 2003-09-19 21:23:19 by bursa]
Work on box_free() and other memory management in box.

svn path=/import/netsurf/; revision=304
2003-09-19 21:23:19 +00:00
John Mark Bell
62f5ea585b [project @ 2003-09-17 21:47:21 by jmb]
Make applets load (untested). Plugin loading conforms closer to the spec

svn path=/import/netsurf/; revision=302
2003-09-17 21:47:21 +00:00
James Bursa
763f186705 [project @ 2003-09-17 12:57:33 by bursa]
Poll queuing fix, backup redraw code.

svn path=/import/netsurf/; revision=296
2003-09-17 12:57:43 +00:00
John Mark Bell
9a23a2bc77 [project @ 2003-09-16 19:53:59 by jmb]
Streaming plugin support, beginnings of URL_Access support, fix codebase for ActiveX Flash objects

svn path=/import/netsurf/; revision=293
2003-09-16 19:53:59 +00:00
James Bursa
eeb805497d [project @ 2003-09-14 20:32:05 by bursa]
Percentage column changes; fix calculate_inline_container_widths.

svn path=/import/netsurf/; revision=291
2003-09-14 20:32:05 +00:00
James Bursa
22cea706c5 [project @ 2003-09-14 20:31:02 by bursa]
Fix already loaded object bug.

svn path=/import/netsurf/; revision=290
2003-09-14 20:31:02 +00:00
James Bursa
72c753c582 [project @ 2003-09-12 18:30:44 by bursa]
Percentage column width changes for stupid websites.

svn path=/import/netsurf/; revision=288
2003-09-12 18:30:44 +00:00
James Bursa
226f937199 [project @ 2003-09-12 14:37:26 by bursa]
Fix percentage width columns.

svn path=/import/netsurf/; revision=287
2003-09-12 14:37:26 +00:00
James Bursa
4866b512b8 [project @ 2003-09-11 23:22:33 by bursa]
Min width calculation bug fix.

svn path=/import/netsurf/; revision=286
2003-09-11 23:22:33 +00:00
James Bursa
7e2255ce96 [project @ 2003-09-11 22:02:06 by bursa]
Table column width rewrite.

svn path=/import/netsurf/; revision=285
2003-09-11 22:02:06 +00:00
John Mark Bell
abf3c0f80a [project @ 2003-09-10 22:40:32 by jmb]
Fix Drawfile module check. Add else statement to box.c:788

svn path=/import/netsurf/; revision=282
2003-09-10 22:40:32 +00:00
James Bursa
f33b3e6f52 [project @ 2003-09-10 21:44:10 by bursa]
Reformat page when browser window is resized.

svn path=/import/netsurf/; revision=280
2003-09-10 21:44:11 +00:00
James Bursa
9c2e649290 [project @ 2003-09-10 17:10:25 by bursa]
Set graphics window when rendering objects.

svn path=/import/netsurf/; revision=279
2003-09-10 17:10:25 +00:00
James Bursa
f185bb4d0d [project @ 2003-09-09 21:43:44 by bursa]
Display image alt text while it loads.

svn path=/import/netsurf/; revision=278
2003-09-09 21:43:44 +00:00
John Mark Bell
ddb2b98716 [project @ 2003-09-09 19:25:28 by jmb]
Forms: [input type=image] support, passwords are now displayed as asterisks

svn path=/import/netsurf/; revision=275
2003-09-09 19:25:28 +00:00
James Bursa
c05f00209f [project @ 2003-09-08 22:47:11 by bursa]
Box width fixes.

svn path=/import/netsurf/; revision=272
2003-09-08 22:47:11 +00:00
James Bursa
9fa8f4037a [project @ 2003-09-07 21:08:13 by bursa]
Document cache and content, split struct content up.

svn path=/import/netsurf/; revision=270
2003-09-07 21:08:13 +00:00
James Bursa
61778630bd [project @ 2003-09-05 19:19:05 by bursa]
Empty float bug fix.

svn path=/import/netsurf/; revision=268
2003-09-05 19:19:05 +00:00
John Mark Bell
b19462e1ff [project @ 2003-09-03 21:58:54 by jmb]
Call content_reshape_instance

svn path=/import/netsurf/; revision=265
2003-09-03 21:58:54 +00:00
James Bursa
e851bbcf37 [project @ 2003-09-03 17:52:45 by bursa]
Add box_coords().

svn path=/import/netsurf/; revision=264
2003-09-03 17:52:45 +00:00
James Bursa
cdf0601420 [project @ 2003-08-30 21:45:03 by bursa]
Make page background colour work properly.

svn path=/import/netsurf/; revision=263
2003-08-30 21:45:03 +00:00
James Bursa
a842b765fa [project @ 2003-08-30 19:20:19 by bursa]
Table layout fix / optimisation.

svn path=/import/netsurf/; revision=262
2003-08-30 19:20:19 +00:00
James Bursa
9a6d854181 [project @ 2003-08-29 23:15:54 by bursa]
Fix row height problem.

svn path=/import/netsurf/; revision=261
2003-08-29 23:15:54 +00:00
James Bursa
5c310d84dc [project @ 2003-08-29 12:57:14 by bursa]
Better handling of server HTTP errors.

svn path=/import/netsurf/; revision=259
2003-08-29 12:57:14 +00:00
James Bursa
be34d32e46 [project @ 2003-08-29 12:56:06 by bursa]
Fix table layout bug (news.google.co.uk).

svn path=/import/netsurf/; revision=258
2003-08-29 12:56:06 +00:00
John Mark Bell
094b65cd0d [project @ 2003-08-28 22:04:11 by jmb]
Support ActiveX Flash objects

svn path=/import/netsurf/; revision=257
2003-08-28 22:04:11 +00:00
James Bursa
1548c232ca [project @ 2003-08-27 20:09:57 by bursa]
Fix negative dimensions, more gui cleanup.

svn path=/import/netsurf/; revision=252
2003-08-27 20:09:57 +00:00
John Mark Bell
3c11ffdc9f [project @ 2003-08-24 22:39:55 by jmb]
Make plugins work. Improve initialisation of AcornURI. Add support for <iframe> (still needs rendering tweaks). Add Ctrl-F2 key sequence to close window.

svn path=/import/netsurf/; revision=246
2003-08-24 22:39:55 +00:00
John Mark Bell
3c0daf429a [project @ 2003-07-22 22:13:44 by jmb]
Enable viewing HTML source when F8 is pressed

svn path=/import/netsurf/; revision=241
2003-07-22 22:13:44 +00:00
James Bursa
e13bb8daa8 [project @ 2003-07-20 13:58:12 by bursa]
Line-height fixes.

svn path=/import/netsurf/; revision=240
2003-07-20 13:58:12 +00:00
James Bursa
3d8c63e366 [project @ 2003-07-20 13:12:38 by bursa]
Bug fix.

svn path=/import/netsurf/; revision=238
2003-07-20 13:12:38 +00:00
James Bursa
d6053c3cb0 [project @ 2003-07-18 21:02:01 by bursa]
Fix table positioning.

svn path=/import/netsurf/; revision=234
2003-07-18 21:02:01 +00:00
James Bursa
afd675a5a8 [project @ 2003-07-18 17:08:39 by bursa]
Float / table layout fixes.

svn path=/import/netsurf/; revision=233
2003-07-18 17:08:39 +00:00
James Bursa
5031b80b33 [project @ 2003-07-17 23:01:02 by bursa]
Fix 670947, tidy gui code, move some headers.

svn path=/import/netsurf/; revision=231
2003-07-17 23:01:02 +00:00
John Mark Bell
5b149ba1d6 [project @ 2003-07-17 15:33:42 by jmb]
remove duplicate assignment to box in box_a

svn path=/import/netsurf/; revision=228
2003-07-17 15:33:42 +00:00
John Mark Bell
33cc86a8bb [project @ 2003-07-17 14:26:15 by jmb]
create parameters file for plugins

svn path=/import/netsurf/; revision=227
2003-07-17 14:26:15 +00:00
James Bursa
c7520629b0 [project @ 2003-07-16 17:38:46 by bursa]
Make fetchcache return 0 on failure to parse URL.

svn path=/import/netsurf/; revision=225
2003-07-16 17:38:46 +00:00
James Bursa
6724b2c21e [project @ 2003-07-16 17:37:01 by bursa]
Bad pointer fix.

svn path=/import/netsurf/; revision=224
2003-07-16 17:37:01 +00:00
James Bursa
ebcf1cb345 [project @ 2003-07-15 23:11:03 by bursa]
Fix first letter cut off bug.

svn path=/import/netsurf/; revision=223
2003-07-15 23:11:03 +00:00
James Bursa
52e4727abf [project @ 2003-07-15 18:06:31 by bursa]
Temporarily stop freeing box->href, incorrect and crashing.

svn path=/import/netsurf/; revision=220
2003-07-15 18:06:31 +00:00
James Bursa
5911578eaf [project @ 2003-07-15 14:37:34 by bursa]
Implement html_redraw.

svn path=/import/netsurf/; revision=218
2003-07-15 14:37:34 +00:00
James Bursa
613c7003e9 [project @ 2003-07-14 23:13:23 by bursa]
Fixes for 26-bit build.

svn path=/import/netsurf/; revision=217
2003-07-14 23:13:23 +00:00
James Bursa
889ae885c6 [project @ 2003-07-14 22:57:45 by bursa]
Add content instances.

svn path=/import/netsurf/; revision=216
2003-07-14 22:57:45 +00:00
James Bursa
907115c49d [project @ 2003-07-09 22:06:39 by bursa]
Bool fixes.

svn path=/import/netsurf/; revision=215
2003-07-09 22:06:39 +00:00
James Bursa
9317e33d0b [project @ 2003-07-09 21:33:01 by bursa]
More work on <object> and plugins.

svn path=/import/netsurf/; revision=213
2003-07-09 21:33:01 +00:00
James Bursa
80013c7a71 [project @ 2003-07-08 20:54:19 by bursa]
Table column width improvements.

svn path=/import/netsurf/; revision=212
2003-07-08 20:54:19 +00:00
James Bursa
fc493927d4 [project @ 2003-07-08 18:49:14 by bursa]
Table span fixes.

svn path=/import/netsurf/; revision=211
2003-07-08 18:49:14 +00:00
John Mark Bell
133c3ee759 [project @ 2003-07-07 22:10:51 by jmb]
Rewrite plugin system backend.

svn path=/import/netsurf/; revision=210
2003-07-07 22:10:51 +00:00
James Bursa
1244e1069e [project @ 2003-07-07 20:30:51 by bursa]
Fix some rowspan bugs.

svn path=/import/netsurf/; revision=208
2003-07-07 20:30:51 +00:00
James Bursa
b5606d8f61 [project @ 2003-07-06 21:10:12 by bursa]
Implement rowspan.

svn path=/import/netsurf/; revision=207
2003-07-06 21:10:12 +00:00
James Bursa
210a18e39d [project @ 2003-07-05 19:51:10 by bursa]
Bug fixes, start rowspan.

svn path=/import/netsurf/; revision=206
2003-07-05 19:51:10 +00:00
James Bursa
4f9bf0f0a1 [project @ 2003-07-05 16:16:15 by bursa]
More rewriting of convert_xml_to_box.

svn path=/import/netsurf/; revision=204
2003-07-05 16:16:15 +00:00
James Bursa
bb71de9938 [project @ 2003-07-04 21:17:53 by bursa]
Clean up and add comments.

svn path=/import/netsurf/; revision=202
2003-07-04 21:17:53 +00:00
James Bursa
1bcaf2d794 [project @ 2003-07-02 14:31:37 by bursa]
Table layout tweaks (news.google.com).

svn path=/import/netsurf/; revision=200
2003-07-02 14:31:37 +00:00
James Bursa
176d6f8f3d [project @ 2003-07-02 14:31:11 by bursa]
Fix buffer overflows.

svn path=/import/netsurf/; revision=199
2003-07-02 14:31:11 +00:00
James Bursa
f3f8ca720a [project @ 2003-06-30 22:21:51 by bursa]
Add title attribute support.

svn path=/import/netsurf/; revision=195
2003-06-30 22:21:51 +00:00
James Bursa
58267e14fd [project @ 2003-06-30 15:56:35 by bursa]
Fix image loading when images are in the cache.

svn path=/import/netsurf/; revision=191
2003-06-30 15:56:35 +00:00
James Bursa
017fc4eb4b [project @ 2003-06-30 12:44:02 by bursa]
New file headers.

svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
1145b231d4 [project @ 2003-06-26 11:41:26 by bursa]
Implement HTTP redirects.

svn path=/import/netsurf/; revision=187
2003-06-26 11:41:26 +00:00
James Bursa
94073c9bf6 [project @ 2003-06-21 13:18:00 by bursa]
Add debug command line build.

svn path=/import/netsurf/; revision=181
2003-06-21 13:18:00 +00:00
James Bursa
0c0ff3c596 [project @ 2003-06-17 19:24:20 by bursa]
Change fetchcache system to store loading contents in cache.

svn path=/import/netsurf/; revision=180
2003-06-17 19:24:21 +00:00
John Mark Bell
dfdf69fc91 [project @ 2003-06-07 22:24:22 by jmb]
Fix plugin memory leaks.

svn path=/import/netsurf/; revision=177
2003-06-07 22:24:22 +00:00
John Mark Bell
3f21e7a40e [project @ 2003-06-06 03:12:28 by jmb]
Begin to munge <embed>s into <object>s

svn path=/import/netsurf/; revision=171
2003-06-06 03:12:28 +00:00
John Mark Bell
5b83aebf36 [project @ 2003-06-06 02:08:56 by jmb]
Progress plugin handling. Segfault appears to have gone. It doesn't draw the image though :/

svn path=/import/netsurf/; revision=168
2003-06-06 02:08:56 +00:00
Philip Pemberton
97dea9f287 [project @ 2003-06-05 13:17:55 by philpem]
Added GIF decode support

svn path=/import/netsurf/; revision=160
2003-06-05 13:17:55 +00:00
John Mark Bell
f7c6c2c613 [project @ 2003-05-31 19:01:43 by jmb]
Fix makefile after duff checkin

svn path=/import/netsurf/; revision=139
2003-05-31 19:01:43 +00:00
John Mark Bell
51ee42fc08 [project @ 2003-05-31 18:47:00 by jmb]
Begin support for <OBJECT>, <EMBED> and <APPLET> tags. NB: this doesn't work yet

svn path=/import/netsurf/; revision=137
2003-05-31 18:47:00 +00:00
James Bursa
7a01be33ee [project @ 2003-05-23 11:08:17 by bursa]
Link with 32-bit OSLib.

svn path=/import/netsurf/; revision=131
2003-05-23 11:08:17 +00:00
James Bursa
80fe931f80 [project @ 2003-05-22 13:21:45 by bursa]
Form GET support (John M Bell)

svn path=/import/netsurf/; revision=130
2003-05-22 13:21:45 +00:00
James Bursa
27d93c182c [project @ 2003-05-10 11:13:34 by bursa]
Partial PNG support.

svn path=/import/netsurf/; revision=129
2003-05-10 11:15:49 +00:00
James Bursa
0285c2984f [project @ 2003-04-25 08:03:15 by bursa]
Various memory fixes.

svn path=/import/netsurf/; revision=128
2003-04-25 08:03:15 +00:00
James Bursa
09b1ede5a3 [project @ 2003-04-15 17:53:00 by bursa]
Inline images and related.

svn path=/import/netsurf/; revision=125
2003-04-15 17:53:00 +00:00
James Bursa
63b6455f73 [project @ 2003-04-13 12:50:10 by bursa]
style element, CSS fixes, id selectors.

svn path=/import/netsurf/; revision=124
2003-04-13 12:50:10 +00:00
James Bursa
0267469306 [project @ 2003-04-11 21:06:51 by bursa]
Memory usage and CSS fixes.

svn path=/import/netsurf/; revision=122
2003-04-11 21:06:51 +00:00
James Bursa
7c94cf8be9 [project @ 2003-04-10 21:44:45 by bursa]
Memory usage cleaning.

svn path=/import/netsurf/; revision=121
2003-04-10 21:44:45 +00:00
James Bursa
230cb5f01f [project @ 2003-04-09 21:57:09 by bursa]
Table layout fixes, allowed type list.

svn path=/import/netsurf/; revision=119
2003-04-09 21:57:09 +00:00
James Bursa
c62f1a55e6 [project @ 2003-04-06 20:56:40 by bursa]
CSS bug fix.

svn path=/import/netsurf/; revision=118
2003-04-06 20:56:40 +00:00
James Bursa
46edb645e1 [project @ 2003-04-06 18:09:34 by bursa]
@import, more status messages.

svn path=/import/netsurf/; revision=116
2003-04-06 18:09:34 +00:00
James Bursa
2253e38be8 [project @ 2003-04-05 21:38:06 by bursa]
External stylesheets.

svn path=/import/netsurf/; revision=115
2003-04-05 21:38:06 +00:00
James Bursa
4421b2e633 [project @ 2003-04-04 15:19:31 by bursa]
New CSS parser.

svn path=/import/netsurf/; revision=112
2003-04-04 15:19:32 +00:00
James Bursa
5d371fb47e [project @ 2003-03-25 21:51:29 by bursa]
Show alt text for images.

svn path=/import/netsurf/; revision=109
2003-03-25 21:51:29 +00:00
James Bursa
91f8a679db [project @ 2003-03-15 15:53:20 by bursa]
MIME types for local files, new test files.

svn path=/import/netsurf/; revision=107
2003-03-15 15:53:20 +00:00
James Bursa
e517a39dfb [project @ 2003-03-08 21:25:56 by bursa]
Cell height changes.

svn path=/import/netsurf/; revision=106
2003-03-08 21:25:56 +00:00
James Bursa
e2efda19df [project @ 2003-03-04 11:59:35 by bursa]
More compiler warning fixes.

svn path=/import/netsurf/; revision=104
2003-03-04 11:59:36 +00:00
James Bursa
64e1781eb4 [project @ 2003-03-03 22:40:39 by bursa]
Fix many browser warnings.

svn path=/import/netsurf/; revision=103
2003-03-03 22:40:39 +00:00
James Bursa
05318b210d [project @ 2003-02-26 18:22:24 by bursa]
Fix HTML parsing and JPEG bug.

svn path=/import/netsurf/; revision=101
2003-02-26 18:22:24 +00:00
James Bursa
8edb43af7d [project @ 2003-02-25 21:00:27 by bursa]
Bug fixes, experimental JPEG support.

svn path=/import/netsurf/; revision=100
2003-02-25 21:00:27 +00:00
James Bursa
a4c5929a2f [project @ 2003-02-09 12:58:14 by bursa]
Reorganization and rewrite of fetch, cache, and content handling.

svn path=/import/netsurf/; revision=96
2003-02-09 12:58:15 +00:00
James Bursa
948dfeb1c2 [project @ 2003-02-04 09:34:32 by bursa]
Remove obsolete files.

svn path=/import/netsurf/; revision=95
2003-02-04 09:34:32 +00:00
Phil Mellor
7859d29ef8 [project @ 2003-01-11 17:36:40 by monkeyson]
Forms tweaked slightly.

svn path=/import/netsurf/; revision=92
2003-01-11 17:36:40 +00:00
James Bursa
48e4666fee [project @ 2003-01-07 23:24:43 by bursa]
Minor attribute handling changes.

svn path=/import/netsurf/; revision=90
2003-01-07 23:24:43 +00:00
James Bursa
405e2321a8 [project @ 2003-01-07 23:15:23 by bursa]
Clean up many compiler warnings.

svn path=/import/netsurf/; revision=88
2003-01-07 23:15:23 +00:00
James Bursa
1c83fd5d2c [project @ 2003-01-07 18:21:58 by bursa]
Fix select element.

svn path=/import/netsurf/; revision=87
2003-01-07 18:21:58 +00:00
James Bursa
3af4ad82a8 [project @ 2003-01-06 23:53:39 by bursa]
Changes to integrate images and forms.

svn path=/import/netsurf/; revision=86
2003-01-06 23:53:40 +00:00
James Bursa
a445058176 [project @ 2003-01-03 22:19:39 by bursa]
Table layout improvements.

svn path=/import/netsurf/; revision=82
2003-01-03 22:19:39 +00:00
James Bursa
ce7db34863 [project @ 2003-01-02 13:26:43 by bursa]
Whitespace and box tree normalisation changes.

svn path=/import/netsurf/; revision=81
2003-01-02 13:26:43 +00:00
Phil Mellor
20ea5ea00f [project @ 2002-12-30 22:56:30 by monkeyson]
Forms are now interactive - user can manipulate checkbox, radio, text, textarea,
select elements.

svn path=/import/netsurf/; revision=76
2002-12-30 22:56:30 +00:00
Phil Mellor
33a91eb2fe [project @ 2002-12-30 02:06:03 by monkeyson]
Started support for img tag - doesn't attempt to fetch/render images yet.
Combo boxes in forms.

svn path=/import/netsurf/; revision=72
2002-12-30 02:06:03 +00:00
Phil Mellor
50fc20c2d4 [project @ 2002-12-29 22:27:35 by monkeyson]
Font anti-alias colours corrected.

Begin displaying form elements - text, password, submit, reset

svn path=/import/netsurf/; revision=71
2002-12-29 22:27:35 +00:00
James Bursa
54ec269af3 [project @ 2002-12-27 22:29:45 by bursa]
Implement color property.

svn path=/import/netsurf/; revision=68
2002-12-27 22:29:45 +00:00
James Bursa
9944fe8b00 [project @ 2002-12-27 20:42:31 by bursa]
Implement color property.

svn path=/import/netsurf/; revision=66
2002-12-27 20:42:31 +00:00
James Bursa
8d1cbc0d05 [project @ 2002-12-27 20:35:32 by bursa]
Implement color property.

svn path=/import/netsurf/; revision=65
2002-12-27 20:35:32 +00:00
James Bursa
c15de8c585 [project @ 2002-12-27 20:13:18 by bursa]
Implement color property.

svn path=/import/netsurf/; revision=64
2002-12-27 20:13:18 +00:00
James Bursa
a6c8472922 [project @ 2002-12-27 20:08:18 by bursa]
Implement color property.

svn path=/import/netsurf/; revision=63
2002-12-27 20:08:18 +00:00
James Bursa
ffe6ce5f5e [project @ 2002-12-27 18:58:03 by bursa]
Consider colspan when calculating column widths.

svn path=/import/netsurf/; revision=62
2002-12-27 18:58:03 +00:00
James Bursa
0e4fbaf439 [project @ 2002-12-27 17:38:47 by bursa]
Improved word space handling

svn path=/import/netsurf/; revision=61
2002-12-27 17:38:47 +00:00
James Bursa
c3a910193f [project @ 2002-12-27 17:28:19 by bursa]
Improved word space handling

svn path=/import/netsurf/; revision=60
2002-12-27 17:28:19 +00:00
James Bursa
edf686bf9c [project @ 2002-12-26 23:02:38 by bursa]
Text layout changes for re-rendering.

svn path=/import/netsurf/; revision=58
2002-12-26 23:02:38 +00:00
James Bursa
89c257d207 [project @ 2002-12-23 22:31:28 by bursa]
Fix layout_line() to support re-rendering.

svn path=/import/netsurf/; revision=53
2002-12-23 22:31:28 +00:00
Phil Mellor
eab796506b [project @ 2002-10-15 10:41:12 by monkeyson]
GUI: menus, toolbar, adjustable window width.

svn path=/import/netsurf/; revision=44
2002-10-15 10:41:12 +00:00
James Bursa
f459052ef8 [project @ 2002-10-12 13:05:16 by bursa]
Speed improvements in layout_line() (call Font_ScanString much less).

svn path=/import/netsurf/; revision=43
2002-10-12 13:05:16 +00:00
James Bursa
390fb8fb8d [project @ 2002-10-08 11:15:29 by bursa]
Removed most Unicode support, because it slows things down too much.

svn path=/import/netsurf/; revision=42
2002-10-08 11:15:29 +00:00
James Bursa
53c0e810e5 [project @ 2002-10-08 09:38:29 by bursa]
LOG(()) macro for easier debugging.

svn path=/import/netsurf/; revision=41
2002-10-08 09:38:29 +00:00
James Bursa
fcbe2cebae [project @ 2002-09-26 21:38:32 by bursa]
New Unicode font handling and rendering code.

svn path=/import/netsurf/; revision=39
2002-09-26 21:38:33 +00:00
James Bursa
f0fc6ca473 [project @ 2002-09-19 19:54:43 by bursa]
Percentage column widths, optimisations.

svn path=/import/netsurf/; revision=38
2002-09-19 19:54:43 +00:00
James Bursa
263d627daa [project @ 2002-09-18 19:36:28 by bursa]
New table layout algorithm.

svn path=/import/netsurf/; revision=37
2002-09-18 19:36:28 +00:00
James Bursa
1e5061507b [project @ 2002-09-11 21:19:24 by bursa]
Convert all text to iso-8859-1 (temporary fix).

svn path=/import/netsurf/; revision=35
2002-09-11 21:19:24 +00:00
James Bursa
0380dbb75d [project @ 2002-09-11 21:18:18 by bursa]
Column widths changes, bug fix.

svn path=/import/netsurf/; revision=34
2002-09-11 21:18:18 +00:00
Phil Mellor
811106028f [project @ 2002-09-11 14:24:02 by monkeyson]
RISC OS Wimp GUI.

svn path=/import/netsurf/; revision=33
2002-09-11 14:24:02 +00:00
James Bursa
a46eef0002 [project @ 2002-09-08 18:11:56 by bursa]
Add box_free().

svn path=/import/netsurf/; revision=32
2002-09-08 18:11:56 +00:00
James Bursa
a21d245091 [project @ 2002-08-18 16:46:45 by bursa]
Big changes to xml_to_box(), table row groups.

svn path=/import/netsurf/; revision=31
2002-08-18 16:46:45 +00:00
James Bursa
12c3ff3d62 [project @ 2002-08-11 23:04:02 by bursa]
[monkeyson] Multiple-include guards.

svn path=/import/netsurf/; revision=30
2002-08-11 23:04:02 +00:00
James Bursa
1a1c493d74 [project @ 2002-08-11 23:02:25 by bursa]
[monkeyson] Add font-weight and font-style.

svn path=/import/netsurf/; revision=29
2002-08-11 23:02:49 +00:00
James Bursa
72a56e8792 [project @ 2002-08-11 23:00:24 by bursa]
[monkeyson & bursa] Support for links.

svn path=/import/netsurf/; revision=28
2002-08-11 23:01:02 +00:00
James Bursa
94d4798ca6 [project @ 2002-08-05 20:34:45 by bursa]
Fixes to layout_table().

svn path=/import/netsurf/; revision=27
2002-08-05 20:34:45 +00:00
James Bursa
e78ea408f3 [project @ 2002-06-28 20:14:04 by bursa]
Changed float representation in box tree to implement floated tables.

svn path=/import/netsurf/; revision=25
2002-06-28 20:14:04 +00:00
James Bursa
df3341cb43 [project @ 2002-06-26 23:27:30 by bursa]
Implied table elements and colspan implemented.

svn path=/import/netsurf/; revision=24
2002-06-26 23:27:30 +00:00
James Bursa
900a3a9b24 [project @ 2002-06-26 12:19:24 by bursa]
Make compilation with lcc work.

svn path=/import/netsurf/; revision=23
2002-06-26 12:19:24 +00:00
James Bursa
0a5d2d0daf [project @ 2002-06-21 18:16:24 by bursa]
Implemented clear, fixed inline / float bugs, eliminated many compiler warnings.

svn path=/import/netsurf/; revision=22
2002-06-21 18:16:24 +00:00
James Bursa
4bd5655408 [project @ 2002-06-19 15:17:45 by bursa]
CSS fixes, text-align property implemented (except justify).

svn path=/import/netsurf/; revision=21
2002-06-19 15:17:45 +00:00
James Bursa
74ef206f53 [project @ 2002-06-18 21:24:21 by bursa]
Improved inline and float layout, new CSS properties, better debug output.

svn path=/import/netsurf/; revision=20
2002-06-18 21:24:21 +00:00
James Bursa
ce0d001eb1 [project @ 2002-05-27 23:21:11 by bursa]
Simple left float implementation.

svn path=/import/netsurf/; revision=19
2002-05-27 23:21:11 +00:00
James Bursa
16f1b4d913 [project @ 2002-05-21 21:32:35 by bursa]
Start of float implementation.

svn path=/import/netsurf/; revision=18
2002-05-21 21:32:35 +00:00
James Bursa
1ff128beaf [project @ 2002-05-18 08:23:39 by bursa]
Added css_blank_style.

svn path=/import/netsurf/; revision=16
2002-05-18 08:23:39 +00:00
James Bursa
600f3ad557 [project @ 2002-05-11 15:22:24 by bursa]
Better inline layout algorithm, simple tcl/tk gui.

svn path=/import/netsurf/; revision=15
2002-05-11 15:22:24 +00:00
James Bursa
91300f840f [project @ 2002-05-04 21:17:06 by bursa]
Added code to use style attribute of elements.

svn path=/import/netsurf/; revision=14
2002-05-04 21:17:06 +00:00
James Bursa
50d95fdf6f [project @ 2002-05-04 19:57:18 by bursa]
Split box and layout modules from render.c.

svn path=/import/netsurf/; revision=13
2002-05-04 19:57:18 +00:00
James Bursa
57f0b38204 [project @ 2002-05-02 08:51:24 by bursa]
Changed for testing tables.

svn path=/import/netsurf/; revision=12
2002-05-02 08:51:24 +00:00
James Bursa
45401cf4b0 [project @ 2002-05-02 08:50:46 by bursa]
Implemented fixed table layout algorithm.

svn path=/import/netsurf/; revision=11
2002-05-02 08:50:46 +00:00
James Bursa
2c407ce4c4 [project @ 2002-04-25 15:54:05 by bursa]
Simple word wrapping of inline elements.

svn path=/import/netsurf/; revision=10
2002-04-25 15:54:05 +00:00
James Bursa
895ff0b0c2 [project @ 2002-04-25 15:53:07 by bursa]
Test HTML and CSS files.

svn path=/import/netsurf/; revision=9
2002-04-25 15:53:07 +00:00
James Bursa
f5044a6d87 [project @ 2002-04-25 15:52:26 by bursa]
Interface to fonts.

svn path=/import/netsurf/; revision=8
2002-04-25 15:52:26 +00:00
James Bursa
33dc126f53 [project @ 2002-04-25 15:49:32 by bursa]
Moved xml2-config switches to end of line.

svn path=/import/netsurf/; revision=7
2002-04-25 15:49:32 +00:00
James Bursa
4f1bd18a3d [project @ 2002-04-24 17:38:36 by bursa]
Added a simple table layout implementation.

svn path=/import/netsurf/; revision=6
2002-04-24 17:38:36 +00:00
James Bursa
91b9ffdbcb [project @ 2002-04-24 17:37:37 by bursa]
Replace - with _ when generating enums.

svn path=/import/netsurf/; revision=5
2002-04-24 17:37:37 +00:00
James Bursa
82e853c3df [project @ 2002-04-23 22:05:19 by bursa]
Rewrote layout routines to use box tree.

svn path=/import/netsurf/; revision=4
2002-04-23 22:05:19 +00:00
James Bursa
63d8038d7d [project @ 2002-04-23 17:06:20 by bursa]
Working conversion from HTML tree to box tree with styles.

svn path=/import/netsurf/; revision=3
2002-04-23 17:06:20 +00:00
James Bursa
6d48b29c2b [project @ 2002-04-22 09:24:35 by bursa]
Initial revision

svn path=/import/netsurf/; revision=2
2002-04-22 09:24:35 +00:00