Commit Graph

25966 Commits

Author SHA1 Message Date
Christopher Lam
d022651f38 Merge branch 'maint-progress2' into maint #1311 2022-04-10 12:04:51 +08:00
Christopher Lam
40d5db43e6 Bug 797163 - qof_book_get_option segfaults when retrieving a non-leaf frame
returns a KvpFrame into a nested list of pairs
returns a KvpValue GLIST into a list
2022-04-10 11:46:12 +08:00
Christopher Lam
0c4d438a0e [kvp-frame.cpp] expose iterator, skip inexistent frame 2022-04-09 17:45:44 +08:00
Christopher Lam
aab33954e7 [gnc-numeric.cpp] Reduce logging level of gnc_numeric exception message
Exceptions are expected in some use cases.
2022-04-09 07:21:15 +08:00
Christopher Lam
ebbf7565c9 Bug 798496 - gncEntry Quantity and Discount are misusing commodity scu 2022-04-09 07:21:12 +08:00
luz paz
8adedc2248 Fix various typos
Found via `codespell -q 3 -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./borrowed,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,ba,cas,dragable,gae,iff,iif,mut,nd,numer,parm,parms,startd,stoll`
2022-04-08 14:12:50 -04:00
Christopher Lam
c8f1caa95f Bug 798493 - Invoice Report Quantity & Unit Price fields have limited decimal precision on printed invoices
use xaccPrintAmount which formats number nicely.
2022-04-08 22:33:05 +08:00
Christopher Lam
6a668df168 [qofutil.h] don't recurse includes 2022-04-08 19:20:40 +08:00
John Ralls
fbaa416cfb Fix gcc compilation errors. 2022-04-07 16:02:27 -07:00
John Ralls
7b1c0509f7 Fix wrong date of beginning of epoch. 2022-04-07 09:34:59 -07:00
Robert Fewell
ae220b86a4 [C++options] Fix Ubuntu test failure. 2022-04-07 14:28:02 +01:00
Robert Fewell
83373563c3 Counter formats stored in wrong place.
The Book Options, counter formats were being stored under the 'options'
tree but need to be stored in the 'counter_format' tree similar to the
'counters' tree.
2022-04-07 10:33:11 +01:00
Kárász Attila
7147e8a6e5
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/glossary/hu.po: 83.3% (180 of 216 strings; 23 fuzzy)
2 failing checks (0.9%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.9% (3018 of 5390 strings; 1396 fuzzy)
527 failing checks (9.7%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.8% (3010 of 5390 strings; 1404 fuzzy)
538 failing checks (9.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-04-07 01:19:31 +02:00
YTX
82634dd3ef
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5389 of 5390 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: YTX <ytx.cash@gmail.com>
2022-04-07 01:19:31 +02:00
ltai0001
50df6b6176
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 74.1% (3996 of 5390 strings; 914 fuzzy)
437 failing checks (8.1%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

po/ar.po: 73.8% (3981 of 5390 strings; 929 fuzzy)
462 failing checks (8.5%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-04-07 01:19:31 +02:00
Christopher Lam
a4b1827793 [gnc-plugin-page-register] use gnc_g_list_stringjoin to store .gcm
for gnc_plugin_page_register_filter_response_cb
2022-04-06 23:06:39 +08:00
Christopher Lam
5ff0bc1b3c [gnc-plugin-page-register] use gnc_g_list_stringjoin to set tooltip
instead of repeated g_free g_strconcat in
gnc_plugin_page_register_set_filter_tooltip
2022-04-06 23:06:39 +08:00
John Ralls
26b009c0f4 Bug 798500 - FTBFS (tests failure) on armhf
Ensure the transition_times are correctly aligned for their sizes
before attempting to copy them into the transitions vector.
2022-04-05 11:45:22 -07:00
Christopher Lam
3125352d5a Bug 798499 - Expense Chart data tables include extra columns of data
Because all-data was shortened when it exceeds the max-sliecs, but
list-of-rows and row-totals were not redefined.

Delay list-of-rows and row-totals until after all-data is pruned.
2022-04-05 22:29:21 +08:00
Geert Janssens
3df7bdf31e Remove icon experiment that accidentally slipped through. 2022-04-03 20:58:40 +02:00
Geert Janssens
04bafdebf0 Redo icon handling in cmake
Using globs for file copying prevents cmake from discovering newly added icons.
Writing rules that explicitly use lists of icons will fix this as a new icon
in the sources will have to be added to the list and will force reparsing by
cmake. We have to maintain the lists anyway for our dist target so there's
actually no extra work involved for the devs.
2022-04-03 19:22:56 +02:00
Christopher Lam
ee8729dfb6 [account.cpp] char* must be freed 2022-04-02 14:14:50 +08:00
Christopher Lam
11458bf8b3 [core-utils.i] Use g_dpgettext2 instead of g_dpgettext
avoids using \004 context and msg separator.

Discussed in dae2ea8356
2022-04-02 10:24:33 +08:00
John Ralls
29bdd9b526 [C++options] Fix Ubuntu test failure. 2022-03-31 13:12:45 -07:00
John Ralls
1fddf70e21 [C++options] Fix previous month and previous quarter at the end of March
.

Because March has more days than February the previous month offset was
getting normalized back to the current month--th 29 February this
year is really 1 March, so normalizing before setting the day caused
begin/end previous month to return the begin/end of the current month.
That probably happened on the 31st of May, July, October, and December
as well, I just hadn't managed to test on those days. Switching the
normalization to after calculating the day of the month broke the
previous quarter calculation because now the month was out of range, so
normalize month & year first.
2022-03-31 12:27:58 -07:00
Avi Markovitz
842c4879a6
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5390 of 5390 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-03-31 14:43:48 +02:00
YTX
b9de15915c
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5389 of 5390 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 99.9% (5389 of 5390 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: YTX <ytx.cash@gmail.com>
2022-03-31 14:43:48 +02:00
ltai0001
e75a2d212f
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 73.6% (3972 of 5390 strings; 936 fuzzy)
472 failing checks (8.7%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

po/glossary/ar.po: 4.6% (10 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ar/

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-03-31 14:43:48 +02:00
Christopher Lam
b6d5cedd32 Merge branch 'maint-after-string-thaw' into maint #1295 2022-03-31 20:18:04 +08:00
John Ralls
abd1a0b3f1 Merge branch 'c++options' 2022-03-29 15:58:22 -07:00
Christopher Lam
73ddaa8c40 Remove deprecated functions
Were resurrected in error 5c7967c4a
2022-03-28 23:02:38 +08:00
John Ralls
9a50be4c5d [QIF import] fix misplaced paren. 2022-03-27 19:45:04 -07:00
John Ralls
be8f798fca Fix wrong GNC-COMMODITY-NS-ISO4217 2022-03-27 09:29:55 -07:00
John Ralls
03cbbd1cd1 Merge branch 'maint' 2022-03-27 06:46:09 -07:00
John Ralls
fa0a10c4cf Release GnuCash 4.10 2022-03-26 15:21:24 -07:00
John Ralls
cb04a2a7d0 [L10N] Update Hungarian translator-credits 2022-03-26 14:55:36 -07:00
ButterflyOfFire
2c4e2350ca
Translation update by ButterflyOfFire <ButterflyOfFire@protonmail.com> using Weblate
po/ar.po: 73.6% (3970 of 5390 strings; 938 fuzzy)
499 failing checks (9.2%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ButterflyOfFire <ButterflyOfFire@protonmail.com> using Weblate

po/fr.po: 99.9% (5389 of 5390 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
2022-03-25 23:20:31 +01:00
154pinkchairs
f88c9db4b5
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/pl.po: 61.7% (3331 of 5390 strings; 1550 fuzzy)
608 failing checks (11.2%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-03-25 23:20:31 +01:00
Kárász Attila
6dab8fc69a
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 55.6% (2999 of 5390 strings; 1415 fuzzy)
552 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-03-25 23:20:31 +01:00
John Ralls
7d94ade599 [python]Remove non-namespace "All non-currency" fom namespace test. 2022-03-25 15:19:57 -07:00
John Ralls
109efe62b8 Rework default non-currency commodity namespace.
Separate the "All noncurrency" convenience category in the commodity
selector and the default non-commodity namespace proposed by the QIF
importer because they have different functions.

Also remove the namespace guessing code from qif-dialog because with
only one default non-currency namespace there's nothing to guess.
2022-03-24 18:10:32 -07:00
Christopher Lam
9cde35aed8 [test-balsheet-pnl] there's a <hr> between income&exp and net-income 2022-03-25 08:58:23 +08:00
Christopher Lam
a3aa93e7e0 [income-statement] single-column doesn't need separate inc/exp tables
disable html-table within html-table for single-column income statement.

Thanks to AdrienM for debugging.

https://lists.gnucash.org/pipermail/gnucash-user/2022-March/100354.html
2022-03-25 08:38:23 +08:00
YTX
150ca997ea
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5388 of 5390 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: YTX <ytx.cash@gmail.com>
2022-03-23 10:56:37 +01:00
Avi Markovitz
9f55086fe6
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5390 of 5390 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-03-23 10:56:37 +01:00
John Ralls
4fe83c3b32 [C++options] Remove GncOptionValue<SCM>.
No longer needed.
2022-03-21 14:08:06 -07:00
Christopher Lam
f4bfd9df3e [account-piecharts] don't use gnc:make-internal-option 2022-03-21 14:03:59 -07:00
John Ralls
278aa484d7 [C++options] Implement new GncOptionValue type GncOptionReportPlacement.
For multicolumn reports so that we don't have to pass Scheme values.
2022-03-21 13:58:50 -07:00
John Ralls
5457d4a9e3 [C++options] Convert account-summary.scm to gnc-register-option.
Just to make sure that it works.
2022-03-21 12:44:52 -07:00
Kárász Attila
88580cf022
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 55.6% (2998 of 5390 strings; 1416 fuzzy)
554 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.5% (2996 of 5390 strings; 1418 fuzzy)
556 failing checks (10.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-03-21 15:56:14 +01:00