Christopher Lam
e6c33a39bc
[account.cpp] refactor gnc_account_get_descendants{_sorted}
2021-08-06 00:23:12 +08:00
Christopher Lam
d2db43019c
[account.cpp] internal function account_foreach_descendant
...
fast and efficient
2021-08-06 00:23:12 +08:00
Christopher Lam
86bc9d93a7
gchar *gnc_account_get_full_name must be freed
...
The gnc-account-sel.c one was causing a runaway leak -- leaked
full_name for every account (except the matched account) in the
GNCAccountSel. Interestingly the original commit[*] suggests the name
should have been freed correctly however the braces prohibited it.
[*] e5b0bdbe10
2021-08-05 23:12:46 +08:00
Christopher Lam
de1ad9367a
g_free gnc_ctime which returns a new gchar*
2021-08-05 21:42:31 +08:00
Simon Arlott
7a0ea190ca
qof_instance_dispose should always complete dispose processes
...
If QofInstancePrivate has no collection then qof_instance_dispose() returns
without completing the rest of its dispose processes, skipping removal of
its type string from the string cache resulting in a reference count leak.
Change the check for a collection so that it only affects the call to
qof_collection_remove_entity().
2021-08-05 08:56:51 +01:00
Christopher Lam
de0af2dca7
[reconcile-view.c] g_list_free a GList*
2021-08-05 09:23:42 +08:00
Christopher Lam
c9db551693
g_free qof_print_date which returns a new char*
2021-08-05 09:23:28 +08:00
John Ralls
d099d39afd
Merge Simon Arlott's 'commit-root-on-load' into maint.
2021-08-04 15:52:51 -07:00
John Ralls
fd56512cf7
Merge Simon Arlott's 'load-test-xml' into maint.
2021-08-04 15:48:42 -07:00
John Ralls
9062be3d47
Merge Simon Arlott's 'string-cache-fixes' into maint.
2021-08-04 14:26:27 -07:00
John Ralls
f6766d42ec
Merge Simon Arlott's 'string-cache-no-refcount-empty' into maint.
2021-08-04 14:19:21 -07:00
John Ralls
ddc423a505
Merge Simon Arlott's 'bug-798238' into maint.
2021-08-04 14:18:16 -07:00
Avi Markovitz
79d6154cb5
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 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: Avi Markovitz <avi.markovitz@gmail.com>
2021-08-04 20:52:33 +02:00
Yaron Shahrabani
c2bc31fafc
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 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>
2021-08-04 20:52:33 +02:00
Avi Markovitz
a6b7a4cb85
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 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: Avi Markovitz <avi.markovitz@gmail.com>
2021-08-04 20:52:33 +02:00
TianXing_Yi
351ae62ced
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5350 of 5364 strings; 1 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <ytx.cash@gmail.com>
2021-08-04 20:52:33 +02:00
Frank H. Ellenberger
b31b8dbd1e
Merge PR #1103 into maint
2021-08-04 20:16:14 +02:00
Christopher Lam
a5edacf0fc
[options.scm] Rename option name to "Levels of Subaccounts"
...
Original name "Show Accounts until level". Add backward compatibility
missed in 08f490ee98
2021-08-04 19:02:30 +08:00
Steven Walter
5f721614ad
Remove unneeded .decode() from Invoice*.tex.templ
...
These values are already str's, don't decode them
2021-08-03 15:59:54 -04:00
Christopher Lam
23bd716451
g_free gnc-path's gchar* intermediate strings
2021-08-03 12:14:12 +08:00
Christopher Lam
67ecb1074f
[assistant-hierarchy.c] g_free data->gnc_accounts_dir
...
because it is assigned to gnc_path_get_accountsdir() which is a *gchar
and must be freed.
2021-08-03 12:14:12 +08:00
Christopher Lam
a3177e8b6b
[swig] %newobject to g_free AccountList* functions
2021-08-03 12:14:12 +08:00
Christopher Lam
e0d953bfc8
[swig] %newobject to g_free gchar* functions
2021-08-03 12:14:12 +08:00
Frank H. Ellenberger
b247c10516
L10N:sv: Update to PO-Revision-Date: 2021-07-26 from TP
...
po/sv.po:15694: msgstr lacks the keyboard accelerator mark '_'
msgfmt: found 1 fatal error
5205 translated messages, 157 fuzzy translations.
2021-08-02 09:45:30 +02:00
Steven Walter
3ed6b4dab9
latex_invoices.py: write takes string not bytes
...
write() fails if you give it bytes, so don't encode
2021-08-01 22:17:41 -04:00
Steven Walter
ba4852a9da
latex_invoices.py: use default locale
...
Don't hardcode a locale. Empty string means to use the user's locale
(e.g. $LANG)
2021-08-01 22:17:11 -04:00
Steven Walter
ad3895fa07
latex_invoices.py: don't decode() a str
...
These functions all return str's not bytes. Therefore there is no need
to decode them.
2021-08-01 22:16:33 -04:00
TianXing_Yi
c789b0c141
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5350 of 5364 strings; 1 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5351 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-08-01 13:33:01 +02:00
Avi Markovitz
5be0795fda
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 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: Avi Markovitz <avi.markovitz@gmail.com>
2021-07-31 21:44:01 +02:00
TianXing_Yi
613f639afa
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5351 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-07-31 21:44:01 +02:00
Christopher Lam
b9d6fc9f4f
[gnc-report] Handle default_font_family being NULL
...
There was invalid assumption in afea6fd68
. According to the following
documentation, pango_font_description_get_family can return NULL, and
g_strdup (NULL) also returns NULL.
https://docs.gtk.org/Pango/method.FontDescription.get_family.html
2021-07-31 21:16:06 +08:00
goodvibes2
3dceb0868e
Delete functions no longer used after mods for bug 798205
2021-07-31 18:50:09 +10:00
Christopher Lam
b8dad64b7e
Merge branch 'maint-free-memory' into maint #1086
2021-07-29 23:56:38 +08:00
Christopher Lam
afea6fd68b
[gnc-report.c] free default_font_family
...
if default_font_family is ".AppleSystemUIFont", it is not freed prior
to returning "Arial".
also default_font_family is given a g_strdup'd string therefore will
never be NULL.
2021-07-29 23:56:10 +08:00
Christopher Lam
7ffe0a5391
[gnc-tree-model-owner.c] owner_list must be freed
2021-07-29 23:56:10 +08:00
Christopher Lam
9767c86337
[engine.i] some GLists must be freed
2021-07-29 23:56:10 +08:00
Avi Markovitz
a7808f9f1a
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/glossary/he.po: 100.0% (209 of 209 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% (5364 of 5364 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: Avi Markovitz <avi.markovitz@gmail.com>
2021-07-28 17:33:11 +02:00
TANIGUCHI Yasuaki
7024d122cb
Translation update by TANIGUCHI Yasuaki <yasuakit+weblate@gmail.com> using Weblate
...
po/ja.po: 90.9% (4878 of 5364 strings; 234 fuzzy)
508 failing checks (9.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: TANIGUCHI Yasuaki <yasuakit+weblate@gmail.com>
2021-07-28 17:33:11 +02:00
goodvibes2
2ee89f6693
Do not drop a potential match just because it has an online_id.
...
Now that we don't exclude from import a transaction with an FITID that
matches an already existing transaction, if one accidentally re-imports
a transaction, this allows it to be automatically matched against the
previously imported transaction.
2021-07-27 12:15:25 +10:00
goodvibes2
3f1e24991f
Bug 798205 Do not exclude from import a transaction that has an FITID
...
which matches an already existing split. This is because it
(1) may be a coincidence and therefore the transaction needs to be added
or
(2) could be on a transfer from the account being imported to another
bank account which has already been imported, and so needs to be
matched, not added.
2021-07-27 11:57:45 +10:00
TianXing_Yi
c73c030d31
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5351 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-07-26 15:34:46 +02:00
Frank H. Ellenberger
7e4ff22823
L10N:sv: Update to 2021-07-17 08:57+0200 via TP
...
5199 translated messages, 163 fuzzy translations.
2021-07-26 09:28:12 +02:00
Eric
6188576a18
Translation update by Eric <spice2wolf@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5351 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by Eric <spice2wolf@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5351 of 5364 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 <spice2wolf@gmail.com>
2021-07-26 06:33:42 +02:00
TianXing_Yi
8304a7db05
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5351 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-07-26 06:33:41 +02:00
Christopher Lam
f1e35daab3
Rename option name from "Extra notes" to "Extra Notes"
2021-07-23 06:25:01 +08:00
Christopher Lam
251db8c37b
Rename option name from "Report title" to "Report Title"
2021-07-23 06:25:01 +08:00
Christopher Lam
2606ddf905
Rename option name from "Invoice number" to "Invoice Number"
...
This ensures it matches all other invoice reports.
2021-07-23 06:24:55 +08:00
TANIGUCHI Yasuaki
2fccf30c14
Translation update by TANIGUCHI Yasuaki <yasuakit+weblate@gmail.com> using Weblate
...
po/ja.po: 90.9% (4878 of 5364 strings; 234 fuzzy)
508 failing checks (9.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: TANIGUCHI Yasuaki <yasuakit+weblate@gmail.com>
2021-07-21 04:34:53 +02:00
TianXing_Yi
cd438a6c4e
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 98.8% (5301 of 5364 strings; 50 fuzzy)
26 failing checks (0.4%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <ytx.cash@gmail.com>
2021-07-21 04:34:52 +02:00
Giuseppe Foti
7ea6c340bc
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
...
po/it.po: 100.0% (5364 of 5364 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>
2021-07-19 09:32:42 +02:00