Commit Graph

25456 Commits

Author SHA1 Message Date
Christopher Lam
de49a7e370 Merge branch 'maint-account-cpp' breadthwise search into maint #1319 2022-04-16 07:44:29 +08:00
Christopher Lam
e1d52963ed [account.cpp] restore breadth-first search for 2 functions
gnc_account_lookup_by_name and gnc_account_lookup_by_code were
searching breadth-first and accidentally changed to depth-first in
4.7.

as reported in https://github.com/Gnucash/gnucash/pull/1101#issuecomment-1098146573
2022-04-15 23:35:38 +08:00
Christopher Lam
07a9494d8d Merge branch 'maint-progress1' into maint #1306
export and use gnc_accounts_and_all_descendants
2022-04-15 12:27:31 +08:00
Christopher Lam
560f31250e [reports] use new function names
gnc:accounts-and-all-descendants-sorted
gnc-accounts-and-all-descendants
2022-04-15 12:23:57 +08:00
Christopher Lam
d2ad1aa35d [html-acct-table] deprecate gnc:account-path-less-p 2022-04-15 11:48:38 +08:00
Christopher Lam
7cf3a5d93d [report-utilities.scm] deprecate gnc:accounts-and-all-descendants 2022-04-15 11:48:38 +08:00
Christopher Lam
fae7ea02cd [account.cpp] gnc_accounts_and_all_descendants converted from scm
much more efficient than guile algorithm, avoids numerous repeated
GList<->SCM conversions, and traversals of account descendants.
2022-04-14 21:51:14 +08:00
154pinkchairs
07fbcc0e9e
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/glossary/pl.po: 97.2% (210 of 216 strings; 2 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pl/

Translation update  by 154pinkchairs <ovehis@riseup.net> using Weblate

po/pl.po: 62.1% (3352 of 5390 strings; 1529 fuzzy)
586 failing checks (10.8%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by 154pinkchairs <ovehis@riseup.net> using Weblate

po/pl.po: 62.1% (3350 of 5390 strings; 1531 fuzzy)
587 failing checks (10.8%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-04-13 21:11:11 +02:00
Frank H. Ellenberger
6ccd7741ca Drop duplicate 'en_US.UTF-8 UTF-8' from archlinux-test
https://lists.gnucash.org/logs/2022/04/12.html#T19:11:57
2022-04-13 03:03:07 +02:00
John Ralls
022d2b08e2 [CI]Work around new git security measure. This one works. 2022-04-12 16:10:58 -07:00
John Ralls
baffae88f8 [CI]Work around new git security measure. 2022-04-12 15:49:22 -07:00
Cow
7bb576d25c
Translation update by Cow <javier.fserrador@gmail.com> using Weblate
po/es.po: 100.0% (5390 of 5390 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Cow <javier.fserrador@gmail.com>
2022-04-12 21:10:41 +02:00
154pinkchairs
677b585d20
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/pl.po: 62.1% (3348 of 5390 strings; 1533 fuzzy)
591 failing checks (10.9%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-04-12 04:10:23 +02:00
Frank H. Ellenberger
2298590316 Merge PR #1309 into maint 2022-04-12 00:20:11 +02:00
ltai0001
4e5932ac92
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 74.4% (4012 of 5390 strings; 898 fuzzy)
424 failing checks (7.8%)
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: 74.4% (4011 of 5390 strings; 899 fuzzy)
426 failing checks (7.9%)
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: 74.1% (3997 of 5390 strings; 913 fuzzy)
430 failing checks (7.9%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-04-11 03:43:21 +02:00
Christopher Lam
1420368b5b [balsheet-pnl] faster definition of balance lists
because the accounts and accounts-cols-data have direct 1-to-1
mapping, it is not necessary to map accounts and retrieve from
accounts-cols-data. mapping from accounts-cols-data produces
identical results, avoiding O(N^2) access from accounts-cols-data.
2022-04-11 09:36:52 +08:00
Christopher Lam
736d223198 Merge branch 'maint-progress3' into maint #1312 2022-04-10 12:05:08 +08:00
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
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
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
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
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