netsurf/desktop
Michael Drake da2aa05b73 Prevent overflow of disc cache hysteresis.
The default disc cache size is 1GB (1024 * 1024 * 1024).
On systems with 32bit size_t, the hysteresis calculation,
which multiplied 1GB by 20 would overflow, causing a zero
hysteresis.

    (1024 * 1024 * 1024) * 20 % (2^32)
    = 0

Thanks to Jonas Amoson for reporting.
2021-01-25 13:39:28 +00:00
..
browser_history.c browser_window: Ensure that back works like 'back to safety' 2019-08-21 20:33:52 +01:00
browser_history.h Local history: Consolidate thumbnail dimensions. 2019-08-02 21:23:06 +01:00
browser_private.h remove box handling from browser window 2020-05-25 20:37:06 +01:00
browser_window.c browser_window: Check for bw==NULL before dereferencing it 2020-10-03 14:23:43 +01:00
browser.c desktop: clamp dpi in browser_set_dpi() to sensible values 2020-05-05 20:14:51 +01:00
cookie_manager.c Cookie manager: Add API to set the search string. 2020-02-24 08:49:50 +00:00
cookie_manager.h Cookie manager: Add API to set the search string. 2020-02-24 08:49:50 +00:00
cw_helper.c Corewindow helper: Add helper to scroll to visible rectangle. 2019-08-03 15:54:46 +01:00
cw_helper.h Corewindow helper: Add documentation for cw_helper_scroll_visible() 2019-08-03 16:38:09 +01:00
download.c make download core store size in at least 64bits to allow for large files 2019-10-19 19:43:00 +01:00
download.h make download core store size in at least 64bits to allow for large files 2019-10-19 19:43:00 +01:00
font_haru.c Plotters: Add plot_style_fixed type, and use for font size. 2018-05-23 11:48:35 +01:00
font_haru.h move plot style header to netsurf include directory 2017-01-13 10:03:24 +00:00
frame_types.h move desktop window header into public API 2016-05-30 17:32:57 +01:00
frames.c remove box handling from browser window 2020-05-25 20:37:06 +01:00
frames.h remove box handling from browser window 2020-05-25 20:37:06 +01:00
global_history.c Global history: Flag the URL field as searchable, as well. 2017-09-18 23:18:44 +01:00
global_history.h fix global history keypress consumption return 2016-08-04 23:40:34 +01:00
gui_factory.c improve desktop text search header usage 2020-06-24 23:49:59 +01:00
gui_internal.h Split up graphical user interface operations table headers 2014-10-16 22:33:43 +01:00
gui_table.h split out the layout glyph sizing and splitting API 2016-04-23 23:32:21 +01:00
hotlist.c hotlist: Report if infallible destruction fails 2020-02-23 09:37:42 +00:00
hotlist.h Core hotlist: Improve hotlist_init documentation. 2017-04-28 12:09:58 +01:00
knockout.c Plotters: Remove width param from path plotter. 2018-05-23 13:48:17 +01:00
knockout.h Update knockout plotter to use new API 2017-02-11 13:57:06 +00:00
local_history.c Local history: Convert to use nscolour. 2020-04-07 21:32:27 +01:00
local_history.h local_history: Add concept of a cursor to the local history 2019-08-02 20:59:08 +01:00
Makefile chore: Perform sslcert_viewer-ectomy 2020-05-22 09:01:39 +01:00
mouse.c Use coccinelle to change logging macro calls in c files 2017-09-06 18:45:27 +01:00
netsurf.c Prevent overflow of disc cache hysteresis. 2021-01-25 13:39:28 +00:00
options.h options: Add disc_cache_path option 2020-02-24 15:37:11 +00:00
page-info.c Fix offset to allow tiled rendering 2020-05-22 23:26:11 +01:00
page-info.h add page information core window handler to RISC OS 2020-05-22 17:34:39 +01:00
plot_style.c Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
print.c move html and text content handlers where they belong 2018-05-10 13:37:02 +01:00
print.h fix build 2017-02-14 17:24:49 +00:00
printer.h cleanup printer API usage of plotter headers 2016-05-04 15:43:43 +01:00
save_complete.c fix "may be used uninitialised" warning 2019-11-06 08:23:27 +00:00
save_complete.h improve error returns throughout complete save and remove user warnings 2019-11-04 23:39:13 +00:00
save_pdf.c Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
save_pdf.h improve error returns from pdf save API 2016-04-26 11:02:17 +01:00
save_text.c clean up html content handler header use 2018-05-11 13:18:54 +01:00
save_text.h Merge jmb/new-cache; r=dsilvers,rs=vince 2010-03-28 12:56:39 +00:00
scrollbar.c Scrollbar: Convert to use nscolour. 2020-04-07 21:32:27 +01:00
scrollbar.h split html box processing code 2020-04-29 20:37:42 +01:00
search.c improve desktop text search header usage 2020-06-24 23:49:59 +01:00
search.h improve desktop text search header usage 2020-06-24 23:49:59 +01:00
searchweb.c improve desktop text search header usage 2020-06-24 23:49:59 +01:00
searchweb.h make web search icon setting work properly 2019-09-21 10:53:41 +01:00
selection.c improve desktop text search header usage 2020-06-24 23:49:59 +01:00
selection.h remove unused text selection interface 2020-05-23 23:40:29 +01:00
system_colour.c Change interface to system colours to allow reporting of errors 2017-03-01 12:50:30 +00:00
system_colour.h Change interface to system colours to allow reporting of errors 2017-03-01 12:50:30 +00:00
textarea.c Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
textarea.h CSS utils: Handle new units in length conversion routines. 2018-01-05 13:49:51 +00:00
textinput.c improve content header usage 2020-05-07 20:55:44 +01:00
textinput.h Change interface to system colours to allow reporting of errors 2017-03-01 12:50:30 +00:00
theme.h move themse install to its own header 2014-11-06 14:19:15 +00:00
treeview.c treeview: Squash warnings about enum value conversion. 2020-10-23 17:37:23 +01:00
treeview.h Treeview: Add API for setting the search string. 2020-02-24 08:44:52 +00:00
version.c Update version for next development cycle 2020-05-24 21:58:37 +01:00
version.h split version info into its own header and remove unnecessary nesurf.h includes 2014-10-13 15:08:16 +01:00