Commit Graph

6349 Commits

Author SHA1 Message Date
Chris Young
1f1fe78c17 New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
Currently only able to resolve DataTypes to MIME Types.

TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name

svn path=/trunk/netsurf/; revision=12360
2011-05-09 22:11:18 +00:00
Ole Loots
3276ce5db9 rearranged includes, seperate redraw request areas.
svn path=/trunk/netsurf/; revision=12359
2011-05-09 22:10:02 +00:00
Ole Loots
2f40a85b67 fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12358
2011-05-09 22:08:34 +00:00
Ole Loots
b046d77f3f fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12357
2011-05-09 20:46:44 +00:00
Chris Young
87430b985b Updated translation (credit: Samir Hawamdeh)
svn path=/trunk/netsurf/; revision=12356
2011-05-09 20:09:15 +00:00
François Revel
c4efa5593b Don't say "registering" when we actually skipped the type...
svn path=/trunk/netsurf/; revision=12355
2011-05-09 19:30:44 +00:00
François Revel
4f2e8aa2e5 Skip image/gif when registering Apple Image handlers, to give precedence to nsgif since it handles animated GIF.
svn path=/trunk/netsurf/; revision=12354
2011-05-09 19:26:31 +00:00
François Revel
1c753c0707 OSX: Always empty the Resources folder in the .app bundle when populating it, to avoid errors when copying .svn stuff over a 2nd time. Ideally those shouldn't be copied over anyway, but I didn't yet find an easy way to use tar the way I need.
svn path=/trunk/netsurf/; revision=12353
2011-05-09 18:39:42 +00:00
Michael Drake
3e62014f2f Pedantic whitespace changes.
svn path=/trunk/netsurf/; revision=12352
2011-05-09 18:22:10 +00:00
Michael Drake
b1e09e9b99 Remove forward declaration.
svn path=/trunk/netsurf/; revision=12351
2011-05-09 18:15:51 +00:00
Sven Weidauer
5e1a9bbfc0 Registering all image types NSBitmapImageRep can load and using ImageIO instead of other image libraries by default.
Regression: animated GIF doesn’t work anymore.

svn path=/trunk/netsurf/; revision=12350
2011-05-09 18:13:36 +00:00
Sven Weidauer
bf69743db9 Include correct header in schedule.m, fixes warning
svn path=/trunk/netsurf/; revision=12344
2011-05-09 16:43:28 +00:00
François Revel
6d180ce9b3 Use named initializers.
svn path=/trunk/netsurf/; revision=12343
2011-05-09 16:23:31 +00:00
François Revel
e7986379f0 Fix the apple_image handler to only have a redraw method that also does tiling.
svn path=/trunk/netsurf/; revision=12342
2011-05-09 16:19:16 +00:00
Vincent Sanders
83f9e707eb refactor content handler initilisation to use named initialisors
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Michael Drake
0929aa897b Fix tiled redraw of SVGs.
svn path=/trunk/netsurf/; revision=12340
2011-05-09 13:02:22 +00:00
Michael Drake
cbc2a9470f Wrap macro.
svn path=/trunk/netsurf/; revision=12339
2011-05-09 12:17:55 +00:00
Michael Drake
2fbce3df3f Wrap fix.
svn path=/trunk/netsurf/; revision=12338
2011-05-09 10:05:10 +00:00
Michael Drake
046d615a5d Add a quick search icon for mmu_man.
svn path=/trunk/netsurf/; revision=12337
2011-05-09 09:59:32 +00:00
Michael Drake
2ec96e508c Put RISC OS filetype content handlers in their own directory.
svn path=/trunk/netsurf/; revision=12336
2011-05-09 09:57:40 +00:00
Michael Drake
044018739b Fix Drawfile content handler build.
svn path=/trunk/netsurf/; revision=12335
2011-05-09 08:48:49 +00:00
Michael Drake
05945ebf1d Fix Artworks content handler build.
svn path=/trunk/netsurf/; revision=12334
2011-05-09 08:46:12 +00:00
Michael Drake
37b389e699 Untested fix and tile implementation for Sprite.
svn path=/trunk/netsurf/; revision=12333
2011-05-09 08:42:49 +00:00
Michael Drake
2d6c0e99ec Fix for new content_redraw API.
svn path=/trunk/netsurf/; revision=12332
2011-05-09 08:38:56 +00:00
Michael Drake
e24fa186bb Fix for new content redraw API.
svn path=/trunk/netsurf/; revision=12331
2011-05-09 08:31:45 +00:00
Michael Drake
962fe1849c Fix for new content redraw API.
svn path=/trunk/netsurf/; revision=12330
2011-05-09 08:28:56 +00:00
Michael Drake
901ef07a95 Untested fix and tile implementation for nssprite.
svn path=/trunk/netsurf/; revision=12329
2011-05-09 08:23:01 +00:00
Michael Drake
41d2df4f5c Untested fix and tile implementation for webp.
svn path=/trunk/netsurf/; revision=12328
2011-05-09 08:15:38 +00:00
Michael Drake
8bb723a746 Fix MNG content handler.
svn path=/trunk/netsurf/; revision=12327
2011-05-09 08:11:06 +00:00
Michael Drake
94bcee728b Fix declaration too.
svn path=/trunk/netsurf/; revision=12326
2011-05-09 08:10:27 +00:00
Michael Drake
8a74107c36 Fix image/svg.c build.
svn path=/trunk/netsurf/; revision=12325
2011-05-09 08:03:36 +00:00
Michael Drake
cf25f54364 Clear extraneous text when done..
svn path=/trunk/netsurf/; revision=12324
2011-05-09 07:59:27 +00:00
Chris Young
034ac2e7f7 Beginnings of some more advanced mimetyping
svn path=/trunk/netsurf/; revision=12323
2011-05-08 22:59:48 +00:00
Chris Young
813c115cb5 Remove redraw_tiled
svn path=/trunk/netsurf/; revision=12322
2011-05-08 22:18:28 +00:00
Vincent Sanders
8be1e85e91 consolidate content redraw
more cleanups ready for image content refactor

svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
Michael Drake
8f6c343309 Simplify status bar text.
svn path=/trunk/netsurf/; revision=12313
2011-05-08 19:11:34 +00:00
François Revel
29623da1ba Fix typo.
svn path=/trunk/netsurf/; revision=12312
2011-05-08 17:37:11 +00:00
Vincent Sanders
658cd31311 clean up jpeg image handling ready for refactor
svn path=/trunk/netsurf/; revision=12311
2011-05-08 15:14:21 +00:00
Chris Young
f277c59c9a missing copy
svn path=/trunk/netsurf/; revision=12310
2011-05-08 09:56:08 +00:00
Chris Young
0fe71fd58a Sticky menus shouldn't be default as they are non-standard
svn path=/trunk/netsurf/; revision=12309
2011-05-08 09:47:03 +00:00
François Revel
d5e27b2850 Remove debug output.
svn path=/trunk/netsurf/; revision=12308
2011-05-08 01:18:43 +00:00
François Revel
4ebb145a7d Automatically build an rdef file importing the resources listed as dependencies for BeOS.
svn path=/trunk/netsurf/; revision=12306
2011-05-08 01:03:44 +00:00
Vincent Sanders
f2e8be9fe7 Cleanup png code
only use the bitmap pointer in the png content the one in teh base content seems extraneous for png.

svn path=/trunk/netsurf/; revision=12304
2011-05-07 23:35:57 +00:00
Chris Young
489c35c5f7 Simple initialisation splash screen
svn path=/trunk/netsurf/; revision=12303
2011-05-07 22:21:41 +00:00
François Revel
20ae506d25 Add the icons to the BeOS resources.
svn path=/trunk/netsurf/; revision=12301
2011-05-07 22:03:17 +00:00
François Revel
dd43363d57 Add internal.css to OSX resources. This fixes the dirlist display.
svn path=/trunk/netsurf/; revision=12297
2011-05-07 18:37:07 +00:00
François Revel
e679fc7bf5 Fix BeOS build after the content_factory merge.
svn path=/trunk/netsurf/; revision=12290
2011-05-07 17:17:54 +00:00
Chris Young
27d4350054 Register additional MIME types for DataTypes
Default file contains all image MIME Types NetSurf is capable of handling natively
(plus JPEG2000) to ensure disabling features in NetSurf won't lose support.


svn path=/trunk/netsurf/; revision=12287
2011-05-07 11:09:23 +00:00
François Revel
0cc1dade3c When passed WITH_MACPORTS to make, add /opt/local/{include,lib} to the search paths for Cocoa builds.
svn path=/trunk/netsurf/; revision=12286
2011-05-06 23:58:58 +00:00
François Revel
6b0982c2e3 Partial Cocoa build fix: missing definition of NOF_ELEMENTS.
svn path=/trunk/netsurf/; revision=12285
2011-05-06 23:37:38 +00:00