Christopher Lam
9bbe29b42d
[trep-engine.scm] tally secondary subtotals in subtotal table
...
when displaying secondary-level subtotals, also tally the amounts in
the row-total grid
4 weeks ago
Christopher Lam
d3baa74e72
[trep-engine.scm] refactor grid renderer
...
for each row with multiple commodities, instead of working on
commodities via their indices, work on the commodities directly.
without this refactoring, a subtotal table row with multiple
commodities may show different commodities on the same line.
with this refactoring, the row will show a stable list of commodities.
4 weeks ago
Christopher Lam
a33a1f2f1b
[trep-engine.scm] upgrade grid-add
...
formerly, grid-add was simply adding a new (vector row col data) to
the grid. it was assuming there was no existing data in row/col.
upgrade so that it will consider the existing grid row/col; if there's
existing data it will add the monetary amounts into it.
4 weeks ago
Christopher Lam
5f5caf49b9
[trep-engine.scm] use :grid-cell record type
4 weeks ago
Christopher Lam
3a2ac526a6
[gnc-commodity.cpp] improve gnc_commodity_compare
...
ensure it is a stable sort
4 weeks ago
Robert Fewell
c32002bd77
Bug 799705 - Remove Old Prices by Namespace
...
Add visibility of the namespace used for commodities so prices to
remove can be more specific.
Add a further option to restrict which namespaces are shown in the
list view. This also allows for quick selection by entering the
namespace in the combo entry.
1 month ago
John Ralls
e5fe2f3e0e
Merge Stefan Koch's 'sk-unittest-qofid' into stable.
1 month ago
Christopher Lam
cad455e3c0
Merge branch 'account-col-earliest-date' into stable #2168
1 month ago
Stefan Koch
113af56272
fixup: Review comments about style of code.
1 month ago
Stefan Koch
7f0d66d439
fixup: Add the new test-qofid.cpp file the the source distribution.
1 month ago
Stefan Koch
be5933a1ec
fixup: Remove memory leaks in the test code.
1 month ago
Stefan Koch
0e3853bfb7
Fix undefined behaviour in collection_compare_cb function.
...
The collection_compare_cb function set the user_data pointer to point to a local variable
of the function. That pointer is then used in the (only) calling function
qof_collection_compare to make decisions. This is undefined. It is likely not an actual
problem because the stack depth of the qof_collection_foreach followed by
collection_compare_cb is deeper than the qof_collection_get_data call (and others
in between if any) that the stack data user data stays uncorrupted.
But, it is undefined behavior, and could cause really subtle bugs if these there are code
changes that have deeper stack between the setting and using.
Also, using this local variable is not necessary, the qof_collection_compare function
already sets up a variable local to its scope for this that the collection_compare_cb can
use directly.
This commit removes the local (to collection_compare_cb) variable and uses the one setup
in qof_collection_compare.
The full coverage test for qofid.cpp passed before and after this change.
1 month ago
Stefan Koch
6e9a20dfeb
Implement full test coverage of libgnucash/engine/qofid
...
NOTE: This does not have full coverage because the "if (!target || !ent)" body in the
collection_compare_cp function cannot be reached. There is too much safety in the rest of
the system to test this error.
NOTE: I made this a separate test from the test-engine so that I was able to check that it
by itself could test the full coverage of the qofid.cpp file. If it was part of the larger
test, I could have missed some parts that were covered incidentally elsewhere.
1 month ago
Stefan Koch
a2cc9881df
Explicitly set the is_dirty attribute in qof_collection_new
...
It is likely that the memory was zeroed anyway, but the explicitness makes it easier to read.
1 month ago
Stefan Koch
9079d87307
Remove unused qof_collection_from_glist function.
1 month ago
Christopher Lam
4cc37b3f06
Account tab can show/sort by Earliest Date column
...
Allows the user to display / sort by account's earliest split
date. This usually reflect the account opening date.
1 month ago
Christopher Lam
d72f8de89a
[balance-forecast.scm] use gnc-account-get-earliest-date
1 month ago
Christopher Lam
334b015c19
[Account.h] gnc_account_get_earliest_date
...
Returns posted date of earliest split, or INT64_MAX if the account has
no splits.
This may reflect the opening date of the account.
1 month ago
John Ralls
bab04728f4
search-reconciled.c: Use uintptr_t instead of specializing on pointer size.
1 month ago
John Ralls
7a4548bf69
Modernize strptime.c: prototypes up top and inline parameter type decls.
1 month ago
John Ralls
bfb8647f5c
Clang on Windows has a different std c++ library and doesn't have a special exception library.
1 month ago
John Ralls
622c35cfaa
WORDS_BIGENDIAN needs to be a compile definition and checked with ifdef.
1 month ago
John Ralls
b028f50fa3
A better fix for gcc ptr->int casting pickiness.
1 month ago
Christopher Lam
2f94d1611b
[gnc-tree-view-account.c] logical bugfix sort by last reconcile date
...
if acct isn't reconciled, its date for comparison is taken to be epoch
zero. fix the reconciliation logic; unreconciled < reconciled.
1 month ago
John Ralls
1d9b80f7ff
gcc 15.2 is really picky about casting between ints of different sizes.
...
So subvert the warnings with a union.
Note that the exception is deliberatley unhandled: We want to crash out if there are high bits.
1 month ago
John Ralls
79b43fb4f6
Guile: Use the right conversion for size_t.
1 month ago
John Ralls
4bd23cf195
Mingw 64-bit uses libgcc_s_seh-1 instead of libgcc_s_dw2-1.
1 month ago
Robert Fewell
b5185e1823
Bug 799706 - Rename Namespace
...
Add a rename namespace button to the Security editor that is enabled by
the selection of a namespace row in the tree view.
2 months ago
John Ralls
966d42b8bf
Merge the latest translations from Weblate.
2 months ago
Yurt Page
fb69526908
Translation update by Yurt Page <yurtpage+weblate@gmail.com> using Weblate
...
po/ru.po: 99.4% (5627 of 5656 strings; 27 fuzzy)
93 failing checks (1.6%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/
Translation update by Yurt Page <yurtpage+weblate@gmail.com> using Weblate
po/glossary/ru.po: 100.0% (213 of 213 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ru/
Co-authored-by: Yurt Page <yurtpage+weblate@gmail.com>
2 months ago
Philippe Lamare
0e28af9641
Translation update by Philippe Lamare <ph.lamare@free.fr> using Weblate
...
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Philippe Lamare <ph.lamare@free.fr>
2 months ago
Arda Yılmaz
5e82df31b9
Translation update by Arda Yılmaz <fijarom@fijarom.com> using Weblate
...
po/glossary/tr.po: 45.5% (97 of 213 strings; 5 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/tr/
Translation update by Arda Yılmaz <fijarom@fijarom.com> using Weblate
po/tr.po: 69.1% (3912 of 5656 strings; 1070 fuzzy)
469 failing checks (8.2%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/
Co-authored-by: Arda Yılmaz <fijarom@fijarom.com>
2 months ago
Alois Levermann
bab2da58ec
Translation update by Alois Levermann <alois@levermann.xyz> using Weblate
...
po/de.po: 100.0% (5656 of 5656 strings; 0 fuzzy)
20 failing checks (0.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Alois Levermann <alois@levermann.xyz>
2 months ago
Christian Wehling
e856787751
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 100.0% (5656 of 5656 strings; 0 fuzzy)
20 failing checks (0.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2 months ago
Simon Arlott
bb769f3eef
Translation update by Simon Arlott <nomis@users.noreply.hosted.weblate.org> using Weblate
...
po/en_NZ.po: 100.0% (5656 of 5656 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_GB.po: 100.0% (5656 of 5656 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/
Translation update by Simon Arlott <nomis@users.noreply.hosted.weblate.org> using Weblate
po/en_AU.po: 100.0% (5656 of 5656 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>
2 months ago
DGDS
8e587eda08
Translation update by DGDS <dagrinddontstop@users.noreply.hosted.weblate.org> using Weblate
...
po/zh_CN.po: 98.1% (5550 of 5656 strings; 104 fuzzy)
37 failing checks (0.6%)
Translation: GnuCash/Program (Chinese (Simplified Han script))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: DGDS <dagrinddontstop@users.noreply.hosted.weblate.org>
2 months ago
aleksej0R
5423adf851
Translation update by aleksej0R <omolice@hotmail.fr> using Weblate
...
po/glossary/fr.po: 100.0% (213 of 213 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: aleksej0R <omolice@hotmail.fr>
2 months ago
Szia Tomi
b059128ae8
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 89.5% (5067 of 5656 strings; 127 fuzzy)
31 failing checks (0.5%)
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: 89.5% (5063 of 5656 strings; 127 fuzzy)
31 failing checks (0.5%)
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: 89.4% (5060 of 5656 strings; 128 fuzzy)
31 failing checks (0.5%)
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: 89.4% (5060 of 5656 strings; 128 fuzzy)
31 failing checks (0.5%)
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: 89.4% (5058 of 5656 strings; 128 fuzzy)
31 failing checks (0.5%)
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: 89.4% (5058 of 5656 strings; 128 fuzzy)
31 failing checks (0.5%)
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: 89.4% (5058 of 5656 strings; 128 fuzzy)
31 failing checks (0.5%)
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: 89.3% (5051 of 5656 strings; 130 fuzzy)
32 failing checks (0.5%)
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: 89.2% (5049 of 5656 strings; 130 fuzzy)
32 failing checks (0.5%)
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: 89.2% (5048 of 5656 strings; 130 fuzzy)
32 failing checks (0.5%)
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: 89.1% (5042 of 5656 strings; 132 fuzzy)
32 failing checks (0.5%)
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: 89.1% (5042 of 5656 strings; 132 fuzzy)
32 failing checks (0.5%)
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: 89.0% (5034 of 5656 strings; 135 fuzzy)
32 failing checks (0.5%)
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: 88.8% (5025 of 5656 strings; 135 fuzzy)
32 failing checks (0.5%)
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: 88.7% (5020 of 5656 strings; 135 fuzzy)
37 failing checks (0.6%)
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: 88.1% (4984 of 5656 strings; 169 fuzzy)
44 failing checks (0.7%)
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: 87.3% (4943 of 5656 strings; 210 fuzzy)
46 failing checks (0.8%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2 months ago
Milo Ivir
dfab8a336e
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 97.9% (5538 of 5656 strings; 1 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.9% (5483 of 5656 strings; 34 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.7% (5474 of 5656 strings; 43 fuzzy)
5 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>
2 months ago
Anastasios Ikonomou
8829822e2c
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
...
po/glossary/fr.po: 100.0% (213 of 213 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 Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/glossary/fr.po: 100.0% (213 of 213 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 Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
7 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
7 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Anastasios Ikonomou <anastasios.ikonomou@gmail.com>
2 months ago
Frédéric Mergey
3fc5bdaa11
Translation update by Frédéric Mergey <fmergey@yahoo.com> using Weblate
...
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Frédéric Mergey <fmergey@yahoo.com>
2 months ago
Laurent Aufrere
9d263d5f4d
Translation update by Laurent Aufrere <lecture@cbol.org> using Weblate
...
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Laurent Aufrere <lecture@cbol.org>
2 months ago
Anastasios Ikonomou
485f13c443
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
...
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/fr.po: 99.1% (5606 of 5656 strings; 18 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Anastasios Ikonomou <anastasios.ikonomou@gmail.com> using Weblate
po/fr.po: 97.7% (5527 of 5656 strings; 100 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Anastasios Ikonomou <anastasios.ikonomou@gmail.com>
2 months ago
Christopher Lam
c3e4f374a9
[account.cpp] gnc_account_child_index non-child acct should return -1
...
bugfix from 6cac9d0ebb
2 months ago
Christopher Lam
65d573889b
[gnc-locale-utils.cpp] don't need to strdup locale
...
it's not freed later
2 months ago
John Ralls
be46171d02
Turn of deprecation warning for wstring_convert.
...
Deprecated in C++17, no replacement until C++26.
2 months ago
John Ralls
1f6a0c019a
Fix uninitialized variable warning.
2 months ago
John Ralls
0251046747
Fix computation of relative guile paths when guile uses Windows paths.
2 months ago
Christopher Lam
c4317b906b
Merge branch 'autoclear' into stable
2 months ago
Christopher Lam
f7f915eb3e
[window-reconcile.cpp] only enable autoclear if preference set
2 months ago