Christopher Lam
c442192bb4
[gnc-amount-edit] g_free char* empty string.
...
1 byte is allocated if filtered_string is the empty string. free it.
2021-08-20 09:03:36 +08:00
Christopher Lam
c4a0fb468b
[srfi64-extras.scm] exit instead of return #t if no failures
...
due to change in guile-3.0.7 to fix srfi64 bug
2021-08-19 20:56:13 +08:00
Christian Wehling
57866eed88
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.8% (5357 of 5364 strings; 7 fuzzy)
250 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2021-08-17 13:34:16 +02:00
Avi Markovitz
2727259f59
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/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-08-17 13:34:16 +02:00
TianXing_Yi
a96024ca8f
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/
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/
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/
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-17 13:34:15 +02:00
Christopher Lam
028bf9826b
[Split] xaccSplitGetOtherSplit don't test book trading-accts
...
don't test trading-acct property when finding other split.
2021-08-17 13:04:34 +08:00
Christopher Lam
6bf5a618de
qof_instance_get gchar* must be freed
...
A call to qof_instance_get expecting a gchar* receives a newly
allocated string which must be freed.
2021-08-15 09:49:06 +08:00
Christopher Lam
e4d808e674
[qofbook] qof_book_use_split_action_for_num_field: free a char*
...
qof_instance_get allocates a new char* which must be freed.
2021-08-13 08:58:07 +08:00
Christopher Lam
6fd19f2eea
[dialog-lot-viewer] g_free a GList* properly
...
g_list_free requires the argument is the head of a GList. Calling
g_list_reverse makes the filtered_list points to the last
element. Assigning filtered_list to the result of g_list_reverse
ensures it still points to the head, allowing g_list_free to free the
list properly.
2021-08-13 08:56:34 +08:00
Christopher Lam
5ced0d932a
Merge branch 'maint-account-cpp' into maint #1107
2021-08-12 17:39:45 +08:00
Frank H. Ellenberger
fa666e7367
L10N:sv:Update to PO-Revision-Date: 2021-08-03 from TP
...
5229 translated messages, 133 fuzzy translations.
2021-08-12 06:27:57 +02:00
Christopher Lam
40d886fa9d
gnc_account_list_name_violations elements must be freed
2021-08-12 09:39:08 +08:00
Christopher Lam
4c37f6d4ef
[account.cpp] gnc_g_list_stringjoin instead of repeated allocations
2021-08-12 09:19:34 +08:00
Christopher Lam
e84549926b
[gnc-glib-utils] gnc_g_list_stringjoin to join a GList of strings
...
It traverses the GList twice (once to calculate the length) but
allocates only once.
Includes snippet from
https://www.joelonsoftware.com/2001/12/11/back-to-basics/
2021-08-12 09:19:34 +08:00
TianXing_Yi
8fc1563911
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-11 11:34:24 +02:00
Avi Markovitz
071bd209ac
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-11 11:34:24 +02:00
Eric
6a8372affc
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-08-11 11:34:23 +02:00
Christian Wehling
b1c1272f35
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.8% (5357 of 5364 strings; 7 fuzzy)
250 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2021-08-10 19:35:05 +02:00
TianXing_Yi
339f66810f
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% (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% (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% (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% (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-10 19:35:05 +02:00
John Ralls
be6fb1abe2
Merge Chris Good's 'bug798205ImpOfx' into maint.
2021-08-07 14:39:57 -07:00
Christopher Lam
bedc85afa3
Merge branch 'maint-leaks' into maint #1101
2021-08-06 19:30:01 +08:00
Christopher Lam
0420ae6a66
[account.cpp] refactor gnc_account_list_name_violations
2021-08-06 17:31:36 +08:00
Christopher Lam
67bd513514
[account.cpp] rewrite gnc_account_foreach_descendant_until in C++
2021-08-06 17:31:36 +08:00
Christopher Lam
17953441cb
[account.cpp] refactor gnc_account_foreach_descendant
2021-08-06 17:31:36 +08:00
Christopher Lam
5698b67bf5
[account.cpp] refactor gnc_account_lookup_by_code
2021-08-06 17:31:36 +08:00
Christopher Lam
09e2e7613c
[account.cpp] refactor gnc_account_lookup_by_name
2021-08-06 17:31:36 +08:00
Christopher Lam
bebc366e88
[account.cpp] refactor gnc_account_n_descendants
2021-08-06 17:31:35 +08:00
John Ralls
f0926d66c1
Merge Simon Arlott's 'qof-instance-dispose' into maint.
2021-08-05 11:45:14 -07:00
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