Commit Graph

13291 Commits

Author SHA1 Message Date
Daniel Silverstone
5efc6407d3 Revert "Disable SSL session ID caching."
This reverts commit debe0e345b.
2018-04-22 12:58:39 +01:00
John-Mark Bell
103c015784 HSTS: make llcache update policy on 3xx responses 2018-04-22 11:39:12 +00:00
John-Mark Bell
ec1936cc93 HSTS: prevent llcache being nice
If the server has defined a HSTS policy, then the user no longer
gets to click-through a garbage certificate. Additionally, if
the server has provided a HSTS policy, it should do TLS properly,
so don't permit client-driven TLS version downgrades in that case,
either.
2018-04-22 11:39:12 +00:00
John-Mark Bell
83f5332708 HSTS: teach llcache to update and enforce policy. 2018-04-22 11:39:12 +00:00
John-Mark Bell
f2121d1c0f NSURL: add ability to create replacement scheme 2018-04-22 11:39:12 +00:00
John-Mark Bell
a6014cae15 HSTS: support policy in urldb 2018-04-22 11:39:12 +00:00
John-Mark Bell
1c05280b5c HSTS: add parser for Strict-Transport-Security 2018-04-22 11:39:12 +00:00
John-Mark Bell
badc0d437a LLCache: correct typos/grammar/etc. 2018-04-22 11:16:26 +00:00
Daniel Silverstone
9c164e591f Fix embarassing typo in amiga Makefile 2018-04-22 11:37:33 +01:00
Daniel Silverstone
942ef0df03 Fix amiga Icons->icons issue 2018-04-22 11:28:08 +01:00
Daniel Silverstone
de806db28e Move !NetSurf into frontends/riscos and fix up 2018-04-22 11:15:23 +01:00
Daniel Silverstone
e864997842 Fix last uses of !NetSurf outside of riscos build 2018-04-22 10:55:22 +01:00
Daniel Silverstone
c1e30c0c3a Initial shuffle of stuff out of !NetSurf 2018-04-22 10:41:55 +01:00
Daniel Silverstone
5094a3fd04 Rework use of split-messages to clean up and use -z 2018-04-22 10:11:11 +01:00
Daniel Silverstone
83e8f377ad Support compression on output stream 2018-04-22 10:11:11 +01:00
Michael Drake
42f5bb6182 Framebuffer: Squash switch fall through warning. 2018-04-21 13:38:51 +01:00
Daniel Silverstone
5e52c6a233 Add missing dependency between font_internal and the generated fonts 2018-04-21 12:35:35 +01:00
Vincent Sanders
256ffca9a7 Dependency generation is now pure-side-effect which makes Make happier 2018-04-21 11:54:09 +01:00
Vincent Sanders
f3eb366679 Fix dependency declaration for dukky.c 2018-04-21 11:54:09 +01:00
Vincent Sanders
fb6f33129d Add source files to prerequisites list for the compile rule 2018-04-21 11:54:09 +01:00
Daniel Silverstone
d670e28d4c Correct libexpat-devel to expat-devel
This fixes #2312
2018-04-21 09:19:29 +01:00
Daniel Silverstone
911467dcbe Add gperf to YUM deps
This fixes #2311
2018-04-21 09:15:00 +01:00
Michael Drake
a72771f8eb Browser: Don't add history entry until after reformat.
Adding a history entry causes content_redraw() for the thumbnail.
But we can't content_redraw() until after content_reformat().

Otherwise we get HTML redraw before HTML layout has happened.
2018-04-14 17:00:18 +01:00
Michael Drake
3c3685eb96 Layout: Percentage max-width constrained boxes don't affect min on minmax pass. 2018-04-02 20:25:19 +01:00
Michael Drake
473a40bc11 Layout: Fix min max pass calc that looked wrong.
The `width` variable call be set to AUTO, which is INT_MIN,
so we can't add it to max without checking it's > 0, or we'll
blunder into the minmax assertions.
2018-04-02 20:23:30 +01:00
Michael Drake
af554fcedf Layout: Remove some commented out code. 2018-04-02 20:22:49 +01:00
Chris Young
d884e0e533 Minor opt 2018-02-27 21:51:32 +00:00
Chris Young
470dce645b Avoid potential division by zero 2018-02-01 20:59:39 +00:00
Michael Drake
89baae16b4 Framebuffer: Squash fallthrough warnings in internal font handling. 2018-01-21 14:28:32 +00:00
Michael Drake
29e36cdf1a Framebuffer: Tweak comment to avoid fallthrough warning. 2018-01-21 14:28:32 +00:00
John-Mark Bell
08c275ed2c RISC OS: translate resource paths.
Fixes #2266.
2018-01-21 14:27:10 +00:00
Michael Drake
790d30b788 HTML handler: Normalise box type on replacment.
We currently only do TABLE --> BLOCK normalisation.
2018-01-21 12:32:10 +00:00
Michael Drake
110cc9fb3e RISC OS: Update to ChkSprites from Sprow.
Fixes bug #2534.
2018-01-20 18:53:20 +00:00
John-Mark Bell
7a75ec1576 History: don't update if there's no content.
Fixes #2566.
2018-01-20 18:47:26 +00:00
John-Mark Bell
fe45bc1dbe JPEG: handle CMYK/YCCK images
No real colourspace conversion here, so expect oversaturated images

Fixes #2570.
2018-01-20 17:58:42 +00:00
John-Mark Bell
17ae38771d Backing store: clean up resources properly.
Patch from Felix S. Fixes #2579.
2018-01-20 16:18:51 +00:00
John-Mark Bell
328a29d22f RSVG: fix colour conversion 2018-01-20 15:33:05 +00:00
John-Mark Bell
f04cedef1c Debian(ish): use libssl1.0-dev if it exists 2018-01-20 13:29:36 +00:00
Michael Drake
c03405b3b3 Layout: Reduce code duplication in handling of box side properties. 2018-01-12 17:55:01 +00:00
Chris Young
128753cdcf Update certificate bundle 2018-01-07 15:16:44 +00:00
Michael Drake
891758bb6f Merge branch 'tlsa/libcss-units' 2018-01-05 23:20:21 +00:00
Michael Drake
6be6fa1b21 CSS utils: Handle new units in length conversion routines.
This causes a ripple effect of all the callsites needing
information they didn't have.
2018-01-05 13:49:51 +00:00
Michael Drake
a67973f312 Layout: No need to expose layout_calculate_descendant_bboxes(). 2018-01-05 13:49:51 +00:00
Michael Drake
ae286be5a9 Layout: No need to expose layout_inline_container(). 2018-01-05 13:49:51 +00:00
Michael Drake
cf3eba081a Layout: No need to expose layout_minmax_table(). 2018-01-05 13:49:51 +00:00
Michael Drake
5776d3448c CSS computed style composition: Update for new CSS units.
Since the nscss_compute_font_size callback now needs to convert
new units to absolute values, and some of these units require info
from the root element's style, there are knock-on changes to ensure
that the required info is available where its needed.
2018-01-05 13:49:51 +00:00
Michael Drake
d1c656b55f CSS: Add new libcss unit types to computed style dump. 2018-01-02 15:38:35 +00:00
Michael Drake
7bd1fb50c6 Utils: Filename: Squash warning: -Wformat-truncation=
We need to check the snprintf return value, or GCC7 whinges:

    warning: ‘snprintf’ output may be truncated before the last
             format character [-Wformat-truncation=]
2018-01-01 13:51:40 +00:00
Chris Young
fdaad39a57 Don't destroy layers if we never created them. 2017-12-23 14:17:24 +00:00
Chris Young
6e5344464b Ensure we have a layer before deleting it. 2017-12-23 14:14:20 +00:00