Commit Graph

25524 Commits

Author SHA1 Message Date
Christoph Holtermann
06e17dfd5c Provide wrapper for qof numeric predicate
Python bindings already have some wrapping objects for
qof predicates. This adds the one missing for GncNumeric
comparisons.

Additionally fixes a wrong number for QOF_NUMERIC_MATCH_ANY
in example file.
2022-03-08 09:45:48 +01:00
John Ralls
7343959a01 Merge Christian Wehli's 'taxinvoice' into maint. 2022-03-07 14:10:24 -08:00
John Ralls
25152f10be Merge Chris Good's 'maintPrefUPDATE+CLEAR' into maint. 2022-03-07 13:20:47 -08:00
John Ralls
c07998cbe8 Merge Christoph Holtermann's 'python-qof-example' into maint. 2022-03-07 13:16:47 -08:00
John Ralls
f8fda225b8 [register] Enable horizontal scrolling with a touchpad. 2022-03-07 09:18:07 -08:00
John Ralls
b5e0abd30e https://bugs.gnucash.org/show_bug.cgi?id=797610
Trackpad scrolling events include an increment so use that instead of
the step size intended for scroll wheels.
2022-03-07 09:18:07 -08:00
Christoph Holtermann
f44d23035e python qof examples 2022-03-06 23:52:32 +01:00
Christopher Lam
3ab1d32f6e [gnc-account-sel.c] GNCAccountSel finalize must free commodity list 2022-03-06 21:32:28 +08:00
John Ralls
ce2b89fd8c [business]Add diagnostic messages to GncEntry and GncInvoice. 2022-03-05 18:18:13 -08:00
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