Commit Graph

29068 Commits

Author SHA1 Message Date
Christopher Lam
c02152b34a [Account.hpp] xaccAccountGetSplits returns a reference to vector 2024-10-27 16:14:17 +08:00
John Ralls
6cabb5d884 Revisit Bug 799308.
Existing files/databases obviously should still be loaded. What's
changed is that databases no longer need to be loaded to force creation,
they do that on their own.
2024-10-26 17:59:25 -07:00
Martin LORANG
70c83323f7
Translation update by Martin LORANG <wablate@lorang.net> using Weblate
po/fr.po: 99.8% (5576 of 5584 strings; 8 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Translation update  by Martin LORANG <wablate@lorang.net> using Weblate

po/fr.po: 99.6% (5567 of 5584 strings; 17 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Martin LORANG <wablate@lorang.net>
2024-10-21 17:15:45 +02:00
Szia Tomi
2c58526f70
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 83.1% (4641 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.1% (4641 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% (4639 of 5584 strings; 252 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-10-21 17:15:42 +02:00
Yaron Shahrabani
03f6b40d3e
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 96.0% (5364 of 5584 strings; 136 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2024-10-21 17:15:40 +02:00
Robert Fewell
6912c49ae0 Errors in trace file if account deleted with open register
If an account is deleted with an open register there are multiple
errors in trace file due to the register plugin page event handler
trying to update the notebook tab contents.

Add a test for the ledger display leader being not NULL before trying
to update the tab contents.
2024-10-21 12:23:07 +01:00
Robert Fewell
29ec4257db Error in trace file suspend counter not zero
When importing from OFX, an error can be seen in the trace file when
gnc_gui_refresh_all is called when refresh is suspended. Add a check
for refresh being suspended before calling for a refresh.
2024-10-21 12:21:54 +01:00
Robert Fewell
30886f70e6 Bug 799433 - Right-click issue in import window
When you right click a transaction in the import window, the popup menu
should act on that transaction but instead works on the currently
highlighted transaction. Added check to see if current path is selected.
2024-10-21 12:20:55 +01:00
Robert Fewell
469a1278c0 Bug 799435 - Right-click issue in reconcile window
If another transaction(s) is(are) already selected, right-click will
add to the selection rather than select the new transaction and bring
up the right-click menu. Added check to see if current path is selected.
2024-10-21 12:17:19 +01:00
Robert Fewell
e63210f1b4 Realign source file split-register-control.cpp for spaces 2024-10-21 11:33:33 +01:00
Robert Fewell
ae8bb62dc5 Bug 799430 - Type-Ahead feature lost account setting functionality
When using split autocomplete, the transfer account was not being set
due to a change in xaccSplitGetSharePrice in 4.10 that return 0 instead
of 1 when there is no price so reflect this change in the following
function gnc_find_split_in_trans_by_memo
2024-10-21 11:33:33 +01:00
Szia Tomi
3d0e65bb7f
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 83.0% (4639 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% (4638 of 5584 strings; 253 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-10-19 00:15:48 +02:00
Wellington Terumi Uemura
a482d60bf8
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> 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: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2024-10-19 00:15:46 +02:00
Simon Arlott
2e64366780
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/

Translation update  by Simon Arlott <nomis@users.noreply.hosted.weblate.org> 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: Simon Arlott <nomis@users.noreply.hosted.weblate.org>
2024-10-19 00:15:44 +02:00
Christopher Lam
f2f5e2c52d Merge branch 'better-c++' into stable #1965 2024-10-18 18:03:31 +08:00
Arve Eriksson
5b7d951e4e
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5584 of 5584 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2024-10-18 02:15:56 +00:00
Wellington Terumi Uemura
f7035668b3
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 99.9% (5583 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: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2024-10-18 02:15:55 +00:00
Stephan Paternotte
b834721f10
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-10-18 02:15:54 +00:00
gallegonovato
0d4165eaa2
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/

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-10-18 02:15:53 +00:00
Christopher Lam
10857219ab [Account.cpp] refactor acc->balance_limit getters/setters 2024-10-18 08:35:26 +08:00
Christopher Lam
63deaad249 [Account.cpp] use newer qof_instance_get|set_path_kvp
which do not require GValue dance

small modification of xaccAccountSetLastNum behaviour with
empty-string last_num
2024-10-18 08:35:26 +08:00
Christopher Lam
c0b2b761e9 [qofinstance.cpp] GValue on stack instead of heap 2024-10-18 08:35:26 +08:00
Christopher Lam
a26a6c4a6f [qofinstance.cpp] add overloaded qof_instance_set|get_path_kvp
these overloaded functions to kvp slots do not require GValue
2024-10-18 08:35:25 +08:00
Frank H. Ellenberger
f56c9d1fdf I18N: msgmerge 2024-10-17 18:29:07 +02:00
Frank H. Ellenberger
e173b9ba43 Unify alphavanzage tooltip 2024-10-17 18:12:00 +02:00
gallegonovato
ad1173a06a
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
po/es.po: 100.0% (5584 of 5584 strings; 0 fuzzy)
6 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-10-15 18:55:17 +00:00
Francisco Serrador
20af2e542a
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
po/es.po: 100.0% (5584 of 5584 strings; 0 fuzzy)
6 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-10-15 18:55:16 +00:00
Frank H. Ellenberger
993efa5d1c
Translation update by "Frank H. Ellenberger" <frank.h.ellenberger@gmail.com> using Weblate
po/de.po: 99.6% (5567 of 5584 strings; 11 fuzzy)
3 failing checks (0.1%)
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>
2024-10-15 18:55:16 +00:00
Pedro Albuquerque
845ba668c8
Translation update by Pedro Albuquerque <pmra@protonmail.com> using Weblate
po/pt.po: 100.0% (5584 of 5584 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@protonmail.com>
2024-10-15 18:55:15 +00:00
hitmman
ccdd59dcd5
Translation update by hitmman <hitmman@gmail.com> using Weblate
po/ru.po: 71.0% (3966 of 5584 strings; 1101 fuzzy)
357 failing checks (6.3%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: hitmman <hitmman@gmail.com>
2024-10-15 18:55:15 +00:00
Christopher Lam
409cd0dec1 Bug 799283 - Segfault/Crash if payment dialog change from customer to vendor
Always take ownership of the text string.
2024-10-15 11:54:51 -07:00
Robert Fewell
f556881294 Reformat gnc-plugin-page-sx-list.cpp for spaces and cpp change 2024-10-14 12:37:30 +01:00
Robert Fewell
5a71d7ad15 Bug 799437 - Crash deleting and recreating an SX with the scheduled transaction editor open
When deleting and recreating a scheduled transaction with the scheduled
transaction editor open a crash occurs. This is due to incorrectly
adding the deleted SX's to the 'selected_list' in the function
gnc_plugin_page_sx_list_cmd_delete.
2024-10-14 12:08:25 +01:00
Christopher Lam
ecabcef084 [Account.cpp] small modification xaccAccountSetLastNum
if last-num is empty-string, remove the slot. this makes the behaviour
consistent with other slots.
2024-10-13 08:43:41 +08:00
Christopher Lam
d13f930a8c [Account.cpp] tightening loops, less g_list_free 2024-10-12 09:44:34 -07:00
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