Commit Graph

12010 Commits

Author SHA1 Message Date
Chris Young
37e5bff188 Add a status gadget inside the window for OS3 2016-01-11 19:10:59 +00:00
Chris Young
bcdbb9e365 Use correct parameters 2016-01-10 12:52:51 +00:00
Chris Young
5fb63e19ab If the specified font won't open, use the fallback font for character 'A'.
This helps stop pages showing up blank when the default fonts are wrong.
2016-01-10 12:42:12 +00:00
Chris Young
4fd1fbf68c Revert "Set a unicode fallback to LetterGothic on OS3"
This reverts commit 3e71a538c3.

This is pointless because the fallback is picked up from the font scan, so we should get text on screen from some other font.
2016-01-10 12:28:49 +00:00
Chris Young
3e71a538c3 Set a unicode fallback to LetterGothic on OS3
This should ensure we get text on screen even if use_diskfont is disabled and a bitmap font is set.
2016-01-10 12:22:43 +00:00
Chris Young
54feabe845 Set some memory and speed options by default for OS3 2016-01-10 12:07:46 +00:00
Chris Young
81516b33c8 Set some sensible default bitmap fonts on OS3 when using diskfont 2016-01-09 18:10:43 +00:00
Michael Drake
58d9c98017 URLdb doesn't store 'mailto' urls, so add early exit to lookup. 2016-01-08 17:17:41 +00:00
Michael Drake
8e0e72368e Fix crazy indentation. 2016-01-08 17:17:11 +00:00
Michael Drake
fcaf43ddcc Add 'mailto' lwc corestring. 2016-01-08 17:16:42 +00:00
Vincent Sanders
b1e0a711c7 Stop reporting error from mime sniffing when a fetcher completes with no data
If a fetcher returns with no data (no content or http error code 204)
the hlcache state machine was trying to mimesniff using non existent
header data and reporting the resulting NSERROR_NOT_FOUND as a
"BadType" message.

This changes the behaviour to be similar to that in the headers
received case where NSERROR_NOT_FOUND from the mimesniffing is not an
error.
2016-01-06 23:53:02 +00:00
Dave Higton
51de6c2e7c RISC OS: Fix search ignoring case sensitivity. 2016-01-05 22:08:10 +00:00
Michael Drake
f5dee49aa0 In the customisation header we need to use DUK_USE_* rather than DUK_OPT_* 2016-01-03 22:50:31 +00:00
Vincent Sanders
74fdde2b57 remove necessity for header change in libutf8proc
The combining character class definition was put in the libutf8proc
header instead of being local to the IDNA implementation.
2016-01-03 16:07:40 +00:00
Chris Young
b54a1fe4cb Add missing menu image 2016-01-03 00:00:55 +00:00
Chris Young
35a97670ae Increase minimum stack as sometimes Duktape runs out 2016-01-02 23:59:45 +00:00
Chris Young
237ec692dd Fix OS3 build 2015-12-20 16:47:06 +00:00
Chris Young
d1c1392601 Add missing rawkey codes 2015-12-20 16:43:35 +00:00
Chris Young
3e852daaf4 Missing initialisation 2015-12-20 16:36:59 +00:00
Michael Drake
01953378ac Squash warning: variable ‘exc’ set but not used 2015-12-20 13:44:28 +00:00
Michael Drake
dbbf4ad648 Add assert that we got a base URI from the node. 2015-12-20 13:33:41 +00:00
Michael Drake
a6226170dd Actually do something with return value. 2015-12-20 12:26:48 +00:00
Michael Drake
e5ddbd3934 Remove unused variable. 2015-12-20 12:12:36 +00:00
Michael Drake
0492966c86 Remove erroneous redeclaration of variable in new scope. 2015-12-20 12:04:21 +00:00
Michael Drake
abf8d542b1 Don't set DUK_USE_DEEP_C_STACK since the option has been removed. 2015-12-14 16:05:10 +00:00
Michael Drake
6d792468c5 Enable the REGEXP_CANON_WORKAROUND option
We need to enable this option now as it is off by default, but it was on in
the regexp-canonicalize-lookup branch we used previously.
2015-12-14 15:53:57 +00:00
Michael Drake
de637fa571 Restore prevention of clang static analysis from 336326af3a 2015-12-14 15:51:31 +00:00
Michael Drake
9d097b37f6 Restore volatility introduced in fd9aa16ece 2015-12-14 15:49:36 +00:00
Michael Drake
91bcaaccfd Update to duktape snapshot suggested by svaarala.
http://duktape.org/snapshots/duktape-1.3.99-20151209151055-v1.3.0-383-gb7b1c5f-duk-config-improvements.tar.xz
2015-12-14 15:47:44 +00:00
Chris Young
d6c34b8039 Soak up -v so command line processing still works with logging enabled 2015-11-27 12:36:40 +00:00
Chris Young
b962d3db82 Revert "Skip invalid commandline args instead of aborting"
This reverts commit 4ad94124a6.
2015-11-27 12:32:13 +00:00
Chris Young
d7907bfe4c Allow specifying location of the users directories on the commandline
Arg USERSDIR/K
2015-11-25 00:11:24 +00:00
Chris Young
80e14dce52 Move ReadArgs commandline processing earlier whilst leaving core commandline processing where it was previously 2015-11-24 23:58:54 +00:00
Chris Young
4ad94124a6 Skip invalid commandline args instead of aborting 2015-11-24 23:55:40 +00:00
Chris Young
e27525123b Make an effort to free resources when a fatal error occurs during initialisation 2015-11-24 23:22:15 +00:00
Chris Young
fa87f197c2 Abort if we're on a write-protected volume
Partial fix for 2397
2015-11-24 20:57:40 +00:00
Chris Young
7733ece472 Remove the setting of mimetype in default tooltypes
NetSurf is a lot more liberal now in accepting files, so the mimetype guessing routines are sufficient without forcing CSS files to be recognised as text/css.  The ability to add a tooltype to troublesome files remains.
2015-11-24 20:35:18 +00:00
Dave Higton
709a23aa34 Increase size of download window. 2015-11-22 21:49:11 +00:00
Daniel Silverstone
4137739b8a Tests for body onload behaviour 2015-11-22 16:53:22 +00:00
Daniel Silverstone
c92726d3aa Support (in a slightly dodgy way) the onload event 2015-11-22 16:53:04 +00:00
Daniel Silverstone
180a8f452e Add missing finaliser -- releases events properly 2015-11-22 16:52:10 +00:00
Daniel Silverstone
b42a910ed9 Ensure that those events listed in 8.1.5.2 as forwarded from body to window, don't get registered for listeners on body 2015-11-22 14:50:35 +00:00
Daniel Silverstone
9fe01f09c8 Replace duktape's default allocators. Realloc to zero is not guaranteed to free on all platforms 2015-11-22 14:36:24 +00:00
Daniel Silverstone
b41b672fe5 Hacky fix to prevent attribute fetch on document objects 2015-11-22 09:55:19 +00:00
Chris Young
f7ebec7142 Added Amiga ToolTypes parser.
Initially this allows setting the location of the Users directory, and the current user's name.
2015-11-22 00:06:10 +00:00
Chris Young
5e24a802b0 Optimise for PPC 2015-11-17 23:24:34 +00:00
Chris Young
47fa0bf7a2 Faster hashing 2015-11-17 23:19:30 +00:00
Chris Young
af71481a5f Use a hash as the skiplist key 2015-11-17 18:50:14 +00:00
Chris Young
4c2d40b35e Import FNV-1a 2015-11-17 18:43:42 +00:00
Chris Young
c659e11585 Fix refresh of hotlist menu/toolbar when hotlist window is closed
This definitely used to work...!
2015-11-16 21:10:35 +00:00