Commit Graph

64 Commits

Author SHA1 Message Date
James Bursa
13d479785c Fix coordinates when redrawing an SVG within a page.
svn path=/trunk/netsurf/; revision=3661
2007-12-11 02:40:33 +00:00
James Bursa
f09ea1d8f1 Implement polyline, polygon, more path segment types, and more transforms.
svn path=/trunk/netsurf/; revision=3659
2007-12-02 05:53:31 +00:00
James Bursa
b2c0baffcd Implement and fix more of viewBox, path, and transform.
svn path=/trunk/netsurf/; revision=3655
2007-11-30 03:08:02 +00:00
James Bursa
069525fe89 Add support for transform, color none, and some colours in style attribute.
svn path=/trunk/netsurf/; revision=3654
2007-11-29 05:56:57 +00:00
Rob Kendrick
c228658f2d NetBSD doesn't have the timezone struct, either.
svn path=/trunk/netsurf/; revision=3536
2007-09-14 18:22:40 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Rob Kendrick
f552452b9f Fix warning with rsvg
svn path=/trunk/netsurf/; revision=3485
2007-08-08 15:44:27 +00:00
Rob Kendrick
1522bfeed6 Add incremental parsing of SVG data to librsvg content handler.
svn path=/trunk/netsurf/; revision=3441
2007-07-19 13:47:59 +00:00
Rob Kendrick
8aa4b9e7b3 Fixes to rsvg renderer. Now mostly works for direct (non-embedded in a document) viewing.
svn path=/trunk/netsurf/; revision=3438
2007-07-18 23:57:39 +00:00
Rob Kendrick
04292695be Initial work on RSVG image handler. Still a lot to do.
svn path=/trunk/netsurf/; revision=3433
2007-07-18 17:58:35 +00:00
Rob Kendrick
59f358eb0f Wrap internal SVG renderer with appropriate #ifdef WITH_NS_SVG
svn path=/trunk/netsurf/; revision=3432
2007-07-18 14:49:26 +00:00
Rob Kendrick
b70141c17d Wrap jpeg.c with #ifdef WITH_JPEG
svn path=/trunk/netsurf/; revision=3431
2007-07-18 14:47:41 +00:00
James Bursa
fe4938d592 Start on implementing SVG <path>.
svn path=/trunk/netsurf/; revision=3427
2007-07-17 02:45:33 +00:00
James Bursa
9cd109060a Add SVG support for a few basic shapes.
svn path=/trunk/netsurf/; revision=3420
2007-07-15 23:22:54 +00:00
James Bursa
59ecedf444 Primitive SVG render (rect, text).
svn path=/trunk/netsurf/; revision=3405
2007-07-13 03:53:14 +00:00
Rob Kendrick
43257a160b Changes to allow building on Solaris.
* Tested on Solaris Express: Developer Edition,
          which is between Solaris 10 and 11.
        * Used gcc, libmng etc packages using pkg-get and blastwave's resources.
        * Had to build lemon and re2c manually.

svn path=/trunk/netsurf/; revision=3350
2007-06-15 22:07:11 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
John Mark Bell
9cf5122797 Content handlers should not call warn_user - they should broadcast the
error using content_broadcast and leave it to the content owner(s) to 
decide what to do about it.

Only use warn_user for top-level contents.


svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
Richard Wilson
5e783e1266 Ignore common GIF screen size errors (fix 1650225)
svn path=/trunk/netsurf/; revision=3192
2007-03-03 20:02:09 +00:00
Richard Wilson
869d34232b Release temporary PNG/JNG memory as soon as possible
svn path=/trunk/netsurf/; revision=3101
2006-12-03 20:53:56 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
148399a7b9 Remove redundant log statements
svn path=/trunk/netsurf/; revision=2698
2006-07-03 01:01:16 +00:00
Adrian Lees
4b03028b51 [project @ 2006-03-24 03:44:33 by adrianl]
Use thumbnails for iconised windows

svn path=/import/netsurf/; revision=2157
2006-03-24 03:44:37 +00:00
Rob Kendrick
eb6d84a1a8 [project @ 2006-03-23 04:31:17 by rjek]
Fix decoding of GIF images with more than 127 colours in them (for nsgtk)

svn path=/import/netsurf/; revision=2152
2006-03-23 04:31:17 +00:00
John Mark Bell
ea76f90611 [project @ 2006-03-04 20:46:54 by jmb]
Make nsmng_redraw call plot.bitmap

svn path=/import/netsurf/; revision=2105
2006-03-04 20:46:54 +00:00
Richard Wilson
464964cfb6 [project @ 2006-02-28 01:02:37 by rjw]
Render alpha-channel BMPs correctly.

svn path=/import/netsurf/; revision=2100
2006-02-28 01:02:37 +00:00
Richard Wilson
6f654c6f1e [project @ 2006-02-28 00:45:15 by rjw]
Implement bitfield encoding for BMPs. We now correctly decode every image in the BMP test suite at http://pobox.com/~jason1/bmpsuite/

svn path=/import/netsurf/; revision=2099
2006-02-28 00:45:15 +00:00
Richard Wilson
60ea34ad48 [project @ 2006-02-26 02:25:19 by rjw]
Add support for ICO files.

svn path=/import/netsurf/; revision=2096
2006-02-26 02:25:19 +00:00
Richard Wilson
da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
Richard Wilson
b95f2f676d [project @ 2006-01-24 23:06:36 by rjw]
Don't decode GIFs until they are required for rendering.

svn path=/import/netsurf/; revision=2031
2006-01-24 23:06:36 +00:00
Richard Wilson
ab9856c52a [project @ 2006-01-24 23:05:56 by rjw]
Handle memory failure better.

svn path=/import/netsurf/; revision=2030
2006-01-24 23:05:56 +00:00
Richard Wilson
0631647241 [project @ 2006-01-24 23:04:49 by rjw]
Faster GIF decoding.

svn path=/import/netsurf/; revision=2028
2006-01-24 23:04:49 +00:00
Richard Wilson
a88d14018f [project @ 2006-01-01 23:54:37 by rjw]
Optimisation of GIF reading.

svn path=/import/netsurf/; revision=1931
2006-01-01 23:54:37 +00:00
John Mark Bell
98cc71baf6 [project @ 2005-09-17 19:59:02 by jmb]
Hack around PNG as object fallback crash.

svn path=/import/netsurf/; revision=1865
2005-09-17 19:59:02 +00:00
John Mark Bell
07f79c3800 [project @ 2005-07-04 23:21:29 by jmb]
Fix jpeglib.h header location

svn path=/import/netsurf/; revision=1786
2005-07-04 23:21:29 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
Richard Wilson
ec9db1d6af [project @ 2005-04-29 01:35:52 by rjw]
Only initialise canvases if we need to.

svn path=/import/netsurf/; revision=1699
2005-04-29 01:35:52 +00:00
Richard Wilson
06a521f608 [project @ 2005-04-11 01:14:18 by rjw]
Only test opacity on a frame change.

svn path=/import/netsurf/; revision=1624
2005-04-11 01:14:18 +00:00
Richard Wilson
2dcc01332c [project @ 2005-02-03 13:05:29 by rjw]
Add missing #include

svn path=/import/netsurf/; revision=1483
2005-02-03 13:05:29 +00:00
Richard Wilson
42ab950b13 [project @ 2005-02-02 02:05:58 by rjw]
Accomodate further GIF brokenness.

svn path=/import/netsurf/; revision=1481
2005-02-02 02:05:58 +00:00
Richard Wilson
82e4286c5f [project @ 2005-02-01 16:55:11 by rjw]
Animate broken GIFs with frame delays of 0.

svn path=/import/netsurf/; revision=1480
2005-02-01 16:55:11 +00:00
Richard Wilson
c604fbe05c [project @ 2005-02-01 01:00:31 by rjw]
Move clipping area cascading to redraw loop (stops progressive decoding having a negative effect.)

svn path=/import/netsurf/; revision=1478
2005-02-01 01:00:31 +00:00
John Mark Bell
cba69ab083 [project @ 2005-01-25 21:42:37 by jmb]
Ensure bitmap has been created.

svn path=/import/netsurf/; revision=1468
2005-01-25 21:42:37 +00:00
Richard Wilson
54f903d1b4 [project @ 2005-01-23 15:20:45 by rjw]
Fix for first frame of a GIF animation not always being correctly cleared

svn path=/import/netsurf/; revision=1462
2005-01-23 15:20:45 +00:00
John Mark Bell
bca91638bc [project @ 2005-01-02 04:05:21 by jmb]
Begone, redundant code

svn path=/import/netsurf/; revision=1422
2005-01-02 04:05:21 +00:00
John Mark Bell
24dd4aead1 [project @ 2005-01-02 04:04:41 by jmb]
Add asserts, fix error handling for c->title, lose redundant code

svn path=/import/netsurf/; revision=1421
2005-01-02 04:04:41 +00:00
James Bursa
ed05aa87f8 [project @ 2004-12-25 11:37:35 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1409
2004-12-25 11:37:35 +00:00
Richard Wilson
8de8b08371 [project @ 2004-12-16 14:12:04 by rjw]
Fix for bug when deleting an expanded tree node. JNG/PNG opacity is now tested during the first plot.

svn path=/import/netsurf/; revision=1405
2004-12-16 14:12:04 +00:00