Commit Graph

46 Commits

Author SHA1 Message Date
Michael Drake e73aac1118 Add JS filetype to mimetype mapping. 2013-02-15 14:57:27 +00:00
John-Mark Bell 6e09ff691b Consult internal mimemap before consulting MimeMap module. 2013-01-13 17:54:11 +00:00
Steve Fryatt b61670510f Use correct RISC OS filetype for PNG when identifying native format.
svn path=/trunk/netsurf/; revision=13290
2011-12-17 22:36:50 +00:00
John Mark Bell e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Michael Drake 0d04658544 When fetching a local file of type data, examine the extension to determine mime type.
svn path=/trunk/netsurf/; revision=11123
2010-12-27 14:03:45 +00:00
Michael Drake 87166fdbc1 hlcache_handle is typedeffed.
svn path=/trunk/netsurf/; revision=10261
2010-04-07 09:28:01 +00:00
Michael Drake 088742b3c3 Fix filetype.c.
svn path=/trunk/netsurf/; revision=10260
2010-04-07 09:12:46 +00:00
John Mark Bell 68d8ed687d Squash warning.
svn path=/trunk/netsurf/; revision=6929
2009-03-27 02:24:00 +00:00
John Mark Bell 385d274f5b A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
2008-09-15 22:45:44 +00:00
Rob Kendrick fe7cae2bfe Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00
John Mark Bell 2b79c34977 Squash warning
svn path=/trunk/netsurf/; revision=4190
2008-05-23 14:17:31 +00:00
John Mark Bell a16586c9b7 Use local filetype directly, if we're "downloading" a local file
svn path=/trunk/netsurf/; revision=4189
2008-05-23 13:29:37 +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
James Bursa 01cc865e02 Improve error message.
svn path=/trunk/netsurf/; revision=3480
2007-08-07 04:01:06 +00:00
Michael Drake d2c3d22f52 Change ArtWorks file MIME type to "image/x-artworks".
svn path=/trunk/netsurf/; revision=3449
2007-07-21 00:20:04 +00:00
John Mark Bell 1ded087c6a Support dataloading of SVG files
Add internal filetype<->mimetype mapping for SVG files

svn path=/trunk/netsurf/; revision=3407
2007-07-13 08:25:34 +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
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
John Mark Bell 358f20f4cd Make fetch_mimetype consider our internal mapping table
svn path=/trunk/netsurf/; revision=2894
2006-08-25 22:46:38 +00:00
John Mark Bell 8fefa1061e Fix 1517874. Plug memory leaks on failure.
svn path=/trunk/netsurf/; revision=2720
2006-07-06 06:42:54 +00:00
Richard Wilson badad073ec Generate directory listings (fix 1397934)
svn path=/trunk/netsurf/; revision=2719
2006-07-06 00:07:11 +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 28f51bfcf5 [project @ 2005-12-31 04:35:34 by rjw]
Allow filetype to be read from the content type

svn path=/import/netsurf/; revision=1912
2005-12-31 04:35:34 +00:00
Adrian Lees 1efd4796a2 [project @ 2005-12-10 14:31:32 by adrianl]
ArtWorks support

svn path=/import/netsurf/; revision=1891
2005-12-10 14:31:33 +00:00
John Mark Bell 8e6f1ddf42 [project @ 2005-07-27 15:31:48 by jmb]
Reinstate internal table. We check this first, and then ask MimeMap if we find nothing (Note that the file extension behaviour is retained, wherever the MIME type is looked for)

svn path=/import/netsurf/; revision=1826
2005-07-27 15:31:48 +00:00
John Mark Bell 42b6a05ece [project @ 2005-07-27 01:30:58 by jmb]
Make fetch_filetype use MimeMap - works as follows:
  If the filetype is text and the filename has an extension, then use the
  extension to detect the MIME type.
  In all other cases, the filetype is used.
Fix memory leak.

svn path=/import/netsurf/; revision=1825
2005-07-27 01:30:58 +00:00
Richard Wilson 441b364600 [project @ 2004-12-09 19:09:56 by rjw]
Lose xcalloc().

svn path=/import/netsurf/; revision=1397
2004-12-09 19:09:56 +00:00
John Mark Bell b74184c247 [project @ 2004-09-13 23:59:30 by jmb]
Add some #defines

svn path=/import/netsurf/; revision=1276
2004-09-13 23:59:30 +00:00
John Mark Bell a6eca8d3e8 [project @ 2004-07-31 12:56:25 by jmb]
Prevent UnixLib munging suffixes

svn path=/import/netsurf/; revision=1169
2004-07-31 12:56:25 +00:00
Richard Wilson de4d151285 [project @ 2004-07-25 20:45:15 by rjw]
Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes.

svn path=/import/netsurf/; revision=1144
2004-07-25 20:45:16 +00:00
John Mark Bell a0d23659b6 [project @ 2004-07-16 20:57:14 by jmb]
Fix silly rjwness

svn path=/import/netsurf/; revision=1090
2004-07-16 20:57:14 +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 Mark Bell dc642bc3fa [project @ 2004-03-21 22:31:30 by jmb]
Fix mimetype reading for files used by image filingsystems.

svn path=/import/netsurf/; revision=647
2004-03-21 22:31:30 +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
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 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
John Mark Bell 59fb052818 [project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce
the most now. Hopefully I haven't broken anything ;)

svn path=/import/netsurf/; revision=451
2003-12-27 00:11:57 +00:00
John Mark Bell b858507d90 [project @ 2003-09-10 22:27:15 by jmb]
Add support for Draw and Sprite files

svn path=/import/netsurf/; revision=281
2003-09-10 22:27:15 +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 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
Philip Pemberton 97dea9f287 [project @ 2003-06-05 13:17:55 by philpem]
Added GIF decode support

svn path=/import/netsurf/; revision=160
2003-06-05 13:17:55 +00:00
James Bursa 27d93c182c [project @ 2003-05-10 11:13:34 by bursa]
Partial PNG support.

svn path=/import/netsurf/; revision=129
2003-05-10 11:15:49 +00:00
James Bursa 230cb5f01f [project @ 2003-04-09 21:57:09 by bursa]
Table layout fixes, allowed type list.

svn path=/import/netsurf/; revision=119
2003-04-09 21:57:09 +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 91f8a679db [project @ 2003-03-15 15:53:20 by bursa]
MIME types for local files, new test files.

svn path=/import/netsurf/; revision=107
2003-03-15 15:53:20 +00:00