Commit Graph

78 Commits

Author SHA1 Message Date
John Mark Bell
f7bc0cf850 Squash warning
svn path=/trunk/netsurf/; revision=4209
2008-05-26 10:41:46 +00:00
Michael Drake
181573d081 Fix bitmap format comment.
svn path=/trunk/netsurf/; revision=4168
2008-05-16 23:04:41 +00:00
John Mark Bell
1f2219aead Make this obey WITH_MNG correctly -- previously included libmng.h regardless
svn path=/trunk/netsurf/; revision=4155
2008-05-13 21:38:30 +00:00
Rob Kendrick
79acb8b08c Further fixes for unsigned int being used as an intptr
svn path=/trunk/netsurf/; revision=4082
2008-04-07 10:37:21 +00:00
Rob Kendrick
7614b26944 Fix assumption that int is the same width as a pointer
svn path=/trunk/netsurf/; revision=4081
2008-04-07 10:23:18 +00:00
John Mark Bell
0da3848703 Fix build with WITH_NSSPRITE undefined
svn path=/trunk/netsurf/; revision=4056
2008-03-29 14:42:39 +00:00
James Shaw
0ab7a1bd37 Fix instructions on disabling librosprite. Move #include for when
librosprite isn't installed

svn path=/trunk/netsurf/; revision=4054
2008-03-29 14:34:21 +00:00
James Shaw
9402e110e9 Implement sprite support for GTK using librosprite
svn path=/trunk/netsurf/; revision=4051
2008-03-29 13:30:04 +00:00
Adrian Lees
aefa03aed9 Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
2008-03-24 01:35:13 +00:00
Rob Kendrick
b91ad2b1ff Wrap jpeg library check in #ifdef riscos, as we don't care on non-RISC OS. Silences warning.
svn path=/trunk/netsurf/; revision=3921
2008-03-10 14:29:43 +00:00
Michael Drake
9d3b7b43fd Update status bar when standalone images are done.
svn path=/trunk/netsurf/; revision=3917
2008-03-10 12:41:41 +00:00
John Mark Bell
1cf46a6792 SignednessWarnings.squash()
Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice.

svn path=/trunk/netsurf/; revision=3868
2008-02-25 17:58:00 +00:00
James Bursa
455aefbb91 Make GIF decoding work correctly on big-endian (colors were wrong).
svn path=/trunk/netsurf/; revision=3854
2008-02-10 00:35:03 +00:00
James Bursa
5c1f3bd8c8 Move SVG code into a new library, libsvgtiny.
svn path=/trunk/netsurf/; revision=3837
2008-02-03 19:11:36 +00:00
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