Commit Graph

22009 Commits

Author SHA1 Message Date
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
Frank H. Ellenberger
56fa959ec0 Apply @PERL@ -w substitution on gnc-fq-dump, too 2020-03-13 20:53:15 +01:00
Christopher Lam
74e66acd50 [job-report] remove dead code 2020-03-11 22:44:04 +08:00
Christopher Lam
9e06345f2e [trep-engine] subtotals when cells have monetary only
Instead of accumulating subtotals from any non-#f value, ensure value
is a gnc-monetary before accumulating subtotals.

This paves the way to allow non-monetary in RHS custom-calculated-cells.
2020-03-11 22:44:04 +08:00
Frank H. Ellenberger
8fccde366a gnucash.desktop: bugzilla and help file moved
I don't know, if X-GNOME-* entries are still in use. Perhaps by MATE?
2020-03-11 11:29:55 +01:00
shastry
0654cb5a27
Remove unwanted space from xmlns sodipodi URI.
SVG icon doesn't open with latest librsvg (2.48) due to bad URI.
XML parse error: error code=99 (3) in (null):10:72: xmlns:sodipodi: 'http://inkscape.sourceforge.net/DTD/s odipodi-0.dtd' is not a valid URI
2020-03-09 09:42:06 +05:30
Mike Alexander
9e35aea588 Fix a typo in commit 4318f7a: gnc.scm, not gcc:scm 2020-03-08 18:11:51 -04:00
Mike Alexander
4318f7a3c7 Revert "completion redefine gnc:debug" and fix some bugs in it
This change made it impossible to turn debug output on or off on the
fly by calling qof-log-set-level from Scheme code.  The optimization
achieved isn't all that great either since the arguements to
gnc:debug are still evaluated when debugging is off and this is
where a lot of the overhead is. Even without this change the call to
strify is avoided.

Also fixed the parameters of qof-log-check:
    "gmc" => "gnc.scm"
    G-LOG-LEVEL-DEBUG => QOF-LOG-DEBUG

This reverts commit b3a4cd6277.
2020-03-07 23:44:16 -05:00
Frank H. Ellenberger
5592100053 L12N:de_DE: SKR04: Do not hide accounts in templates
A former contributor had hidden several accounts, which he in his
business did not use. New users might have no clue about their
existence. To avoid cluttering the drop-down list they are now marked as
placeholder.
2020-03-04 13:42:08 +01:00
Frank H. Ellenberger
fb9e695b45 L12N:de_DE: SKR04: Part 2 of Bug 513000
Caused by an error in the german translation in 2005 I had created many
accounts of type PAYABLE, which should have been normal LIABILITY
accounts. They should not show up in the "Post [invoice] to account"
list.

Because the other german contributors in 2008 did not understand the
difference between the account types, the change had been rejected for
SKR04, although it was accepted for SKR03.
2020-03-04 09:37:07 +01:00
Frank H. Ellenberger
a6c31860ed L12N:de_DE: SKR04: Add a few missing placeholder flags, fix a typo 2020-03-04 09:37:06 +01:00
Frank H. Ellenberger
21a039f278 L12N:de_DE: Remove some redundant slots from SKR04
empty notes, flags with value false, ...

- reduces the size by 30%
2020-03-04 09:37:06 +01:00
Dr. Peter Zimmerer
38bafcce06 Bug 797636 - Incorrect Online account matches cannot be deleted
A push button with text "Delete selected matches" is added to the
"Match Online accounts with GnuCash accounts" page of the "Online
Banking Setup" tool.
Additionally, the underlying tree view is set to multiple selection
mode from single selection mode.
Pushing the button will remove the matched GnuCash account from
all selected AqBanking (Online) accounts.
2020-03-02 16:54:03 +01:00