John Ralls
42213c597c
Bug 798199 - Pasting invalid value in date column crashes GnuCash
...
Catch boost::gregorian::bad_year in LDT_from_struct_tm and rethrow
std::invalid_argument for C wrappers to catch and handle.
2021-06-08 13:14:30 -07:00
John Ralls
66685f042e
Merge Bob Fewell's 'bug796761' into maint.
2021-06-08 11:58:27 -07:00
Frank H. Ellenberger
115b7bc2bf
Merge PR #1027 into maint
2021-06-08 06:25:00 +02:00
Frank H. Ellenberger
1dccb4e075
Merge PR #1026 into maint
2021-06-08 06:20:05 +02:00
Christopher Lam
b095d1e7da
Revert "[qofquery] q->terms g_list members must be freed"
...
This reverts commit a3e3823ee7 .
Already freed earlier in the same function.
2021-06-08 07:36:47 +08:00
Brian Hsu
3f4ca607d9
Cleanup and update zh_TW.po to match current codebase.
2021-06-07 14:47:58 +08:00
Brian Hsu
250444b3ba
Mark non-leaf account as placeholder in zh_TW example.
2021-06-07 14:19:41 +08:00
Arve Eriksson
714a0875c1
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/glossary/sv.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/sv/
Co-authored-by: Arve Eriksson <031299870@telia.com >
2021-06-07 04:34:21 +02:00
Brian Hsu
55d8e48aab
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 97.8% (5360 of 5479 strings; 96 fuzzy)
150 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.8% (5360 of 5479 strings; 96 fuzzy)
150 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.8% (5360 of 5479 strings; 96 fuzzy)
150 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.8% (5360 of 5479 strings; 96 fuzzy)
150 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.8% (5360 of 5479 strings; 96 fuzzy)
150 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.5% (5343 of 5479 strings; 96 fuzzy)
149 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 97.0% (5315 of 5479 strings; 96 fuzzy)
148 failing checks (2.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 96.0% (5263 of 5479 strings; 96 fuzzy)
146 failing checks (2.6%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com >
2021-06-07 04:34:21 +02:00
Allan Nordhøy
4d60509681
Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
...
po/nb.po: 53.1% (2910 of 5479 strings; 1696 fuzzy)
506 failing checks (9.2%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Allan Nordhøy <epost@anotheragency.no >
2021-06-07 04:34:20 +02:00
Brian Hsu
496a85fb38
add account examples for zh_TW.
2021-06-06 22:14:09 +08:00
Brian Hsu
85de2846c3
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 94.7% (5190 of 5479 strings; 96 fuzzy)
261 failing checks (4.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 92.0% (5042 of 5479 strings; 241 fuzzy)
322 failing checks (5.8%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 89.8% (4925 of 5479 strings; 358 fuzzy)
343 failing checks (6.2%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com >
2021-06-04 18:21:38 +02:00
Allan Nordhøy
cc5ce9d186
Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
...
po/nb.po: 53.1% (2910 of 5479 strings; 1696 fuzzy)
506 failing checks (9.2%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Allan Nordhøy <epost@anotheragency.no >
2021-06-04 18:21:38 +02:00
Christopher Lam
3353d3950b
[gnc-budget] g_value_unset GValue
2021-06-05 00:20:23 +08:00
Christopher Lam
a6ecd30741
[gnc-budget-view] free GList*
2021-06-05 00:20:10 +08:00
Henio Szewczyk
e0c6c76a01
Translation update by Henio Szewczyk <henryk.szewczyk09@gmail.com> using Weblate
...
po/glossary/pl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pl/
Translation update by Henio Szewczyk <henryk.szewczyk09@gmail.com > using Weblate
po/pl.po: 61.8% (3388 of 5479 strings; 1588 fuzzy)
698 failing checks (12.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/
Co-authored-by: Henio Szewczyk <henryk.szewczyk09@gmail.com >
2021-06-03 17:23:51 +02:00
Brian Hsu
01e9f4dece
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 85.0% (4661 of 5479 strings; 497 fuzzy)
387 failing checks (7.0%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 80.8% (4431 of 5479 strings; 636 fuzzy)
457 failing checks (8.3%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 76.7% (4206 of 5479 strings; 811 fuzzy)
499 failing checks (9.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 72.7% (3987 of 5479 strings; 953 fuzzy)
543 failing checks (9.9%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 72.2% (3961 of 5479 strings; 975 fuzzy)
556 failing checks (10.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 71.3% (3910 of 5479 strings; 1007 fuzzy)
564 failing checks (10.2%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/glossary/zh_TW.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 68.8% (3770 of 5479 strings; 1097 fuzzy)
590 failing checks (10.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com >
2021-06-03 17:23:50 +02:00
Allan Nordhøy
16faea8d8f
Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
...
po/nb.po: 52.3% (2870 of 5479 strings; 1739 fuzzy)
516 failing checks (9.4%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Allan Nordhøy <epost@anotheragency.no >
2021-06-03 17:23:49 +02:00
Frank H. Ellenberger
bdc8616425
Merge PR #1023 into maint
2021-06-03 17:14:44 +02:00
Christopher Lam
5e4668ea03
[gnc-ledger-display] free QofQuery*
2021-06-03 21:34:47 +08:00
Christopher Lam
a3e3823ee7
[qofquery] q->terms g_list members must be freed
2021-06-03 17:16:09 +08:00
Christopher Lam
9f1c179fca
builder must be g_object_unref'ed
2021-06-03 16:12:46 +08:00
Christopher Lam
020f9a58f4
[gnc-plugin-page-register] Disable reverse on blank split
2021-06-03 13:50:10 +08:00
Timotheus Pokorra
51fb3f361e
SKR-49: add missing code 4500-4504
2021-06-02 19:12:13 +02:00
Timotheus Pokorra
ce1818da08
SKR49: drop duplicate account 5490
2021-06-02 19:11:10 +02:00
Timotheus Pokorra
e8a36ddb95
SKR49: fix account code 0674
2021-06-02 19:10:22 +02:00
Christopher Lam
f525712260
[gnc-plugin-page-report] free char*
2021-06-02 22:04:54 +08:00
Christopher Lam
8a6413342d
[SchedXaction] free GList*
2021-06-02 22:04:54 +08:00
Christopher Lam
c5585ebe2c
[gncInvoice] free GList*
2021-06-02 22:04:52 +08:00
Christopher Lam
d611538ae7
[gncTaxtable] free GSList*
2021-06-02 22:04:33 +08:00
Christopher Lam
2807613c40
[gnc-plugin-page] free char*
2021-06-02 22:04:25 +08:00
Christopher Lam
f33b281046
[dialog-payment] xaccTransGetAPARAcctSplitList must be freed
2021-06-02 21:36:42 +08:00
Christopher Lam
fc67b03e5c
[gnc-plugin-page-register] xaccTransGetAPARAcctSplitList must be freed
2021-06-02 21:36:42 +08:00
Christopher Lam
d79b2ea371
[gnc-icons] g_build_filename needs to be g_freed
2021-06-02 21:36:37 +08:00
Christopher Lam
b3101c9385
[gnc-pricedb.c] plug GList leak
2021-06-02 20:09:45 +08:00
Brian Hsu
2906b48468
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
...
po/zh_TW.po: 66.9% (3670 of 5479 strings; 1162 fuzzy)
604 failing checks (11.0%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 65.0% (3565 of 5479 strings; 1254 fuzzy)
618 failing checks (11.2%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 62.2% (3409 of 5479 strings; 1351 fuzzy)
650 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 61.0% (3346 of 5479 strings; 1385 fuzzy)
655 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Translation update by Brian Hsu <brianhsu.hsu@gmail.com > using Weblate
po/zh_TW.po: 58.3% (3195 of 5479 strings; 1445 fuzzy)
665 failing checks (12.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com >
2021-06-01 18:34:45 +02:00
Christopher Lam
8a56a00313
Modify documentation for gncEntryComputeValue
...
Modify documentation for be19b489e
2021-06-01 08:14:25 +08:00
Christopher Lam
be19b489e4
[gncEntryLedger] free taxes, a list of GncAccountValue
2021-05-31 23:12:59 +08:00
Christopher Lam
c3ed055f31
[gncEntryLedgerModel] const functions should return static buffer
2021-05-31 22:22:54 +08:00
Christopher Lam
4a45d36047
[split-register-model] const functions should return static buffer
2021-05-31 22:22:54 +08:00
Robert Fewell
8f0631590b
Add validation to the use of GNCAmountEdit for rest
...
Add validation of GNCAmountEdit where used in the remaining source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
862e0ca579
Add validation to the use of GNCAmountEdit for search
...
Add validation of GNCAmountEdit where used in the search source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
08b578a2e4
Add validation to the use of GNCAmountEdit for fincalc
...
Add validation of GNCAmountEdit where used in the fincalc source files
and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
510e186ed2
Add validation to the use of GNCAmountEdit for assistants
...
Add validation of GNCAmountEdit where used in the assistant source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
92b877ccd1
Add validation to the use of GNCAmountEdit for Business
...
Add validation of GNCAmountEdit where used in the Business source files
and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
faaed371ed
Bug 798144 - Reconciliation uses different number than entered
...
If a number was pasted into the balance end value with a currency
symbol the number would silently fail on evaluate and cause the wrong
value to be used. With previous changes to the GNCAmountEdit widget a
warning symbol will indicate a validation error and prevents going
forward.
2021-05-31 11:11:01 +01:00
Robert Fewell
51b062524b
Change GNCAmountEdit to be based on a GtkBox
...
To indicate that the expression entered has failed change the widget it
is based on to a box and add a warning triangle image with tooltip that
is made visible when the validation has failed. This is less intrusive
but if required the error message can be retrieved and used for a
warning dialog if that is in keeping with other dialog checks.
2021-05-31 11:11:01 +01:00
Robert Fewell
7ee9dac2e9
Add filter for currency symbol for GNCAmountEdit widget
...
When pasting an amount that includes the currency symbol the validation
will silently fail which may lead to unusual behaviour.
2021-05-31 11:11:01 +01:00
Robert Fewell
db6f233705
Incorrect validation for GNCAmountEdit
...
gnc_amount_edit_expr_is_valid can return 0 for validation OK, 1 for an
error with no position information and also the position of that error.
If the error was at position 0, that will look like the validation was
OK so instead return 1 and use a GError parameter using the position as
the code and setting the message to the common format used. Also as
gnc_amount_edit_evaluate could also benefit from using the GError add
that as a parameter and initially set all occurrences of use to NULL.
2021-05-31 11:11:01 +01:00
Robert Fewell
788166b3a7
Filter control characters when pasted to GNCAmountEdit
2021-05-31 11:11:01 +01:00