Commit Graph

25646 Commits

Author SHA1 Message Date
Christopher Lam
bc480efdd9 [gnc-plugin-page-sx-list] enable popup for sx editor 2022-07-21 21:38:58 +08:00
Christopher Lam
9f303860cc Merge branch 'maint-leaks' into maint #1380 2022-07-21 09:08:03 +08:00
Christopher Lam
c16840b840 more leaks because qof_instance_get returns a new char* 2022-07-21 07:46:40 +08:00
Christopher Lam
74525e91f3 Merge branch 'maint-edit-multiple-rows' into maint #1371 2022-07-21 07:35:25 +08:00
Christopher Lam
078a579ed4 [import-main-matcher] attach menu to treeview
another leak plugged
2022-07-20 23:46:23 +08:00
Christopher Lam
c4e02e1b4b [import-main-matcher] tidy destructors 2022-07-20 09:29:23 +08:00
Robert Fewell
a215664870 [import-main-matcher] full substring search, add mnemonics 2022-07-19 18:54:33 +08:00
Christopher Lam
1ee87fa483 [import-main-matcher] add mnemonic, and amend menuitem text 2022-07-19 18:54:33 +08:00
Christopher Lam
0d3520f674 [import-main-matcher] editing a field will add onto hash 2022-07-19 18:54:33 +08:00
Christopher Lam
6d1f3c5af6 [import-main-matcher] if multi-accounts, scan all accounts
if an ofx has info on multiple accounts, and selection includes
multiple accounts, scan all of them.

also further separation between UI and data processing.
2022-07-19 18:54:33 +08:00
Christopher Lam
2bafe700db [import-main-matcher] use GtkEntry with GtkEntryCompletion
completion enabled using existing transaction strings.
2022-07-19 18:54:33 +08:00
Robert Fewell
d4ff2ede95 [import-main-matcher] annotate changed fields to italic
and change use to .glade
2022-07-19 18:54:33 +08:00
Christopher Lam
fb6091fb3e [import-main-matcher] 1 dialog to edit all 3 fields 2022-07-19 18:54:32 +08:00
Christopher Lam
3db8c56a90 [import-main-matcher] save orig desc/notes/memo to reset edits
adds menu item "Reset edits." which resets imported transactions'
desc/notes/memo back to the original imported strings.
2022-07-19 18:54:32 +08:00
Christopher Lam
6f74d4e3ed [import-main-matcher] show Edit menuitem, disable if disallowed 2022-07-19 18:54:32 +08:00
Christopher Lam
b10712951c [import-main-matcher] gnc_gen_trans_view_popup_menu: show_edit_actions obsolete 2022-07-19 18:54:32 +08:00
Christopher Lam
fac0cde7a2 [import-main-matcher] further refinement to edit multiple rows
but is only enabled iff the desc/notes/memo to be renamed are
identical.
2022-07-19 18:54:32 +08:00
Maxime Leroy
754cb07231
Translation update by Maxime Leroy <lisacintosh@gmail.com> using Weblate
po/fr.po: 99.9% (5400 of 5402 strings; 2 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2022-07-19 08:16:38 +02:00
Wellington Terumi Uemura
892b80f685
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5402 of 5402 strings; 0 fuzzy)
0 failing checks (0.0%)
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>
2022-07-18 18:15:06 +02:00
Christopher Lam
90804dcdc3 [import-backend] plug memory leak with duplicate FITIDs
addendum to 579ba4431... if there are splits with duplicate FITID in
the hash, free the char*
2022-07-19 00:14:44 +08:00
Yaron Shahrabani
db9b4ab25d
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5402 of 5402 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2022-07-18 03:25:51 +02:00
Eric
8c1b736c39
Translation update by Eric <alchemillatruth@purelymail.com> using Weblate
po/zh_CN.po: 99.8% (5396 of 5402 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Eric <alchemillatruth@purelymail.com>
2022-07-18 03:25:51 +02:00
Christopher Lam
f1adb5da34 Merge branch 'TXN_TYPE-is-dynamic' xaccTransGetTxnType into maint #1201 2022-07-18 09:24:32 +08:00
Christopher Lam
ec3e996f92 tests xaccTransGetTxnType heuristics
tests TXN_TYPE_NONE in utest-Transaction.c

testing TXN_TYPE_INVOICE, TXN_TYPE_PAYMENT, and TXN_TYPE_LINK will
require valid posted invoices, so, are best tested in utest-Invoice.c
2022-07-18 09:24:05 +08:00
Christopher Lam
fd12d3900c [Transaction.c] use heuristics to determine txn->txn_type 2022-07-18 09:24:05 +08:00
Christopher Lam
579ba44317 all online_id getters from import-utilities.c return a new char* which must be g_freed. 2022-07-18 09:15:17 +08:00
Robert Fewell
ce4768c357 Bug 798565 - Import map editor entry deletion
When a top level bayesian entry is deleted, the book is not marked
dirty and so the save button is not highlighted. Deleting individual
entries did mark book dirty.

Fixed in gnc_account_delete_all_bayes_maps by wrapping the deletion
with xaccAccountBeginEdit/CommitEdit block.
2022-07-17 12:51:38 +01:00
Robert Fewell
0a8dcdcd81 Merge Simon Arlott's branch 'view-menu-tab-position' into maint PR #1369 2022-07-17 11:44:49 +01:00
Robert Fewell
d688a17ef6 Merge 'luzpaz' branch 'source-typos' into maint PR #1364 2022-07-17 11:31:54 +01:00
Christopher Lam
85af91569c [import-main-matcher] plug Hash Table & GList leaks.
A couple of hash tables were not destroyed.

GList* list was being modified to NULL therefore not freed with
g_list_free_full.
2022-07-17 15:34:04 +08:00
Frank H. Ellenberger
a000c05c19 I18N: msgmerge recent changes 2022-07-17 04:54:04 +02:00
Frank H. Ellenberger
b560bb2198 I18N: Unify commodity Type >Namespace, drop dummy entries 2022-07-17 03:55:22 +02:00
Arve Eriksson
da90fa6dc0
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5401 of 5401 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>
2022-07-17 02:11:56 +02:00
John Ralls
d4c31a2e4a Merge Simon Arlott's 'dialog-sx-since-last-run-memory-leak' into maint. 2022-07-16 17:06:15 -07:00
John Ralls
426b30c37e Fix python tests dependencies
So that ninja check works from a clean build directory with Python enabled.
2022-07-16 16:36:46 -07:00
Simon Arlott
845de4026f
[dialog-sx-since-last-run] Fix handling of last run dialog on file open
When the "since last run" notification dialog is disabled on file open, it
leaks a reference to GncSxInstanceModel and any creation errors won't be
displayed. Avoid returning from the function too early.

If the "since last run" dialog is required but cancelled then the list of
created transactions isn't freed. Free the list when the dialog is closed.
2022-07-16 20:32:07 +01:00
Christopher Lam
1d09c69aff gtk_tree_model_get returns a new char* which must be g_freed 2022-07-17 00:12:25 +08:00
Simon Arlott
2b447d4787
Add action group to View menu for the tab position 2022-07-16 10:41:35 +01:00
Avi Markovitz
fa8a197ba5
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/glossary/he.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/he/

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

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

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

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

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

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

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2022-07-15 13:18:51 +02:00
mocsa
cf62a62d2d
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 57.2% (3090 of 5401 strings; 1340 fuzzy)
469 failing checks (8.6%)
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: 57.1% (3089 of 5401 strings; 1341 fuzzy)
470 failing checks (8.7%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-07-15 13:18:51 +02:00
Christian Wehling
64f4f342db
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5400 of 5401 strings; 1 fuzzy)
182 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2022-07-12 23:16:52 +02:00
mocsa
fcd1fa137f
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 57.1% (3087 of 5401 strings; 1341 fuzzy)
470 failing checks (8.7%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-07-12 23:16:52 +02:00
Christopher Lam
9afe57252b Revert "[import-main-matcher] free gtk_tree_selection_get_selected_rows"
This reverts commit 508e00a60b.
2022-07-13 00:08:42 +08:00
Christopher Lam
508e00a60b [import-main-matcher] free gtk_tree_selection_get_selected_rows 2022-07-12 23:18:05 +08:00
Szia Tomi
47eeaf8e70
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

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

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 57.1% (3087 of 5401 strings; 1341 fuzzy)
470 failing checks (8.7%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 57.1% (3084 of 5401 strings; 1344 fuzzy)
476 failing checks (8.8%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2022-07-11 01:35:54 +02:00
Azhar Pusparadhian
673ebaaa30
Translation update by Azhar Pusparadhian <pazhar@rocketmail.com> using Weblate
po/glossary/id.po: 100.0% (216 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/id/

Translation update  by Azhar Pusparadhian <pazhar@rocketmail.com> using Weblate

po/id.po: 95.4% (5156 of 5401 strings; 215 fuzzy)
117 failing checks (2.1%)
Translation: GnuCash/Program (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/id/

Co-authored-by: Azhar Pusparadhian <pazhar@rocketmail.com>
2022-07-11 01:35:53 +02:00
Hemant More
bf2295a2aa
Translation update by Hemant More <hemantrmore@tutanota.com> using Weblate
po/mr.po: 72.4% (3915 of 5401 strings; 999 fuzzy)
408 failing checks (7.5%)
Translation: GnuCash/Program (Marathi)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mr/

Translation update  by Hemant More <hemantrmore@tutanota.com> using Weblate

po/mr.po: 71.7% (3877 of 5401 strings; 1006 fuzzy)
415 failing checks (7.6%)
Translation: GnuCash/Program (Marathi)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mr/

Co-authored-by: Hemant More <hemantrmore@tutanota.com>
2022-07-11 01:35:52 +02:00
Christopher Lam
a9ec51bd6d Merge branch 'maint-log-paths' into maint #1345 2022-07-10 23:45:17 +08:00
Christopher Lam
f5f303714c [gnucash-core-app] "--paths" returns gnc_list_all_paths() 2022-07-10 23:44:14 +08:00
Christopher Lam
1a263040ab [gnc-main-window] About window shows gnc_list_all_paths() 2022-07-10 23:44:13 +08:00