John Ralls
0ecafc93ed
Correct CMake distribution.
...
Remove deleted gnc-fq-helper.1 and gnc-fq-dump.1 doc dependencies.
Add csv-exp/test to Dist.
add csv-exp/test
2023-04-30 09:10:10 -07:00
John Ralls
bb423e4484
Merge CrfzdPQM6's 'b_betterCurrencyBudgetReporting' into stable.
2023-04-29 12:04:45 -07:00
Daniel Johnson
04b0317119
Demonstrate fx handling in budget report
2023-04-29 12:01:36 -07:00
John Ralls
df878c6a3d
Merge Maarten Bosmans's 'memleak-fixes' into stable.
2023-04-29 11:54:41 -07:00
Maarten Bosmans
71802b5627
[test] Fix memory leak in test-gnc-quotes
...
When the commodity table is registered, the current book will get
a default table assigned. When later setting the table explicitly
using qof_book_set_data() the exisiting table gets overwritten and
is thus leaked.
There is no way of removing or freeing a currency table from a book,
so the best we can do here is to set our own table on the book before
calling gnc_commodity_table_register().
2023-04-29 11:52:12 -07:00
Maarten Bosmans
6be682b645
Store allocated temporaries in a variable so they can be freed
...
If a function that returns an allocated pointer is passed directly into
something that does not take ownership of the pointer, the allocation is
leaked. This can be fixed by assigning the pointer to a new variable
and freeing it after operation on the memory.
2023-04-29 11:51:43 -07:00
John Ralls
168765cf77
Merge latest translations from Weblate.
2023-04-29 11:02:34 -07:00
YOSHINO Yoshihito
313d3ebe12
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
...
po/ja.po: 89.8% (4941 of 5502 strings; 225 fuzzy)
433 failing checks (7.8%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.7% (4939 of 5502 strings; 227 fuzzy)
435 failing checks (7.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.7% (4938 of 5502 strings; 228 fuzzy)
435 failing checks (7.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.5% (4929 of 5502 strings; 235 fuzzy)
436 failing checks (7.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
2023-04-29 19:53:51 +02:00
mocsa
cdd59d79d2
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 67.9% (3741 of 5502 strings; 651 fuzzy)
25 failing checks (0.4%)
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: 67.9% (3740 of 5502 strings; 651 fuzzy)
25 failing checks (0.4%)
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: 67.9% (3739 of 5502 strings; 651 fuzzy)
25 failing checks (0.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-04-29 19:53:51 +02:00
Andi Chandler
bb68845e94
Translation update by Andi Chandler <andi@gowling.com> using Weblate
...
po/en_GB.po: 100.0% (5502 of 5502 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
Co-authored-by: Andi Chandler <andi@gowling.com>
2023-04-29 19:53:51 +02:00
Arve Eriksson
ca87cc774f
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5502 of 5502 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: Arve Eriksson <031299870@telia.com>
2023-04-29 19:53:50 +02:00
Yuri Chornoivan
c904428916
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
...
po/uk.po: 100.0% (5502 of 5502 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/
Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
2023-04-29 19:53:50 +02:00
gallegonovato
0a8fa48336
Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
...
po/es.po: 100.0% (5502 of 5502 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>
2023-04-29 19:53:50 +02:00
Robert Fewell
5582e4793a
Change the preference option 'Future transactions after blank transaction'
...
With the use of reverse sort, the preference option needs changing, use
'Placement of future transactions' with appropriate tooltip changes.
2023-04-29 10:49:02 -07:00
Robert Fewell
f3991639c8
Change tooltip for 'Blank Transaction' in register
...
Change the tooltip to mention moving to the blank transaction.
2023-04-29 10:49:02 -07:00
Robert Fewell
5663efa113
Add the blank transaction at top of register
...
When the register is sorted in reverse order, add the blank transaction
at the top of the register.
2023-04-29 10:48:52 -07:00
John Ralls
98776629eb
Merge Kazuki Nishikawa's 'fix-ime-segv' into stable.
2023-04-29 10:41:47 -07:00
Kazuki Nishikawa
30da2b9a93
Prevent infinite recursion from gnucash_item_edit_focus_out.
...
When I try to use IME (e.g. fcitx) to narrow down a combo box,
infinite recursion occurs via `popup_set_focus` and GnuCash falls down
in SIGSEGV.
ref: https://github.com/Gnucash/gnucash/pull/1610#issuecomment-1528080452
2023-04-29 10:40:45 -07:00
John Ralls
4428827376
Merge Christian Wehling's 'manpage' into stable.
2023-04-29 10:32:09 -07:00
YOSHINO Yoshihito
b37c47140f
Bug 798894 - TOTD with ellipsis broken.
2023-04-29 10:13:29 -07:00
YOSHINO Yoshihito
08b5b5a932
Bug 798893 - several menu tip messages in reports are marked...
...
translatable but unused.
2023-04-29 10:09:15 -07:00
Christopher Lam
20970febed
[trep-engine] improve readability of left-columns
...
similar to 93dd19e98b
, change left-columns to use an assoc-list
instead of a vector. left-columns is not a customisable object, so
there's no need for a backward compatibility path.
2023-04-29 12:54:51 +08:00
Christopher Lam
08e9f48fdc
Merge branch 'stable-upgrade-trep-engine' into stable #1618
2023-04-29 08:23:13 +08:00
Christopher Lam
1a7fcb69c0
[gnc-features.cpp] remove_if requires <algorithm>
2023-04-29 08:17:22 +08:00
John Ralls
8481f062d4
Create obsolete features list with first member book_currency.
...
Obsolete features set in the book will be removed from the book's
KVP and ignored. Note the warning in the comment!
2023-04-28 17:08:04 -07:00
John Ralls
0d175dce12
Refactor gnc-features.
...
* type aliases to gnc-features.h
* string_views to avoid copying (all of the strings are static)
* qof_book_get_unknown_features returns a FeatureSet
2023-04-28 16:31:07 -07:00
John Ralls
e8c80f2f5c
Restore existence, but not implementation, of GNC_FEATURE_BOOK_CURRENCY.
...
At least one user has managed to get it set on their book so even
though it was supposed to be unimplemented it got through somehow.
Restoring it allows books with it set to load.
2023-04-28 14:15:59 -07:00
John Ralls
9ff2362bb0
Merge Muhammadyusuf Kurbanov's 'uz-currency-fix' into stable.
2023-04-28 12:50:48 -07:00
John Ralls
842458bc24
Merge Vincent Dawans's 'bug797879' into stable
2023-04-28 12:18:33 -07:00
Vincent Dawans
2e18c74668
Bug 797879 - [Transaction Report] running balance column not
...
consistent with amount column for SAME transaction date
Added QUERY-DEFAULT-SORT as the third sort parameter to thequery
to ensure transactions are sorted as per register as a last sort
level.
2023-04-28 11:40:28 -07:00
Christopher Lam
ab002d1f97
[income-gst-statement.scm] add comment to explain legacy trep-engine form
2023-04-28 21:04:40 +08:00
Christopher Lam
ab3ba9918b
[reconcile-report] upgrade calculated-cells
2023-04-28 20:36:11 +08:00
Christopher Lam
93dd19e98b
[trep-engine.scm] upgrade engine to improve calculated-cells handling
...
calculated-cells was formerly a vector of RHS info - heading,
calculator-fn, subtotal? etc.
This upgrades it so that calculator-fn now accepts two arguments -
split and transaction-row? which is a bool. It uses a basic record
with version and list-of-cells, and each cell is a record (instead of
a vector) with relevant members.
This also enables the engine to handle previous calculated-cells --
note the income-gst-statement.scm will offer the previous one and will
be transparently upgraded to the above -- see the function
upgrade-to-calculated-cells-v2
2023-04-28 20:36:07 +08:00
Robert Fewell
fb58959f9a
Bug 798885 - Accented character in folder name on Account Export
...
Changed export_coa to use g_fopen instead of fopen
2023-04-28 09:55:57 +01:00
Geert Janssens
49e34b5e03
Bug 798869 - Transaction Import MAP
...
Reverted and reapplied commit b86eb96476
in order to reference the proper bug report related to the fix.
2023-04-27 13:58:48 +02:00
Geert Janssens
a7f02401e9
Revert "Regression: bayesian matching in csv import doesn't find account"
...
This reverts commit b86eb96476
.
2023-04-27 13:58:35 +02:00
Geert Janssens
b86eb96476
Regression: bayesian matching in csv import doesn't find account
...
This regression was introduced while improving import of
multi currency transactions.
2023-04-27 13:48:50 +02:00
Geert Janssens
b5ac96f6d0
Rename function to align better with what it does
2023-04-27 13:47:44 +02:00
Christopher Lam
9b22cfc911
[gnc-plugin-report-system] sanity check prev commit
2023-04-26 23:16:19 +08:00
Christopher Lam
5aaedbf7a4
[gnc-plugin-report-system] sanitize error html before adding to page
...
The error backtrace usually contains < > characters. eg #<report>
or #<procedure> etc. This commit will sanitize them to HTML entities
so that they may be rendered properly in webkit.
2023-04-26 22:11:25 +08:00
Christopher Lam
b7e966d828
Merge Vincent Dawans' branch 'bug798886' into stable #1614
2023-04-26 05:53:07 +08:00
Geert Janssens
7e07c50485
Bug 798844 - "Assign as Payment" does nothing in 4.14 & 5.0
2023-04-25 17:50:47 +02:00
Geert Janssens
6a68872a90
Bug 798877 - Program crashes upon selection of CSV profile
...
Prevent reading data beyond the number of columns
effectively present in each individual row.
This affected only split related columns.
Transaction related fields were properly
safeguarded arleady.
2023-04-25 10:40:17 +02:00
Vincent Dawans
f6c759b7f0
Bug 798886 - [Transaction Report] Subtotal upper headings do not follow
...
font style of lower headings
Added "total-label-cell" market to upper headings to match lower headings
2023-04-24 21:46:48 -07:00
John Ralls
0fd431d09b
Merge updated gnucash.pot into po files for upcoming 5.1 release.
2023-04-24 14:53:10 -07:00
John Ralls
4095e9ebae
Merge latest translations from weblate.
2023-04-24 14:47:43 -07:00
Muhammadyusuf Kurbonov
0b1015f226
Translation update by Muhammadyusuf Kurbonov <muhammadyusuf.kurbonov2002@gmail.com> using Weblate
...
po/glossary/ru.po: 86.1% (186 of 216 strings; 18 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ru/
Co-authored-by: Muhammadyusuf Kurbonov <muhammadyusuf.kurbonov2002@gmail.com>
2023-04-24 23:46:32 +02:00
Dyf_Tfh
178ba8480e
Translation update by Dyf_Tfh <n.zhao@hotmail.fr> using Weblate
...
po/fr.po: 92.4% (5082 of 5497 strings; 274 fuzzy)
126 failing checks (2.2%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Dyf_Tfh <n.zhao@hotmail.fr>
2023-04-24 23:46:32 +02:00
Wellington Terumi Uemura
e024f5a86b
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/glossary/pt_BR.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-04-24 23:46:32 +02:00
Rauno Ots
12f2b975e0
Translation update by Rauno Ots <rots00@gmail.com> using Weblate
...
po/et.po: 10.4% (574 of 5497 strings; 102 fuzzy)
18 failing checks (0.3%)
Translation: GnuCash/Program (Estonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/et/
Translation update by Rauno Ots <rots00@gmail.com> using Weblate
po/et.po: 9.8% (544 of 5497 strings; 130 fuzzy)
39 failing checks (0.7%)
Translation: GnuCash/Program (Estonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/et/
Co-authored-by: Rauno Ots <rots00@gmail.com>
2023-04-24 23:46:32 +02:00