Commit Graph

27986 Commits

Author SHA1 Message Date
Richard Cohen
75f49aaec5 Valgrind: fix "definitely lost" memory in (gnc-mktime) - test-invoice-report-builtin-default
==158291== 6 bytes in 1 blocks are definitely lost in loss record 18 of 824
==158291==    at 0x4848C63: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==158291==    by 0x4A91473: scm_realloc (in /usr/lib/x86_64-linux-gnu/libguile-3.0.so.1.5.0)
==158291==    by 0x4AFF26B: scm_to_stringn (in /usr/lib/x86_64-linux-gnu/libguile-3.0.so.1.5.0)
==158291==    by 0x4CB473D: _wrap_gnc_mktime(scm_unused_struct*) (swig-engine.cpp:38703)
...
2023-09-10 14:54:30 -07:00
Richard Cohen
9fe19d6cf9 Move potentially unused "SCM zone" variable into the #ifdef 2023-09-10 14:54:30 -07: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
vim
7e0c87aab4
Translation update by vim <dev.getport@slmail.me> using Weblate
po/pl.po: 70.3% (3888 of 5523 strings; 1092 fuzzy)
299 failing checks (5.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by vim <dev.getport@slmail.me> using Weblate

po/pl.po: 70.3% (3885 of 5523 strings; 1094 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-19 22:02:54 +02:00
Stephan Paternotte
de970536eb
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 100.0% (5523 of 5523 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-19 22:02:53 +02:00
vim
f62097786a
Translation update by vim <dev.getport@slmail.me> using Weblate
po/pl.po: 70.3% (3884 of 5523 strings; 1095 fuzzy)
300 failing checks (5.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by vim <dev.getport@slmail.me> using Weblate

po/pl.po: 69.8% (3858 of 5523 strings; 1120 fuzzy)
310 failing checks (5.6%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: vim <dev.getport@slmail.me>
2023-07-19 00:07:28 +02:00
mocsa
f43a6d9c4b
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.4% (3836 of 5523 strings; 634 fuzzy)
1 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.4% (3835 of 5523 strings; 635 fuzzy)
1 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.4% (3834 of 5523 strings; 635 fuzzy)
1 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.4% (3833 of 5523 strings; 635 fuzzy)
1 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-07-18 00:03:39 +02:00
Christopher Lam
1459ccddfb [import-main-matcher] use stl - convert Entries from array to vector
which has nicer iteration sematics.
2023-07-17 07:44:41 +08:00
Christopher Lam
f01047a25d [import-main-matcher.cpp] convert RowInfo to class
which is nicer for creating RowInfo on the stack with automatic memory
management.
2023-07-17 07:44:41 +08:00
Wellington Terumi Uemura
d14c533e90
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 91.6% (5062 of 5523 strings; 305 fuzzy)
132 failing checks (2.3%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-07-16 19:17:14 +02:00
vim
b4962e1501
Translation update by vim <dev.getport@slmail.me> using Weblate
po/pl.po: 69.8% (3858 of 5523 strings; 1120 fuzzy)
311 failing checks (5.6%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: vim <dev.getport@slmail.me>
2023-07-16 19:17:14 +02:00
Stephan Paternotte
8e3b6cf1f5
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 100.0% (5523 of 5523 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-16 19:17:14 +02:00
John Ralls
741ce55b7a Merge Richard Cohen's 'use-g-assert-true-in-tests' into stable. 2023-07-16 10:13:26 -07:00
Richard Cohen
66c5e398ae Change g_assert() -> g_assert_true() in tests
g_assert() can be compiled out, so should not be used for tests

g_assert_true was removed
to fis https://bugs.gnucash.org/show_bug.cgi?id=792008 because
g_assert_true was introduced in glib-2.38 and at the time GnuCash required
only glib-2.26. GnuCash has required glib >= 2.40 since 8acbc41c6 so
g_assert_true can be restored.
2023-07-16 10:09:12 -07:00
John Ralls
583446ade5 Merge Richard Cohen's 'declare-type-app-utils' into stable. 2023-07-16 09:48:22 -07:00
John Ralls
bf7803c054 Merge Richard Cohen's 'declare-type-search-param' into stable. 2023-07-16 09:44:50 -07:00
Christopher Lam
9dd4530dc2 [import-match-picker.cpp] plug leaks 2023-07-17 00:24:28 +08:00
John Ralls
7f56b5cbc4 Merge Richard Cohen's 'declare-type-gnome-utils' into stable. 2023-07-16 09:20:13 -07:00
John Ralls
7a7fb72e80 Merge Richard Cohen's 'declare-type-goffice' into stable. 2023-07-16 09:07:52 -07:00
John Ralls
d624148313 Merge Simon Arlott's 'bug-797507' into stable. 2023-07-16 09:03:56 -07:00
Christopher Lam
7acfa1a9a5 [import-backend.cpp] inline gnc_import_TransInfo_set_match_list
Inline this function which is only used in
gnc_import_TransInfo_remove_top_match.
2023-07-16 23:16:34 +08:00
Christopher Lam
49b47f9da7 Merge branch 'import-cpp' into stable #1706 2023-07-15 10:03:36 +08:00
Christopher Lam
513d5442bb [gnc-ofx-import.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
4c231c5c35 [import-parse.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
96707e5eee [import-utilities.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
5f20e633f2 [import-format-dialog.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
0e48488964 [import-account-matcher.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
e48e6e2af9 [import-commodity-matcher.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
f1c70a00ad [import-settings.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
b0e5316b91 [import-pending-matches.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
243710218c [import-match-picker.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
Christopher Lam
ea6181fdf7 [import-main-matcher.cpp] convert to cpp 2023-07-15 10:02:55 +08:00
John Ralls
c405ba2cc0 Merge Richard Cohen's 'filter-online-test' into stable. 2023-07-14 15:29:59 -07:00
John Ralls
6b1941f0ed Replace yahoo_json with alphavantage in test-gnc-quotes.
Alas, poor yahoo_json. After months of valiant struggle to keep up
with Yahoo!'s moving their API around the Finance::Quote team has
abandoned it, replacing it with a screen saver. Those tend to be
unstable so use alphavantage for testing.
2023-07-14 15:15:53 -07:00