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
Robert Fewell
b728a331cf
Realign source file gnc-amount-edit.* for white space
2021-05-31 11:11:01 +01:00
Robert Fewell
32f605aec2
Extract common code used in pricecell and formulacell to basiccell
2021-05-31 11:11:01 +01:00
Robert Fewell
6facaa0683
Change how the print_info is obtained for the register
...
Currently the register sets up some 'print_info' values using the
default account but if the register is a stock register they should be
obtained from a parent account with a currency.
2021-05-31 11:11:01 +01:00
Robert Fewell
748dbf54e0
Change monetary value for gnc_default_share_print_info
...
Share values are not currencies so set the monetary value to 0 for the
GNCPrintAmountInfo
2021-05-31 11:11:01 +01:00
Robert Fewell
435bb1c76b
Parse the register monetary cells for a currency symbol
...
Add the ability to strip the currency symbol from a registry monetary
cell if it is pasted with one so it can be validated.
2021-05-31 11:11:01 +01:00
Robert Fewell
5779e72db4
Realign source file gnucash-item-edit.c for white space
2021-05-31 11:11:01 +01:00
Robert Fewell
d55060c0fc
Bug 796761 - Control characters can be pasted in register fields
...
If copied text includes control characters they are inserted when
pasted which can cause alignment issues. This commit filters the
clipboard text for control characters before it is pasted.
2021-05-31 11:11:01 +01:00
Robert Fewell
ec9cdd151d
Remove spurious GtkLabel from dialog-transfer.glade
2021-05-31 10:47:27 +01:00
峡州仙士
e5b11401d1
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 100.0% (5479 of 5479 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-30 05:10:15 +02:00
Christopher Lam
f37fa85705
build dom_tree_to_list_kvp_value more efficiently
...
seems to be unused however
2021-05-30 11:09:39 +08:00
Christopher Lam
59386b4081
gchar* dom_tree_to_text must be g_freed
2021-05-30 08:10:19 +08:00
Christopher Lam
292deb0a11
[binreloc.c] free strings
...
subdir, prefix are not consistently freed.
2021-05-29 07:55:26 +08:00
Christopher Lam
1f28162729
[gnc-tree-view.c] free array of strings
...
was created with g_strsplit but never freed.
2021-05-29 07:54:04 +08:00
峡州仙士
88f372da07
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 100.0% (5479 of 5479 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-28 03:35:53 +02:00
Christopher Lam
d83eff3a55
Merge branch 'maint'
2021-05-28 08:00:20 +08:00
Frank H. Ellenberger
471f54e7c9
Merge remote-tracking branch 'weblate/maint' into maint
2021-05-27 17:37:13 +02:00
峡州仙士
d6d14411b7
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 99.9% (5475 of 5479 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
po/zh_CN.po: 99.9% (5475 of 5479 strings; 0 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-27 03:35:44 +02:00
Adolfo Jayme Barrientos
b515593909
Translation update by Adolfo Jayme Barrientos <fitojb@ubuntu.com> using Weblate
...
po/es.po: 94.8% (5198 of 5479 strings; 237 fuzzy)
82 failing checks (1.4%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-05-27 03:35:44 +02:00
峡州仙士
383073b0ee
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 99.9% (5475 of 5479 strings; 0 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-26 16:34:38 +02:00
Adolfo Jayme Barrientos
4d789cd8d9
Translation update by Adolfo Jayme Barrientos <fitojb@ubuntu.com> using Weblate
...
po/es.po: 94.8% (5198 of 5479 strings; 237 fuzzy)
82 failing checks (1.4%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-05-26 16:34:37 +02:00
Ralf Habacker
296d05afd8
commodity_changed_cb(): Prevent a signal handler loop when recognizing multiple opening balance accounts
...
See #820
2021-05-26 12:17:28 +02:00
Eugenia Russell
5b996085c6
Translation update by Eugenia Russell <eugenia.russell2019@gmail.com> using Weblate
...
po/el.po: 53.7% (2944 of 5479 strings; 1500 fuzzy)
611 failing checks (11.1%)
Translation: GnuCash/Program (Greek)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/el/
Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
2021-05-25 01:33:41 +02:00
峡州仙士
91a94cdfbf
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 92.0% (5042 of 5479 strings; 324 fuzzy)
324 failing checks (5.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-25 01:33:41 +02:00
峡州仙士
d174b9ad37
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 77.0% (4220 of 5479 strings; 1139 fuzzy)
390 failing checks (7.1%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
po/zh_CN.po: 74.4% (4078 of 5479 strings; 1282 fuzzy)
541 failing checks (9.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-24 03:35:03 +02:00
John Ralls
2ab5357be6
Merge Ralf Habacker's 'account-dialog-opa-state-fix' into maint.
2021-05-23 15:06:14 -07:00
Ralf Habacker
0a5f05c0cb
Enable the opening balance tab in the Edit Account dialog.
...
When the account has no splits. This enables a user who meant to add an
opening account either in the Account Hierarchy Assistant or the New
Account dialog to do so more easily than by creating such a transaction
by hand.
2021-05-23 14:58:07 -07:00
Ralf Habacker
f88033850c
In the account dialog, make sure that the state of the dialog is checked and not the account type
...
Fix for #762 mentioned at #820 .
2021-05-22 12:57:14 +02:00
峡州仙士
f782ef37a1
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
...
po/zh_CN.po: 74.3% (4075 of 5479 strings; 1285 fuzzy)
543 failing checks (9.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
po/zh_CN.po: 73.8% (4044 of 5479 strings; 1288 fuzzy)
553 failing checks (10.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 峡州仙士 <c@cjh0613.com>
2021-05-21 18:34:07 +02:00
Aputsiak Niels Janussen
b7c7637220
Translation update by Aputsiak Niels Janussen <aj@isit.gl> using Weblate
...
po/glossary/da.po: 82.6% (172 of 208 strings; 22 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Danish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/da/
Co-authored-by: Aputsiak Niels Janussen <aj@isit.gl>
2021-05-21 18:34:06 +02:00
Christopher Lam
e0c260fe0b
Bug 798188 - The Invoice Editor -> Printable Invoice toolbar button crashes on Windows
...
search the list of active report pages.
2021-05-21 19:17:11 +08:00