Geert Janssens
31cc25d1aa
Remove non-existing file from POTFILES.in
2024-02-22 10:30:03 +01:00
Christopher Lam
6cb2eeeaa8
Merge branch 'more-engine-cpp' into stable #1866
2024-02-22 07:39:35 +08:00
John Ralls
226bfea108
Fix a bunch of UB errors from ASAN about mismatched function types.
...
The casts fool the compiler but not the UB sanitizer.
2024-02-20 15:33:11 -08:00
John Ralls
7bd97f15d0
Fix transaction delete use-after-free, take 2.
...
The problem with take 1 was that the duplicate split uses the same lot
and account pointers without adding itself to those lists, causing
checks in unit tests to fail.
2024-02-20 15:10:05 -08:00
John Ralls
8546aa975e
Revert "Fix two use-after-free issues found by address sanitizer."
...
This reverts commit 4dbf803041
.
The use-after free errors are caused by the compiler reordering the
steps in xaccSplitFree and Transaction's do_destroy. Unfortunately the
corrections here caused trouble in other places, leading to test failures.
2024-02-19 21:11:54 -08:00
John Ralls
4dbf803041
Fix two use-after-free issues found by address sanitizer.
2024-02-19 14:33:43 -08:00
John Ralls
fd150243ef
Bug 799222 - Crash when changing the parent of an account that has...
...
had two or more levels of sub-accounts auto-created using the register
in the current session.
Ensure removal of dangling signal handler when the dialog is destroyed.
2024-02-19 14:33:43 -08:00
Christopher Lam
28cc26f207
[gnc-commodities.cpp] gnc_new_iso_codes is a std::unordered_map
2024-02-19 11:21:24 +08:00
Szia Tomi
5cc14d828f
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 73.7% (4088 of 5544 strings; 478 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: 73.6% (4082 of 5544 strings; 481 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: 73.5% (4079 of 5544 strings; 484 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: 73.4% (4071 of 5544 strings; 491 fuzzy)
1 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: 73.3% (4069 of 5544 strings; 492 fuzzy)
3 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: 73.2% (4059 of 5544 strings; 498 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>
2024-02-18 23:45:02 +01:00
Geert Janssens
00640f9ded
Replace naked for loops with C++ algorithms
2024-02-18 23:18:16 +08:00
Geert Janssens
0732436e44
A few NULL/nullptr related cleanups
2024-02-18 23:18:16 +08:00
Christopher Lam
17f422f97c
[gnc-commodity.cpp] convert quote_sources to vector
...
- all quote sources are now vector
- get_quote_source_from_type to convert QuoteSourceType to vector<gnc_quote_source>
- the quote sources are modifiable, therefore cannot be const:
see gnc_quote_source_set_fq_installed
2024-02-18 23:17:55 +08:00
Szia Tomi
a6d41aaaa7
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 73.0% (4051 of 5544 strings; 506 fuzzy)
3 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: 72.8% (4041 of 5544 strings; 515 fuzzy)
9 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-02-17 23:44:23 +01:00
gallegonovato
a81773b095
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/es.po: 100.0% (5544 of 5544 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-02-17 23:44:22 +01:00
bittin1ddc447d824349b2
0d99111bf6
Translation update by bittin1ddc447d824349b2 <bittin@reimu.nl> using Weblate
...
po/sv.po: 100.0% (5544 of 5544 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>
2024-02-17 23:44:22 +01:00
Stephan Paternotte
32308bf006
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
...
po/nl.po: 100.0% (5544 of 5544 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-02-17 23:44:22 +01:00
John Ralls
266ae2a931
Bug 798946 - start/end of current/last quarter have off-by-one error
...
Calculating the quarter offset when the current month is less than the
beginning month of the fiscal year was inverted.
2024-02-17 12:52:17 -08:00
Christopher Lam
164453a858
[gnc-commodity.cpp] gnc_quote_source_get_index searches index
...
we can now remove init
2024-02-17 22:55:41 +08:00
Christopher Lam
5d16d025a6
[gnc-commodity.cpp] gnc_quote_source_s is a cpp class
...
... this ensures the new_quote_sources vector now doesn't leak anymore.
2024-02-17 22:55:41 +08:00
Christopher Lam
770045c4a5
[gnc-quotes.cpp] remove sources_as_glist()
2024-02-17 22:55:41 +08:00
Christopher Lam
346499ae04
[gnc-commodity.cpp] gnc_quote_source_set_fq_installed takes a StrVec
...
instead of a GList* of strdup'd chars
2024-02-17 22:55:40 +08:00
Christopher Lam
47a1a56f16
[gnc-commodity.cpp] fq_version is a std::string
...
thus can free itself on exit
2024-02-17 22:55:40 +08:00
Christopher Lam
f49c2735e3
[gnc-commodity.cpp] initialize quote_sources at compile-time
2024-02-17 22:55:40 +08:00
Christopher Lam
d488faacb2
[gnc-commodity.cpp] Convert to cpp
2024-02-17 22:55:40 +08:00
Vincent Lucarelli
f5b7bf3401
removed old_internal_name from gnc_quote_source_s (deprecated)
2024-02-17 22:52:40 +08:00
Christopher Lam
9035391907
[test-commodities.cpp] add some tests for gnc_quote_sources
2024-02-17 22:43:52 +08:00
John Ralls
f0dc23a60c
Merge Brian RAter's 'import_file_headers' into stable.
2024-02-16 19:55:31 -08:00
BLR
907667df01
Adding missing file headers in import source files.
2024-02-16 21:50:22 -05:00
Zdenko Podobný
dcbd1bfba6
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
...
po/sk.po: 94.8% (5261 of 5544 strings; 13 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2024-02-16 23:02:05 +01:00
Frank H. Ellenberger
d3312b496e
I18N: msgmerge recent changes
2024-02-16 01:26:36 +01:00
Frank H. Ellenberger
41f03c6795
I18N: Add translator comment for "Shares"
2024-02-16 01:09:07 +01:00
Frank H. Ellenberger
e49045ed4c
Revert "Translation update by Alexej <alexejkirsch@outlook.de> using Weblate"
...
This reverts commit 72f028060a
.
2024-02-16 00:54:22 +01:00
Laurent Aufrere
d9604217f2
Translation update by Laurent Aufrere <lecture@cbol.org> using Weblate
...
po/fr.po: 99.6% (5521 of 5540 strings; 16 fuzzy)
14 failing checks (0.2%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Translation update by Laurent Aufrere <lecture@cbol.org> using Weblate
po/glossary/fr.po: 100.0% (212 of 212 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 Laurent Aufrere <lecture@cbol.org> using Weblate
po/fr.po: 99.4% (5512 of 5540 strings; 25 fuzzy)
15 failing checks (0.2%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Laurent Aufrere <lecture@cbol.org>
2024-02-14 02:02:19 +01:00
Jacek Baszkiewicz
55e71a3e20
Translation update by Jacek Baszkiewicz <j.baszkiewicz@gmail.com> using Weblate
...
po/pl.po: 71.6% (3970 of 5540 strings; 1057 fuzzy)
267 failing checks (4.8%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/
Co-authored-by: Jacek Baszkiewicz <j.baszkiewicz@gmail.com>
2024-02-14 02:02:19 +01:00
Szia Tomi
72bb06ad1b
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 72.9% (4041 of 5540 strings; 513 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: 72.9% (4041 of 5540 strings; 513 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: 72.9% (4039 of 5540 strings; 515 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: 72.7% (4030 of 5540 strings; 516 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: 72.5% (4021 of 5540 strings; 525 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: 72.5% (4019 of 5540 strings; 526 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: 72.5% (4018 of 5540 strings; 526 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: 72.5% (4017 of 5540 strings; 527 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: 72.5% (4017 of 5540 strings; 527 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: 72.4% (4014 of 5540 strings; 530 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: 72.4% (4013 of 5540 strings; 530 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: 72.2% (4005 of 5540 strings; 533 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: 72.2% (4005 of 5540 strings; 533 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>
2024-02-14 02:02:19 +01:00
Alexej
72f028060a
Translation update by Alexej <alexejkirsch@outlook.de> using Weblate
...
po/de.po: 100.0% (5540 of 5540 strings; 0 fuzzy)
2 failing checks (0.1%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Alexej <alexejkirsch@outlook.de>
2024-02-14 02:02:19 +01:00
Christopher Lam
03c5309666
[gnc-lot.cpp] convert to cpp
2024-02-09 17:23:51 +08:00
Christopher Lam
7d8d8f83be
[Recurrence.cpp] convert to cpp
2024-02-09 17:23:51 +08:00
Christopher Lam
783c3df3c0
[Transaction.cpp] convert to cpp
2024-02-09 17:23:51 +08:00
Christopher Lam
fc5d7f872e
[Split.cpp] convert to cpp
2024-02-09 17:23:51 +08:00
Christopher Lam
698cc23051
Add #ifdef __cplusplus extern "C" {} wrappers to .h files
2024-02-08 21:26:47 +08:00
John Ralls
ef094082b1
Merge Bob Fewell's 'bug799179' into stable.
2024-02-05 10:38:37 -08:00
Szia Tomi
b7e6814415
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 72.2% (4002 of 5540 strings; 534 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>
2024-01-30 23:01:59 +01:00
Szia Tomi
7a7bc09365
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 72.2% (4000 of 5540 strings; 535 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: 72.2% (4000 of 5540 strings; 535 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: 72.1% (3999 of 5540 strings; 535 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: 72.1% (3995 of 5540 strings; 539 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: 72.0% (3991 of 5540 strings; 540 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: 71.7% (3975 of 5540 strings; 542 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>
2024-01-29 17:01:46 +01:00
Christian Wehling
163b3e2042
Translation update by Christian Wehling <christian.wehling@web.de> 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: Christian Wehling <christian.wehling@web.de>
2024-01-29 17:01:46 +01:00
Christopher Lam
928f9245e6
[gtest-gnc-numeric] add operator comparisons
...
with example int64 numbers
2024-01-29 08:55:56 +08:00
Christopher Lam
a301544376
Merge branch 'stock-acct-metadata' into stable #1858
2024-01-27 14:26:13 +08:00
Szia Tomi
b31baf344f
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: 71.7% (3975 of 5540 strings; 542 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>
2024-01-26 20:57:36 +01:00
Christopher Lam
e0c8e1c09b
[qif-merge-groups] addendum to e8bb8b6146
: add module for gnc:warn
2024-01-27 03:57:00 +08:00
Christopher Lam
4bbb2c2db0
[balsheet-pnl] don't add trailing <br> in monetary cell
2024-01-27 03:45:21 +08:00