Commit Graph

14527 Commits

Author SHA1 Message Date
Michael Drake
bc15ad5784 tests: Update corestring allocation count. 2021-02-15 14:24:15 +00:00
Michael Drake
9783296c4f layout: Add support for OL reversed attribute. 2021-02-10 17:59:51 +00:00
Michael Drake
32d9de461e util: corestring: Add DOM "reversed" string. 2021-02-10 17:59:12 +00:00
Michael Drake
496b1eca08 layout: list handling: Scope reduce some variables in the recursive call. 2021-02-10 17:57:57 +00:00
Michael Drake
d29f6d6c1e html: layout: Change list value step to variable. 2021-02-10 17:57:57 +00:00
Michael Drake
e18bb8fde1 html: Add support for OL start attribute.
Note: Added new box member because rows was unsigned, and it was
      naughty to use something meant for tables.

Note: Now numbers <= 0 can be generated, but LibCSS needs updated
      to support that.
2021-02-10 17:57:57 +00:00
Michael Drake
4c941254c8 util: corestring: Add DOM "start" string. 2021-02-10 17:08:23 +00:00
Michael Drake
64680a8edb layout: Add support for list item value attribute. 2021-02-09 21:33:06 +00:00
Michael Drake
41a0c21812 html: Do list item counting at layout time. 2021-02-09 20:36:52 +00:00
Michael Drake
9434fe1ff0 layout: Pass content into list layout function. 2021-02-09 20:36:52 +00:00
Michael Drake
839fb8570a layout: Add counting for list items to layout. 2021-02-09 20:36:52 +00:00
Vincent Sanders
dcec1d0cd5 undo debug driver change 2021-02-08 08:44:54 +00:00
Vincent Sanders
a091dc3603 allow monkey tests to specify a redraw area for plot-check steps 2021-02-07 22:57:27 +00:00
Vincent Sanders
ff225194f3 use list style formatting from libcss 2021-02-07 00:07:24 +00:00
Michael Drake
55fadc802a html: list counter style: Revert to string for {pre|post}fix. 2021-02-02 16:39:41 +00:00
Michael Drake
3b57deb046 html: list counter style: Constify {pre|post}fix memebers. 2021-02-02 15:06:04 +00:00
Michael Drake
87b5fd1bcc html: list counter style: Split out symbol copy. 2021-02-02 15:04:09 +00:00
Vincent Sanders
60d9dbe390 change list counter style formatting to be table driven 2021-02-02 01:19:32 +00:00
Michael Drake
29f7931ea4 Default CSS: Use 40px for list padding. 2021-02-01 09:03:52 +00:00
Vincent Sanders
bca82dfe83 do not count the null terminator in list counter style length formatting 2021-01-31 23:30:07 +00:00
Vincent Sanders
27b178b04b implement armenian and georgian list counter styles 2021-01-31 22:56:35 +00:00
Vincent Sanders
83ebc3bb8e split counter style handling out of the box code 2021-01-31 10:49:13 +00:00
Michael Drake
13c1b11317 css: hints: Add support for OL type attribute. 2021-01-31 09:36:02 +00:00
Vincent Sanders
4455f1b712 implement list marker counting for roman, latin and greek 2021-01-30 23:00:44 +00:00
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