Commit Graph

20838 Commits

Author SHA1 Message Date
Christopher Lam
4cb2910121 [budget] modify display of interval dates and avoid unicode 2019-03-30 02:08:46 +08:00
Christopher Lam
a4eb5b1a59 [options] compact book-currency-acounting functions 2019-03-30 01:39:55 +08:00
Christopher Lam
faf1b08cec [options] compact valid-gains-loss-account? 2019-03-30 00:59:24 +08:00
John Ralls
79d72fdc33 Merge branch 'aqb6' into maint 2019-03-29 09:38:42 -07:00
John Ralls
62f7aa66a5 Bug 796956 - Aqbanking 6 will drop DTAUS
More important, the AQBanking API has some naming changes.
This commit is substantially cribbed from Martin Pruess's
adaptation in the AQBanking repository. Thanks, Martin!
2019-03-29 09:31:41 -07:00
Geert Janssens
6cbb0adf3d Bug 796530 - TxnCsvImport - fix loading of saved preset with update of seperator selection
Previously this would cause all but the first column
to loose its assigned types.
2019-03-28 22:39:49 +01:00
John Ralls
d8c6af2d65 Remove support for ancient versions of AQBanking.
Requires Gwenhywfar >= 4.9.99 and AQBanking >= 5.3.4, the versions
just before the ones provided by Ubuntu 14.04LTS

Removes all definitions and ifdeffed code for earlier versions.
Removes the never-completed SEPA character checking that was if-zeroed.
2019-03-28 12:41:08 -07:00
Geert Janssens
2bcf60230a CSV Tokenizer - add additional test to guard against quote parsing regressions 2019-03-28 17:39:25 +01:00
Frank H. Ellenberger
1c301ed1ca GUI: Replace ambiguous used mnenoic in Export active register 2019-03-28 08:46:25 +01:00
Frank H. Ellenberger
661859ff01 GUI: rearrange Online action accellerators
Slightly more logical assignment
2019-03-28 02:39:27 +01:00
Frank H. Ellenberger
159bf3e01f GUI: Add mnenoic to "Import Bills..." 2019-03-28 01:18:29 +01:00
Frank H. Ellenberger
19d864ce72 I18N: Improve Aqbanking import tooltips 2019-03-27 20:40:06 +01:00
Christopher Lam
141d503f30 [balance-forecast] move into asset&liability submenu 2019-03-27 13:03:31 +08:00
Christopher Lam
ad267682d7 [transaction] fix transaction other-account display
Previously the 'Transfer from/to' column would render "Split
Transaction" for single-split. This commit hides transfer.
2019-03-25 18:03:17 +08:00
Christopher Lam
d27b165879 [report] deprecate legacy functions 2019-03-25 17:38:50 +08:00
Christopher Lam
b1571f2548 [report] annotate and reindent 2019-03-25 17:38:50 +08:00
Christopher Lam
50e9640243 [report] simplify functions to use srfi-1, annotate
hash-map->list is simpler than hash-fold

All refactored functions are tested in test-report-system.scm
2019-03-25 17:38:50 +08:00
Christopher Lam
0b8ff4b5d6 [options] deprecate gnc:save-options
this is unused.
2019-03-25 17:38:50 +08:00
Christopher Lam
4f6344963d [options] simplify gnc:value->string 2019-03-25 17:38:50 +08:00
Christopher Lam
98811d7e71 [customer-summary] rewrite string-expand 2019-03-25 17:38:50 +08:00
Christopher Lam
07f44ad7c5 [customer-summary] convert loop to srfi-1 2019-03-25 17:38:50 +08:00
Christopher Lam
523837ddbe [customer-summary] remove unused functions 2019-03-25 17:38:50 +08:00
Christopher Lam
b47ab716c9 [average-balance] tidy loop conditionals
Previously the splits handling used nested conditionals. Rearrange and
tidy; i.e. handle empty-splits or empty-interval-splits first, and use
last conditional to test for internal-transactions handling. This
avoids nested conditionals.
2019-03-25 17:38:50 +08:00
Christopher Lam
1d11ee21bc [average-balance] no need sanity check
accounts is not null (from prior sanity check) so don't need to
recheck.
2019-03-25 17:22:54 +08:00
Christopher Lam
bc553ed00e [average-balance] destroy the query after using it
also fix comments and whitespace
2019-03-25 17:22:54 +08:00
Christopher Lam
9b9d264a04 [daily-reports] destroy query after using it 2019-03-25 17:22:54 +08:00
Christopher Lam
dedccd56f3 [test-average-balance] test ignore-internal? algorithms
tests gain/loss ignore-internal? algorithms
2019-03-25 17:22:54 +08:00
milotype
480d13ba27
Updated croatian hr.po
Some wording corrections
2019-03-24 13:45:20 +01:00
milotype
35122d814f
Updated croatian glossary hr.po
Some wording corrections
2019-03-24 13:41:12 +01:00
John Ralls
790ee4a502 Merge Chris Lam's 'maint-scheme-cleanups' into maint. 2019-03-22 14:09:51 -07:00
John Ralls
4e3bd4f7bc Silence 'Negative content width -2' warning.
Seems buttons have grown.
2019-03-22 13:36:07 -07:00
John Ralls
d209fec4c9 Merge Chris Lam's 'maint-fix-639049' into maint. 2019-03-22 12:15:00 -07:00
John Ralls
67c41aba56 Add new balance-forecast.scm to potfiles.in. 2019-03-22 12:14:38 -07:00
christopherlam
96b65a50c9 [report-system] deprecate stats/dr-cr collectors 2019-03-22 23:51:52 +08:00
christopherlam
362fb99c13 [average-balance] handle include-subaccts? earlier
much simpler
2019-03-22 23:51:52 +08:00
Christopher Lam
57b3531ce6 Bug 748431 - Wrong average balance for transactions during DST
Replace average-splits with custom loop, cycling through the
balancelist and splitlist, creating interval summaries along the way.
2019-03-22 23:50:47 +08:00
christopherlam
9b0b233bf4 [test-average-balance] create tests 2019-03-22 17:10:54 +08:00
christopherlam
d711cc35f8 Bug 639049 - Asset Barchart Report includes also the first day of next month transactions
If the original date is an end-of-month date, we take it as an
indicator they always want monthdelta dates to be end-of-months.

This works for monthly/quarterly/halfyearly/annual.

Addendum to commit 65bfeaf5de which was
deemed to be an incomplete fix.

Also I'd forgotten to activate a test in test-date-utilities. Enable it.
2019-03-21 19:44:33 +08:00
John Ralls
ee9f1d5efa Merge Ryan Turner's 'balance_forecast_negative' into maint. 2019-03-19 10:14:32 -07:00
John Ralls
bc9d83c90f Merge Christoph Holterman's 'PR-G_ADD_PRIVATE-clean' into maint. 2019-03-19 09:12:48 -07:00
John Ralls
b0d0ee1a40 Bug 797091 - About window misbehaves.
Caching it is silly. Don't.
2019-03-19 08:29:05 -07:00
John Ralls
715a079be0 Remove copied code from gnc_quartz_should_quit.
Just call gnc_main_window_quit instead.
2019-03-19 08:29:05 -07:00
Ryan Turner
23790dd672 [balance-forecast] Allow negative values for reserve and target 2019-03-18 20:09:18 -07:00
Christopher Lam
dd64cec273 [average-balance] set chart-title instead of document-title
previous setting would set document-title which adds an <h1> element
and prevents the chart from fitting into the canvas viewport set 100%
width x height.
2019-03-16 19:12:25 +08:00
Christopher Lam
e9b91f16eb [daily-reports] simplify amount/weekday algorithm
This commit removes the need for analyze-splits, and counts all
split-amounts directly into the daily-totals list.

Because we're not using analyze-splits, there's no need for startbal
anymore.
2019-03-16 19:12:25 +08:00
Christopher Lam
12a46e62de [balance-forecast] use gnc:case-exchange-time-fn
The gnc:case-exchange-fn seems to be designed for single-date reports,
whereas gnc:case-exchange-time-fn for multi-date reports. It may be
faster to have a single exchange-fn definition.

The main reason for this change is to harmonize - all multidate charts
are using case-exchange-time-fn.
2019-03-14 16:31:26 +08:00
Christopher Lam
29c0e19283 [balance-forecast] reuse i18n strings
this commit will modify to reuse some strings which are already
translated, and also add help strings for the various options.
2019-03-14 16:31:26 +08:00
Christopher Lam
784b34a048 [balance-forecast] add null-account and zero-amounts handling 2019-03-14 16:31:26 +08:00
Christopher Lam
6e76cb3d3b [balance-forecast] refactor to avoid xaccAccountGetBalanceAsOfDate
previous will call gnc:account-get-comm-balance-at-date which calls
xaccAccountGetBalanceAsOfDate for every account at every date
point. The xaccAccountGetBalanceAsOfDate is an expensive function
because it scans the account's whole splitlist from the start every
time. use gnc:account-get-balances-at-dates instead which scans an
account only once to generate a balancelist.

this should be a much faster chart.
2019-03-14 16:31:26 +08:00
Christopher Lam
1ade6fe6b4 [balance-forecast] adjust sx accumulator until report from-date
this commit will initialize the sx accumulator by adding all
instantiated sx amounts, from the earliest split posted-date among the
selected accounts, until the report start-date.
2019-03-14 16:31:26 +08:00