path: root/amiga/filetype.c
Commit message (Collapse)AuthorAgeFilesLines
* HTML files with an icon but no MIMETYPE tooltype were being picked up by theChris Young2008-11-161-0/+6
| | | | | | | | | | | | simplehtml datatype. As I'm using dth_BaseName rather than dth_Name, they were being tagged with the MIME type text/simplehtml. Have made an exception for this case to translate it to text/html, may in the future consider whether using dth_Name may be better. Minor adjustments to the local file requester to prevent .info files from being displayed. svn path=/trunk/netsurf/; revision=5711
* NetSurf will now check if it is already running (ie. if ARexx port NETSURF ↵Chris Young2008-11-161-1/+8
| | | | | | | | | | | | | | | exists), and quit and send an OPEN command to the one in memory if this is the case. Setting files as projects of NetSurf is now possible, as is multi-select launching from Workbench. Multi-selects are not passed through using ARexx yet, only the first file in the list will be opened if NetSurf is already running. Plain text files which have no MIMETYPE tooltype are now correctly identified as text/plain instead of text/ascii, allowing them to be opened locally. svn path=/trunk/netsurf/; revision=5698
* Allow opening of local files from anywhere, not just the parent of the ↵Chris Young2008-11-151-8/+15
| | | | | | current dir. svn path=/trunk/netsurf/; revision=5695
* mime type overflow and tab switching fixes.Chris Young2008-11-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=5660
* Local file handling improvements (fetch_file is incomplete and not being ↵Chris Young2008-11-081-19/+65
| | | | | | | | | | | | | | used yet) 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
* Fix problem with file uploads to always returning error to the ↵Chris Young2008-10-111-1/+2
| | | | | | | | effect of: files of type text/plain cannot be uploaded svn path=/trunk/netsurf/; revision=5544
* Initial Amiga port files, mostly empty stub functions.Chris Young2008-08-021-0/+55
svn path=/trunk/netsurf/; revision=4864