Commit Graph

21908 Commits

Author SHA1 Message Date
Christopher Lam
198570d8c8 Bug 797390 - xaccAccountRecomputeBalance also tallies no-closing balances
Add a few API, enough for fixing bug 797326 easily.
2019-10-23 20:09:40 +08:00
Christopher Lam
d881130a19 [standard-reports] convert to srfi-9
because 2-arg record-constructor is being deprecated.

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f7b4055b
2019-10-23 19:27:20 +08:00
Christopher Lam
330687deb6 Merge branch 'maint' 2019-10-23 07:53:25 +08:00
Christopher Lam
df187e70b7 [balsheet-eg] remove dead code
and 2-arg record-constructor is deprecated in new-guile
2019-10-23 00:11:30 +08:00
Frank H. Ellenberger
077ad86622 Merge PR #594 into maint 2019-10-20 03:07:41 +02:00
Christian Stimming
0da671e4e2
Merge pull request #593 from stovocor/iban-error-de
Fixed German IBAN error message
2019-10-19 21:36:05 +02:00
milotype
8b20a7ebea
Update croatian hr.po
- one new translation
- removed orphaned records
2019-10-19 21:20:06 +02:00
Stephan Windmüller
c5d136e469 Fixed German IBAN error message 2019-10-19 20:57:10 +02:00
Frank H. Ellenberger
871a05dc86 [L12N] Update hr.po to POT-Creation-Date: 2019-10-19 07:26+0200
1 untranslated message.
2019-10-19 07:40:03 +02:00
milotype
e6875c11e4 Update hr.po to POT-Creation-Date: 2019-09-26
minor changes and adapted to .pot file changes
2019-10-19 07:24:17 +02:00
Frank H. Ellenberger
80d9aadf9b Merge branch 'PR_#590' into maint 2019-10-19 07:07:03 +02:00
Frank H. Ellenberger
63ccaca01a Fix a typo in README.dependencies 2019-10-19 06:49:11 +02:00
Christopher Lam
c7c76c2e0b Bug 797462 - gnc:strify reports the amount and value incorrectly
amt and val were incorrectly labelled. swap to match label.
2019-10-18 19:20:37 +08:00
Geert Janssens
1a8c2f2801 Merge branch 'editable-fields-posted-invoice' of https://github.com/amishmm/gnucash into maint 2019-10-17 22:52:04 +02:00
Geert Janssens
994dcd5d9f Remove debugging messages that accidentally had slipped in 2019-10-17 22:45:39 +02:00
Geert Janssens
eb37d7f642 Correct Dutch Win32 README file
The sentence was cut off prematurely.
2019-10-17 22:15:00 +02:00
avma
15ecbc316f
Hebrew translation update
Fixed minor typos
Update to the latest .POT
2019-10-17 19:48:55 +03:00
Christopher Lam
71bdcdfa60 [test-budget] add budget-balance-sheet tests 2019-10-16 20:56:36 +08:00
Christopher Lam
24102e5d17 [budget-balance-sheet] sanitize html string to enable sxml parsing 2019-10-16 20:56:36 +08:00
John Ralls
9661a77f3c Bug 797459 - Installation (for 3.7) Readme Version number shows 2.2.x
Remove the version line and update the number of developers: The
AUTHORS file shows more than 200, not counting patches.
2019-10-15 10:55:18 -07:00
Christopher Lam
af20f9ddac [test-budget] add tests for budget notes in reports
* also tests budget-note setters/getters
2019-10-15 08:07:10 +08:00
Christopher Lam
a7a8f633bb [budget] reenable show-note option functionality
and fix comments
2019-10-14 18:48:03 +08:00
John Ralls
e4bbf7257f Update README.dependencies to new requirements. 2019-10-12 17:24:10 -07:00
John Ralls
931cf50f69 Set C and C++ standards the modern Cmake way, and set C++ to C++17.
Take 2, accepts pre-1.67 versions of boost that have been patched to
remove boost::locale's dependence on auto_ptr.
2019-10-12 17:03:40 -07:00
John Ralls
1d4d244cd6 Merge branch 'maint'. 2019-10-12 09:44:16 -07:00
John Ralls
57e403b048 Fix segfault in test-portfolios after debug build.
gnc-clear-current-session deletes the pricedb so deleting it first
is unnecessary. Deleting it first and not nulling the pointer in
the book leads to accessing freed memory, and debug mode poisons
that to force a crash when it happens.
2019-10-12 09:38:12 -07:00
Christopher Lam
0909321d72 Merge branch 'maint' 2019-10-12 22:42:22 +08:00
Christopher Lam
a26017830d [budget] use <ol> and <sup> for footnotes
and revert usage of a separate column for footnotes
2019-10-12 18:31:20 +08:00
Christopher Lam
4c790b2084 Bug 412151 - Not handling exception when guile is compiled w/o regexp support
disable qif-import and make-regexp if guile is compiled without regex
2019-10-12 13:36:57 +08:00
Christopher Lam
530f778dbb [trep-engine] disable regex if no regex in guile 2019-10-12 13:36:57 +08:00
Christopher Lam
8e64fa7f65 [html-style-info] compact gnc:html-style-table-fetch 2019-10-12 13:36:57 +08:00
Christopher Lam
66e5bc8a58 [html-style-info] compact gnc:html-markup-style-info-set! 2019-10-12 13:36:57 +08:00
Christopher Lam
e4bb516b94 [html-text] compact gnc:html-text-set-style! 2019-10-12 13:36:57 +08:00
Christopher Lam
c5f232755b [html-text] dedupe gnc:html-text-render-markup-noclose
dedupe the following fns
* gnc:html-text-render-markup-noclose
* gnc:html-text-render-markup
2019-10-12 13:36:57 +08:00
Christopher Lam
39a7584e79 [html-table] renderer detects neg amounts for first cell-data
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.
2019-10-12 13:36:57 +08:00
Christopher Lam
cbd8649183 [html-table] dedupe & compact html-table column prepend/append
* dedupe gnc:html-table-append-column! and gnc:html-table-prepend-column!
* create internal fn to drive modifiers
2019-10-12 13:36:37 +08:00
Christopher Lam
fa800fadee [budget] show budget-notes in report as footnotes 2019-10-10 22:16:43 +08:00
Christopher Lam
fc3a740c84 [commodity-utilities] compact gnc:pricelist-price-find-nearest
using (ice-9 match)
2019-10-10 20:17:11 +08:00
Geert Janssens
cd2a20832e Add a note in the documentation we require guile with regex support enabled.
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.
2019-10-09 18:37:10 +02:00
Christopher Lam
84034044ce Merge branch 'maint' 2019-10-09 21:16:14 +08:00
Christopher Lam
662d29d664 [average-balance] show monetaries instead of numbers in data table
instead of numbers, show monetary amounts, rounded to SCU
2019-10-09 20:46:42 +08:00
Christopher Lam
ef3bc616b2 [html-table] refactor and dedupe row/col modifiers
* dedupe gnc:html-table-set-cell/tag!
* dedupe gnc:html-table-set-cell!
* create internal fn gnc:html-table-set-cell-datum! for above fns
2019-10-09 20:46:42 +08:00
Christopher Lam
8a46daeb8c [html-table] convert to srfi-2 and-let* 2019-10-09 20:46:42 +08:00
Christopher Lam
6370b0f7ee [html-table] html-table-cell negative amount does not apply to <td>
Only number-cell and total-number-cell have negative-amount styles.
2019-10-09 20:46:42 +08:00
Christopher Lam
ca5f587156 [html-table] compact gnc:html-table-render 2019-10-09 20:21:56 +08:00
Christopher Lam
1abda45cf6 [html-table] compact gnc:html-table-append-column! 2019-10-09 20:17:13 +08:00
Christopher Lam
d45f06215f [html-table] compact gnc:html-table-prepend-row! 2019-10-09 20:17:13 +08:00
Christopher Lam
49e6513042 [html-table] compact functions, define vars in formals 2019-10-09 20:17:13 +08:00
John Ralls
58cfb58b9c Revert "Set C and C++ standards the modern Cmake way, and set C++ to C++17."
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.
2019-10-08 21:05:00 -07:00
Christopher Lam
3a2c85f577 [html-table] deprecate gnc:html-table-remove-last-row!
this function is unused in code.
2019-10-09 05:48:02 +08:00