Commit Graph

22021 Commits

Author SHA1 Message Date
Christopher Lam
ed2437e427 Bug 797656 - Immediate crash when retrieving quotes
gettext needs to be imported
2020-03-28 09:17:36 +08:00
John Ralls
1d91873ef2 Bug 797481 - crash on close of unsaved tabs by pressing [X]
My original fix for this was a bit off, the problem wasn't that
the sheet had been freed, it was that the item_edit had so the
ptr to the sheet was garbage. The correct solution is to catch
the item_edit's "destroy" signal and remove the idles.

This commit replaces b5fdcfcb5.
2020-03-27 16:22:21 -07:00
Frank H. Ellenberger
655e9cd8eb L12N🇩🇪 1 fuzzy translation
5424 übersetzte Meldungen.
2020-03-27 22:39:23 +01:00
Frank H. Ellenberger
d9153097ce I18N:Glossary: add "balance b/f" & "balance c/f" 2020-03-27 22:23:00 +01:00
Frank H. Ellenberger
fceaac7016 I18N:Glossary: add notes about not distributed files in CMakeLists.txt 2020-03-27 21:55:55 +01:00
John Ralls
8a854a299b Merge the latest gnucash.pot into all of the translation files. 2020-03-27 12:17:29 -07:00
John Ralls
404319a033 Update translations from the Translation Project. 2020-03-27 10:58:23 -07:00
Frank H. Ellenberger
43daf7800e L12N🇩🇪 Update de.po
5423 übersetzte Meldungen, 1 ungenaue Übersetzung.
2020-03-27 04:26:57 +01:00
Frank H. Ellenberger
4f9b4c7b5f L12N🇩🇪 merge fresh pot
5385 übersetzte Meldungen, 23 ungenaue Übersetzungen, 16 unübersetzte
Meldungen.
2020-03-27 04:26:56 +01:00
Christopher Lam
569c613af0 [trep-engine] add translator note for balance b/f 2020-03-27 11:09:48 +08:00
John Ralls
c3c0d95bf0 Bug 797638 - SIGSEGV editing transaction after closing Find Accounts dialog.
Crash was from dangling qof-event handler because the dialog was closed
with the title-bar button instead of the close button.

Since the close button destroys the window, simply moving the other
calls in close_handler to destroy_cb causes the titlebar close button
to behave the same as the close button and prevents the crash.

message for your changes. Lines starting
2020-03-26 10:15:32 -07:00
Christopher Lam
447de7f64d [report-utilities] fix gnc:account-accumulate-at-dates sorting & operator
This commit performs 2 important fixes.

1. the account splitlist walking assumes that the split->date always
increases. This is now enforced by sorting the splitlist, *only* if a
custom split->date is offered. By default the splits are sorted by
posted_date, and if a custom split->date is used, will be
stable-sorted to ensure the algorithm works.

2. the handling of splits *ON* date boundaries is fixed. Previously if
a split->date was equal to a date boundary, it would be considered
part of the "after" date section. It is more intuitive that a date
boundary includes all splits on and before the date. In regular use
the dates are normalised to canonicaldaytime or end-day-time and is
not important. However when comparing reconciled dates, the statement
dates be exactly equal to the reconciled dates, therefore this
difference is crucial. In other words, the date boundaries mean we
include all splits before or on the date (to the exact second).

Add a test to verify above.
2020-03-26 18:55:57 +08:00
John Ralls
33902a6793 Improve test building with the Xcode generator.
Add CONFIGURATIONS keyword to unadorned tests, enables tests with
multi-config generators.
Add CONFIGURATION generator expression to libgtest.a and libgmock.a
build directory specs when building with Xcode so that it can
find them when building tests.
2020-03-23 17:52:26 -07:00
John Ralls
8fc901fb3b Merge Jean Laroche's 'import-ofx-only' into maint. 2020-03-22 13:25:08 -07:00
John Ralls
5afdea0576 Merge Jean Laroche's 'select_ofx_files_only_maint' into maint. 2020-03-22 13:17:50 -07:00
John Ralls
2bbf5b2ce0 Merge Jean Laroche's 'fix-recurrence' into maint 2020-03-22 13:14:50 -07:00
jean
ddaf8cd614 When selecting a file for OFX import, restrict the files listed to .OFX (or .QFX) 2020-03-22 12:48:28 -07:00
jean
66fce05308 Move the weekend adjust code in its own function 2020-03-22 12:34:57 -07:00
jean
268695f19c Make test-recurrence handle wadj 2020-03-22 12:34:57 -07:00
jean
7a61eca4fe Bug 685102 - Scheduled Transactions don't always respect weekends for first occurrence 2020-03-22 12:34:57 -07:00
John Ralls
b99dfb78a7 Merge Chris Good's 'fixpaths' into maint. 2020-03-22 11:50:13 -07:00
John Ralls
b7f6cfe607 Merge Jean Laroche's 'fix_797042_ofx_return' into maint. 2020-03-22 10:34:12 -07:00
John Ralls
0620b597e8 Merge Chris Good's 'bug797648' into maint. 2020-03-22 09:22:20 -07:00
goodvibes2
39c9aa4de3 Remove bad paths from CMakeLists.txt files 2020-03-22 17:57:27 +11:00
goodvibes2
d2986559de Use Doxygen format for function comment 2020-03-22 16:18:14 +11:00
goodvibes2
ba26c6a820 Fix path errors in CMakeLists.txt files 2020-03-22 14:53:00 +11:00
goodvibes2
dd589060a3 Bug 797648 - Fix problem reconciling multiple splits in a transaction
Force all splits in a transaction for the account being reconciled
(and its children), to have the same reconciliation status. This fixes
a problem when the splits have different statuses.
2020-03-21 10:44:43 +11:00
John Ralls
af298a2e38 Fix crash when changing account-separator.
Unregister the handler from the same scheme in which it was registered,
otherwise zombie handlers get called, and crash.
2020-03-19 17:43:23 -07:00
John Ralls
5a69ff2315 Fix crash on completion of OFX download.
gtk_grid_remove_row has already destroyed the box so attempting
to gtk_widget_destroy it can lead to a crash.
2020-03-19 15:48:38 -07:00
Robert Fewell
2c95622511 Merge Peter Zimmer's 'pkzw_bug797636' into maint 2020-03-16 12:30:03 +00:00
Robert Fewell
3bccb96ea4 Change the default focus to search entry for 'Find Account' 2020-03-16 12:28:20 +00:00
John Ralls
d825d74c86 Merge Peter Zimmer's 'pkzw_bug797631' into maint. 2020-03-15 12:41:38 -07:00
jean
48f2aab77b Add code to delay showing dialog until we know we have transactions to show 2020-03-15 12:01:05 -07:00
jean
3aa9009c67 Add display of number of transactions processed 2020-03-15 11:06:32 -07:00
jean
12788c0c06 More code cleanup 2020-03-15 10:44:00 -07:00
jean
e780fcdc33 Fix formatting/code issues with previous commit 2020-03-15 10:44:00 -07:00
Jean Laroche
3cb49c92d1 Bug 797042 - OK button in OFX importer doesn't work if nothing is imported. 2020-03-15 10:44:00 -07:00
Dr. Peter Zimmerer
b8504b7829 Bug 797631 - Superfluous account selection dialog on first online retrieval
The online id, which is needed to find a GnuCash account for a transaction
or the balance retrieved from an online account, is already assigned to each
matched GnuCash account within the Online Banking Setup tool.
The online id is removed from the GnuCash account if it is no longer matched
with an AqBanking account.
2020-03-15 18:24:07 +01:00
Dr. Peter Zimmerer
64874df0ff Rename function create_online_id and make it externally callable
The function is renamed to gnc_ab_create_online_id.
It shall be callable from the Online Banking Setup tool in order
to (re-)calculate the online id for changed account matches
2020-03-15 18:23:38 +01:00
Christopher Lam
9865a99663 [account.cpp] refactor GetBalanceAsOfDate
much more compact loop.
2020-03-15 07:01:55 +08:00
Christopher Lam
8def3ba26e [account.cpp] refactor xaccAccountGetPresentBalance
instead of starting from account->splits tail then backtrack, reuse
existing code.
2020-03-15 06:58:50 +08:00
Christopher Lam
f182d9f912 Bug 797640 - The Reconciliation Window starting balance calculator needs to ignore splits after statement date 2020-03-15 06:40:03 +08:00
Christopher Lam
50674ef632 [gnc-ui-balances] add and expose gnc_ui_account_get_reconciled_balance_as_of_date 2020-03-15 06:40:03 +08:00
Christopher Lam
a8f03cf1c8 [account] add and expose xaccAccountGetReconciledBalanceAsOfDate 2020-03-15 06:40:03 +08:00
John Ralls
cfa1625854 Merge Ferran Pallarès's CSV price-rounding fix into maint. 2020-03-14 13:56:56 -07:00
John Ralls
d188bca06a Merge branch 'bug797432bis' into maint. 2020-03-14 11:23:20 -07:00
John Ralls
d744b79bef Remove disabled code copied from utest-Account.c into utest-Budget.c. 2020-03-14 11:08:27 -07:00
John Ralls
8b61644978 Add more tests for neutral time. 2020-03-14 10:15:32 -07:00
Christopher Lam
6d9e7d9380 Bug 797139 - test-report-utilities failure after 10-march in travis
gnc_dmy2time64_neutral is TZ-insensitive whereas gnc_dmy2time64 and
gnc_dmy2time64_end are TZ-sensitive. Using _neutral mixed with others
will occasionally cause test failures when the dates straddle DST
boundary dates.

Please see bug report on bugzilla for full details.
2020-03-14 11:27:32 +08:00
Frank H. Ellenberger
82987e13f3 gnc-fq-dump: fix warning on argv
Scalar value @ARGV[0] better written as $ARGV[0] at gnc-fq-dump line
160.
2020-03-13 21:22:19 +01:00