Christopher Lam
9642025745
[html-chart] add percent formatter for numbers for older javascript
...
addendum to f99168064
for win32 builds
2022-08-21 17:10:00 +08:00
John Ralls
1b384df622
Bug 798385 - Description to often only "Landesbank Hessen-Thuringen Girozentrale"
...
Prepend the Ulitimate Creditor or Ultimate Debtor to the transaction description.
2022-08-19 12:18:22 -07:00
mocsa
12419e283b
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 58.5% (3163 of 5400 strings; 1303 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-18 18:31:56 +02:00
Christopher Lam
78f3b33b0c
[assistant-stock-transaction] ellipsise memo, add tooltip to summary
...
Tooltip contains the full Memo field.
2022-08-19 00:31:20 +08:00
Christopher Lam
7e1cb7e2fa
[assistant-stock-transaction] prettify the summary split info
...
- set Memo column to expand, otherwise Credit column expands
- Debit & Credit columns are right-aligned and have padding
2022-08-18 23:32:50 +08:00
Christopher Lam
c20d717b33
[test-trial-balance] adjust tests to use pricedb-nearest
2022-08-17 09:25:58 +08:00
Christopher Lam
f71999bb8f
[trial-balance] set default price-source to average-cost
...
to minimise complaints... see bug 798550
2022-08-17 07:36:50 +08:00
Christopher Lam
519818ce04
[import-main-matcher] sort matched transactions' accounts
2022-08-17 07:36:44 +08:00
John Ralls
15ce9be79a
Update macOS dependency tarball instructions for the existence of Apple Silicon.
2022-08-14 16:00:19 -07:00
John Ralls
e9737375a2
Merge branch 'bug798262' into maint
2022-08-14 15:42:13 -07:00
John Ralls
087501d316
Bug 798262 - Scheduled transactions with blank amounts do not get created.
...
Handle template transactions that don't have any splits with empty credit
and debit strings and those having no set transaction account.
Set the concrete transaction commodity to the first found of:
The template transaction's commodity
The commodity of the first split with a credit or debit string
The commodity of the first split.
2022-08-14 15:31:46 -07:00
John Ralls
410db42df0
Test case where the template txn doesn't have a set currency.
2022-08-14 15:28:14 -07:00
Arve Eriksson
1e64f3bb04
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5400 of 5400 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-08-12 22:09:12 +02:00
mocsa
180df505eb
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 58.4% (3156 of 5400 strings; 1308 fuzzy)
459 failing checks (8.5%)
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: 58.0% (3135 of 5400 strings; 1320 fuzzy)
465 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.8% (3126 of 5400 strings; 1322 fuzzy)
465 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.6% (3111 of 5400 strings; 1326 fuzzy)
466 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.6% (3111 of 5400 strings; 1326 fuzzy)
466 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.3% (3098 of 5400 strings; 1332 fuzzy)
466 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.3% (3097 of 5400 strings; 1333 fuzzy)
467 failing checks (8.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-12 22:09:12 +02:00
John Ralls
155922540d
Bug 794584 - Register not updated when scheduled transactions created
...
Force the registers to refresh if there are automaticly created
transactions. That will mean two refreshes if the SLR dialog needs to
display and the user clicks OK, but the alternative is somehow tracking
whether to refresh if the user cancels the dialog. This is simpler and
an extra refresh call is harmless.
2022-08-12 13:05:17 -07:00
John Ralls
229f6f5e85
Fix gdate adjustments.
2022-08-12 12:58:58 -07:00
Simon Arlott
4c1fc1d555
Bug 798262 - Add test case for basic scheduled transactions
...
Test these scheduled transactions:
* 2 splits with fixed amounts "123"
* 2 splits with fixed amounts "0"
* 2 splits with empty amounts ""
Verify that automatically created scheduled transactions exist.
2022-08-11 11:01:03 -07:00
mocsa
2d8bda80c3
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 57.2% (3092 of 5400 strings; 1338 fuzzy)
467 failing checks (8.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-09 00:21:31 +02:00
Christopher Lam
de7a63082b
[gnc-sx-instance-model] leaks: free temporal_state
...
it's a simple struct containing GDate and int
2022-08-08 13:58:53 +08:00
Christopher Lam
ad27be333e
[gnc-sx-instance-model] prepend GList loops instead of append
2022-08-08 13:58:53 +08:00
Christopher Lam
b94164e8ff
[gnc-tree-view-price] prepend GList loops instead of append
2022-08-08 13:58:53 +08:00
Christopher Lam
b4d3d4952d
[gnc-tree-model-split-reg] prepend GList loops instead of append
2022-08-08 13:58:51 +08:00
Christian Wehling
322a5998fb
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
181 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-08-07 03:22:50 +02:00
Enrique Ayesta Perojo
a5c2e4d197
Translation update by Enrique Ayesta Perojo <eayesta@gmail.com> using Weblate
...
po/eu.po: 27.5% (1485 of 5400 strings; 2524 fuzzy)
916 failing checks (16.9%)
Translation: GnuCash/Program (Basque)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/eu/
Co-authored-by: Enrique Ayesta Perojo <eayesta@gmail.com>
2022-08-07 03:22:50 +02:00
Christopher Lam
e822c12f8b
Bug 798590 - Transaction report: wrong type argument in position 1
...
handle single-col subtotals
2022-08-07 09:22:01 +08:00
Christopher Lam
bfa0fd1819
Bug 798588 - sx scrubbing was using incorrect free function
...
the GHashTable values are gnc_numeric*.
2022-08-06 14:39:57 +08:00
Christopher Lam
f0ac8d69b2
[gnc-sx-instance-model.c] indent attributes properly
2022-08-06 14:39:55 +08:00
Christopher Lam
e7e3ed8c2b
[test-charts] add cash-flow to clear warning about missing report
2022-08-06 10:20:16 +08:00
Pedro Albuquerque
2377f7be54
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
...
po/pt.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/
Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2022-08-02 18:47:13 +02:00
Laurent Bigonville
05bbe9fdee
Translation update by Laurent Bigonville <bigon@bigon.be> using Weblate
...
po/fr.po: 99.9% (5398 of 5400 strings; 2 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Laurent Bigonville <bigon@bigon.be>
2022-08-02 18:47:13 +02:00
Simon Arlott
90e49cbb50
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
...
po/en_NZ.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (New Zealand))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_AU.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (Australia))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_GB.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
Co-authored-by: Simon Arlott <weblate.simon@arlott.org>
2022-08-02 18:47:12 +02:00
Christian Wehling
6b60ef4f83
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
181 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/glossary/de.po: 99.5% (215 of 216 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
180 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/glossary/de.po: 99.5% (215 of 216 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
180 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
181 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5399 of 5400 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-08-02 18:47:11 +02:00
Christopher Lam
b70fe1381d
Account tree: set menu sensitivities in only 1 function
2022-08-02 21:10:54 +08:00
Christopher Lam
1b845a86f3
use gtk_entry_get_text instead of gtk_editable_get_chars
...
the former returns a const char* which does not need to be freed.
2022-08-02 19:08:22 +08:00
Christopher Lam
d1aefc851d
[sx-book] free sx_list before g_object_unreffing sxes
2022-08-01 23:43:08 +08:00
Christopher Lam
2443d8faf7
[import-main-matcher] tidy: free GList before going out of scope
...
...instead of in a separate function. This matches c++ RAII behaviour.
2022-07-31 10:25:58 +08:00
Christopher Lam
a43997cc52
[import-main-matcher] pull common add_string into 1 function
2022-07-31 10:06:54 +08:00
Christopher Lam
dc77df352e
[import-main-matcher] add comments, tidier code
2022-07-31 10:06:47 +08:00
John Ralls
688832b5f8
Bug 798585 - segfault running sample script
...
The root cause of which is that on recent releases of GLib (recent
meaning 2.66 in the current Debian stable!) g_type_instance_get_private
looks in the wrong place for the private data. When running the script
in question it returned NULL and since the code didn't check for a valid
pointer, it crashed.
So this change replaces all calls to g_type_instance_get_private with
the function [type_prefix]_get_instance_private() added in glib-2.36
except for two register2 files that have been removed from master; those
are ignored to avoid unnecessary merge conflicts.
2022-07-30 16:50:51 -07:00
Christopher Lam
815eeb496f
[gnc-plugin-page-register] g_slist_free param_list
...
If (reg->type == SEARCH_LEDGER) then the GSList* created by
qof_query_build_param_list would not be freed. This reordering avoids
allocating GSList altogether when not needed.
2022-07-30 23:23:30 +08:00
Christopher Lam
6c70f2c22d
[gnucash-sheet] unref cursor
2022-07-30 23:23:30 +08:00
Christopher Lam
723dee66cb
[gnc-ledger-display] QofQuery destroyed
...
This QofQuery was copied by gnc_ledger_display_internal, therefore its
is no longer in use when out of scope.
2022-07-30 23:23:25 +08:00
Christopher Lam
7bc7737476
[gnc-dense-cal] further GList* and char* leaks
...
- mark->name and mark->info both leaked
- fixing poorly written for loop to g_list_free tags properly
2022-07-30 20:16:51 +08:00
Christopher Lam
accdf9e852
[gnc-dense-cal] leaks in markdata and GTimer
...
- mark->name wasn't correctly freed
- don't unnecessarily allocate GTimer
2022-07-30 13:43:06 +08:00
Christopher Lam
45aac53952
[gnc-split-reg] free tooltip text properly
2022-07-30 13:43:06 +08:00
Christopher Lam
67a1b7a873
[gnc-sx-instance-model] free GHashTable keys when destroying
2022-07-30 13:43:06 +08:00
Christian Wehling
78f7465694
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.9% (5399 of 5400 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-29 17:51:02 +02:00
Avi Markovitz
4906df8ed8
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5400 of 5400 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>
2022-07-29 17:51:02 +02:00
Frank H. Ellenberger
583cd2c9fb
Translation update by Frank H. Ellenberger <frank.h.ellenberger@gmail.com> using Weblate
...
po/de.po: 99.8% (5390 of 5400 strings; 9 fuzzy)
184 failing checks (3.4%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Frank H. Ellenberger <frank.h.ellenberger@gmail.com>
2022-07-29 17:51:01 +02:00
Robert Fewell
09e5c46dfd
Remove some default 'dummy' store entries as not required.
2022-07-29 11:28:55 +01:00