Commit Graph

28024 Commits

Author SHA1 Message Date
Christopher Lam
625fc1d6cd [gnc-plugin-business.c] free owners from business plugin
They're being allocated with gncOwnerNew in gnc_plugin_business_init
2023-07-08 12:10:22 +08:00
Christopher Lam
e8d2d8dc66 Merge branch 'bug798998' into stable #3701 2023-07-06 08:45:24 +08:00
Christopher Lam
8b94e9a440 SCM must never be NULL
It is assigned later on; nevertheless must never be NULL. It could be
SCM_EOL.
2023-07-06 08:44:13 +08:00
Wellington Terumi Uemura
b5399e00c8
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 91.6% (5062 of 5523 strings; 305 fuzzy)
131 failing checks (2.3%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/glossary/pt_BR.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-07-05 19:50:25 +02:00
Andrea Andre
ba0acf68de
Translation update by Andrea Andre <andrea.tsg19@slmail.me> using Weblate
po/ro.po: 48.1% (2658 of 5523 strings; 1921 fuzzy)
740 failing checks (13.3%)
Translation: GnuCash/Program (Romanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ro/

Translation update  by Andrea Andre <andrea.tsg19@slmail.me> using Weblate

po/ro.po: 48.0% (2656 of 5523 strings; 1922 fuzzy)
740 failing checks (13.3%)
Translation: GnuCash/Program (Romanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ro/

Translation update  by Andrea Andre <andrea.tsg19@slmail.me> using Weblate

po/ro.po: 47.8% (2645 of 5523 strings; 1936 fuzzy)
742 failing checks (13.4%)
Translation: GnuCash/Program (Romanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ro/

Co-authored-by: Andrea Andre <andrea.tsg19@slmail.me>
2023-07-05 19:50:25 +02:00
gallegonovato
4f8325b407
Translation update by gallegonovato <fran-carro@hotmail.es> 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: gallegonovato <fran-carro@hotmail.es>
2023-07-05 19:50:24 +02:00
Francisco Serrador
973f116d08
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-05 19:50:23 +02:00
Milo Ivir
cac5e703be
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.8% (5347 of 5523 strings; 66 fuzzy)
4 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-05 19:50:23 +02:00
Sucipto
a92e47d253
Translation update by Sucipto <sucipto@pm.me> using Weblate
po/glossary/id.po: 100.0% (216 of 216 strings; 0 fuzzy)
2 failing checks (0.9%)
Translation: GnuCash/Glossary (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/id/

Translation update  by Sucipto <sucipto@pm.me> using Weblate

po/id.po: 88.0% (4861 of 5523 strings; 481 fuzzy)
228 failing checks (4.1%)
Translation: GnuCash/Program (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/id/

Co-authored-by: Sucipto <sucipto@pm.me>
2023-07-05 19:50:22 +02:00
Giuseppe Foti
931bcf5854
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/

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/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/glossary/it.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

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/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

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/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/glossary/it.po: 99.5% (215 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/glossary/it.po: 99.5% (215 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

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/

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/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/glossary/it.po: 99.5% (215 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 98.2% (5425 of 5523 strings; 42 fuzzy)
15 failing checks (0.2%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 97.8% (5405 of 5523 strings; 53 fuzzy)
15 failing checks (0.2%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 96.1% (5309 of 5523 strings; 134 fuzzy)
60 failing checks (1.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 95.2% (5258 of 5523 strings; 174 fuzzy)
70 failing checks (1.2%)
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-05 19:50:22 +02:00
Brian Hsu
ca1856481d
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
10 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% (5523 of 5523 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-05 19:50:21 +02:00
Arve Eriksson
9e75c11473
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/glossary/sv.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/sv/

Translation update  by Arve Eriksson <031299870@telia.com> using Weblate

po/sv.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Translation update  by Arve Eriksson <031299870@telia.com> using Weblate

po/glossary/sv.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-07-05 19:50:20 +02:00
Stephan Paternotte
1cff0c9edd
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/

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/

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/

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/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 97.8% (5406 of 5523 strings; 85 fuzzy)
53 failing checks (0.9%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 96.6% (5337 of 5523 strings; 121 fuzzy)
55 failing checks (0.9%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 96.5% (5333 of 5523 strings; 123 fuzzy)
55 failing checks (0.9%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/glossary/nl.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 95.9% (5299 of 5523 strings; 150 fuzzy)
56 failing checks (1.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 95.8% (5295 of 5523 strings; 154 fuzzy)
62 failing checks (1.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/glossary/nl.po: 100.0% (216 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 95.5% (5276 of 5523 strings; 167 fuzzy)
64 failing checks (1.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/glossary/nl.po: 100.0% (216 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 95.4% (5273 of 5523 strings; 168 fuzzy)
63 failing checks (1.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 95.4% (5271 of 5523 strings; 170 fuzzy)
68 failing checks (1.2%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-07-05 19:50:20 +02:00
Christopher Lam
d326cca065 Bug 798998 - Job Report Not Working
GncOptions add support fo GncOptionUIType::JOB
2023-07-05 17:13:54 +08:00
Christopher Lam
59be6f4974 Merge branch 'gsettings-cpp' into stable #1682
plugs a runaway leak
2023-07-04 08:10:53 +08:00
Christopher Lam
b011c81b62 [gnc-backend-dbi.cpp] if returning early, don't allocate char*
this function may return early causing leak from allocating
g_build_filename.
2023-07-02 21:46:29 +08:00
Christopher Lam
9ee3dd9595 [gnc-plugin-page-report.cpp] addendum #include unordered_map for clang 2023-07-02 00:24:52 +08:00
Christopher Lam
c44d4b6b79 [gnc-plugin-page-report.cpp] plug GHashTable leak; use unordered_map 2023-07-01 22:04:02 +08:00
Christopher Lam
d287c30145 [gsettings.cpp] use std::unordered_map which releases on shutdown
Better than a GHashTable schema_hash which is not being destroyed at shutdown
2023-07-01 12:23:58 +08:00
Christopher Lam
9dfe223fc7 [gsettings.cpp] g_settings_schema_unref after g_object_get
g_object_get may be reffing the schema which prevents it freeing.
2023-07-01 12:19:32 +08:00
Christopher Lam
0d326fa100 [io-gncxml-v2.cpp] plug g_strdup leak 2023-07-01 11:59:40 +08:00
Christopher Lam
c313c3dedf [stock-txn-asst] create_transaction() returns <bool,Transaction*>
This reverts commit 67515497f7.

Because the Transaction* is used in the tests. Also it's a possible
enhancement that the register will jump to the newly created
transaction when the assistant completes.
2023-06-30 20:34:00 +08:00
Christopher Lam
5e376265e4 xxxgtk_textview_get_text must be g_freed after use 2023-06-30 17:43:19 +08:00
John Ralls
833a681a5e [stock-txn-asst] Fix return calls in StockAssistantModel::create_transaction. 2023-06-29 14:33:58 -07:00
John Ralls
98e4f98798 [stock-txn-asst] No need for the amount message to be a warning. 2023-06-29 12:11:19 -07:00
John Ralls
67515497f7 [stock-txn-asst] finish_cb needs to create the transaction.
And StockAssistantModel::create_transaction doesn't need to return
the transaction.
2023-06-29 12:06:10 -07:00
John Ralls
a222efbdf3 GncOption debug messages should be in engine not app-utils. 2023-06-29 11:23:04 -07:00
Richard Cohen
52e8524ec5 Refactor: hide implementation of GncSxInstanceModel (move from .h -> .c) 2023-06-29 10:04:34 +01:00
Richard Cohen
d30fdd8071 Refactor: DECLARE_FINAL GncSxInstanceModel < GObject 2023-06-29 10:04:34 +01:00
Richard Cohen
9713683ee3 Refactor: define and use api for GncSxInstanceModel 2023-06-29 10:04:29 +01:00
Richard Cohen
697daad0bb Refactor: remove unnecessary *Private structs 2023-06-28 12:18:57 +01:00
Richard Cohen
1307e0ef75 Refactor: hide implementations (move from .h -> .c) 2023-06-28 12:18:57 +01:00
Richard Cohen
7fa32db2a7 Refactor: DECLARE_FINAL GNCSearchParamCompound < GNCSearchParam 2023-06-28 12:18:57 +01:00
Richard Cohen
f321cbc267 Refactor: DECLARE_FINAL GNCSearchParamSimple < GNCSearchParam 2023-06-28 12:18:57 +01:00
Richard Cohen
254edac26b Refactor: DECLARE_DERIVABLE GNCSearchParam < GObject 2023-06-28 12:18:57 +01:00
Richard Cohen
e094036d99 Refactor: define and use api methods for GNCSearchParam 2023-06-28 12:18:57 +01:00
Simon Arlott
663dfadb90
Fix memory leaks logging with gnc_numeric_to_string()
The value returned by gnc_numeric_to_string() needs to be freed.
Use gnc_num_dbg_to_string() instead.
2023-06-28 08:16:20 +01:00
Simon Arlott
dbf8f93be4
Fix assumption in gnc_num_dbg_to_string()
If the size of "buff" is not evenly divisible by "size" then this would
allocate off the end of the buffer. That's not currently the case but the
calculation shouldn't do this. Change it to check there's actually enough
space.
2023-06-28 08:10:13 +01:00
Christopher Lam
165fcce8f5 [assistant-stock-txn] clear warnings/errors/infos before preparing last page
otherwise the messages will accumulate when nagivating back to the
last page.
2023-06-27 23:41:41 +08:00
Richard Cohen
e6701ed289 Refactor: remove unused struct pageDataTuple 2023-06-27 14:27:10 +01:00
Richard Cohen
90d1905786 Refactor: remove unnecessary *Private structs 2023-06-27 14:27:05 +01:00
Richard Cohen
86395f0c66 Refactor: hide implementations (move from .h -> .c) 2023-06-27 14:26:41 +01:00
Richard Cohen
53e8629416 Refactor: DECLARE_FINAL GncSxListTreeModelAdapter < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
f3b3fa39d1 Refactor: DECLARE_FINAL GncSxInstanceDenseCalAdapter < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
39352101ae Refactor: DECLARE_FINAL GncReportCombo < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
ff9ee95096 Refactor: DECLARE_FINAL GncRecurrence < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
734e9184e4 Refactor: DECLARE_FINAL GncPluginManager < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
df874225c0 Refactor: DECLARE_FINAL GncPeriodSelect < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
1fa45a352a Refactor: DECLARE_FINAL GncFrequency < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
1540a645fc Refactor: DECLARE_FINAL GncEmbeddedWindow < GtkBox 2023-06-27 12:36:47 +01:00