Commit Graph

35 Commits

Author SHA1 Message Date
John Mark Bell
be3ce1f3a9 [project @ 2004-10-25 22:42:36 by jmb]
Fix silly line plotting bug.
Fix stupidly large bounding boxes when plotting polygons.
Tidy up filled rectangle plotting.

svn path=/import/netsurf/; revision=1335
2004-10-25 22:42:36 +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
33d905ce7f [project @ 2004-10-20 22:22:25 by jmb]
Fix bbox issue when plotting lines.
Reinstate background colour rectangles (positioning's a bit off vertically)

svn path=/import/netsurf/; revision=1331
2004-10-20 22:22:25 +00:00
John Mark Bell
5b22657606 [project @ 2004-10-20 09:52:43 by jmb]
Rewrite such that it now uses plotters.
Things that need fixing:
 - draw_plot_(line,rectangle) needs line pattern support (everything's solid
   for now)
There's a couple of regressions, too:
  - page background colour is lost (plotting a filled rectangle of colour
    in draw_clg breaks some sites. This may require some sort of clipping)
  - there's no grouping of objects any more (sorry joty). I'm not entirely
    sure of the best way of going about this, as we no longer have box data.

svn path=/import/netsurf/; revision=1329
2004-10-20 09:52:43 +00:00
Richard Wilson
403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
101c87958d [project @ 2004-09-04 16:41:28 by jmb]
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.

svn path=/import/netsurf/; revision=1268
2004-09-04 16:41:28 +00:00
James Bursa
3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +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
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 Tytgat
94103b8c96 [project @ 2004-08-08 11:45:28 by joty]
Minor change : update comment + explicit cast.

svn path=/import/netsurf/; revision=1194
2004-08-08 11:45:28 +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 Tytgat
bce89473cc [project @ 2004-07-14 19:38:05 by joty]
Lose GCC compiler warnings.

svn path=/import/netsurf/; revision=1078
2004-07-14 19:38:05 +00:00
John Tytgat
4f0e75a515 [project @ 2004-07-14 19:18:30 by joty]
- More accurate Draw file generation (like better radio & checkbox, borders, etc)
- Draw grouping
- Removed all Norcroft warnings.

svn path=/import/netsurf/; revision=1077
2004-07-14 19:18:30 +00:00
John Tytgat
9f1497ac80 [project @ 2004-07-08 20:14:54 by joty]
Lose compiler warnings.

svn path=/import/netsurf/; revision=1059
2004-07-08 20:14:54 +00:00
John Mark Bell
f8a1933c15 [project @ 2004-07-05 22:09:11 by jmb]
Avoid some compiler warnings.
Work around issue with GCC3.3 pre2

svn path=/import/netsurf/; revision=1051
2004-07-05 22:09:11 +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
27a6af1739 [project @ 2004-06-02 21:43:07 by bursa]
Reflow back if xosfile_save_stamped() fails.

svn path=/import/netsurf/; revision=925
2004-06-02 21:43:07 +00:00
James Bursa
9f36f6144c [project @ 2004-06-02 21:26:12 by bursa]
Handle memory exhaustion and errors.

svn path=/import/netsurf/; revision=921
2004-06-02 21:26:12 +00:00
John Mark Bell
96aa983ac6 [project @ 2004-04-06 23:23:24 by jmb]
Fix for changed GIF data structures

svn path=/import/netsurf/; revision=734
2004-04-06 23:23:24 +00:00
John Mark Bell
b23bc94cb9 [project @ 2004-03-24 23:48:20 by jmb]
Remove completed todos.

svn path=/import/netsurf/; revision=664
2004-03-24 23:48:20 +00:00
James Bursa
31e521a02e [project @ 2004-03-23 22:17:08 by bursa]
Remove usage of OS JPEG module; convert all JPEGs to 32bpp and plot with Tinct; speed improvements and cleanup.

svn path=/import/netsurf/; revision=656
2004-03-23 22:17:08 +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
303e09a6c2 [project @ 2004-03-03 23:17:15 by jmb]
Fix scaled jpeg bug, with any luck...

svn path=/import/netsurf/; revision=581
2004-03-03 23:17:15 +00:00
James Bursa
318869e90e [project @ 2004-02-26 00:44:42 by bursa]
Implement drag saving of drawfiles and clean up drag/drop/save code.

svn path=/import/netsurf/; revision=568
2004-02-26 00:44:42 +00:00
John Mark Bell
8cece1f41f [project @ 2004-02-16 21:09:40 by jmb]
Check that we're actually dealing with a HTML page, just in case the
user is silly enough to try and save something else as draw.

svn path=/import/netsurf/; revision=555
2004-02-16 21:09:40 +00:00
John Mark Bell
40ed6968b7 [project @ 2004-02-15 22:54:49 by jmb]
Lose unnecessary todo

svn path=/import/netsurf/; revision=553
2004-02-15 22:54:49 +00:00
John Mark Bell
c6922a94b0 [project @ 2004-02-15 22:40:02 by jmb]
Let's try that again...

svn path=/import/netsurf/; revision=552
2004-02-15 22:40:02 +00:00
John Mark Bell
9ec96ea66b [project @ 2004-02-15 22:37:52 by jmb]
Don't add zero length text strings.

svn path=/import/netsurf/; revision=551
2004-02-15 22:37:52 +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
John Mark Bell
dc6c4e5cae [project @ 2004-02-15 18:07:26 by jmb]
Use proper offsets instead of hard-coded nastiness

svn path=/import/netsurf/; revision=546
2004-02-15 18:07:26 +00:00
John Mark Bell
518a6dd47b [project @ 2004-02-15 14:43:39 by jmb]
Lose LOG(()) call. update todo list

svn path=/import/netsurf/; revision=545
2004-02-15 14:43:39 +00:00
John Mark Bell
9bd5489543 [project @ 2004-02-15 14:17:29 by jmb]
Radio button circle plotting. Warning - scary ;)

svn path=/import/netsurf/; revision=544
2004-02-15 14:17:29 +00:00
John Mark Bell
82a598d8ee [project @ 2004-02-15 03:19:21 by jmb]
Fix various issues: Duplicate images, text madness.

svn path=/import/netsurf/; revision=543
2004-02-15 03:19:21 +00:00
John Mark Bell
3720fafac0 [project @ 2004-02-14 22:26:35 by jmb]
Draw export module.

svn path=/import/netsurf/; revision=541
2004-02-14 22:26:35 +00:00