John Ralls
cbe765c6d9
Bug 798958 - gncScrubLotLinks will infinite loop in some conditions
...
The conditions being containing a split from a voided transaction.
Instead of trying to destroy zero-value splits (doomed to fail in
that instance and generally rude otherwise) just remove them from
the lot list.
2023-07-27 14:46:55 -07:00
John Ralls
a2f88f6f97
Bug 798944 - Program crashes when matching transactions
...
Add a mutex to refresh_old_transactions to prevent recursively calling
gtk_list_store_clear().
2023-07-27 13:14:26 -07:00
Christopher Lam
d6a025e153
[import-main-matcher.cpp] refactor common code into gen_trans_common_toggled_cb
...
these callbacks handle the checkboxes being toggled.
2023-07-27 21:08:38 +08:00
gallegonovato
91869d071e
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/glossary/es.po: 100.0% (222 of 222 strings; 0 fuzzy)
2 failing checks (0.9%)
Translation: GnuCash/Glossary (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/es/
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-07-26 17:32:59 +02:00
Christopher Lam
2da8e5eda8
[import-main-matcher.cpp] compact update_child_row
2023-07-26 23:26:42 +08:00
Christopher Lam
b93627ebcb
[import-match-picker.cpp] compact match_update_match_model
...
rewrite using forloop instead of while when scanning GList.
2023-07-26 23:26:42 +08:00
Christopher Lam
e9f52d53bb
[import-match-picker.cpp] compact downloaded_transaction_append
2023-07-26 23:26:42 +08:00
Christopher Lam
818e27de03
[import-main-matcher.cpp] rename override to override_widget
...
to avoid clashing with the cpp "override" specifier.
2023-07-26 23:26:31 +08:00
Christopher Lam
417246879a
[import-main-matcher] always defer_bal_computation during import
...
This will speed up both importing new transactions, and destroying
existing ones.
2023-07-26 22:34:41 +08:00
Christopher Lam
314710953f
Revert recent changes from #1725 to import-main-matcher.cpp
...
because there's a better strategy, in next commit
2023-07-26 22:34:29 +08:00
Rene Lambers
ffe7011fac
Translation update by Rene Lambers <jbh.lambers@gmail.com> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
2023-07-26 08:06:44 +02:00
Rene Lambers
a236ce862f
Translation update by Rene Lambers <jbh.lambers@gmail.com> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
2023-07-25 11:05:57 +02:00
Stephan Paternotte
6161d29eae
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-07-25 07:03:14 +02:00
Rene Lambers
7ac3c94af3
Translation update by Rene Lambers <jbh.lambers@gmail.com> using Weblate
...
po/nl.po: 99.9% (5523 of 5524 strings; 1 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: Rene Lambers <jbh.lambers@gmail.com>
2023-07-25 07:03:14 +02:00
gallegonovato
de74d8e30c
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/es.po: 100.0% (5524 of 5524 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-07-25 07:03:14 +02:00
Stephan Paternotte
e9a744f49a
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-07-25 07:03:14 +02:00
Christopher Lam
ba1e52d481
Amendment last commit - copy/paste errors
...
Didn't transfer correct xaccTrans calls.
2023-07-25 13:02:08 +08:00
Christopher Lam
833ed5ae1f
Speed up during import when discarding transactions already imported
...
If a transaction online_id already exists, the code will destroy the
transaction. Defer all destruction until all transactions processed,
and efficiently destroy them within an xaccAccountBegin/CommitEdit block.
2023-07-25 08:37:08 +08:00
Christopher Lam
52b7bdc7e9
[import-backend.cpp] gnc_import_exists_online_id shouldn't destroy transaction
...
Because gnc_import_exists_online_id is documented to only check that
the online_id already exists. It is more appropriate for its caller to
destroy the transaction.
2023-07-24 23:07:13 +08:00
Christopher Lam
73a78f7072
Bug 799039 - gnc:strify produces unusual results or crashes GnuCash when fed an option from gnc-lookup-option
...
gnc:strify can now describe options.
2023-07-24 16:59:12 +08:00
Christopher Lam
867867da53
Merge Richard Cohen branch 'fix-leaks-in-tests' into stable #1713
2023-07-24 13:09:55 +08:00
Christopher Lam
920f760dd8
Merge Richard Cohen branch 'fix-some-leaks-on-error-path' into stable #1714
2023-07-24 13:08:38 +08:00
Christopher Lam
cdc5b6a796
Merge Richard Cohen branch 'fix-test-leaks-from-get-random-string' into stable #1715
2023-07-24 13:07:40 +08:00
Hugo Carvalho
312a82e997
Translation update by Hugo Carvalho <hugokarvalho@hotmail.com> using Weblate
...
po/pt.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/
Translation update by Hugo Carvalho <hugokarvalho@hotmail.com> using Weblate
po/glossary/pt.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt/
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
2023-07-23 18:02:09 +02:00
Brian Hsu
a0df562c69
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
10 failing checks (0.1%)
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-07-23 18:02:08 +02:00
Stephan Paternotte
4bd4f0d463
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-07-23 18:02:08 +02:00
Christopher Lam
e841ceaaa1
[gnc-pricedb.cpp] convert to cpp
2023-07-23 15:19:43 +08:00
Christian Wehling
707925adcc
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.3% (5490 of 5524 strings; 29 fuzzy)
13 failing checks (0.2%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2023-07-22 23:08:33 +02:00
Milo Ivir
5d14594eae
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 96.9% (5353 of 5524 strings; 64 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Co-authored-by: Milo Ivir <mail@milotype.de>
2023-07-22 23:08:32 +02:00
Simon Arlott
fb43fa1d06
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
...
po/en_NZ.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (New Zealand))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_AU.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (Australia))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_GB.po: 100.0% (5524 of 5524 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: Simon Arlott <weblate.simon@arlott.org>
2023-07-22 23:08:31 +02:00
Stephan Paternotte
d3f2bca4b0
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-07-22 23:08:30 +02:00
Frank H. Ellenberger
20606699f0
Fix update anomaly of pl.po
2023-07-22 04:13:19 +02:00
Arve Eriksson
4804c07840
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5524 of 5524 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-07-22 04:01:03 +02:00
vim
df218d882b
Translation update by vim <dev.getport@slmail.me> using Weblate
...
po/glossary/pl.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pl/
Translation update by vim <dev.getport@slmail.me> using Weblate
po/pl.po: 70.7% (3905 of 5523 strings; 1076 fuzzy)
299 failing checks (5.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/
Co-authored-by: vim <dev.getport@slmail.me>
2023-07-22 04:01:02 +02:00
Frank H. Ellenberger
ae294003c0
Msgmerge recent changes
2023-07-22 01:06:19 +02:00
Frank H. Ellenberger
703074cc50
I18N: Separate "Split View" from "Split"
2023-07-22 00:42:56 +02:00
John Ralls
50418527b0
Fix two typos.
2023-07-21 13:57:39 -07:00
Giuseppe Foti
086bf3b3c3
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
...
po/it.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/
2023-07-21 15:04:01 +02:00
Marco
5ef3e76d4d
Translation update by Marco <marcxosm@gmail.com> using Weblate
...
po/it.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/
Co-authored-by: Marco <marcxosm@gmail.com>
2023-07-21 13:38:43 +02:00
Giuseppe Foti
9d7436c716
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
...
po/it.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/
Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2023-07-21 13:38:43 +02:00
Francisco Serrador
e578a058d3
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
...
po/es.po: 100.0% (5523 of 5523 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: Francisco Serrador <fserrador@gmail.com>
2023-07-21 13:38:42 +02:00
vim
727b8538b1
Translation update by vim <dev.getport@slmail.me> using Weblate
...
po/pl.po: 70.5% (3899 of 5523 strings; 1081 fuzzy)
299 failing checks (5.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/
Co-authored-by: vim <dev.getport@slmail.me>
2023-07-21 13:38:41 +02:00
Milo Ivir
7b52181bbd
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 96.8% (5349 of 5523 strings; 64 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Co-authored-by: Milo Ivir <mail@milotype.de>
2023-07-21 13:38:41 +02:00
John Ralls
c5181180ad
Fix GncOptionMultichoiceValue list tests
...
To conform to changes in 84eb084375
.
2023-07-20 21:24:31 -07:00
John Ralls
e5f9e4ea6d
Bug 799010 - gnc-register-account-sel-limited-option errors doesn't work
...
Wrong cast in GncGtkAccountSelUIItem::set_option_from_ui_item.
2023-07-20 16:44:05 -07:00
John Ralls
9891a68f44
GncGtkListUIItem::set_option_from_ui_item: Iterate over selected items
...
Instead of all possible items.
2023-07-20 14:25:25 -07:00
John Ralls
84eb084375
Bug 799020 - widget of gnc-register-list-option disregards user's clicks
...
If the GtkTreeSelection's mode isn't set to GTK_SELECTION_MULTIPLE
then each call to gtk_tree_selection_select_path overrides the
previous one and only one item is selected.
2023-07-20 14:25:25 -07:00
John Ralls
2e76d2f43d
Bug 799021 - Saved report renders default of gnc-register-list-option
...
save_scm_value was trying too hard to handle the different possible
types that Scheme can set options to and in the process converting
lists to single symobls (e.g. ('good 'ugly) became #{good ugly}#.
That not being one of the possible values it was ignored and the
default value was used.
2023-07-20 14:25:25 -07:00
Richard Cohen
a36844720d
Valgrind: fix "definitely lost" memory from get_random_string() - test-vendor
...
==88804== 8 bytes in 1 blocks are definitely lost in loss record 12 of 479
==88804== at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==88804== by 0x503C550: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==88804== by 0x10B5D8: get_random_string_without (test-stuff.c:312)
==88804== by 0x10B655: get_random_string (test-stuff.c:333)
==88804== by 0x10AA92: test_string_fcn (test-vendor.c:138)
==88804== by 0x10A76B: test_vendor (test-vendor.c:88)
==88804== by 0x10AD5A: main (test-vendor.c:246)
+ 3 more
2023-07-20 15:23:09 +01:00
Richard Cohen
30b47d1669
Valgrind: fix "definitely lost" memory from get_random_string() - test-job
...
==88779== 8 bytes in 1 blocks are definitely lost in loss record 9 of 461
==88779== at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==88779== by 0x503C550: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1)
==88779== by 0x10B871: get_random_string_without (test-stuff.c:312)
==88779== by 0x10B8EE: get_random_string (test-stuff.c:333)
==88779== by 0x10AB9F: test_string_fcn (test-job.c:157)
==88779== by 0x10A7B1: test_job (test-job.c:87)
==88779== by 0x10AFF3: main (test-job.c:262)
+ 3 more
2023-07-20 15:23:09 +01:00