Commit Graph

29189 Commits

Author SHA1 Message Date
John Ralls
19591988e2 Fix uninstall target for cmake > 3.25
execute_process and exce_program were changed in cmake 3.26 to run
only at configure time, breaking cmake_uninstall.cmake. The recommened
replacement is add_custom_target and add_custom_commsnd, but there's
no way to run a loop in either of those so this commit replaces
cmake_uninstall.cmake with cmake_uninstall.sh. This works on Microsoft
Windows beacuse at present we have to build on Windows in a MSYS2
shell. If at some point we gain the ability to build in a straight
Windows environment then we'll need a Windows CMD equivalent.
2025-01-28 10:39:42 -08:00
John Ralls
57df6c2b47 Merge Jianshi Liu's 'bug797824' into stable. 2025-01-28 08:45:24 -08:00
Jianshi Liu
228c199f5d Bug 797824 - Inconsistent behavior in Loan Review
fix the shift issue in loan review
2025-01-28 08:16:39 +08:00
Robert Fewell
55465e88ed Add function to GncQueryView to expand column
Add function gnc_query_set_expand_column to GncQueryView so that the
expand column can be specified that takes up any available free space.

Use this function in the Due Bills/Invoice Reminder to to set the
expanding column to the company name.
2025-01-24 12:27:44 +00:00
Robert Fewell
8795233afb Bug 799343 - Dialog boxes won't remain sized and positioned - part2
Allow the Due Bills/Invoice Reminder dialogs to save and restore the
size and position.
2025-01-24 12:15:40 +00:00
Robert Fewell
4fc3a0cb83 Bug 799343 - Dialog boxes won't remain sized and positioned - part1
This commit allows saving the position and size of the Billing Term
Editor and the Process Payment dialogs.
2025-01-24 12:02:34 +00:00
Robert Fewell
71583f60b2 Bug 799334 - GnuCash re-opens to incorrect page
This commit fixes an error that was missed when restoring the order
which failed to account for the pages that were not restored.
2025-01-24 11:46:33 +00:00
Robert Fewell
99f067ffe3 Fix g_object warning for creating schedule from trans
When you try and schedule an open transaction like the blank
transaction a dialog warns you and prevents doing so. As a result a
couple of objects were being unrefed which had not be created so add a
test for the objects before being unrefed.
2025-01-24 11:07:23 +00:00
Christopher Lam
f6c73b15fb use gnc_account_get_all_parents and std::mismatch 2025-01-20 08:09:59 +08:00
Christopher Lam
a2d7868dce [Account.hpp] gnc_account_get_all_parents returns reversed path vector 2025-01-20 05:09:29 +08:00
Robert Fewell
7a17d329ec Change the text string 'Accounts Selected:' to include number
This is a follow up on the previous commit to change a couple of
translatable text strings to include the placement of the number using
%d
2025-01-16 11:24:01 +00:00
Robert Fewell
0a212f5b98 Bug 799035 - CSV Export: 'Accounts Selected' text has bad formatting
The initial problem is that the packing order was wrong in the glade
file so have corrected that.
2025-01-16 11:21:34 +00:00
Robert Fewell
cc2679e08f Change a couple of accelerator keys to be the same 2025-01-16 11:16:49 +00:00
Robert Fewell
1fb79ef207 Bug 799491 - Add "Clear All" button to register filter
Add a 'Clear All' button to the register filter dialog
2025-01-16 11:14:36 +00:00
Robert Fewell
dd221e409c Bug 799465 - Register Filter Today radio buttons don't work correctly
There was a typo in the callback for identifying the required widget to
get the correct value as start_date_today instead of end_date_today.
2025-01-16 10:50:20 +00:00
Alex Aycinena
e8049a6491 Update Form/Schedule line references for 2024 for the US Income Tax Report 2025-01-12 14:54:44 -08:00
Robert Fewell
5ff2c190eb Bug 799502 - Autocomplete of split only completes description
This commit fixes a regression when bug 799430 was fixed, should of
added to the if condition instead of replacing it.
2025-01-06 11:05:41 +00:00
John Ralls
166b383568 Merge Peter Zmanovsky's 'fix_wrong_free' into stable. 2025-01-05 21:11:23 -08:00
peter15914
deee65d0d4 Fix incorrect deallocation type
Objects created with dom_tree_to_guid must be destroyed with guid_free.
2025-01-05 23:12:25 +05:00
Geert Janssens
83b49c34fe Allow more account types in the payment window's transfer account list
So far it was limited to Asset, Liability, Credit Card
and either Income (for customer payments) or Expenses (for vendor payments).

There are however use cases where a customer payment also covers
expenses (like for example a Paypal service charge).

To allow for as many edge cases as possible the
filter now only excludes those account types I worry
will break the business logic: AP and AR accounts.
That is, with this change you won't be able to create a
customer payment (which necessarily has one split an an AR account)
that transfers to another AR or to an AP account.

While even that may work, I am sure the business features weren't
designed to cope with this and I can't exhaustively test that.
2024-12-31 15:30:47 +01:00
John Ralls
8b4347def0 Merge Xu Xinhang's lastest Chinese (Simplified) translations into stable. 2024-12-26 12:48:35 -08:00
John Ralls
1da1cc40cb Merge latest translations from Weblate. 2024-12-26 12:47:17 -08:00
Szia Tomi
e81d2d7af5
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 84.1% (4752 of 5650 strings; 234 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: 84.0% (4751 of 5650 strings; 234 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: 84.0% (4749 of 5650 strings; 235 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: 84.0% (4747 of 5650 strings; 236 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.6% (4726 of 5650 strings; 239 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.2% (4705 of 5650 strings; 242 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% (4691 of 5650 strings; 243 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% (4680 of 5650 strings; 245 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% (4677 of 5650 strings; 245 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-12-26 21:40:47 +01:00
Deleted User
cdea85d8cd
Translation update by Deleted User <noreply+100824@weblate.org> using Weblate
po/glossary/cs.po: 27.2% (58 of 213 strings; 2 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/cs/

Co-authored-by: Deleted User <noreply+100824@weblate.org>
2024-12-26 21:40:46 +01:00
Francisco Serrador
d1e60c27b3
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
po/es.po: 98.9% (5592 of 5650 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-12-26 21:40:46 +01:00
Yaron Shahrabani
f9d1c9c277
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 94.9% (5364 of 5650 strings; 144 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-12-26 21:40:45 +01:00
Milo Ivir
e4829b3c6b
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 95.9% (5423 of 5650 strings; 72 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2024-12-26 21:40:44 +01:00
John Ralls
85084e75d6 Fix python bindings build with Swig-4.3.0. 2024-12-26 11:45:10 -08:00
xuxinhang
06e5d2e8a2 Improve zh_CN translation for accuracy, naturalness and formality. 2024-12-25 00:24:44 +08:00
John Ralls
6531d3e46b Bug 799494 - Version 5.10 Fails to import QIF file
Require only one split in qif-import:qif-to-gnc, apparently it's too
early to require two.
2024-12-23 17:34:19 -08:00
John Ralls
c549e203cb Bug 799449 - Save As... sequence from SQL to XML format does not...
clear lock on the origin SQL book.

GncDbiSqlConnection::unlock_database function errored out if the last
dbi interaction resulted in an error, even if it was a harmless index
out of range. Ignore index out of range errors.
2024-12-23 12:59:11 -08:00
John Ralls
bda17ff4d8 Bug 799487 - Unable to save gnucash DB file as XML file
Not quite true, it just takes a really long time for a large database.

The underlying problem is gnc_file_do_save_as reloads the data to make
sure that the save-as saves everything. On the SQL backend that
triggers a scrub. The scrub itseld doesn't take long, but every
transaction commit was logged in the transaction log and did a refresh
of the registers. So:
* Suspend logging while doing the scrub.
* Suspend UI refreshes and QOF events while reloading the data.
2024-12-21 18:23:44 -08:00
John Ralls
579eed1fac Bug 799480 - Fails to build with ICU 76
Use CMake find_package instead of pkg-config.
2024-12-21 16:56:00 -08:00
John Ralls
a716cca439 Release GnuCash 5.10 2024-12-14 16:13:57 -08:00
John Ralls
600721b23a Apply extract-translators fix to po files. 2024-12-14 16:10:27 -08:00
John Ralls
c80a63a100 Extract-translators fix enumeration of translators and writing to po file. 2024-12-14 16:09:56 -08:00
John Ralls
b04726bdef Update translator credits. 2024-12-14 14:11:40 -08:00
John Ralls
49982b6eff Merge the latest translations from Weblate. 2024-12-14 14:00:56 -08:00
Christian Wehling
d17e41c08d
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5646 of 5650 strings; 3 fuzzy)
62 failing checks (1.0%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2024-12-14 22:00:55 +01:00
Simon Arlott
7a81ed6e16
Translation update by Simon Arlott <nomis@users.noreply.hosted.weblate.org> using Weblate
po/en_NZ.po: 100.0% (5650 of 5650 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% (5650 of 5650 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% (5650 of 5650 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-12-14 22:00:53 +01:00
YOSHINO Yoshihito
16a5129264
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.3% (5048 of 5650 strings; 230 fuzzy)
427 failing checks (7.5%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 89.0% (5033 of 5650 strings; 233 fuzzy)
427 failing checks (7.5%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.6% (5010 of 5650 strings; 242 fuzzy)
430 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.3% (4990 of 5650 strings; 258 fuzzy)
431 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.2% (4984 of 5650 strings; 262 fuzzy)
431 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.1% (4982 of 5650 strings; 264 fuzzy)
431 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.1% (4978 of 5650 strings; 266 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.0% (4975 of 5650 strings; 269 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.0% (4972 of 5650 strings; 269 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.9% (4970 of 5650 strings; 270 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.8% (4966 of 5650 strings; 274 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.8% (4963 of 5650 strings; 276 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/glossary/ja.po: 6.5% (14 of 213 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.8% (4962 of 5650 strings; 276 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.8% (4961 of 5650 strings; 276 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.7% (4960 of 5650 strings; 277 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 87.7% (4957 of 5650 strings; 279 fuzzy)
432 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
2024-12-14 22:00:52 +01:00
Максим Горпиніч
1ca133d898
Translation update by Максим Горпиніч <mgorpinic2005@gmail.com> using Weblate
po/uk.po: 100.0% (5650 of 5650 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Максим Горпиніч <mgorpinic2005@gmail.com>
2024-12-14 22:00:50 +01:00
Yuri Chornoivan
00714cb781
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
po/uk.po: 100.0% (5650 of 5650 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
2024-12-14 22:00:48 +01:00
Максим Горпиніч
6902a3441f
Translation update by Максим Горпиніч <mgorpinic2005@gmail.com> using Weblate
po/uk.po: 100.0% (5650 of 5650 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Максим Горпиніч <mgorpinic2005@gmail.com>
2024-12-14 22:00:46 +01:00
Stephan Paternotte
19468023dd
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 100.0% (5650 of 5650 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2024-12-14 22:00:42 +01:00
Pedro Albuquerque
c3ddaf987d
Translation update by Pedro Albuquerque <pmra@protonmail.com> using Weblate
po/pt.po: 100.0% (5650 of 5650 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-12-14 22:00:40 +01:00
Arve Eriksson
e384d1953b
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5650 of 5650 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-12-14 22:00:39 +01:00
Szia Tomi
078b927b96
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 82.7% (4676 of 5650 strings; 245 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-12-14 22:00:37 +01:00
John Ralls
db047fe9b8 Document cmake 3.14 requirement set a year ago. 2024-12-13 14:50:52 -08:00
Geert Janssens
0aa46ff131 Enforce searching for our gsettings schema files first where they were installed
This was not done when the installation prefix
was /usr or /usr/local which could potentially
cause gnucash to find other schema files first.
2024-12-13 20:27:35 +01:00