Commit Graph

28340 Commits

Author SHA1 Message Date
Christopher Lam
fdcb8b46bd [sixtp-dom-generators.cpp] char* must be freed 2023-11-11 12:45:57 +08:00
Christopher Lam
8f7eecd3e9 Merge branch 'icu-list-formatter' into stable #1791 2023-11-10 18:58:35 +08:00
Christopher Lam
ae58c12601 [import-main-matcher] don't quote account fullnames 2023-11-10 18:57:03 +08:00
John Ralls
e6a30f7708 Merge Mark Browning's 'check-print-subacct' into stable. 2023-11-09 13:57:06 -08:00
hades
0650f56e96
Translation update by hades <dev@hades.name> using Weblate
po/ru.po: 71.5% (3959 of 5532 strings; 1056 fuzzy)
318 failing checks (5.7%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: hades <dev@hades.name>
2023-11-07 22:56:01 +01:00
Pedro Albuquerque
575d5fc992
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/glossary/pt.po: 100.0% (212 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-11-07 22:56:01 +01:00
Christopher Lam
b450d9a637 [gnc-plugin-page-report] re-enable actions after disabling
Otherwise Print, PDFExport, Report Options remain disabled after
modifying report options. Also restore nullptr sentinel in
disable_during_load_actions array.
2023-11-08 05:53:50 +08:00
Mark Browning
c2ef684b59 Correct check amount when printed from subaccount
Previously, GnuCash would include only a single split's amount as the check
amount. If a "bank" account has multiple subaccounts for budgeting reasons, and
a transaction involves both "internal" (e.g. from one bank subaccount to
another bank subaccount) and external transfers, then even when a "subaccount"
register showing the top-level bank account is printed from, the check will
have the amount of the first split rather than the total of all splits which
are from subaccounts.

This change communicates the parent account (when viewed from a "subccount"
register) to the check printing dialog so that the check amount matches the
amount displayed in the register.
2023-11-06 21:52:49 -06:00
Christopher Lam
9e47c297ba Merge branch 'plug-recurrence-to-string' into stable #1812 2023-11-07 06:28:39 +08:00
John Ralls
4da655d0f9 Merge Adam Wight's 'mem-fix' into stable. 2023-11-06 12:33:41 -08:00
John Ralls
4e937f55c5 Merge Hades's 'patch-1' into stable. 2023-11-06 12:20:59 -08:00
hades
e183d1d858
add a tip on keyboard shortcuts 2023-11-06 17:16:04 +01:00
hades
da6f20ddab
Translation update by hades <dev@hades.name> using Weblate
po/ru.po: 71.5% (3959 of 5532 strings; 1056 fuzzy)
318 failing checks (5.7%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: hades <dev@hades.name>
2023-11-06 11:34:18 +01:00
Christopher Lam
12f4233396 recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary
... for sql use only. xml use assumes they return a const char*.
2023-11-06 17:37:17 +08:00
Adam Wight
fbc183a544 Always return an allocated gchar*
Returning the literal string will cause the caller to free unallocated
memory.
2023-11-05 23:58:01 +01:00
hades
4b6a9b8560
Translation update by hades <dev@hades.name> using Weblate
po/glossary/ru.po: 89.6% (190 of 212 strings; 12 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ru/

Co-authored-by: hades <dev@hades.name>
2023-11-05 15:32:52 +01:00
mocsa
5937b5d542
Translation update by mocsa <csaba@feltoltve.hu> 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: mocsa <csaba@feltoltve.hu>
2023-11-04 19:34:42 +00:00
Zdenko Podobný
a0d9694d2b
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 89.5% (4952 of 5532 strings; 129 fuzzy)
26 failing checks (0.4%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2023-11-04 19:34:41 +00:00
Wellington Terumi Uemura
2ca6cb2a34
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 94.6% (5234 of 5532 strings; 186 fuzzy)
33 failing checks (0.5%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-11-03 00:24:01 +01:00
John Ralls
5e06c8d8a0 Fix NULL dereference in gnc_plugin_page_report_focus_widget.
Reported by Michael Hendry in gnucash-user.
2023-11-01 19:54:54 -07:00
Christopher Lam
d617129db8 avoid strlen where possible
if testing emptiness, test *str instead.
2023-11-01 22:43:16 +08:00
Kaligula
f30fcc2ac4
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 70.8% (3918 of 5532 strings; 1070 fuzzy)
272 failing checks (4.9%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2023-11-01 05:33:44 +01:00
Wellington Terumi Uemura
daf0dc01d9
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 93.6% (5183 of 5532 strings; 235 fuzzy)
80 failing checks (1.4%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-11-01 05:33:44 +01:00
Marko Kohtala
3fdcfc44f4
Translation update by Marko Kohtala <marko.kohtala@gmail.com> using Weblate
po/fi.po: 68.5% (3791 of 5532 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/

Co-authored-by: Marko Kohtala <marko.kohtala@gmail.com>
2023-10-30 13:04:28 +00:00
Wellington Terumi Uemura
74b0979811
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 93.1% (5154 of 5532 strings; 247 fuzzy)
80 failing checks (1.4%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-10-30 13:04:27 +00:00
Marko Kohtala
ad15b2db5d
Translation update by Marko Kohtala <marko.kohtala@gmail.com> using Weblate
po/fi.po: 68.3% (3780 of 5532 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/

Co-authored-by: Marko Kohtala <marko.kohtala@gmail.com>
2023-10-29 21:44:29 +01:00
Milo Ivir
196f9bf0e1
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 97.0% (5370 of 5532 strings; 61 fuzzy)
2 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>
2023-10-29 21:44:29 +01:00
Marko Kohtala
71b27c4f07
Translation update by Marko Kohtala <marko.kohtala@gmail.com> using Weblate
po/fi.po: 64.8% (3587 of 5532 strings; 193 fuzzy)
9 failing checks (0.1%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/

Co-authored-by: Marko Kohtala <marko.kohtala@gmail.com>
2023-10-28 16:03:22 +00:00
Marko Kohtala
b88211d7d9
Translation update by Marko Kohtala <marko.kohtala@gmail.com> using Weblate
po/fi.po: 64.7% (3580 of 5532 strings; 197 fuzzy)
9 failing checks (0.1%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/

Co-authored-by: Marko Kohtala <marko.kohtala@gmail.com>
2023-10-27 00:41:52 +02:00
Zdenko Podobný
77b0870d8c
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 87.4% (4835 of 5532 strings; 168 fuzzy)
20 failing checks (0.3%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2023-10-27 00:41:52 +02:00
mocsa
24a6419da6
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.5% (3847 of 5532 strings; 641 fuzzy)
7 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-10-27 00:41:52 +02:00
Milo Ivir
ded077b258
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 97.0% (5369 of 5532 strings; 62 fuzzy)
2 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>
2023-10-27 00:41:51 +02:00
Zdenko Podobný
048ad42428
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 85.6% (4736 of 5532 strings; 200 fuzzy)
19 failing checks (0.3%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2023-10-24 17:04:15 +02:00
Wellington Terumi Uemura
35af0088e8
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 92.9% (5144 of 5532 strings; 257 fuzzy)
90 failing checks (1.6%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/pt_BR.po: 92.7% (5131 of 5532 strings; 270 fuzzy)
103 failing checks (1.8%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-10-24 17:04:15 +02:00
Ral Hole
790af261c4
Translation update by Ral Hole <ral-hole@outlook.com> using Weblate
po/zh_CN.po: 99.1% (5486 of 5532 strings; 42 fuzzy)
16 failing checks (0.2%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Ral Hole <ral-hole@outlook.com>
2023-10-22 18:21:28 +02:00
Milo Ivir
dd19b4867c
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 97.0% (5368 of 5532 strings; 62 fuzzy)
2 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: 97.0% (5368 of 5532 strings; 62 fuzzy)
2 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: 97.0% (5368 of 5532 strings; 62 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>
2023-10-22 18:21:28 +02:00
John Ralls
f12c72f10c Merge Simon Arlott's 'bug-799108-sx-crash' into stable. 2023-10-22 09:18:30 -07:00
Simon Arlott
90c9aaf4cb
Bug 799108 - "Since Last Run" crashes if there are any errors creating a scheduled transaction
Pass a creation_errors list to gnc_sx_instance_model_effect_change() so
that errors creating SX can be stored, and then display them.
2023-10-21 20:39:23 +01:00
John Ralls
4592530318 Bug 799099 - Crash when trying to get quotes
The comment on gnc_pricedb_add_price says that writing to the
GNCPrice* after calling it will produce interesting results, and
calling gnc_price_commit_edit and g_object_unref both qualify, so
remove those calls and the corresponding gnc_price_begin_edit.
2023-10-20 08:46:57 -07:00
Milo Ivir
5669980589
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.8% (5357 of 5532 strings; 70 fuzzy)
4 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>
2023-10-19 06:10:18 +02:00
Christopher Lam
d25fb50b2c [gnucash-commands.cpp] plug some char* leaks 2023-10-16 12:06:26 +08:00
John Ralls
8046eb2c08 Merge Sherlock's 'bug-799104' into stable. 2023-10-14 17:29:52 -07:00
Szia Tomi
8b3d0beea7
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-10-14 23:38:56 +02:00
Wellington Terumi Uemura
cedb576979
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 92.7% (5130 of 5532 strings; 270 fuzzy)
104 failing checks (1.8%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/pt_BR.po: 92.2% (5105 of 5532 strings; 295 fuzzy)
131 failing checks (2.3%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/glossary/pt_BR.po: 100.0% (212 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/pt_BR.po: 91.8% (5079 of 5532 strings; 300 fuzzy)
131 failing checks (2.3%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-10-14 23:38:56 +02:00
Sherlock
52f1076b30
Bug 799104 - "Asset Chart" broken 2023-10-13 16:58:54 -07:00
Christopher Lam
73bb340a83 [report-utilities.scm] pull out gnc:dump-transaction 2023-10-13 20:04:27 +08:00
John Ralls
44c278a82c Fix GncDateEntry date parsing oddities.
The intent was always to default to today if the input string isn't
parsable, but two problems prevented that: First,
qof_scan_date_internal didn't check the return value of strptime and
return FALSE if it failed and second gnc_date_edit_get_date_internal
would unnecessarily munge a valid struct tm from gnc_tm_get_today_neutral.
2023-10-12 15:51:35 -07:00
Szia Tomi
55ab2a1cf2
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.3% (3838 of 5532 strings; 644 fuzzy)
6 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-10-11 21:00:52 +00:00
mocsa
a1ebf6fdaf
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.3% (3838 of 5532 strings; 644 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 69.3% (3838 of 5532 strings; 644 fuzzy)
6 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-10-11 21:00:51 +00:00
Szia Tomi
431ae901fd
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.2% (3833 of 5532 strings; 646 fuzzy)
6 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-10-11 21:00:50 +00:00