Commit Graph

129 Commits

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