Commit Graph

29033 Commits

Author SHA1 Message Date
John Ralls
3dd60e904c Update webkit package for ubuntu-latest. 2024-10-12 09:28:28 -07:00
John Ralls
fef0124e45 Bug 799429 - Crash when changing accounting period end date
Remove the accounting period changed callbacks at GncPluginPage
destruction so that the destroyed page isn't called in the new
session.
2024-10-08 16:48:59 -07:00
John Ralls
c63d2dcf6d Imbalance fraction testing: Check all of the account SCUs too.
An account might have a fixed SCU denominator that's less
than the commodity's denominator and that can also create an
unbalanceable transaction.
2024-10-07 17:11:16 -07:00
John Ralls
7f8d5456c7 Bug 798789 - Trading Accounts
Scrubbing during SQL load can't commit the changes from the scrub
because the backend's m_loading member is true so disable scrubbing
during database load and edit/commit all transactions again after
loading is complete.
2024-10-06 14:09:57 -07:00
Christopher Lam
292adf69d8 Addendum 5c5b627cb1: handle blank split with null account 2024-10-02 05:50:28 +08:00
Christopher Lam
24fdecaca7 Merge branch 'delete-commodity-show-accounts' into stable #2028 2024-10-02 05:02:13 +08:00
John Ralls
a0cea97519 Fix typo in 5c5b627cb1: Failed to negate condition. 2024-10-01 09:42:22 -07:00
Christopher Lam
67919fa1df [dialog-commodities.cpp] when deleting commodity fails, show accounts with commodity 2024-10-01 22:19:24 +08:00
John Ralls
78ef5be7b2 Warn and don't try to balance a transaction with a too-small imbalance.
In a book using trading accounts, if the user sets an account's
minimum fraction to be smaller than the commodity's and makes use of
the extra fraction, GnuCash can't create a correct trading split
because that uses the commodity fraction. Instead of offering to
balance the transaction, put up an error dialog explaing that the
transaction can't be balanced.

Ref Bug 799432 (https://bugs.gnucash.org/show_bug.cgi?id=799423)
2024-09-30 14:13:01 -07:00
John Ralls
5c5b627cb1 Bug 799423 - Crash when creating ETF transaction
Don't keep the old split if it's a trading split. The balance code
regenerates those, invalidating the pointer.
2024-09-30 12:49:52 -07:00
John Ralls
711554ecd5 Merge Yongun Seong's FQ-dump into stable. 2024-09-30 11:14:18 -07:00
Yongun Seong
a7804525b0
[gnc-quotes.cpp] fix quote report 2024-10-01 02:35:34 +09:00
Christopher Lam
18bb96f01c [dialog-commodities.cpp] convert to c++ 2024-09-30 08:09:05 +08:00
Christopher Lam
4b0c3506a0 [assistant-qif-import.c] fix gchar* leak
and text doesn't need to be strdup'd
2024-09-30 07:58:30 +08:00
John Ralls
654b6f7f0b Release GnuCash 5.9 2024-09-28 14:30:16 -07:00
John Ralls
1fe5723b8c Merge latest translations from Weblate into stable. 2024-09-28 14:03:32 -07:00
John Ralls
4f610eb2bc Merge Consta's 'bugfix/797045' into stable. 2024-09-28 13:54:38 -07:00
Simon Arlott
92b2729625
Translation update by Simon Arlott <nomis@users.noreply.hosted.weblate.org> using Weblate
po/en_NZ.po: 100.0% (5584 of 5584 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 <nomis@users.noreply.hosted.weblate.org> using Weblate

po/en_AU.po: 100.0% (5584 of 5584 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 <nomis@users.noreply.hosted.weblate.org>
2024-09-28 22:52:31 +02:00
Szia Tomi
bf502cb38e
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 83.0% (4640 of 5584 strings; 252 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 83.0% (4636 of 5584 strings; 252 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.8% (4626 of 5584 strings; 252 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.7% (4618 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.7% (4618 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.7% (4618 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.6% (4617 of 5584 strings; 257 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

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

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.6% (4617 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.6% (4617 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-28 22:52:31 +02:00
Kanstantin K.
d0b210a6df Bugfix 797045 - Correct error message when connection to database failed
This is to fix the defect https://bugs.gnucash.org/show_bug.cgi?id=797045
Error type chaged to ERR_BACKEND_CANT_CONNECT in gnc-backend-dbi.cpp when connection to database failed
2024-09-28 09:36:43 +02:00
John Ralls
6aeca0040e Bug 799419 - Intermittent quote price issue
Track quote source in Finance::Quote return json so that duplicate symbols in
different namespaces can be kept separate.
2024-09-26 17:55:39 -07:00
John Ralls
e0f26f60c4 Set CMake Policy CMP0167 to OLD.
NEW disables Cmake's FindBoost in favor of Boost's built-in
BoostConfig.cmake introduced in Boost 1.70.
2024-09-26 10:21:07 -07:00
Andi Chandler
ee80586193
Translation update by Andi Chandler <andi@gowling.com> using Weblate
po/en_GB.po: 100.0% (5584 of 5584 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/

Co-authored-by: Andi Chandler <andi@gowling.com>
2024-09-24 23:35:16 +02:00
Stephan Paternotte
85bbc29c3a
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 100.0% (5584 of 5584 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2024-09-24 23:35:16 +02:00
Jose Delvani
e3ec341021
Translation update by Jose Delvani <jsdelvani@users.noreply.hosted.weblate.org> using Weblate
po/pt_BR.po: 100.0% (5584 of 5584 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Jose Delvani <jsdelvani@users.noreply.hosted.weblate.org>
2024-09-24 23:35:16 +02:00
Szia Tomi
069260e2ce
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.6% (4616 of 5584 strings; 257 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.6% (4615 of 5584 strings; 258 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.6% (4615 of 5584 strings; 258 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.5% (4612 of 5584 strings; 261 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.5% (4607 of 5584 strings; 262 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.4% (4605 of 5584 strings; 263 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-24 23:35:15 +02:00
gallegonovato
5f6ac6784e
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
po/es.po: 100.0% (5584 of 5584 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/es.po: 100.0% (5584 of 5584 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/es.po: 100.0% (5584 of 5584 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/es.po: 99.9% (5581 of 5584 strings; 3 fuzzy)
4 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>
2024-09-24 23:35:15 +02:00
Francisco Serrador
2bfc8882c0
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
po/es.po: 100.0% (5584 of 5584 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 Francisco Serrador <fserrador@gmail.com> using Weblate

po/es.po: 100.0% (5584 of 5584 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 Francisco Serrador <fserrador@gmail.com> using Weblate

po/es.po: 99.9% (5581 of 5584 strings; 3 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Francisco Serrador <fserrador@gmail.com>
2024-09-24 23:35:15 +02:00
John Ralls
7b34971c87 Gnc-options-date: Make the accounting period struct tm empty...
If the accounting period start-choice is anything but absolute instead
of matching the accounting period month and day to the present month and
day. The latter is a non-obvious hack that depends on
gnc_accounting_period_fiscal_start() returning the present day if it's
not set.
2024-09-22 16:15:52 -07:00
John Ralls
c584337c3a Bug 799395 - relative date offset quarters occasionally wrong
If the accounting period start month and the present month are the
same the present month would be offset by 3. Don't do that.
2024-09-22 16:12:54 -07:00
John Ralls
63714e5e93 I18N: Merge updated potfile for string freeze before GnuCash 5.9 release. 2024-09-22 14:38:49 -07:00
John Ralls
eef9fb8d6e Merge latest translations from weblate. 2024-09-22 14:28:56 -07:00
Szia Tomi
809a12a2c4
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.4% (4603 of 5581 strings; 263 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-22 21:15:48 +02:00
Szia Tomi
b145bc4a47
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.4% (4603 of 5581 strings; 263 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.4% (4599 of 5581 strings; 263 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.3% (4597 of 5581 strings; 265 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.3% (4596 of 5581 strings; 266 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.2% (4592 of 5581 strings; 268 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.2% (4590 of 5581 strings; 270 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-21 23:40:57 +02:00
Stephan Paternotte
d722d00356
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 100.0% (5581 of 5581 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2024-09-21 23:40:55 +02:00
John Ralls
6ba1adbfdf Merge John Ralls's 'financeapi' into stable. 2024-09-21 10:05:33 -07:00
John Ralls
9c9ad7c271 Replace GncFQQuoteSource api-key members with a bp::environment one. 2024-09-21 10:04:58 -07:00
John Ralls
e4d2443cf4 Merge Bob Fewell's 'cutpaste' into stable. 2024-09-21 09:57:49 -07:00
Robert Fewell
35cd037326 Bug 798568 - Transaction Copy/Paste problem
When transactions are copied and pasted to the blank transaction on a
register in basic view the wrong split values are displayed. This is
due to the blank split being used for the wrong side of the transaction.

To fix this, record the copied anchor split index and use that to
reference the blank split when the transaction is pasted.
2024-09-21 15:33:56 +01:00
Robert Fewell
521b9747e0 Move copied_class and copied_leader_guid
Move static copied_class and static copied_leader_guid to be part of
the copied_item structure. This makes it more evident that calling
clear_copied_item needs to be called before copied_item is used.
2024-09-21 13:19:42 +01:00
John Ralls
a23506c88a Add YH Finance (FINANCEAPI) API Key to Quotes infrastructure.
And add financeapi to known sources.
2024-09-19 13:25:59 -07:00
Wellington Terumi Uemura
60e7497e66
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5581 of 5581 strings; 0 fuzzy)
0 failing checks (0.0%)
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>
2024-09-16 02:09:21 +02:00
John Ralls
19e6f7e1a3 I18N: Merge gnucash.pot update for GnuCash 5.9 release. 2024-09-15 14:52:46 -07:00
John Ralls
e2be081dbd Merge latest translations from Weblate. 2024-09-15 14:23:19 -07:00
Robert Fewell
69dac5c1a7 Bug 799391 - Transaction Cut/Paste doesn't move the transaction to the target account
Move the clearing of the 'copied_item' to before the setting of the
'copied_leader_guid'. This change is required due to a recent change to
include resetting 'copied_leader_guid' in the 'clear_copied_item'
function.
2024-09-15 10:43:43 +01:00
Henrique Oliveira
6cdc4ee9f4
Translation update by Henrique Oliveira <ho.henrique@proton.me> using Weblate
po/glossary/pt.po: 100.0% (213 of 213 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt/

Co-authored-by: Henrique Oliveira <ho.henrique@proton.me>
2024-09-15 01:09:20 +02:00
Szia Tomi
127184bd3d
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.2% (4591 of 5581 strings; 269 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-15 01:09:19 +02:00
Christopher Lam
ab641b31f8 [gnc-datetime] improve CSV date parser with ICU and boost
1. Add dateformat "Locale" with ICU; uses current locale for date
   parsing. ICU's locale date parser may parse "3 May 2023" or
   "2024年9月13日" (LC_TIME=zh_TW.utf8) and maybe others.

2. Augment d-m-y m-d-y and y-m-d with boost UK/US/ISO parsers. This allows
   CSV import of dates with months as words as "30 Sep 2023" or
   "May 4, 1978" or "2023-Dec-25". Note boost parser cannot recognise
   2-digit years, therefore "30 Sep 24" is invalid.
2024-09-14 10:13:52 +08:00
Morten Cools
c7b55d4fb0
Translation update by Morten Cools <morten@cools.no> using Weblate
po/nb.po: 86.0% (4805 of 5581 strings; 770 fuzzy)
57 failing checks (1.0%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Morten Cools <morten@cools.no>
2024-09-12 15:09:19 +02:00
Szia Tomi
c66e554b46
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.2% (4590 of 5581 strings; 269 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.2% (4590 of 5581 strings; 269 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 82.2% (4590 of 5581 strings; 269 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-09-12 15:09:18 +02:00