previous would only negate whereby table-cell has single
monetary/amount. change to detect whereby table-cell has multiple
items, and the first one is a negative monetary/amount.
this is useful for the budget spreadsheet whereby a negative monetary
may be followed by a <sup> footnote.
This is a minor nudge to accomodate
Bug 412151 - Not handling exception when guile is compiled w/o regexp support
In addition remove the paragraph suggesting we keep track of
distributions in the README. We don't.
This reverts commit b5afd2e319.
Our baseline distro, Ubuntu 18.04, provides boost 1.65 and boost 1.67
is required for building with C++17 because the boost::locale developer
hung on to auto_ptr 6 years longer than he should have.
this function is technically a flattening function, converted to
classic scheme form. very efficient in time and space. it is used
extensively in reports which are still running well, therefore no
additional testing is required.
Fixes display of negative monetary-amounts so that they are rendered
according to style-sheet option.
Note this commit fixes via <td> renderer -- if it has a single datum, and
has a negative monetary amount, then its tag gets "-neg" appended.
If a gnc:monetary is renderer *outside* html-table-cell, it will not
be rendered as red (in default stylesheet).
(Cherry picked from master)
It's a bit of a hack based on the assumption DESTDIR is never set on Windows.
A install time guard is added to assert this.
It needed a few changes to make this working:
- Have cmake expand DESTDIR instead of delaying this to bash
If not, bash would see "$DESTDIRC:/gcdev64/..." and we'd loose
the drive letter in bash' expansion of $DESTDIRC.
So work with $ENV{DESTDIR} instead
- To prevent cmake from already expanding this in the
build system generation step add the appropriate escapes to
that variable.
- Add guard code in the install command that asserts
DESTDIR is not set on Windows. Use similar escapes as
necessary to ensure the evaluation happens at install time
rather than in the generation step.
It's a bit of a hack based on the assumption DESTDIR is never set on Windows.
A install time guard is added to assert this.
It needed a few changes to make this working:
- Have cmake expand DESTDIR instead of delaying this to bash
If not, bash would see "$DESTDIRC:/gcdev64/..." and we'd loose
the drive letter in bash' expansion of $DESTDIRC.
So work with $ENV{DESTDIR} instead
- To prevent cmake from already expanding this in the
build system generation step add the appropriate escapes to
that variable.
- Add guard code in the install command that asserts
DESTDIR is not set on Windows. Use similar escapes as
necessary to ensure the evaluation happens at install time
rather than in the generation step.
This one popped up while experimenting on Windows.
In general: whenever a guile module (the ones created with
'define-module' load files (via 'load-from-path')
the loaded files must have been built before the
module. Otherwise targets depending on the module
may have dependency issues.
Adds functionality to budget register to enter notes on each
budget
+ dialog to enter/edit/view note for cell
+ paint a flag in the cell to mark
when it has a note attached
Do so by rerunning these tests in verbose mode
Obviously that's only possible if ctest had already run
which is tested by evaluating the existence of
directory /build/Testing
It's silly to input start-period > end-period. Nevertheless handle it
by swapping them instead of crashing. i.e. report budget periods from
end to start.