Commit Graph

11898 Commits

Author SHA1 Message Date
Michael Drake
a774e9473d Make use of cached place float below value earlier. 2016-01-20 22:37:22 +00:00
Michael Drake
0bbc03c577 Cache place below level, to avoid pointless calls to find_sides. 2016-01-20 20:09:40 +00:00
Michael Drake
c13080d96c Optimise white hot find_sides to take advantage of sorted float_children.
Now we have an early exit when we get to the floats above the area we're
interested in.
2016-01-20 20:02:56 +00:00
Michael Drake
948a93041d Sort float_children of containers by their bottom edge. 2016-01-20 20:02:56 +00:00
Michael Drake
38e6fd1b74 Split adding float to a container out into separate function. 2016-01-20 20:02:55 +00:00
Michael Drake
018adc2f5e Remove redundant condition in white hot path. 2016-01-20 18:27:15 +00:00
Vincent Sanders
54c153246c fix call to cookie manager initialisation for haiku 2016-01-19 15:31:56 +00:00
Vincent Sanders
7caaa86d75 fix haiku web search bar initalisation 2016-01-19 15:16:32 +00:00
Vincent Sanders
65bdef55ab move the container code to gtk directory as its only ever used there. 2016-01-19 15:10:29 +00:00
Adrián Arroyo Calle
0a5f63abf1 Add cookie management for Haiku frontend 2016-01-19 14:07:57 +00:00
Adrián Arroyo Calle
9a64e9302e Add web search bar to haiku frontend 2016-01-19 14:03:18 +00:00
Vincent Sanders
f266eb1c5d make search engines resource common between gtk and beos 2016-01-19 13:51:54 +00:00
Chris Young
59ea187b74 Ensure the textattr flags field is clear
This fixes problems with inconsistent layouting on OS3
2016-01-18 00:20:45 +00:00
Chris Young
9c62993efd Don't expose the DPI-related variables 2016-01-18 00:02:52 +00:00
Chris Young
b3aa313e84 misc amiga fixes re font plotting 2016-01-17 23:40:50 +00:00
Chris Young
132be1eed2 OS3 build fixes 2016-01-16 19:37:39 +00:00
Chris Young
06b50d9bbd missing files 2016-01-16 11:44:03 +00:00
Chris Young
8c31752f3a Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2016-01-16 00:08:54 +00:00
Chris Young
46f181b348 More font-related tidy-up 2016-01-16 00:00:57 +00:00
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