Geert Janssens
261bff1250
Drop unused module file in xml backend
2020-04-19 21:23:22 +02:00
Bill Nottingham
592c3ad562
Fix building with link-time-optimization.
...
Patch from Jeff Law (law@redhat.com ):
Rename one instance of struct _iterate to struct _qofid_iterate to
avoid ODR problems with LTO
2020-04-14 10:13:48 -04:00
John Ralls
3ca8fa1229
Merge branch 'maint'
2020-04-13 11:27:14 -07:00
John Ralls
06033c19cd
Fix typo. Really fixes 797674.
2020-04-12 13:40:49 -07:00
John Ralls
c91fb77fae
Bug 797674 - 3.9: test-gnc-path-util failed on Debian amd64
2020-04-11 14:23:27 -07:00
John Ralls
fdfaca5575
Merge Christoph Holtermann's 'python-session-instance-constructor' into maint.
2020-04-06 12:05:21 -07:00
c-holtermann
ab843c0b7a
include gnucash_core of python bindings in python swig app-utils
2020-04-06 07:03:40 +02:00
John Ralls
640171c211
Merge Jean Laroche's '797318_MRO' into maint.
2020-04-05 14:38:46 -07:00
John Ralls
8ccc1579d9
Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized
2020-04-05 12:06:02 -07:00
jean
4a8350ece2
797318 - Amounts ending in zero displayed as fractions
2020-04-04 14:43:03 -07:00
Geert Janssens
e78313147c
Cmake - rework gnc_add_scheme_deprecated_module to use keyword parameters
...
Update all invocations accordingly
2020-03-30 08:41:29 +02:00
Geert Janssens
06ff8a292d
Use new keyword parameters for all calls to gnc_add_scheme_test_targets
2020-03-30 08:41:29 +02:00
Geert Janssens
c05281c582
Use new keyword parameters for all calls to gnc_add_scheme_targets
2020-03-30 08:41:29 +02:00
John Ralls
f85be03bb5
Merge branch 'maint'
2020-03-29 14:46:55 -07:00
Christopher Lam
f05128b2c2
Bug 797583 - gnc:book-add-quotes crashes when there are no quotes
...
When Get Quotes being run on empty book, the gnc:book-add-quotes
function expects book->commodity->fq-call-data to return #f
2020-03-28 09:21:46 +08:00
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
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
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
goodvibes2
39c9aa4de3
Remove bad paths from CMakeLists.txt files
2020-03-22 17:57:27 +11:00
Robert Fewell
6b55222ca9
Add ability to show HBCI Online Account matches to 'Import Map Editor'
2020-03-16 15:02:46 +00: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
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
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
1fa5fd0a14
Merge remote-tracking branch 'upstream/maint'
2020-03-14 11:48:10 +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
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
Christopher Lam
e85b28f00f
Merge remote-tracking branch 'upstream/maint'
2020-03-01 21:31:21 +08:00
John Ralls
95857a8b99
Merge Christian Gruber's 'fix_bug_797587' into maint.
2020-02-28 21:29:58 -07:00
Geert Janssens
5c468b33bf
Housekeeping - clarify the use of the word backend in a warning message
...
In this context backend refers to a preferences implementation.
To disambiguate this from our qof backends, add the word 'preferences'
2020-02-28 20:46:16 +01:00
Geert Janssens
5e1316444e
Fix build order of dependencies for tax sources
2020-02-28 18:55:07 +01:00
Geert Janssens
90345096e4
Merge branch 'maint'
2020-02-28 18:37:10 +01:00
Geert Janssens
feee495f2e
Bug 797624 - Wrong Decimal for Vietnam currencies
2020-02-25 16:40:50 +01:00
Christian Gruber
7509b542da
Simplify function build_bayes()
...
Inline function parse_bayes_imap_info() into build_bayes() and remove
temp_guid.
2020-02-17 23:41:05 +01:00
Christian Gruber
01c76e2391
Remove unused template of function for_each_slot_prefix()
...
for_each_slot_prefix() is not used anywhere with two arguments
2020-02-17 23:41:05 +01:00
Christian Gruber
41863be9c7
Avoid copying local instance of AccountTokenCount
2020-02-17 23:41:05 +01:00
Christian Gruber
322f2d99de
Rework key prefix matching
...
Use C string comparison instead of C++ function std::mismatch to increase
performance.
2020-02-10 22:31:29 +01:00
Geert Janssens
ab5b7155af
CMake - remove parameter repetition in else() and endif() statements
...
Fix leftovers after the maint branch merge
2020-02-06 17:01:26 +01:00
Geert Janssens
301db9020d
Merge branch 'maint'
2020-02-06 16:50:08 +01:00
Geert Janssens
e79e82edcf
CMake - remove parameter repetition in else() and endif() statements
...
This follows Professional CMake's recommended practises
2020-02-05 11:38:14 +01:00
Alex Aycinena
f1667e7ba8
Update US Income Tax information for more 2019 changes
2020-02-02 13:58:00 -08:00
Christian Gruber
a13184978a
Fix calculation of token info to find exactly matching tokens only
...
In get_first_pass_probabilities() function
qof_instance_foreach_slot_prefix() is called with a prefix path
including closing slash after token now. This avoids, that also entries
with token as a substring are included in token info, where key only
starts with token.
Finally function build_token_info() checks, if the key suffix after the
token consists only of the GUID. This avoids, that also entries with the
same prefix and slashes are included in token info.
2020-02-02 18:00:27 +01:00
Christian Gruber
da60560ac4
Change behaviour of KvpFrame::for_each_slot_prefix()
...
Provided function func is now called with key suffix only instead of
full key (prefix is omitted). This is neccessary for fixing function
build_token_info() in the next commit.
2020-02-02 18:00:27 +01:00
Christian Gruber
9b3085a429
Add test cases to check for exact token matching
2020-02-02 18:00:27 +01:00