Commit Graph

249 Commits

Author SHA1 Message Date
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