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
Vincent Sanders
98496cdae1
move remaining macros into separate macro makefile
2021-01-24 17:51:54 +00:00
Vincent Sanders
ed5076421f
remove stray tab in hts makefile to fix amigaos3 build
2021-01-17 22:03:17 +00:00
Vincent Sanders
8a2c5bd3ed
split out library and feature building macros
2021-01-17 21:10:31 +00:00
Vincent Sanders
5db541a6d7
Improve target setup in makefiles
...
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
2021-01-17 20:06:24 +00:00
Vincent Sanders
25c21e5fef
add back/forward mouse button processing to GTK frontend
2021-01-02 09:49:25 +00:00
Michael Drake
434f6c3fe7
framebuffer: Fix internal font generated source for GCC 10.
2020-11-13 11:13:46 +00:00
Michael Drake
de7244a170
risc os: Don't let URL complete start consume URL bar drags.
2020-11-10 10:20:03 +00:00
Michael Drake
59078c3f20
risc os: URL bar: Fall back to URL drag if OS doesn't have text selection.
2020-11-03 10:23:50 +00:00
Michael Drake
925a76bcba
risc os: wimputils: Make text-selection helper static inline.
2020-11-03 10:00:14 +00:00
Michael Drake
3cead4e867
risc os: Don't swallow URL bar drags if the OS supports text-selection.
...
It should still be possible to drag save the URL from the favicon.
2020-11-03 09:55:26 +00:00
Michael Drake
f8eabec04b
risc os: wimputils: Helper to check OS support for text-selection.
2020-11-03 09:53:15 +00:00
Michael Drake
833c9957a1
treeview: Squash warnings about enum value conversion.
2020-10-23 17:37:23 +01:00
Chris Young
511f4cc800
Add missing include
2020-10-09 13:05:51 +01:00
Chris Young
12fba46d3e
Cache codesets structure ourselves
...
attempt to speed up conversion as apparently codesets is being very slow
2020-10-09 13:01:48 +01:00
Vincent Sanders
06c721c5bb
add simple chart generator and use it from the imagecache
2020-10-05 23:01:24 +01:00
Daniel Silverstone
32d52bf055
gtk: In path plotter, maintain cairo transformation offset
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 21:42:46 +01:00
Daniel Silverstone
58fee8749f
gtk/bitmap: Assert surface width/height non-zero
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:25:43 +01:00
Daniel Silverstone
6848cc890a
browser_window: Check for bw==NULL before dereferencing it
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:23:43 +01:00
Daniel Silverstone
ba4c20a0c7
dukky: Fix assignment in assert
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:21:26 +01:00
Daniel Silverstone
2b2469df7e
split-messages: Handle gzprintf failing
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:20:07 +01:00
Daniel Silverstone
926e560716
about: Check senddata return in blank handler
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:04:38 +01:00
Daniel Silverstone
952d2a524c
linktrace-to-depfile: Support alternative linker trace formatting (for openbsd)
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 20:54:30 +01:00
Daniel Silverstone
2d58372ec2
Console: Do not try and log through a closed down window
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 20:15:23 +01:00
Daniel Silverstone
a4bda322a9
linktrace: It'd help if I'd added the tool
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 13:15:46 +01:00
Daniel Silverstone
72b20fbd45
Makefile: Fix snafu in linkdeps rule
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 13:11:10 +01:00
Daniel Silverstone
f9f8129199
Makefile: Determine and use linker deps
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 13:09:19 +01:00
Vincent Sanders
44225f1b34
split out about scheme handler for nscolours css
2020-09-29 22:50:08 +01:00
Vincent Sanders
7e45969993
split out about scheme query fetcherror handler
2020-09-29 22:50:08 +01:00
Vincent Sanders
f0b7955d3d
split out about scheme query timeout page
2020-09-29 22:50:08 +01:00
Vincent Sanders
746affa782
split out about scheme query auth handler
2020-09-29 22:50:04 +01:00
Vincent Sanders
b1844cbf2a
split out about scheme query private handler
2020-09-27 23:09:56 +01:00
Vincent Sanders
ff3b948ac0
split out choices about scheme handler
2020-09-27 13:46:39 +01:00
Vincent Sanders
86ecde9a47
split out about handler config handler
2020-09-27 00:37:32 +01:00
Vincent Sanders
da7904554c
split out about scheme testament handler
2020-09-23 08:48:17 +01:00
Vincent Sanders
dd541886fe
split out about scheme certificate viewer generator
2020-09-21 12:53:39 +01:00
Vincent Sanders
4cbc8f16b6
split out blank handler for about scheme
2020-09-21 08:25:56 +01:00
Vincent Sanders
5207ecf308
split out the about scheme imagecache page generator
2020-09-20 16:36:01 +01:00
Vincent Sanders
c74509cdf5
move about fetcher into its own directory
2020-09-20 10:54:48 +01:00
Vincent Sanders
7997182cc0
Improve the framebuffer docs a bit
2020-09-18 10:34:32 +01:00
Vincent Sanders
b0b271274c
Make GTK UI resources more consistent
...
The GTK UI resources have to be different resources between major versions.
When kept in one directory with slightly different filenames they were
difficult to distinguish and resource definition was difficult to update.
The resources for both gtk versions were stored in both builds resulting in
unneccessary increased binary size.
The new stratagy lists the UI files once in a single gresources file and only
includes what is required. If a UI file is added it must be provided in both
gtk2 and 3 or a build failure will occour rather than a runtime error.
2020-09-04 08:26:04 +01:00
Zixing Liu
50f5e3f1a6
Makefile: add Chinese (Simplified) translation target
...
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
2020-09-02 08:59:38 +01:00
Weiyi Xu
4d224afba3
resources: add Chinese (Simplified) translations
...
Signed-off-by: Weiyi Xu <xuweiyi0923@gmail.com>
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
2020-09-02 08:58:53 +01:00
liushuyu
b0b8f2f875
utils: support xx_YY format language code
...
Signed-off-by: liushuyu <liushuyu@aosc.io>
2020-09-02 08:57:46 +01:00
zeug
1ea47f9caf
Support Ctrl+A in the windows toolkit address bar
2020-08-16 23:50:52 +01:00
Vincent Sanders
410cb9a8fd
gtk compile din resource list was missing pageinfo for gtk2 build
2020-08-15 09:49:27 +01:00
Vincent Sanders
1f2946a710
remove unecessary exported function from plain text content handler
2020-07-27 22:56:17 +01:00
Vincent Sanders
652078f8cf
fix erronenous child variable assignment
2020-07-12 18:49:47 +01:00
Vincent Sanders
313e5cabba
ensure the html layout is present for text selection
...
The text selection operations can be called regardless
of when the html layout box tree is actually
available (e.g. if it is still loading when opened)
This change ensures the layout box tree is available before
attempting to traverse it for a selection operation.
2020-07-12 13:47:52 +01:00
Vincent Sanders
aa0b916492
add file fetcher directory to doxygen
2020-07-04 23:44:45 +01:00