Kaantaja
e3fd6bf4fe
Translation update by Kaantaja <ufdbvgoljrjkrkyyub@ianvvn.com> using Weblate
...
po/glossary/fi.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fi/
Co-authored-by: Kaantaja <ufdbvgoljrjkrkyyub@ianvvn.com>
2021-08-25 19:34:29 +02:00
Christopher Lam
37cb886de5
[engine.i] gnc_budget_get_account_period_note to be freed by the caller
...
amendment to last commit.
this pair of changes was necessary to allow the GValue to be unset.
2021-08-25 09:17:25 +08:00
Christopher Lam
c55ab50349
[gnc-budget.c] gnc_budget_get_account_period_note to be freed by the caller
2021-08-24 23:02:15 +08:00
Christopher Lam
9ddb9e8215
[gnc-module.c] free a GList* properly
...
g_list_free (current) was a NOP because current became NULL after the
preceding GList traversal.
2021-08-24 22:32:39 +08:00
Simon Arlott
0665208299
xml-backend: Lock file is deleted even if the lock is not acquired
...
The lock file is set in m_lockfile and then unlinked in session_end even if
the lock was not acquired.
Clear m_lockfile if locking was not successful.
2021-08-24 09:29:47 +01:00
Simon Arlott
e4619fdae6
xml-backend: Don't try to close m_lockfd if it's not open
...
m_lockfd is not initialised. If the file is locked then it will not be set
before session_end and close() will be called on an uninitialised int.
Initialise it to -1 in the class definition.
Consistently use -1 instead of "< 0" or "< 1" as the definition of invalid.
Always set it to -1 after closing it.
2021-08-24 09:29:45 +01:00
Frank H. Ellenberger
383276579e
Update file extension in man pages
...
https://lists.gnucash.org/pipermail/gnucash-user/2021-August/097472.html
2021-08-24 01:20:32 +02:00
Yordan Miladinov
6cb509ea7d
fix an uncaught exception: denom_lcd may throw an overflow exception if casting lcm to int64_t fails
2021-08-24 00:58:31 +03:00
Christopher Lam
929cb3d0c1
[engine.i] free swigged GList* arg
2021-08-24 00:13:45 +08:00
TianXing_Yi
0f3da06723
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5353 of 5364 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 TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5353 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-08-22 13:32:23 +02:00
Avi Markovitz
34f42ec9b2
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/glossary/he.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2021-08-22 13:32:23 +02:00
Yaron Shahrabani
71ad5c8383
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2021-08-22 13:32:22 +02:00
Avi Markovitz
e513557011
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/glossary/he.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2021-08-22 13:32:22 +02:00
Christopher Lam
c398bef597
[window-main-summarybar] move mnemonic to get_total_mode_label
...
avoiding static char* reassignment
2021-08-21 23:45:34 +08:00
Christopher Lam
7e41efc232
Merge branch 'maint-speedup-and-leaks' into maint #1109
...
Speedup xaccSplitGetOtherSplit
2021-08-20 21:23:35 +08:00
Christopher Lam
ff2ceb111d
[gnc-commodity] GValue must be unset
2021-08-20 17:02:58 +08:00
Christopher Lam
9fc1ac6be1
Merge branch 'maint-guile-changes' into maint #1111
2021-08-20 17:02:19 +08:00
Christopher Lam
9bc44c62e6
[engine.i] free GSList* key_path arg to qof_book_get_option
...
Addendum to 6c8af6aab
need to specify exact typemap target.
2021-08-20 17:01:42 +08:00
Christopher Lam
15b8545e2f
Merge branch 'maint-leaks' into maint #1113
2021-08-20 09:24:33 +08:00
Christopher Lam
6c8af6aab1
[engine.i] free GSList* arg to qof_book_get_option
2021-08-20 09:03:37 +08:00
Christopher Lam
4cf25cb7be
GList* from gtk_container_get_children must be freed
...
fix leaks
2021-08-20 09:03:37 +08:00
Christopher Lam
c442192bb4
[gnc-amount-edit] g_free char* empty string.
...
1 byte is allocated if filtered_string is the empty string. free it.
2021-08-20 09:03:36 +08:00
John Ralls
3935f1a91b
Don't put labels on checkboxes, they have their own.
2021-08-19 15:50:55 -07:00
John Ralls
62ab148a3e
Output a pair when writing relative date values to scheme file.
...
So that the can be properly recognized on input.
2021-08-19 09:48:44 -07:00
Christopher Lam
c4a0fb468b
[srfi64-extras.scm] exit instead of return #t if no failures
...
due to change in guile-3.0.7 to fix srfi64 bug
2021-08-19 20:56:13 +08:00
John Ralls
b3f96701a0
GncOptionAccountListValue: Make setter param cv match template.
2021-08-18 16:14:21 -07:00
John Ralls
7392ac6fcf
Prevent running off the end of the GncOptionUI widget's parent tree.
2021-08-18 15:51:19 -07:00
John Ralls
b361582cf2
Ensure option UI is sorted: Tabs by names, items by keys.
2021-08-18 15:42:29 -07:00
John Ralls
10381d42e0
Fix color option handling.
...
Read and write color options the way legacy code does. Pass only values
with no alpha to gdk_rgba_parse because it fails if a hex-string has
alpha.
2021-08-18 13:38:06 -07:00
John Ralls
97a317b50c
Ensure that alpha values in colors aren't passed to html.
...
html color tags don't like them.
2021-08-17 15:47:11 -07:00
John Ralls
3d1812aacd
Explicitly cast a value to the decltype of get_value().
...
Can't always rely on implicit conversion working.
2021-08-17 15:41:26 -07:00
John Ralls
bbe8ebbc15
Reserve space for the accounts in their vector.
...
Instead of creating an empty vector and then adding the accounts to the
end of it.
2021-08-17 15:38:07 -07:00
John Ralls
42b4755aea
Set the initial value on Relative Date combo boxes.
2021-08-17 15:36:51 -07:00
John Ralls
c06924622c
Null-value protection for GUID and account values.
2021-08-17 15:34:45 -07:00
John Ralls
53fac914c0
Re-enable connecting the buttons on the Stylesheet Edit select dialog.
2021-08-17 15:30:44 -07:00
Christian Wehling
57866eed88
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 99.8% (5357 of 5364 strings; 7 fuzzy)
250 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2021-08-17 13:34:16 +02:00
Avi Markovitz
2727259f59
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/glossary/he.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/glossary/he.po: 100.0% (209 of 209 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/he/
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5364 of 5364 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2021-08-17 13:34:16 +02:00
TianXing_Yi
a96024ca8f
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
...
po/zh_CN.po: 99.7% (5351 of 5364 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 TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5351 of 5364 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 TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5351 of 5364 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 TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.7% (5351 of 5364 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: TianXing_Yi <ytx.cash@gmail.com>
2021-08-17 13:34:15 +02:00
Christopher Lam
028bf9826b
[Split] xaccSplitGetOtherSplit don't test book trading-accts
...
don't test trading-acct property when finding other split.
2021-08-17 13:04:34 +08:00
John Ralls
e77b5ec03b
Fix RelativeDateValue GtkListModel spec: No tooltips anymore.
2021-08-15 14:27:59 -07:00
John Ralls
474bc360f4
Improve converting vectors to SCM lists.
2021-08-15 14:25:52 -07:00
Christopher Lam
6bf5a618de
qof_instance_get gchar* must be freed
...
A call to qof_instance_get expecting a gchar* receives a newly
allocated string which must be freed.
2021-08-15 09:49:06 +08:00
John Ralls
1cd2cf211c
Specialize QofInstance* options set_value, catch validation exceptions.
...
GncOptionValue<const QofInstance*>.get_value() returns a QofInstance* but
reports store them as strings, either commodity mnemonics or GUIDs.
Specialize set_value/set_default_value from scheme to handle those
possibilities.
GncOptionValidatedValue throws an invalid_argument exception if it's
fed an invalid argument. Catch that so that it doesn't crash the program.
2021-08-13 14:06:47 -07:00
John Ralls
852b2ffc2e
Handle bare currency mnemonics, catch invalid GUID string exceptions.
2021-08-13 14:06:47 -07:00
John Ralls
e43ff93279
Fix some overly-long lines.
2021-08-13 14:06:47 -07:00
John Ralls
1af97ebb9a
Implement registering/unregistering/calling change callbacks.
...
Drives reloading the report when the Apply or OK button is pressed.
2021-08-13 14:06:47 -07:00
Christopher Lam
e4d808e674
[qofbook] qof_book_use_split_action_for_num_field: free a char*
...
qof_instance_get allocates a new char* which must be freed.
2021-08-13 08:58:07 +08:00
Christopher Lam
6fd19f2eea
[dialog-lot-viewer] g_free a GList* properly
...
g_list_free requires the argument is the head of a GList. Calling
g_list_reverse makes the filtered_list points to the last
element. Assigning filtered_list to the result of g_list_reverse
ensures it still points to the head, allowing g_list_free to free the
list properly.
2021-08-13 08:56:34 +08:00
John Ralls
86da12d844
Use RGB instead of RGBA for color set for color
2021-08-12 14:28:44 -07:00
Christopher Lam
37895bfdad
[reports] remove deprecated owner-report creation functions
2021-08-12 22:30:39 +08:00