Commit Graph

27454 Commits

Author SHA1 Message Date
John Ralls
4a5b897d89 Bug 798863 - Crash on clicking Settings button second time
Ensure that dialog resources stored in options are freed when the
dialog is destroyed.

The crash happened when a new dialog replaced the old one on the options
and the old one's destructors tried to access a dangling reference to
a GtkWidget.
2023-04-20 20:08:38 -07:00
Christopher Lam
50ff4a3af7 Merge Vincent Dawans branch 'bug798775' #1608 into stable 2023-04-20 09:29:58 +08:00
Christopher Lam
a0f94ecd75 report/test/* untabify/delete-trailing-whitespace 2023-04-20 09:00:39 +08:00
Christopher Lam
7b3702e7e6 reports/standard/* untabify/delete-trailing-whitespace 2023-04-20 09:00:32 +08:00
Christopher Lam
1302c31498 reports/locale-specific/* untabify/delete-trailing-whitespace 2023-04-20 09:00:19 +08:00
Christopher Lam
415438d0d7 reports/example/* untabify/delete-trailing-whitespace 2023-04-20 09:00:04 +08:00
Christopher Lam
8a8960c43a report/* untabify/delete-trailing-whitespace 2023-04-20 08:59:41 +08:00
Vincent Dawans
7751e4d064 Bug 798775 - Why is General Journal called "Register" in the tabs?
Set default report name to General Journal in options to overwrite
default report name from underlying register report.
2023-04-18 18:49:03 -07:00
Christopher Lam
d9ba9a4c83 [dialog-commodity.h] add extern "C"{} 2023-04-18 09:17:39 +08:00
Christopher Lam
bff78f620a Bug 798864 - Budget Reporting on select reports are wrong
net-income must add income and expense accounts. recalculate the
net-income from budget amounts, instead of calculating from
revenue-total and expense-total which were negated for presentation.

this fixes a test which was testing incorrect amounts
2023-04-18 00:25:24 +08:00
Robert Fewell
b1cf200ad0 Bug 798872 - Reload inoperative for reports
Missed a adding the refresh action to the view menu when a report is in
focus.
2023-04-17 14:31:19 +01:00
Christopher Lam
1697e53610 [budget-income-statement.scm] don't allow periods > num-periods 2023-04-16 23:19:22 +08:00
Geert Janssens
4de4132c42 Update another old version reference 2023-04-16 09:30:37 +02:00
Geert Janssens
16c93c807b Update version in README 2023-04-16 08:46:43 +02:00
John Ralls
f4f481fe38 Bug 798812 - crashes after I open a customer report and select…
Edit/Report Options

As a result of auto instead of auto& in a std::visit call which
resulted in a temporary option whose GncOwner* was destroyed before
we could use it.
2023-04-15 13:29:40 -07:00
Robert Fewell
96c8cb738c Bug 798845 - User Config and User Data link broken
On Mac's, the link does not work due to a space in the path like...
file:///Users/<username>/Library/Application Support/GnuCash

Fixed by escaping the path.
2023-04-14 10:17:06 +01:00
Robert Fewell
0c83c74532 Bug 798854 - Softkey 'Save Config' remains dark
The toolbar item 'Save Config' for reports was configured as a toggle
button instead of a normal button, changed.
2023-04-14 10:14:15 +01:00
Robert Fewell
0d84506a5e Bug 798851 - Account Balance 'include subaccounts' not saved
The defaults for the account were removed by mistake in a previous
commit, added them back.
2023-04-12 11:20:32 +01:00
Robert Fewell
cc2aa21d31 Bug 798821 - Crash when running report in window
Caused by a use after free when storing a reference to the
GncMainWindow in a hash table. There is no need to do that so changed.
2023-04-11 12:25:37 +01:00
Robert Fewell
7101fc458b Bug 798834 - CSS-based Stylesheet Help Button not working
Callback for help button was misssing.
2023-04-11 12:08:22 +01:00
John Ralls
e87865209e Update gnucash.pot and merge into po files. 2023-04-10 12:39:42 -07:00
John Ralls
e30a2b4341 Merge latest translations from weblate. 2023-04-10 12:34:59 -07:00
John Ralls
e9859c3f58 Merge Richard Cohen's 'improve-python-version-checking' into stable. 2023-04-10 12:08:21 -07:00
John Ralls
79f630acc1 Merge Arsen Arsenović's 'use-pkg-config-for-guild-guile' into stable. 2023-04-10 11:55:42 -07:00
Milo Ivir
c8ca4b7076
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/glossary/hr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/hr.po: 97.7% (5369 of 5493 strings; 31 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/hr.po: 97.7% (5369 of 5493 strings; 31 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2023-04-10 11:52:03 +02:00
Bora Atıcı
18edd22bd1
Translation update by Bora Atıcı <boratici.acc@gmail.com> using Weblate
po/tr.po: 71.5% (3930 of 5493 strings; 968 fuzzy)
261 failing checks (4.7%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/

Translation update  by Bora Atıcı <boratici.acc@gmail.com> using Weblate

po/glossary/tr.po: 37.0% (80 of 216 strings; 6 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/tr/

Translation update  by Bora Atıcı <boratici.acc@gmail.com> using Weblate

po/tr.po: 70.6% (3882 of 5493 strings; 1014 fuzzy)
308 failing checks (5.6%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/

Translation update  by Bora Atıcı <boratici.acc@gmail.com> using Weblate

po/glossary/tr.po: 31.4% (68 of 216 strings; 3 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/tr/

Co-authored-by: Bora Atıcı <boratici.acc@gmail.com>
2023-04-10 11:52:02 +02:00
Rauno Ots
cdcafc57bc
Translation update by Rauno Ots <rots00@gmail.com> using Weblate
po/et.po: 8.9% (492 of 5493 strings; 153 fuzzy)
56 failing checks (1.0%)
Translation: GnuCash/Program (Estonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/et/

Translation update  by Rauno Ots <rots00@gmail.com> using Weblate

po/et.po: 8.8% (488 of 5493 strings; 153 fuzzy)
56 failing checks (1.0%)
Translation: GnuCash/Program (Estonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/et/

Co-authored-by: Rauno Ots <rots00@gmail.com>
2023-04-10 11:52:02 +02:00
Christian Wehling
c2696753ed
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 95.0% (5219 of 5493 strings; 165 fuzzy)
213 failing checks (3.8%)
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: 94.8% (5209 of 5493 strings; 175 fuzzy)
221 failing checks (4.0%)
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: 94.4% (5186 of 5493 strings; 175 fuzzy)
221 failing checks (4.0%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2023-04-10 11:52:01 +02:00
mocsa
b948e910b9
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 66.9% (3680 of 5493 strings; 691 fuzzy)
28 failing checks (0.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: 66.9% (3677 of 5493 strings; 693 fuzzy)
28 failing checks (0.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: 66.8% (3671 of 5493 strings; 697 fuzzy)
30 failing checks (0.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: 66.7% (3669 of 5493 strings; 699 fuzzy)
30 failing checks (0.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: 66.5% (3658 of 5493 strings; 705 fuzzy)
30 failing checks (0.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: 66.5% (3656 of 5493 strings; 705 fuzzy)
30 failing checks (0.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: 66.5% (3656 of 5493 strings; 705 fuzzy)
30 failing checks (0.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: 66.5% (3656 of 5493 strings; 705 fuzzy)
30 failing checks (0.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: 66.5% (3654 of 5493 strings; 705 fuzzy)
30 failing checks (0.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: 66.4% (3651 of 5493 strings; 708 fuzzy)
30 failing checks (0.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: 66.3% (3645 of 5493 strings; 709 fuzzy)
30 failing checks (0.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: 66.2% (3638 of 5493 strings; 709 fuzzy)
30 failing checks (0.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: 65.6% (3605 of 5493 strings; 715 fuzzy)
33 failing checks (0.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: 65.4% (3596 of 5493 strings; 717 fuzzy)
33 failing checks (0.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: 65.4% (3595 of 5493 strings; 718 fuzzy)
33 failing checks (0.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: 64.3% (3535 of 5493 strings; 780 fuzzy)
66 failing checks (1.2%)
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: 63.0% (3462 of 5493 strings; 871 fuzzy)
99 failing checks (1.8%)
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: 62.4% (3429 of 5493 strings; 909 fuzzy)
125 failing checks (2.2%)
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: 62.1% (3412 of 5493 strings; 928 fuzzy)
131 failing checks (2.3%)
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: 62.1% (3412 of 5493 strings; 928 fuzzy)
131 failing checks (2.3%)
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: 62.0% (3408 of 5493 strings; 932 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-04-10 11:52:00 +02:00
ZdPo Ster
2d288a2320
Translation update by ZdPo Ster <zdposter@gmail.com> using Weblate
po/sk.po: 51.3% (2822 of 5493 strings; 1387 fuzzy)
522 failing checks (9.5%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Co-authored-by: ZdPo Ster <zdposter@gmail.com>
2023-04-10 11:51:59 +02:00
Szia Tomi
9de07f88f3
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 62.0% (3408 of 5493 strings; 932 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-04-10 11:51:59 +02:00
Pedro Albuquerque
6825094c67
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5493 of 5493 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Translation update  by Pedro Albuquerque <pmra@gmx.com> using Weblate

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

Translation update  by Pedro Albuquerque <pmra@gmx.com> using Weblate

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

Translation update  by Pedro Albuquerque <pmra@gmx.com> using Weblate

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

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-04-10 11:51:58 +02:00
YTX
d59988e2a9
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 93.3% (5128 of 5493 strings; 247 fuzzy)
125 failing checks (2.2%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: YTX <ytx.cash@gmail.com>
2023-04-10 11:51:57 +02:00
gallegonovato
6f99bb6e81
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
po/es.po: 100.0% (5493 of 5493 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Translation update  by gallegonovato <fran-carro@hotmail.es> using Weblate

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

Translation update  by gallegonovato <fran-carro@hotmail.es> using Weblate

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

Translation update  by gallegonovato <fran-carro@hotmail.es> using Weblate

po/es.po: 100.0% (5493 of 5493 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-04-10 11:51:56 +02:00
Simon Arlott
016b590da3
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_NZ.po: 100.0% (5493 of 5493 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_GB.po: 100.0% (5493 of 5493 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/

Translation update  by Simon Arlott <weblate.simon@arlott.org> using Weblate

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

Co-authored-by: Simon Arlott <weblate.simon@arlott.org>
2023-04-10 11:51:56 +02:00
John Ralls
2f471e65a7 Bug 798802 - Online Price quote - Stocks not working GNU 5.0 Windows Bis
The previous change of the delimiter between namespace and symbol
is needed in both overloads of GncQuoteImpl::query_fq.

Also log the query json string to ease future troubleshooting.
2023-04-09 15:24:53 -07:00
Arsen Arsenović
8afaeb1869
cmake: Try guile and guild executables from guile-N.N.pc first 2023-04-09 16:04:27 +02:00
Robert Fewell
516c9ed2fe Guard against there being no namespaces in the new security dialog 2023-04-09 11:57:51 +01:00
Robert Fewell
2fff7b6a14 Fix some menu labels that are not marked for translation 2023-04-09 11:57:51 +01:00
Geert Janssens
7271ddd1d6 Bug 798839 - Edit -> Preferences string not translatable
Fix translatable state of _About as well
2023-04-09 12:01:39 +02:00
Christopher Lam
cb5a9acf76 [dialog-payment] plug some GLists leaks
and tidy up
2023-04-08 16:53:19 +08:00
Christopher Lam
5ebb544719 [csv-export-helpers] include header 2023-04-07 23:35:23 +08:00
Christopher Lam
5dc0b8271a [csv-transactions-export] fix category in export with simple layout
If Trading accounts is enabled, and the transaction is a transfer
between two accounts of differing commodities, the CSV simple-layout
export would incorrectly show "--Split Transaction--" as the
category.

This commit changes the algorithm to ignore the trading splits when
determining the other split account, thereby returning a more useful
other account name.
2023-04-07 20:41:19 +08:00
Christopher Lam
229efb52ed [csv-export-helpers] move account_get_fullname_str to support file 2023-04-07 20:41:19 +08:00
Christopher Lam
e5349a8b36 Merge branch 'csv-tree-export-cpp' into stable #1598 2023-04-05 21:37:38 +08:00
Christopher Lam
db085ec457 [csv-transactions-export.cpp] convert to cpp, use fstream
- using std::ofstream
2023-04-05 20:37:12 +08:00
Christopher Lam
cb8cdd1b99 [csv-tree-export.cpp] convert to cpp, use fstream 2023-04-05 20:37:12 +08:00
Christopher Lam
e6352f5497 [csv-export-helpers.cpp] helper function and full test suite 2023-04-05 20:37:12 +08:00
Christopher Lam
5236f33709 Merge branch 'plug-scm-to-utf8-string-leaks' into stable #1599 2023-04-05 08:25:58 +08:00
John Ralls
bc1f5b80c1 Fix crash if gnucash-cli --quotes is passed a bad database name.
cleanup_and_exit_with_failure doesn't exit anymore so we need
to return its error value instead of trying to keep using the
freed session.
2023-04-04 16:46:00 -07:00