John Ralls
a036fe5915
Merge Richard Cohen's 'cleanup-some-gtk-usages' into stable.
2023-05-25 07:27:13 -04:00
Christopher Lam
0da408191b
[gnc-budget-view.c] simplify totals_col_source, decl before use
2023-05-25 00:35:01 +08:00
Christopher Lam
66f4b4c2ae
[gnc-budget-view.c] much simpler negation rule: always negate.
...
previously negation was dependent on the row type and account
type. this change will modify the rule to *always* negate the total
amount prior to rendering.
this is because budget amounts are now natural numbers, i.e. budget
income usually negative, budget expense usually positive. the total of
budget amounts in a period (asset+liability+income+expense+equity)
should be zero.
the compulsory negation will ensure the budget equation is now much
more intuitive, i.e. an income *adds* to the budget, and an
expense *deducts* from budget; the "remaining to budget" is thus
positive if there is unallocated budget.
2023-05-25 00:35:01 +08:00
Christopher Lam
b0292d7893
[budget.scm] budget report's *actual* amounts link to a trep
...
showing the exact transactions comprising the *actual* period total.
2023-05-25 00:35:01 +08:00
John Ralls
8a5b3721df
Merge Richard Cohen's 'remove-duplicate-define-type-code' into stable.
2023-05-24 11:25:16 -04:00
Christopher Lam
ad7bae8222
[gnc-budget-view.c] tally budget totals for toplevel types BANK etc
...
Budget assumed toplevel accounts are of type ASSET/LIABILITY etc when
tallying the summary 4 rows. It failed to tally values from accounts
of type CASH/BANK/CHECKING/SAVINGS etc. Enable tallying for these
toplevel accounts.
2023-05-24 21:43:40 +08:00
Mike Alexander
6bdaa161eb
Redo 71afa3e0
and 71afa3e0
so powten(max_leg_digits) is 1e18
...
This is what it was before 71afa3e0
. This is the largest power of
ten that fits in an int64.
2023-05-22 15:24:26 -04:00
John Ralls
369b0855ff
Bug 798923 - OFX import is no longer matching security nor asking...
...
for stock account.
Gotta deref the iterator in the loop, not the list head.
2023-05-22 11:20:19 -05:00
Robert Fewell
de8d5ce942
Remove controls before adding to the GncItemList store.
...
There have been reports of lock ups when updating the register
description cell. These can be down to the added descriptions having
more than one line, possibly from an import.
So before adding to the list store, pass the description by
gnc_utf8_strip_invalid_and_controls function.
2023-05-22 10:27:46 +01:00
Christopher Lam
89f7e8933b
gnc_list_all_paths returns std::vector instead of GList of EnvPaths
...
because its consumers are now cpp there's no need to return a GList.
2023-05-22 09:45:33 +08:00
Richard Cohen
2db5004a22
Remove code that duplicates features of G_DEFINE_TYPE
...
- declarations of *_init, *_class_init
- implementation of *_parent_class
- also, removed unnecessary NULL checks for destroy, dispose, finalize
2023-05-21 15:21:33 +01:00
John Ralls
bba49a6d09
Fix test-gnc-euro failure.
...
Fixing the pow[] array required also adjusting the number of
denominator digits when converting doubles to gnc_numerics.
2023-05-19 20:14:58 -05:00
John Ralls
b3bf11c876
Merge Vincent Dawans's 'bug798809' into stable.
2023-05-19 17:57:03 -05:00
Vincent Dawans
13e62b320d
Bug 798809 - Multicolumn report error when reopened after saving.
2023-05-19 15:40:53 -07:00
Mike Alexander
71afa3e0fc
Make the GncNumeric string constructtor work for long decimal numbers.
...
It was failing to produce a correct representation for input with more than
14 digits after the decimal poin. Fixes Bug 798916. The bug was in
powten so this fix may corect other problems too. For example conversion
of GncNumeric back to a string also failed in certain circumsances.
2023-05-18 17:42:44 -04:00
Mike Alexander
d61b962954
Fix a typo in some debug output.
2023-05-18 17:34:05 -04:00
Richard Cohen
bb7c4a47a8
Add missing argument for "delete-event" callback
...
I suspect that this is never called anyway
2023-05-18 13:08:41 +01:00
Richard Cohen
02f09330e2
Remove references to GtkVBox GtkHBox
...
- All the widgets were already changed to GtkBox
- Also, fix the variable type in gnucash-date-picker.c
2023-05-18 13:08:41 +01:00
Richard Cohen
e41c06dead
CSS functions should not be followed by a space
...
- it works in gtk3, but not gtk4
2023-05-18 13:08:40 +01:00
Richard Cohen
4456dc121e
Remove commented out gtk_box_pack_start
2023-05-18 13:08:40 +01:00
Richard Cohen
3b8f3e9208
Remove commented out #include glade
2023-05-18 13:08:40 +01:00
Richard Cohen
faf7073886
Don't #include internal gtk headers
2023-05-18 13:08:40 +01:00
John Ralls
5563d53517
Merge Richard Cohen's 'remove-unneeded-code' into stable.
2023-05-17 21:56:11 -05:00
John Ralls
8ccc6da87e
Merge Richard Cohen's 'fix-test-engine-crash' into stable.
2023-05-17 21:20:44 -05:00
John Ralls
26162da450
Merge Richard Cohen's 'cleanup-build' into stable.
2023-05-17 21:16:09 -05:00
Christopher Lam
acd2620278
Merge branch 'import-matcher-progress' into stable #1613
2023-05-18 09:25:21 +08:00
John Ralls
46e9fcf037
Merge Richard Cohen's 'cleanup-ui-files' into stable.
2023-05-17 12:18:54 -05:00
John Ralls
32e1d664c8
Merge Richard Cohen's 'fix-typos' into stable.
2023-05-17 12:09:07 -05:00
John Ralls
b17fa7322d
Merge latest translations from weblate.
2023-05-17 12:05:12 -05:00
Richard Cohen
b09fe48176
Remove unused GnucashItemCursor
2023-05-17 13:55:29 +01:00
yu0A
29f49ef3ee
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
...
po/zh_CN.po: 94.9% (5224 of 5499 strings; 176 fuzzy)
76 failing checks (1.3%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
po/zh_CN.po: 94.7% (5212 of 5499 strings; 185 fuzzy)
78 failing checks (1.4%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
po/zh_CN.po: 94.5% (5200 of 5499 strings; 197 fuzzy)
83 failing checks (1.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
po/zh_CN.po: 94.3% (5188 of 5499 strings; 203 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: yu0A <yuhongbo@member.fsf.org>
2023-05-17 12:49:51 +02:00
Szia Tomi
b8e9737b83
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 69.3% (3812 of 5499 strings; 625 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-05-17 12:49:50 +02:00
Brian Hsu
81170e8e19
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 99.8% (5492 of 5499 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 99.8% (5492 of 5499 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 99.8% (5492 of 5499 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 99.4% (5467 of 5499 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 99.3% (5461 of 5499 strings; 0 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/glossary/zh_TW.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 95.2% (5237 of 5499 strings; 177 fuzzy)
90 failing checks (1.6%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 94.3% (5188 of 5499 strings; 213 fuzzy)
100 failing checks (1.8%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 93.8% (5161 of 5499 strings; 233 fuzzy)
104 failing checks (1.8%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 91.6% (5038 of 5499 strings; 315 fuzzy)
134 failing checks (2.4%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 91.4% (5029 of 5499 strings; 318 fuzzy)
134 failing checks (2.4%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com>
2023-05-17 12:49:49 +02:00
Andi Chandler
d2b6097586
Translation update by Andi Chandler <andi@gowling.com> using Weblate
...
po/en_GB.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
Co-authored-by: Andi Chandler <andi@gowling.com>
2023-05-17 12:49:49 +02:00
Pedro Albuquerque
a0eb0c21fa
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
...
po/pt.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/
Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-05-17 12:49:48 +02:00
mocsa
fcabe8201e
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 69.2% (3807 of 5499 strings; 626 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.0% (3798 of 5499 strings; 626 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 68.8% (3788 of 5499 strings; 626 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 68.8% (3787 of 5499 strings; 627 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-05-17 12:49:47 +02:00
gallegonovato
2bd0c28eca
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/es.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-05-17 12:49:46 +02:00
Yuri Chornoivan
6ec81127b4
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
...
po/uk.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/
Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
2023-05-17 12:49:46 +02:00
Arve Eriksson
00d3cd9cf4
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-05-17 12:49:45 +02:00
Richard Cohen
74e5f87c69
Remove unused signal GNCSplitReg::include-date
...
- time64 is NOT an int
2023-05-17 10:25:20 +01:00
Richard Cohen
848f4eb81d
Remove unused GNCDateDelta
2023-05-17 10:25:20 +01:00
Richard Cohen
d36cf2177e
Remove action callbacks that simply set the state
...
- it is the default behaviour
2023-05-17 10:25:16 +01:00
Richard Cohen
81fba56bbb
Initialise guids in test-engine-kvp-properties.c
...
Valgrind: Conditional jump or move depends on uninitialised value(s)
2023-05-15 20:03:23 +01:00
Richard Cohen
bed43c7f3b
Fix potential crash in test-engine
...
==515314== Invalid read of size 1
==515314== at 0x484AD67: __strcmp_sse42 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==515314== by 0x171D36: do_test_list_handler (unittest-support.c:181)
==515314== by 0x171DCE: test_list_handler (unittest-support.c:197)
==515314== by 0x51BD4C1: g_logv (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x51BD7A2: g_log (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x4D5D0D9: xaccSplitEqualCheckBal (Split.c:753)
==515314== by 0x4D5D841: xaccSplitEqual (Split.c:869)
==515314== by 0x4D647A5: xaccTransEqual (Transaction.c:981)
==515314== by 0x15C0E8: test_xaccTransEqual(Fixture*, void const*) (utest-Transaction.cpp:901)
...
==515314== Address 0x8725260 is 0 bytes inside a block of size 59 free'd
==515314== at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==515314== by 0x15BDB1: test_xaccTransEqual(Fixture*, void const*) (utest-Transaction.cpp:883)
...
==515314== Block was alloc'd at
==515314== at 0x4843828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==515314== by 0x5618677: __vasprintf_internal (vasprintf.c:116)
==515314== by 0x520E8C1: g_vasprintf (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x51DBBE0: g_strdup_vprintf (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x51DBC9C: g_strdup_printf (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x15BBAC: test_xaccTransEqual(Fixture*, void const*) (utest-Transaction.cpp:879)
...
ok 78 /engine/Transaction/xaccTransEqual
2023-05-15 20:03:23 +01:00
Richard Cohen
dc62959553
Fix crash in test-engine on Arch
...
Thanks, Valgrind:
==515314== Invalid read of size 8
==515314== at 0x4ED46F3: gncInvoiceRemoveEntries (gncInvoice.c:767)
==515314== by 0x142B35: teardown_with_invoice (utest-Invoice.c:274)
...
==515314== Address 0x8557b98 is 8 bytes inside a block of size 24 free'd
==515314== at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==515314== by 0x51B565D: g_list_remove (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x4ED42EF: gncInvoiceRemoveEntry (gncInvoice.c:688)
==515314== by 0x4ED46A2: gncInvoiceRemoveEntries (gncInvoice.c:781)
==515314== by 0x142B35: teardown_with_invoice (utest-Invoice.c:274)
...
==515314== Block was alloc'd at
==515314== at 0x4843828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==515314== by 0x51BD948: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x51B1CB9: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==515314== by 0x4ED4271: gncInvoiceAddEntry (gncInvoice.c:676)
==515314== by 0x142401: setup_with_invoice (utest-Invoice.c:142)
...
ok 57 /engine/gncInvoice/post trans - vendor bill
2023-05-15 20:03:23 +01:00
Richard Cohen
3c34a61776
Remove #pragma ... "-Wformat-nonliteral"
...
Seems to have been accidentally left behind when time64_to_string()
was (re)moved
2023-05-15 13:21:30 +01:00
Richard Cohen
1f43bbc798
Remove #pragma ..."-Wstrict-aliasing"
...
G_LOCK was fixed in glib 2.19.8
See https://bugzilla.gnome.org/show_bug.cgi?id=316221
2023-05-15 13:21:30 +01:00
Richard Cohen
80e9d9c35d
scanf supports %lld since C++11, C99
2023-05-15 13:21:30 +01:00
Richard Cohen
7f1ce2b5e5
Remove references to cutecash
2023-05-15 13:21:29 +01:00
Richard Cohen
49d3862f72
Get the tooltip working on "Online Banking Setup"
...
"tt" -> "tooltip"
2023-05-14 14:10:19 +01:00