[PATCH] Display decoded IDNs
by Chris Young
Hi
I finally got round to the second part of my IDNA work, which is
allowing the decoded versions of the domain names to be displayed in
the status and URL bars.
This adds an option display_decoded_idn (default is false) which, when
enabled, will pass decoded UTF-8 URLs to the status bar and - with an
appropriate frontend tweak (I've done GTK, RISC OS and Amiga) - also
to the URL bar. When switched off operation is as at present and the
code change is minimal.
This is in branch chris/display-idna and attached for convenience.
Chris
8 years, 1 month
Patch proposal for RISC OS: Store RUfl_Cache in Choices$Write instead of Wimp$Scrap
by Christian Walther
Hello,
currently !NetSurf stores its font cache in Wimp$Scrap.
When Wimp$Scrap is copied to a RAMDisc on boot this might lead to
problems, because naturally the content of Wimp$Scrap is not copied
back to disk when the system is shut down. Hence RUfl_Cache would be
recreated on every first start after boot.
IMHO a file that should be kept permanently should not be put in the
Scrap-folder.
We just discussed this issue during a RISC OS user meeting, and a
better approach seems to be to place RUfl_Cache in
<Choices$Write>.WWW.NetSurf.
Please find attached two patches that change the source accordingly.
netsurf-riscos-scripts-Run.patch adds a new Variable NetSurf$RUflCache
in ./netsurf/riscos/scripts/Run.
librufl-src-rufl_internal.patch adjusts rufl_CACHE in
./librufl/src/rufl_internal.h accordingly.
Opinions?
Cheers,
Christian Walther
8 years, 2 months