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
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
* Tabs now have a close gadget embedded
* The tab bar only displays if there is more than one tab open
* Changed the AISS theme "tab loading" image to something more appropriate
Under OS4.0 the old tab close button and permanent tab bar still applies (needs
testing as these changes may well have broken it)
Users of OS4.1 prior to Update 1 will probably need to update!
svn path=/trunk/netsurf/; revision=10045
probably only under OS4.1), showing a yellow flag on tabs which are currently loading.
In the future this could be expanded to show a proper animated throbber on loading
tabs, maybe instead of the main throbber.
svn path=/trunk/netsurf/; revision=9548
LangNames now contains the language codes for all languages available with OS4.1, plus
Welsh (http://aminet.net/package/misc/misc/welsh_lang). There are no other 3rd party
.language files available for OS4 that I am aware of, but any new ones can easily be
added if/when they become available.
These may now not be exactly the same as the RISC OS names, but that can be resolved
by renaming directories for new translations (current ones are OK), or reverting back
to the AmigaOS names for Messages files paths.
svn path=/trunk/netsurf/; revision=7452
These are expected to become some sort of standard :)
Will leave the Default theme pointing to the archive-included mouse pointer images
until this is official (Default theme should not require 3rd party images installed,
although it still needs AISS currently for some of the buttons)
svn path=/trunk/netsurf/; revision=6031
filetype.c has been changed to get the MIME type of a file from the MIMETYPE tooltype
of the icon or default icon for the file. The install script will set the basic of
these, and icons for default.css and AdBlock.css have been added to ensure these
always return the correct MIME type.
If the MIMETYPE tooltype is not found, the code will use datatypes.library to identify
the file and make a guess as to what the MIME type is.
svn path=/trunk/netsurf/; revision=5651
NetSurf will use the theme pointed to by the Options file "theme:". Default is
Resources/Themes/Default
This directory must contain a file called Theme which indicates which files should be
used for which images. The number of frames in the Throbber must also be specified
here. See Resources/Themes/Default/Theme for an example.
svn path=/trunk/netsurf/; revision=5592
match the 4 colour pop-up menu pointer) and 4 colour wait pointer (in a hybrid 2.0/1.3
style, it's a Zzz busy pointer with a 3D effect like the one on the default
stop-watch)
svn path=/trunk/netsurf/; revision=5426
The pointer imagery are the icon files of the 4-colour custom text file images.
Tooltypes XOFFSET and YOFFSET specify the "point" of the image.
The 32-bit pointers can be disabled by setting option truecolour_mouse_pointers:0
The OS pointers (for "Default" and "Wait" only) can be used by setting
os_mouse_pointers:1
Deleting the relevant files has the same effect :)
This complete set of 32-bit images is drawn by Martin Merz (Mason).
The code to read them is derived from sample code by Joerg Strohmayer.
svn path=/trunk/netsurf/; revision=5401
stored as Resources/Throbber in animation.datatype supported format.
The default animation is a small IFF ANIM which is only good for testing purposes.
This throbber code is likely to be replaced by custom animation code in the future as
using animation.datatype has issues and restrictions (only 8-bit formats, using
NewDTObject() twice on the same file doesn't seem to work correctly, clicking on the
anim starts it playing etc)
svn path=/trunk/netsurf/; revision=5303