Commit Graph

11879 Commits

Author SHA1 Message Date
Chris Young f275267d6b fix incorrect type usage 2016-01-15 20:51:37 +00:00
Chris Young 6eac0b83ea Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2016-01-15 20:50:55 +00:00
Chris Young 20c176b578 git probs 2016-01-15 20:50:16 +00:00
Chris Young 652c02ef08 git probs 2016-01-15 20:48:55 +00:00
Chris Young 3ac1d78f41 Fix some incorrect type usage 2016-01-15 20:43:12 +00:00
Chris Young 673f3e6887 Fix some old and new GCC errors/warnings 2016-01-15 19:58:24 +00:00
Chris Young 6ad939b5a6 Make font engine selection bit more logical 2016-01-15 19:37:21 +00:00
Michael Drake f831d81ab1 Restore prevention of clang static analysis from 336326af3a 2016-01-15 11:43:24 +00:00
Michael Drake 2937b2f871 Update to Duktape 1.4.0 release. 2016-01-15 11:43:24 +00:00
Chris Young 6122517bf4 Only show context menu text selection options if there is text selected 2016-01-14 19:15:30 +00:00
Chris Young 30f992730e Re-instate the ability to do a web search for selected text 2016-01-14 19:09:16 +00:00
Chris Young f5dc180105 Use layers.library for bitmap tiling on OS3
This solves the worst of the rendering problems on that platform.
2016-01-14 00:11:48 +00:00
Chris Young bc8bf0e575 Fix the bitmap font layout a bit 2016-01-13 18:32:17 +00:00
Rob Kendrick 93fbed0f2c Style fixes 2016-01-13 16:35:24 +00:00
Chris Young 1886aaf6af Cut/paste error 2016-01-11 21:04:10 +00:00
Chris Young 178dd6bbae Fix OS4 build errors/warnings 2016-01-11 20:12:14 +00:00
Chris Young adccaadb57 More consistent naming for font cache elements 2016-01-11 20:05:15 +00:00
Chris Young 4f7e2563c1 Separate font cache code into a new file 2016-01-11 19:55:37 +00:00
Chris Young 469cd6dc67 Close the font when we finish with it 2016-01-11 19:16:38 +00:00
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