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
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
Robert Fewell
af48ab7cc2
Bug 798025 - SLR Value entry not tied to location
...
When you enter a value in the SLR tree view, the cell renderer text
entry box gets the focus ready for keyboard entry. In this state, the
tree view can be scrolled underneath by the mouse wheel or using the
vertical scrollbar, the row is still high lighted but still may be
confusing.
This commit disables the scrolling while an entry has focus and also
disables the horizontal scroll bar to be more effective.
2023-11-20 09:25:16 +00:00
Robert Fewell
78ab605e91
Bug 798760 - SLR change reminder with value entry
...
If the scheduled transaction state is 'Reminder' and also requires
values which have been entered but the state has not been changed to
'To Create' the values are lost when OK button pressed.
This change adds a check of state to the 'variable_value_changed_cb'
and if 'Reminder' changes it to 'To Create'.
2023-11-20 09:25:16 +00:00
Robert Fewell
5b8d29a7d0
Bug 798760 - SLR OK button to complete value entry
...
When in the SLR dialog and you are adding a value to a scheduled
transaction, if you do not complete the entry with a tab or enter but
press the 'OK' button the value changes back to 'Need Value'.
This change also completes the entry with the 'OK' button and will move
to the next value to be entered or if none complete the dialog.
2023-11-20 09:25:16 +00:00
Robert Fewell
16c1244a63
Bug 607000 - SLR visible transactions
...
Change the Since Last Run dialog to show only transactions with a
non-empty Status.
2023-11-20 09:25:16 +00:00
Robert Fewell
71feea06a9
Allow saving the sorting in the SLR
2023-11-20 09:25:16 +00:00
Robert Fewell
3deb49402c
Bug 792241 - Allow sorting scheduled transactions
...
Allow sorting in the SLR by date and by status.
2023-11-20 09:25:16 +00:00
Jerry James
a967e05cce
Mark 2 regular expressions as raw strings
2023-11-18 21:52:14 -07:00
Frank H. Ellenberger
b032197395
Revert "Translation update by Petter Reinholdtsen
...
<pere-weblate@hungry.com> using Weblate"
This reverts commit c3799d3f48
.
The only content change is wrong.
2023-11-19 05:43:01 +01:00
Szia Tomi
0f62da2244
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/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/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-11-19 00:02:00 +00:00
Petter Reinholdtsen
c3799d3f48
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
...
po/nb.po: 86.7% (4800 of 5532 strings; 725 fuzzy)
25 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-11-19 00:01:58 +00:00
Christopher Lam
1d26d99ddb
[gnc-budget] use std::optional<gnc_numeric> instead of bool+gnc_numeric
...
more expressive
2023-11-18 08:59:32 +08:00