John Ralls
bf460b0040
Release GnuCash 5.5
2023-12-16 12:32:57 -08:00
Christopher Lam
9d15e70ce2
Bug 799148 - Reliable crash when saving a modified saved report...
...
configuration.
The user's saved configurations included some based on a bad
report-id, so handle the hash table returning #f by skipping that configuration.
There's an odd side-effect: The Save Configuration As action doesn't
prepare the dialog to edit the saved configuration name, the user must
find the new configuration and rename it. It works correctly if there
are no discarded configurations.
2023-12-16 12:08:51 -08:00
John Ralls
1da2464577
Reports: Don't crash when report generator fails without backtrace.
2023-12-16 12:08:34 -08:00
Frank H. Ellenberger
50ca650ad3
Translation update by "Frank H. Ellenberger" <frank.h.ellenberger@gmail.com> using Weblate
...
po/de.po: 100.0% (5540 of 5540 strings; 0 fuzzy)
0 failing checks (0.0%)
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>
2023-12-16 06:06:03 +01:00
Szia Tomi
ba59402992
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/glossary/hu.po: 100.0% (212 of 212 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: 70.2% (3891 of 5540 strings; 598 fuzzy)
2 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>
2023-12-16 06:06:02 +01:00
Christian Wehling
387cf7b868
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.9% (5539 of 5540 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2023-12-16 06:06:02 +01:00
John Ralls
273c961fc4
Add gnc-quote-source.cpp to POTFILES.in
...
Even though it doesn't have any translatable strings just to stop
git from whining about it.
2023-12-11 13:52:00 -08:00
John Ralls
3a7d954934
Bug 799130 - split-register.c:1847:gnc_split_register_save:...
...
assertion failed: (xaccTransIsOpen (blank_trans))
Don't override the save cancelation if the pending_trans is the blank_trans.
2023-12-11 13:52:00 -08:00
Simon Arlott
921bdc49ee
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
...
po/en_NZ.po: 100.0% (5540 of 5540 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 <weblate.simon@arlott.org> using Weblate
po/en_AU.po: 100.0% (5540 of 5540 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 <weblate.simon@arlott.org> using Weblate
po/en_GB.po: 100.0% (5540 of 5540 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 <weblate.simon@arlott.org>
2023-12-11 21:31:54 +01:00
Pedro Albuquerque
ef86eacdd7
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
...
po/pt.po: 100.0% (5540 of 5540 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@gmx.com>
2023-12-11 21:31:54 +01:00
Arve Eriksson
05f5b90b25
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5540 of 5540 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>
2023-12-11 21:31:54 +01:00
John Ralls
3d433d8c5b
Workflows: Try limiting the coverage-upload to the root repo.
...
I.e. don't run it in forks.
2023-12-11 11:59:20 -08:00
John Ralls
93323cc1dc
Fix Win32 build, broken by COMMAND_EXPAND_LISTS
...
Create a win32 analog to make_unix_path_list that escapes the
semicolons to prevent cmake turning them into list delimiters.
2023-12-11 11:49:59 -08:00
Christopher Lam
5bf9ca0b55
QofIdType and QofIdTypeConst: handle similarly to const char*
...
Previous swigged function- note the `new` is never deleted. Because
they are both const char*, they must be swigged similarly to strings.
static SCM
_wrap_QOF_ID_BOOK_SCM ()
{
#define FUNC_NAME "QOF-ID-BOOK-SCM"
SCM gswig_result;
SWIGUNUSED int gswig_list_p = 0;
QofIdTypeConst result;
result = QOF_ID_BOOK_SCM();
{
QofIdTypeConst * resultptr;
resultptr = new QofIdTypeConst((const QofIdTypeConst &) result);
gswig_result = SWIG_NewPointerObj (resultptr, SWIGTYPE_p_QofIdTypeConst, 1);
}
return gswig_result;
#undef FUNC_NAME
}
After this change:
static SCM
_wrap_QOF_ID_BOOK_SCM ()
{
#define FUNC_NAME "QOF-ID-BOOK-SCM"
SCM gswig_result;
SWIGUNUSED int gswig_list_p = 0;
QofIdType result;
result = QOF_ID_BOOK_SCM();
gswig_result = result ? scm_from_utf8_string (result) : SCM_BOOL_F;
return gswig_result;
#undef FUNC_NAME
}
2023-12-11 22:45:59 +08:00
Stephan Paternotte
f5996afd3e
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5540 of 5540 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>
2023-12-10 12:05:22 +01:00
gallegonovato
7b1bfe11a5
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/es.po: 100.0% (5540 of 5540 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>
2023-12-10 12:05:22 +01:00
bittin1ddc447d824349b2
72a53fe2b1
Translation update by bittin1ddc447d824349b2 <bittin@reimu.nl> using Weblate
...
po/sv.po: 100.0% (5540 of 5540 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: bittin1ddc447d824349b2 <bittin@reimu.nl>
2023-12-10 12:05:22 +01:00
Szia Tomi
83c2582a7a
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 70.2% (3891 of 5540 strings; 598 fuzzy)
2 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>
2023-12-10 12:05:22 +01:00
Christopher Lam
699190db0b
[reports] don't offer individual coverage tests
...
because there's a new global coverage option in CMake
2023-12-10 09:47:22 +08:00
John Ralls
d8cdf23499
Merge update potfile for 5.5 release.
2023-12-09 16:29:18 -08:00
John Ralls
e22a57ad26
Merge John Ralls's 'asan' into stable.
2023-12-08 14:56:29 -08:00
John Ralls
d92d97aef6
Add Scheme coverage collection with option GUILE_COVERAGE.
...
This can be used with or without COVERAGE, though if without the
results will reflect only the Scheme code exercised by the tests.
2023-12-08 14:55:49 -08:00
John Ralls
1e85d0b115
Add workflow job to generate a coverage report.
...
URI is https://gnucash.github.io/
2023-12-08 14:53:23 -08:00
John Ralls
6834cb5025
Implement coverage option
...
To use pass -DCMAKE_BUILD_TYPE=Debug or Asan -DCOVERAGE=ON and build as
usual, then do ninja lcov-initialize && ninja check && ninja
lcov-collect. The result will be a directory, <Builddir>/Coverage
containing lcov tracefiles, including an aggregate file gnucash.info
which you can use for further processing. It will also report an overall summary.
Note that only C/C++ files are included.
There's one more target, lcov-generate-html, that you can run after
lcov-collect. It will generate a simple website in
<Builddir>/Coverage-HTML showing coverage by source directory (the
directories in <Builddir> have coverage for generated files). Each
directory path is a clickable link to a page that shows coverage for
each source file; the filenames link to a page for each showing which
lines have been exercised.
2023-12-08 14:53:02 -08:00
John Ralls
6bc12898a8
GncDate: Remove now-superfluous base parameter.
2023-12-08 13:49:28 -08:00
John Ralls
1e289cb2b8
GncDate: Remove pointless normalize_month function.
...
Suggested by Sherlock.
2023-12-08 13:47:24 -08:00
John Ralls
966cef19aa
Bug 799156 - normalize_struct_tm() does not normalize seconds,...
...
minutes, and hours correctly.
Fix proposed by Sherlock.
2023-12-08 13:45:04 -08:00
John Ralls
5005c3cac8
Merge Sherlock's 'bug799151' into stable.
2023-12-07 17:31:33 -08:00
Sherlock
ae8492d73a
Update test-gnc-date.c
2023-12-07 17:31:19 -08:00
Sherlock
5a7b6e9814
Bug 799151 - gnc_date_get_last_mday () does not account for,,,
...
leap years correctly.
2023-12-07 17:30:08 -08:00
John Ralls
c473ae0e38
Merge Sherlock's 'bug-799152' into stable.
2023-12-07 16:57:05 -08:00
Sherlock
07e94b4222
Bug 799152 - normalize_reldate_tm() does not handle dates with...
...
months greater than 11 or less than -11 correctly.
2023-12-07 16:53:05 -08:00
Xangel2Net
dc2c794e80
Translation update by Xangel2Net <xangel1@mail.ru> using Weblate
...
po/ru.po: 71.8% (3972 of 5532 strings; 1052 fuzzy)
318 failing checks (5.7%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/
Co-authored-by: Xangel2Net <xangel1@mail.ru>
2023-12-06 21:05:35 +01:00
Szia Tomi
f5ee0c07d8
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/glossary/hu.po: 100.0% (212 of 212 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: 70.1% (3878 of 5532 strings; 592 fuzzy)
2 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/hu.po: 70.0% (3877 of 5532 strings; 593 fuzzy)
2 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/hu.po: 70.0% (3876 of 5532 strings; 594 fuzzy)
2 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% (212 of 212 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: 69.9% (3871 of 5532 strings; 598 fuzzy)
2 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% (212 of 212 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: 69.9% (3870 of 5532 strings; 599 fuzzy)
3 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>
2023-12-03 12:44:18 +01:00
Andrea Andre
20182de0b9
Translation update by Andrea Andre <andrea.tsg19@slmail.me> using Weblate
...
po/ro.po: 50.4% (2791 of 5532 strings; 1566 fuzzy)
565 failing checks (10.2%)
Translation: GnuCash/Program (Romanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ro/
Co-authored-by: Andrea Andre <andrea.tsg19@slmail.me>
2023-12-03 12:44:18 +01:00
Petter Reinholdtsen
d2a98780a9
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
...
po/nb.po: 86.7% (4800 of 5532 strings; 725 fuzzy)
24 failing checks (0.4%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2023-12-03 12:44:18 +01:00
Robert Fewell
254e216554
Bug 799150 - Can't paste text (with Ctrl+V) in Notes field in Account Tree View
...
When pasting text in the account tree view notes field, the clipboard
was being obtained from the text buffer which was incorrect, it should
be from the focused widget. Changed.
2023-12-03 11:41:12 +00:00
Christopher Lam
abb4a01ac8
Merge branch 'stable-leaks' into stable #1831
2023-12-01 07:37:17 +08:00
Christopher Lam
d8ece96503
[gnc-engine-guile.cpp] plug runaway GSList* leak
...
The QofQuery param_list is a GSList of const char*. Every SCM Query
would typically leak the GSList. This change will store the params
into the string cache, and the cached string is passed onto the
QofQuery param.
2023-11-30 22:16:53 +08:00
John Ralls
d8dacb86b2
Bug 799143 - FTBFS on 32bit architectures
...
Fix misuse of GUINT_TO_POINTER in 5e09b66
.
2023-11-28 01:47:12 +00:00
Christopher Lam
ca3c09c5f6
[dialog-report-column-view.cpp] new/delete instead of g_new/g_free
...
because the struct has vector objects which would otherwise leak.
2023-11-27 22:02:03 +08:00
Christopher Lam
3863d6e8dc
[engine-common.i] AccountList* arg must be g_list_freed
...
when used by gnc_accounts_and_all_descendants
2023-11-27 21:05:06 +08:00
John Ralls
92de074e49
Bug 799144 - Date Completion is broken after 5.4 upgrade
...
strptime will reasonable return false for an incomplete date but it
still fills in the parts of the struct tm that it understands, so bail
out of qof_scan_date_internal when it fails only if all three fields
are present.
2023-11-26 09:23:58 -08:00
John Ralls
c07e0890f2
Merge Jerry James's python-regex-raw into stable.
2023-11-25 16:35:57 -08:00
John Ralls
a3f14759ab
Asan: Make leak and ODR violation reporting CMake options.
...
pass -DLEAKS=ON or -DODR=ON to enable these features. They have an
effect only with CMAKE_BUILD_TYPE=Asan and don't work on Apple because
Apple clang doesn't enable them.
2023-11-25 11:17:14 -08:00
John Ralls
1d8c525afc
Bug 799138 - Port to new Python C config API
2023-11-24 14:52:07 -08:00
John Ralls
ed4921271c
Bug 799134 - Fails to build with GCC 14 (‘find_if’ is not a member...
...
of ‘std’; did you mean ‘find’)
2023-11-21 15:27:04 -08:00
Robert Fewell
46e47d44a0
Rename the scheduled edit/new/delete menus
...
There is a conflict when updating the tooltip menu entries for the
scheduled transaction 'edit' menu. To find the appropriate menu entry,
the list of menu entries is searched by name and this entry conflicts
with the main 'edit' menu which has no tooltip and so the scheduled
'edit' menu entry does not get the correct tooltip.
To fix this just change the entries to 'Edit Schedule'/'New Schedule'
and 'Delete Schedule', this also changes them to the same format as the
account menu options.
2023-11-20 09:51:24 +00:00
Robert Fewell
6315098723
Make it clearer for which SX's will be deleted
...
Add the SX names that will be deleted below the confirmation dialogue
question.
2023-11-20 09:51:24 +00:00
Robert Fewell
ceb21790b4
Bug 799090 - Right Clicking scheduled transaction
...
If you have a highlighted SX and you right click on another SX the new,
edit, delete popup uses the highlighted SX not the one you clicked on.
This is misleading because the box appears at the right clicked
location, and it looks like that is the SX it will affect.
To fix this, check to see if SX right clicked on is selected, if not
unselect all SX's and select the one clicked on before popup.
2023-11-20 09:51:24 +00:00