Commit Graph

26258 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
gnu-ewm
4032407b50
Translation update by gnu-ewm <gnu.ewm@protonmail.com> using Weblate
po/pl.po: 62.1% (3355 of 5402 strings; 1536 fuzzy)
582 failing checks (10.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: gnu-ewm <gnu.ewm@protonmail.com>
2022-07-21 03:08:46 +02:00
154pinkchairs
b87d6eb5dc
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/pl.po: 62.1% (3355 of 5402 strings; 1536 fuzzy)
582 failing checks (10.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-07-21 03:08:46 +02: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
John Ralls
d87972e430 Git-ignore .LCK files 2022-07-17 10:00:30 -07:00
John Ralls
f4c27d4494 Move gnc_ui_account_get_tax_info_string to gnc-locale-tax.c
To prevent a circular dependency between libgnc-app-utils and
libgnucash-guile.
2022-07-17 10:00:23 -07: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
John Ralls
3e2f7bc66a Create separate shared library for expression parser and SX instance model.
These functions depend on both libgnc-app-utils and libgnucash-guile,
creating a circular dependency when the app-utils bindings are added to
libgnucash-guile.
2022-07-16 18:20:17 -07:00
John Ralls
47904a858e Fix distcheck in master.
Several gnc-optiondb dependencies left out of tarball.
2022-07-16 18:15:57 -07:00
John Ralls
3fd8bd9ddf Merge branch 'maint' 2022-07-16 17:15:20 -07: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