John Ralls
d60d5c30d2
Bug 798177 - Price of new stock transactions not saved in price database
...
Add call to xaccTransRecordPrice after every call to xaccTransCommitEdit
in gnc_split_register_save.
2021-04-26 12:13:53 -07:00
John Ralls
6bb4faac58
Bug 795804 - Extremely slow save
...
Only update the status bar when the percentage changes by at least 1%
because running the mainloop is expensive on macOS and Microsoft
Windows. This speeds up all operations that run the progress bar with
overly-fine resolution.
2021-04-26 12:13:53 -07:00
Giuseppe Foti
2392bc2442
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
...
po/it.po: 99.7% (5466 of 5479 strings; 10 fuzzy)
5 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>
2021-04-26 10:32:03 +02:00
Frank H. Ellenberger
42a41c792d
I18N: Another improvement of price source list
2021-04-26 03:57:13 +02:00
Guille Lopez
58abf252a3
Translation update by Guille Lopez <willelopz@gmail.com> using Weblate
...
po/es.po: 94.7% (5193 of 5479 strings; 242 fuzzy)
83 failing checks (1.5%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: Guille Lopez <willelopz@gmail.com>
2021-04-26 01:16:43 +02:00
Christopher Lam
ae7eb9b3ad
[gnc-pricedb] extract common code into get_nearest_price
...
Extracts common code in:
* gnc_pricedb_get_nearest_before_price
* gnc_pricedb_get_nearest_price
* gnc_pricedb_get_latest_price
2021-04-26 07:16:25 +08:00
Christopher Lam
a2f5223148
[gnc-pricedb] use g_list_find and plug memory leak
...
found_coms was not being freed.
2021-04-26 07:16:25 +08:00
Christopher Lam
a37060c95d
ignore .vscode folder
2021-04-26 07:16:25 +08:00
Frank H. Ellenberger
973a0bb708
Reorder and relabel price source list for better coherence
2021-04-25 22:08:34 +02:00
TianXing_Yi
b168de77af
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
...
po/zh_CN.po: 58.4% (3200 of 5479 strings; 1579 fuzzy)
627 failing checks (11.4%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 58.3% (3196 of 5479 strings; 1582 fuzzy)
627 failing checks (11.4%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-25 21:06:05 +02:00
Frank H. Ellenberger
a4fd8e8b3b
I18N: Unify period labels; quote terms in a tooltip
2021-04-25 20:44:32 +02:00
Milo Ivir
1b57c297af
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 99.9% (5478 of 5479 strings; 0 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>
2021-04-25 00:59:34 +02:00
TianXing_Yi
6103723d69
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
...
po/zh_CN.po: 58.1% (3186 of 5479 strings; 1589 fuzzy)
629 failing checks (11.4%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 57.9% (3177 of 5479 strings; 1595 fuzzy)
631 failing checks (11.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-25 00:59:34 +02:00
Anonymous
46582a66a4
Translation update by Anonymous <noreply@weblate.org> using Weblate
...
po/glossary/fr.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fr/
Co-authored-by: Anonymous <noreply@weblate.org>
2021-04-25 00:59:34 +02:00
Thomas Jungers
2e78ffdc8b
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
...
po/glossary/fr.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fr/
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 74.7% (4096 of 5479 strings; 982 fuzzy)
484 failing checks (8.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 73.8% (4046 of 5479 strings; 985 fuzzy)
485 failing checks (8.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-25 00:59:34 +02:00
Christopher Lam
be1c67e593
Translation update by Christopher Lam <christopher.lck@gmail.com> using Weblate
...
po/fr.po: 73.8% (4046 of 5479 strings; 985 fuzzy)
485 failing checks (8.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Christopher Lam <christopher.lck@gmail.com>
2021-04-25 00:59:33 +02:00
Thomas Jungers
9ec6e58c86
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
...
po/fr.po: 73.8% (4046 of 5479 strings; 985 fuzzy)
485 failing checks (8.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-25 00:59:33 +02:00
Christopher Lam
92521c8623
Translation update by Christopher Lam <christopher.lck@gmail.com> using Weblate
...
po/fr.po: 73.8% (4046 of 5479 strings; 985 fuzzy)
485 failing checks (8.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Christopher Lam <christopher.lck@gmail.com>
2021-04-25 00:59:33 +02:00
John Ralls
ed486a58a4
Fix duplicate trading accounts.
...
In many cases GnuCash would create a new trading account hierarchy
when one already existed because gnc_account_lookup_by_type_and_commodity
didn't check the account presented and didn't recurse down the
account hierarchy correctly.
2021-04-24 15:51:32 -07:00
John Ralls
2258e7a44e
xaccAccountTypes was backwards
...
vs. the documentation. The unit tests and dialog-account were similarly
backwards, but the use in gnucash/import-export/ofx followed the docs.
2021-04-24 15:51:32 -07:00
Christopher Lam
2e7fcad833
[balsheet-pnl] simplify code
...
inline single-use functions
2021-04-24 11:23:53 +08:00
Christopher Lam
66f228440b
Remove more multichoice tooltips missed in #917
2021-04-24 11:23:53 +08:00
TianXing_Yi
92dac8284c
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
...
po/zh_CN.po: 57.6% (3156 of 5479 strings; 1605 fuzzy)
635 failing checks (11.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 57.5% (3155 of 5479 strings; 1606 fuzzy)
635 failing checks (11.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/glossary/zh_CN.po: 100.0% (214 of 214 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/
Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-23 21:32:06 +02:00
Sean Guan
d547c3a53e
Translation update by Sean Guan <guanshangkang@gmail.com> using Weblate
...
po/zh_CN.po: 57.2% (3134 of 5479 strings; 1625 fuzzy)
635 failing checks (11.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: Sean Guan <guanshangkang@gmail.com>
2021-04-23 21:32:05 +02:00
Thomas Jungers
09d176cebf
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
...
po/fr.po: 70.5% (3868 of 5479 strings; 1130 fuzzy)
687 failing checks (12.5%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/glossary/fr.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fr/
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 70.1% (3845 of 5479 strings; 1151 fuzzy)
694 failing checks (12.6%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-23 21:32:05 +02:00
Christopher Lam
2ba930713a
Add new price source - 'nearest before report date'
...
Add new price source - 'nearest before report date' will ignore
prices *after* report date. Will be useful to fix bug 743753.
2021-04-23 21:47:28 +08:00
Christopher Lam
5957b3c256
Add scheme backward compatibility functions renamed in #979
2021-04-23 21:20:42 +08:00
John Ralls
49102c7ac2
Python Bindings: Provide a deprecated GncPriceDB.lookup_latest_before_t64.
...
To avoid breaking user scripts.
2021-04-23 11:56:15 +01:00
Robert Fewell
87285f945e
Update gnucash_core.py with gnc-pricedb function name change
2021-04-23 11:56:15 +01:00
Robert Fewell
e535ba5411
Change some functions to use const gnc_commodity for gnc_pricedb
2021-04-23 11:56:15 +01:00
Robert Fewell
e75308e684
Rename a couple of gnc-pricedb functions that have not been used.
...
To be more consistent change gnc_pricedb_lookup_latest_before_t64 and
gnc_pricedb_lookup_latest_before_any_currency_t64 to be of the form
'_nearest_before_' and add a missing utest.
2021-04-23 11:56:15 +01:00
Robert Fewell
d3bd7fda61
Add unit tests for new gnc-pricedb functions
2021-04-23 11:56:15 +01:00
Robert Fewell
4a491f7cde
Change a couple of docbook definitions in gnc-pricdb.h
2021-04-23 11:56:15 +01:00
Robert Fewell
05507008c5
Add retrieval functions for price before the date given
...
Add a new function, gnc_pricedb_convert_balance_nearest_before_price_t64
that retrieves the balance using the last price dated before a
specified date like today for the preset value. This uses another new
function gnc_pricedb_get_nearest_before_price to do the retrieval.
2021-04-23 11:56:15 +01:00
Robert Fewell
b54c30e03d
Bug 798148 - Chart of Accounts page Present(xxx) value wrong
...
If for some reason you have price information in the future for a
security, the present value is based on the price retrieved for the
greatest date and not a price which is before the current date.
To fix this use the 'xaccAccountGetBalanceAsOfDateInCurrencyRecursive'
function.
2021-04-23 11:56:15 +01:00
Thomas Jungers
ab80a0c495
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
...
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-22 11:32:02 +02:00
TwoEightNine
3974584b59
Translation update by TwoEightNine <twoeightnine@list.ru> using Weblate
...
po/glossary/ru.po: 73.0% (152 of 208 strings; 28 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ru/
Co-authored-by: TwoEightNine <twoeightnine@list.ru>
2021-04-22 01:21:35 +02:00
Frank H. Ellenberger
8429fd6e7a
I18N: Minor enhancements on translator comments
2021-04-22 01:16:36 +02:00
Frank H. Ellenberger
77ddb525d2
L10N:ca: update to last msgmerge
2021-04-22 01:15:45 +02:00
Frank H. Ellenberger
5966bae42b
L10N:ca: Update from TP
2021-04-21 18:40:56 +02:00
TianXing_Yi
d822a0a082
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
...
po/zh_CN.po: 56.7% (3110 of 5479 strings; 1641 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/glossary/zh_CN.po: 100.0% (214 of 214 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-20 20:05:04 +02:00
Boyuan Yang
76919207b3
Translation update by Boyuan Yang <073plan@gmail.com> using Weblate
...
po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: Boyuan Yang <073plan@gmail.com>
2021-04-20 20:05:04 +02:00
TianXing_Yi
4f0b28351b
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
...
po/zh_CN.po: 56.5% (3099 of 5479 strings; 1647 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-20 20:05:04 +02:00
Avi Markovitz
cc5dbba194
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5479 of 5479 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>
2021-04-20 20:05:04 +02:00
Thomas Jungers
740cc85afa
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
...
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-20 20:05:04 +02:00
Pascal HUE
370bf8d9bb
Translation update by Pascal HUE <pascal.hue35@gmail.com> using Weblate
...
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Pascal HUE <pascal.hue35@gmail.com>
2021-04-20 20:05:04 +02:00
Diego Marin
d450cf9ff3
Translation update by Diego Marin <alterne@gmail.com> using Weblate
...
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Diego Marin <alterne@gmail.com>
2021-04-20 20:05:04 +02:00
Wellington Terumi Uemura
e014408a2a
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/pt_BR.po: 100.0% (5479 of 5479 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 99.7% (5466 of 5479 strings; 10 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-04-20 20:05:04 +02:00
Frank H. Ellenberger
ea6894ab50
Translation update by Frank H. Ellenberger <frank.h.ellenberger@gmail.com> using Weblate
...
po/de.po: 99.6% (5462 of 5479 strings; 14 fuzzy)
325 failing checks (5.9%)
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>
2021-04-20 20:05:04 +02:00
John Ralls
bbb4113a5a
Bug 798156 - glib 2.68.0 breaks gnucash
...
Move all of the #include <glib> to before the extern "C" blocks
so that the include guards will protect against headers inside
the extern "C" block also including glib.h.
2021-04-20 11:03:23 -07:00