summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* move html and text content handlers where they belongVincent Sanders2018-05-1036-3/+28825
|
* Disc cache: Squash armhf warnings.Michael Drake2018-05-081-2/+2
|
* Duktape: Squash armhf warnings.Michael Drake2018-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14609:25: warning: cast increases required alignment of target type [-Wcast-align] duk_push_tval(thr, &((duk_hboundfunc *) h)->target); ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind': content/handlers/javascript/duktape/duktape.c:32423:20: warning: cast increases required alignment of target type [-Wcast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46072:23: warning: cast increases required alignment of target type [-Wcast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47889:23: warning: cast increases required alignment of target type [-Wcast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz': content/handlers/javascript/duktape/duktape.c:49866:23: warning: cast increases required alignment of target type [-Wcast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call': content/handlers/javascript/duktape/duktape.c:61533:14: warning: cast increases required alignment of target type [-Wcast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78165:24: warning: cast increases required alignment of target type [-Wcast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^
* Duktape: Squash -Wcast-align warnings on armhf.Michael Drake2018-05-051-2/+26
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2018-05-041-4/+4
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2018-05-041-2/+2
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2018-05-041-1/+1
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2018-05-041-6/+6
|
* Duktape: Prevent clang static analysis.Michael Drake2018-05-041-0/+3
|
* Duktape: Update to 2.2.1 release.Michael Drake2018-05-043-165/+213
|
* HTTPS: restrict ciphersuitesJohn-Mark Bell2018-04-221-0/+18
|
* Explicitly re-enable TLS session tickets.John-Mark Bell2018-04-221-0/+4
| | | | Libcurl disables this by default.
* URLdb: fix comparisonJohn-Mark Bell2018-04-221-1/+1
|
* Force SSL session caching on, Ubuntu seems to have it off by defaultDaniel Silverstone2018-04-221-0/+3
|
* Revert "Disable SSL session ID caching."Daniel Silverstone2018-04-221-3/+0
| | | | This reverts commit debe0e345bf453a58bf319a84d5845cce6b38d8e.
* HSTS: make llcache update policy on 3xx responsesJohn-Mark Bell2018-04-221-0/+2
|
* HSTS: prevent llcache being niceJohn-Mark Bell2018-04-221-9/+25
| | | | | | | | 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.
* HSTS: teach llcache to update and enforce policy.John-Mark Bell2018-04-221-13/+126
|
* HSTS: support policy in urldbJohn-Mark Bell2018-04-222-10/+196
|
* LLCache: correct typos/grammar/etc.John-Mark Bell2018-04-221-21/+21
|
* Fix dependency declaration for dukky.cVincent Sanders2018-04-211-1/+1
|
* JPEG: handle CMYK/YCCK imagesJohn-Mark Bell2018-01-201-15/+40
| | | | | | No real colourspace conversion here, so expect oversaturated images Fixes #2570.
* Backing store: clean up resources properly.John-Mark Bell2018-01-201-0/+5
| | | | Patch from Felix S. Fixes #2579.
* RSVG: fix colour conversionJohn-Mark Bell2018-01-201-3/+11
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-052-16/+174
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* CSS computed style composition: Update for new CSS units.Michael Drake2018-01-052-5/+48
| | | | | | | 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.
* CSS: Add new libcss unit types to computed style dump.Michael Drake2018-01-021-0/+39
|
* Duktape: Squash -Wcast-align warnings on armhf.Michael Drake2017-11-021-2/+26
|
* Revert "Duktape: Attempt to squash aarch64 cast increases required alignment ↵Michael Drake2017-11-011-5/+1
| | | | | | | | warnings." This reverts commit 8cc3adee5aabd3b6ad1c6c897c9c31a8136e61cc. These warnings don't show up with the CI updated to Debian Stretch.
* Duktape: Attempt to squash aarch64 cast increases required alignment warnings.Michael Drake2017-10-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) h)->target); ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind': content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz': content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call': content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^
* Duktape: Use align-by-8 on all platforms by defaultMichael Drake2017-10-291-51/+0
| | | | | | | | | | | This reproduces upstream commit de7ae8a2ecc597e1c2024c15dbeae4d28c9f2a2c. * https://github.com/svaarala/duktape/commit/de7ae8a2ecc597e1c2024c15dbeae4d28c9f2a2c It was applied to master after the release of Duktape 2.2.0. See also: * https://github.com/svaarala/duktape/issues/1783 * https://github.com/svaarala/duktape/issues/812#issuecomment-337058737
* Duktape: Revert alignment of `struct duk_hobject`.Michael Drake2017-10-291-5/+1
|
* Duktape: Another attempt to squash aarch64 increases required alignment ↵Michael Drake2017-10-291-3/+1
| | | | warnings.
* Duktape: Attempt to squash aarch64 cast increases required alignment warnings.Michael Drake2017-10-291-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) h)->target); ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind': content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz': content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call': content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^
* Squash remaining GCC7 -Wimplicit-fallthrough warnings.Michael Drake2017-10-231-3/+1
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2017-10-211-4/+4
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2017-10-211-2/+2
| | | | Restore ff20edbfbe35ce2be631456ffbe8ae6ca9fd05f5 for 2.2.0 import.
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2017-10-211-1/+1
| | | | Restore 9a8577feadd13d0634f773953096a0ec3e7cb1eb for 2.2.0 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-10-211-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.2.0 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-10-211-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.2.0 import.
* Duktape: Update to 2.2.0 release.Michael Drake2017-10-213-12439/+14327
|
* CSS: Wrappers for computed style getters that return unsupported values.Michael Drake2017-10-202-3/+73
| | | | We don't yet handle the Flexbox-related values for certain properties.
* CSS hints: Ensure length and unit are initialised for vertical-align.Michael Drake2017-10-131-0/+2
|
* fix image cache format specifiers signednessVincent Sanders2017-09-111-6/+9
|
* rationalise history icon bitmap handling to ensure correct lifetimeVincent Sanders2017-09-102-57/+0
|
* fix time_t loggingVincent Sanders2017-09-081-1/+1
|
* Hopefully quash warning about time_t formatting on openbsdDaniel Silverstone2017-09-081-1/+1
|
* Fixup everything the semantic patch missedVincent Sanders2017-09-072-7/+7
|
* update fetch debug logging to use catagoryVincent Sanders2017-09-061-40/+40
|
* add low level cache category and use itVincent Sanders2017-09-061-76/+69
|