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
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
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
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
Christopher Lam
4a75baa4c6
[gnc-xml-backend.cpp] gchar* must be freed after use.
...
It is used as a constructor for std::string which makes a copy but
doesn't take ownership.
2022-03-21 07:26:45 +08:00
John Ralls
7fbbd6e745
Merge Christoph Holterman's 'python-gnc-numeric' into maint.
2022-03-20 12:26:42 -07:00
Christoph Holtermann
6a015c8744
make GncNumeric.invert() return GncNumeric
2022-03-20 20:04:56 +01:00
Christoph Holtermann
567df27cc7
Implement some comparisons and arithmetics for GncNumeric
...
Derive some numeric comparisons and arithmetics from Fraction
class
https://github.com/python/cpython/blob/3.7/Lib/fractions.py
and general information from
https://docs.python.org/3/library/numbers.html#numbers.Integral
These methods are bound closer to the gnucash-C-api than those
from the fraction class.
This is not the full set of comparisons and arithmetics, needs
to be extended. It would be good to extend tests to cover this.
2022-03-20 20:04:44 +01:00
YTX
859b57203c
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-20 15:55:57 +01:00
Petter Reinholdtsen
67d58cf3d2
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
...
po/glossary/nb.po: 94.4% (204 of 216 strings; 5 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nb_NO/
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
po/nb.po: 53.5% (2886 of 5390 strings; 1638 fuzzy)
397 failing checks (7.3%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
po/glossary/nb.po: 93.9% (203 of 216 strings; 6 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nb_NO/
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
po/nb.po: 53.5% (2885 of 5390 strings; 1638 fuzzy)
397 failing checks (7.3%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2022-03-20 15:55:56 +01:00
Giuseppe Foti
6dd826b65d
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
...
po/it.po: 100.0% (5390 of 5390 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/
Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2022-03-20 15:55:56 +01:00
Kárász Attila
56e08fd95a
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
...
po/glossary/hu.po: 81.4% (176 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.5% (2994 of 5390 strings; 1420 fuzzy)
561 failing checks (10.4%)
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-20 15:55:55 +01:00
Christopher Lam
cf1282501e
Use original guile variable names changed in #1073
...
The changes 09296dfb96
, 1373233cd0
and 189db58e6
had caused
inconsistencies. Best restore original guile variable names using
underscore, bound to strings instead of functions returning strings.
2022-03-20 12:38:09 +08:00
Christopher Lam
189db58e69
Fix typo in guile variable names in 1373233cd
2022-03-20 12:08:41 +08:00
Christopher Lam
5993ebf4d4
Merge branch 'maint'
2022-03-18 20:37:07 +08:00
Christopher Lam
5388cc8e2c
[kvp-frame.cpp] minor speedups
...
reserve vector, cache iterator from m_valuemap.find for reuse
immediately afterwards.
2022-03-18 16:29:13 +08:00
Christopher Lam
e0db8790af
[reconcile-view.c] prepend & reverse
2022-03-17 07:23:58 +08:00
Christopher Lam
4eec093acc
use gtk_tree_view_get_n_columns
...
instead of g_list_length (gtk_tree_view_get_columns (tree))
2022-03-16 21:45:00 +08:00
Christopher Lam
4bb16f03a5
[gnc-plugin-budget] remove logger when closing budget
...
leftover of debugging session
2022-03-16 07:38:30 +08:00
John Ralls
30e6c8ab11
[gnc-optiondb.i]Explicitly include array.
...
Xcode-13.3 errors without it.
2022-03-15 16:16:50 -07:00
Tomáš Václavík
a50469ff2a
Translation update by Tomáš Václavík <t3vaclavik@gmail.com> using Weblate
...
po/cs.po: 44.2% (2383 of 5390 strings; 1914 fuzzy)
640 failing checks (11.8%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Co-authored-by: Tomáš Václavík <t3vaclavik@gmail.com>
2022-03-15 00:55:36 +01:00
Christian Wehling
9345679627
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.9% (5385 of 5390 strings; 5 fuzzy)
214 failing checks (3.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2022-03-15 00:55:35 +01:00
Zdenko Podobný
3b7a6fa81d
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
...
po/sk.po: 55.4% (2988 of 5390 strings; 1213 fuzzy)
450 failing checks (8.3%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 54.7% (2949 of 5390 strings; 1246 fuzzy)
456 failing checks (8.4%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2022-03-15 00:55:35 +01:00
Pedro Albuquerque
3ff0cb2297
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
...
po/pt.po: 100.0% (5390 of 5390 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>
2022-03-15 00:55:34 +01:00
John Ralls
572cb6b1d1
Banish gnc_get_optiondb_from_dispatcher to gnc-report.cpp.
...
Puts it closer to its points of use and removes it with its Scheme
dependency from libgnucash.
2022-03-14 10:32:08 -07:00
John Ralls
4f956844f3
Merge Chris Lam's 'budget-sensitive-readonly' into maint.
2022-03-14 09:39:00 -07:00
John Ralls
d55eee556d
Merge Simon Arlott's 'temporary-cut-txn-warning' into maint.
2022-03-14 09:32:55 -07:00
John Ralls
e63baa6270
Merge Bob Fewell's 'rtl' into maint.
2022-03-14 09:25:42 -07:00
Robert Fewell
6fa3c9e5d9
Invoice status bar currencies not displayed correctly for Hebrew
...
When Gnucash is run in Hebrew which is a RTL language, on the invoice
pages the status bar currencies are not displayed correctly...
To fix this, when creating the displayed monetary amount insert a BiDi
ltr isolate uni-character at the start of the string.
2022-03-14 10:05:54 +00:00
Robert Fewell
9987928638
Register status bar currencies not displayed correctly for Hebrew
...
When Gnucash is run in Hebrew which is a RTL language, on the register
pages the status bar currencies are not displayed correctly...
To fix this, when creating the displayed monetary amount insert a BiDi
ltr isolate uni-character at the start of the string.
2022-03-14 10:05:54 +00:00
Robert Fewell
c84d82e3e9
Summary bar currencies not displayed correctly for Hebrew
...
When Gnucash is run in Hebrew which is a RTL language, on the accounts
page the summary bar currencies are not displayed correctly...
To fix this, when creating the displayed monetary amount insert a BiDi
ltr isolate uni-character at the start of the string.
2022-03-14 10:05:54 +00:00