gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Tue Nov 19 06:37:22 EST 2019
Updated via https://github.com/Gnucash/gnucash/commit/eea5ac98 (commit)
via https://github.com/Gnucash/gnucash/commit/9bb2e4a2 (commit)
via https://github.com/Gnucash/gnucash/commit/fbc7c902 (commit)
from https://github.com/Gnucash/gnucash/commit/043abcb4 (commit)
commit eea5ac98c0330995706225f2a8f8ba62a5390d51
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Nov 19 19:11:55 2019 +0800
[stylesheet-plain][html5] omit <h3></h3> when headline is empty.
We compare headline with "", rather than test (string-null? headline),
because headline may be either a string or a complex gnc:html-text
object.
commit 9bb2e4a21af7a85693474cf51ed7bb9423a6ab4e
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Nov 19 19:10:43 2019 +0800
[html-fonts][html5] add html,body height 100vh
This CSS rule allows children elements (such as <canvas>) to inherit
100% viewport height for displaying full-screen charts. This is
necessary for standards-mode.
https://quirks.spec.whatwg.org/#the-html-element-fills-the-viewport-quirk
commit fbc7c9027ed49e8311fc37800499753a70840ab8
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Nov 18 21:19:50 2019 +0800
[scm/utilities] even more efficient list-flatten functions
because:
* list? is O(N), because it needs to test for an improper
list. improper lists are lists whose last pair's cdr cell is not
'(). null? and pair? are both O(1).
* avoids reverse which is also O(N): guile has unlimited stack
therefore we can do non-tail-call loop first to pass as parameter to
the tail-call loop. this removes the need for prepend-and-reverse.
Summary of changes:
gnucash/report/report-system/html-document.scm | 3 ++-
gnucash/report/report-system/html-fonts.scm | 1 +
gnucash/report/stylesheets/stylesheet-plain.scm | 2 +-
libgnucash/scm/utilities.scm | 12 ++++++------
4 files changed, 10 insertions(+), 8 deletions(-)
More information about the gnucash-patches
mailing list