Commit Graph

25433 Commits

Author SHA1 Message Date
John Ralls
916caa25f2 Integrate Windows gzopen differences so that only one ifdef is needed.
Clarifies code.
2022-03-05 16:20:08 -08:00
Zdenko Podobný
f58279aba6
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 45.7% (2462 of 5380 strings; 1623 fuzzy)
596 failing checks (11.0%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Translation update  by Zdenko Podobný <zdenop@gmail.com> using Weblate

po/sk.po: 45.4% (2443 of 5380 strings; 1639 fuzzy)
609 failing checks (11.3%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/

Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2022-03-04 23:54:09 +01:00
John Ralls
250b4ed733 Remove stray line left from earlier refactoring. 2022-03-04 14:53:02 -08:00
Robert Fewell
7e299cb2b0 Remove print statement left in commit c3f8daa 2022-03-04 10:16:14 +00:00
John Ralls
4890c25376 Bug 798448 - Column 'num' cannot be null
Convert libofx's data.check_number and data.reference_number to "" if
they are any case variation of "null".

Note that SQL backends will not permit the word NULL as a value for the
number field if it's entered from the GUI, but this can be worked around
by quoting it as in Scheme: 'Null *will* work.
2022-03-03 15:36:08 -08:00
John Ralls
6f28d49f95 Add tooltip to namespace combo in security editor. 2022-03-03 13:35:29 -08:00
John Ralls
8ef8d3807c Silence spurious conditional uninitialized warning in gnc-owner-sql.cpp. 2022-03-03 13:21:51 -08:00
John Ralls
93f5e23cf5 Open gzfile if thread creation fails. 2022-03-03 13:20:41 -08:00
goodvibes2
03ddbbcd0c Preferences, Import: UPDATE AND RECONCILE should be UPDATE AND CLEAR
on preference "Enable update match action" tooltip text.
2022-03-02 19:02:42 +11:00
John Ralls
9ad24321b4 Remove investment-type namespaces.
Leave it to users to categorize their non-currency commodities. In the
QIF importer default non-classifiable commodities to
GNC_COMMODITY_NS_NONCURRENCY.
2022-03-01 19:58:23 -08:00
Frank H. Ellenberger
09296dfb96 Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils 2022-03-01 19:58:11 -08:00
Frank H. Ellenberger
716d746315 Adjust qif-dialog-utils to new namespaces
For US users it will no longer distinguish between NASDAQ and NYSE but
map both to SHARE for new commodities.
2022-03-01 19:58:11 -08:00
Frank H. Ellenberger
c7f842c081 Bug 684507 - commodity namespace should be localized 2022-03-01 19:58:11 -08:00
Christopher Lam
85aa8a6b12 modify strings as discussed 2022-03-02 09:28:29 +08:00
Christopher Lam
3229839055 [test-standard-category-report] Add test for allocation ratios 2022-03-02 09:28:29 +08:00
John Ralls
9d458d1e7f Bug 798386 - Cannot increment date by 1 day with Japanese keyboard. 2022-03-01 16:40:57 -08:00
Christopher Lam
bd4a457040 Merge branch 'maint-lightning-budget' into maint #1248 2022-03-02 07:37:17 +08:00
Christopher Lam
a47413860a Factor out GValue access for setters and getters 2022-03-02 07:36:59 +08:00
Christopher Lam
8f845df934 Factor out make_period_[data|note]_path 2022-03-02 07:36:59 +08:00
Christopher Lam
919f392c7a Use kvp C++ interface rather than GValue 2022-03-02 07:36:59 +08:00
Christopher Lam
6c4c2512db Use C++ STL instead of GLib 2022-03-02 07:36:59 +08:00
Christopher Lam
9088acabd8 [gnc-budget.cpp] convert to c++ 2022-03-02 07:13:24 +08:00
John Ralls
aeefd89343 URL-encode # in file: URLs.
The final piece to fixing Bug 798392.
2022-03-01 13:26:12 -08:00
John Ralls
81b9a02235 Bug 798458 - Build failure with gcc 12
Refactor try_gz_open to return a std::pair<FILE*, thread>. That removes
the need for the threads hash-table and wait_for_gzip().

The cause of the gcc12 error was that we were using the thread's pipe's
FILE* as the key to the hash-table and had to close it before calling
wait_for_gzip(file) to remove the thread from the hash-table. gcc12
considers that a use-after-free. It happens to be wrong, but removing the
need for it results in a cleaner implementation as well as silencing the
warning.
2022-03-01 12:49:12 -08:00
John Ralls
67e8c317da [xml backend] Extract functions to make gz_trhead_func more readable. 2022-03-01 12:49:12 -08:00
Geert Janssens
25181a6c01 Fix function documentation
As pointed out by Kevin Buckley
2022-03-01 10:37:06 +01:00
Kárász Attila
6d1c9b534a
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 54.5% (2937 of 5380 strings; 1468 fuzzy)
623 failing checks (11.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 54.4% (2927 of 5380 strings; 1478 fuzzy)
636 failing checks (11.8%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-02-28 22:55:45 +01:00
Avi Markovitz
310e2200db
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5380 of 5380 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>
2022-02-28 22:55:45 +01:00
Yaron Shahrabani
4693be5b10
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5380 of 5380 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>
2022-02-28 22:55:45 +01:00
Avi Markovitz
3901a784bc
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5380 of 5380 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>
2022-02-28 22:55:45 +01:00
YTX
e3ff00b354
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5380 of 5380 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: YTX <ytx.cash@gmail.com>
2022-02-28 22:55:45 +01:00
Pedro Albuquerque
43e537152f
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5380 of 5380 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2022-02-28 22:55:45 +01:00
John Ralls
831b25f8f8 Merge Chris Lam's 'maint-progress1' into maint. 2022-02-28 13:51:45 -08:00
Christopher Lam
c3883e703b [trep-engine] faster csv list processing
instead of scanning the row 5 times: (length, make-list, append, map,
string-join), walk the list once building the accumulator along the way.
2022-02-28 21:34:25 +08:00
Christopher Lam
c642980456 [test-transaction] add tests for gnc:lists->csv 2022-02-28 20:59:41 +08:00
Arve Eriksson
c02e23bd96
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5380 of 5380 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Translation update  by Arve Eriksson <031299870@telia.com> using Weblate

po/sv.po: 100.0% (5380 of 5380 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>
2022-02-27 03:34:16 +01:00
Avi Markovitz
753bde5576
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5380 of 5380 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% (5380 of 5380 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>
2022-02-26 18:56:43 +01:00
Kárász Attila
35596d58d3
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 54.2% (2918 of 5380 strings; 1487 fuzzy)
654 failing checks (12.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 54.2% (2918 of 5380 strings; 1486 fuzzy)
654 failing checks (12.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-02-25 11:55:38 +01:00
Avi Markovitz
142bbde44d
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5380 of 5380 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>
2022-02-25 11:55:37 +01:00
Francisco Serrador
4e6edeb06a
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
po/es.po: 100.0% (5380 of 5380 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Francisco Serrador <fserrador@gmail.com>
2022-02-23 19:56:09 +01:00
YTX
abed98a7c2
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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: YTX <ytx.cash@gmail.com>
2022-02-23 19:56:08 +01:00
Simeon
fd70c88423 [category-barchart] Added option to show ratios 2022-02-22 22:05:55 +08:00
Simeon
f991680644 [html-chart] Add format style option for numbers 2022-02-22 21:46:00 +08:00
Christopher Lam
136ddc9a57 [category-barchart] acct->name 2022-02-22 21:46:00 +08:00
Christopher Lam
5f06fc99fd [category-barchart] simplify code 2022-02-22 15:15:23 +08:00
Mike Alexander
3161df6fb8 Delete Register2 code, it can be retrieved from Git if needed. 2022-02-21 18:54:17 -05:00
Mike Alexander
3f5b4228b9 Don't compile Register2 code if it is not being used.
The Registger and Register2 code were entangled in such a way that
changing the Register headers made the Register2 code not compile.
Fixing this was difficult and would undubtedly make the Register2
code even worse than it is already.  Most of it has been ifdeffed
out.  Some of the conflicts have been fixed but many are left.
2022-02-21 18:54:17 -05:00
Milo Ivir
b79dffc5f4
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/glossary/hr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2022-02-19 18:50:39 +01:00
Christian Wehling
d7af17116f
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 100.0% (5380 of 5380 strings; 0 fuzzy)
214 failing checks (3.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Translation update  by Christian Wehling <christian.wehling@web.de> using Weblate

po/de.po: 99.9% (5379 of 5380 strings; 0 fuzzy)
214 failing checks (3.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Translation update  by Christian Wehling <christian.wehling@web.de> using Weblate

po/glossary/de.po: 99.5% (215 of 216 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/de/

Translation update  by Christian Wehling <christian.wehling@web.de> using Weblate

po/de.po: 99.9% (5379 of 5380 strings; 0 fuzzy)
222 failing checks (4.1%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2022-02-19 18:50:39 +01:00
YTX
f6ed24995d
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/glossary/zh_CN.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/

Translation update  by YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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 YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 100.0% (5380 of 5380 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: YTX <ytx.cash@gmail.com>
2022-02-19 18:50:39 +01:00