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
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
Implement plugin streams properly (can now have multiple, simultaneous streams to a plugin).
Fix race condition when performing non-file streams.
Support for GETting an URL and streaming it to a plugin (this is untested, due to a lack of access to plugins that actually use this functionality).
General source tidyup.
svn path=/import/netsurf/; revision=1824
Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently).
svn path=/import/netsurf/; revision=1814
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)
svn path=/import/netsurf/; revision=1812
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
rather than at menu creation time. This allows the system alphabet to change
under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
file. In the case of selecting the UI language, those languages which are not
available are shaded.
svn path=/import/netsurf/; revision=1796
Continue download after save errors; checking of free space; grey out file icon when can't save; tidy display on Select/Adjust
svn path=/import/netsurf/; revision=1789
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.
svn path=/import/netsurf/; revision=1777
Update to cater for changes in UnixLib:
- unixlib/features.h is now features.h
- __dynamic_da_name is now declared as const char * const
- We explicitly force all FPU exceptions/traps back on (UnixLib default is now off)
Correct error message when <NetSurf$Dir>.Resources.Sprites is missing.
svn path=/import/netsurf/; revision=1767
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 2 of 2.
svn path=/import/netsurf/; revision=1762
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.
svn path=/import/netsurf/; revision=1761
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.
svn path=/import/netsurf/; revision=1744