Commit Graph

26640 Commits

Author SHA1 Message Date
Richard Cohen
1cec0cb3f3 Use internal extern "C" { ... } for C++
- removes warnings compiling swig engine
...
[ 10%] Generating swig-engine.cpp
.../libgnucash/engine/engine-helpers.h:31: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gnc-date.h:83: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/qofquery.h:90: Warning 302: Identifier 'QofQuery' redefined (ignored),
.../libgnucash/engine/gnc-option.hpp:55: Warning 302: previous definition of 'QofQuery'.
.../libgnucash/engine/gnc-commodity.h:56: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gncBusiness.h:40: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gncEntry.h:37: Warning 313: Unrecognized extern type "C++".
2023-01-23 18:40:01 +00:00
John Ralls
062f3fb19d [c++options]Fix key-press handling on macOS.
gcc apparently can convert the bool value false to the C equivalent
0. Clang apparently not, dialog_window_key_press_cb was blocking
further key press handling meaning the GtkWindow never saw the
event.
2023-01-22 15:35:21 -08:00
John Ralls
432f2d4bb8 Merge Richard Cohen's suppress-boost-warning into master. 2023-01-22 10:50:11 -08:00
John Ralls
9a1a90d8d0 Merge branch 'maint' 2023-01-22 10:49:29 -08:00
John Ralls
ae6efa39ca Merge 2 simple PRs from Richard Cohen into maint. 2023-01-22 10:41:02 -08:00
richardcohen
2a119375c3 Avoid touching the global errno 2023-01-22 10:40:00 -08:00
richardcohen
f3cc223f5f Fix some bad code formatting 2023-01-22 10:39:48 -08:00
richardcohen
8044f79f75
Silence the boost (<1.76) warning message
from .../gnucash-4.8/libgnucash/app-utils/gnc-quotes.cpp:33:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message:

    The practice of declaring the Bind placeholders (_1, _2, ...) in the
    global namespace is deprecated.
    Please use <boost/bind/bind.hpp> + using namespace boost::placeholders,
    or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
    
The issue was fixed in boost 1.76, but, e.g ubuntu 22.04 has boost 1.74
2023-01-22 17:50:34 +00:00
Frank H. Ellenberger
d039e65aca Merge branch 'maint' 2023-01-22 11:25:44 +01:00
John Ralls
09751e20c5 Bug 789730 Bis: Sometimes we get lists of Account*
And sometimes a list of Guid strings. Handle either.
2023-01-21 15:57:39 -08:00
John Ralls
d981679cbe [macOS] Better fix for menu accelerators.
Connect to can-activate-accel and provide a closure for Quit
instead of using quartz handlers for accelerators.
2023-01-21 14:39:16 -08:00
John Ralls
816219c246 Bug 798730 - Open report doesn't remember selected accounts over restart
scm_to_value<GncOptionAccountList> written for std::vector<Account*>
instead of std::vector<GncGUID>.
2023-01-20 13:22:26 -08:00
Vin
2d66631fea
Translation update by Vin <k3kelm4vw@mozmail.com> using Weblate
po/ru.po: 77.9% (4210 of 5401 strings; 816 fuzzy)
326 failing checks (6.0%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: Vin <k3kelm4vw@mozmail.com>
2023-01-20 20:01:45 +01:00
Christopher Lam
69cf911afa
Translation update by Christopher Lam <christopher.lck@gmail.com> using Weblate
po/fr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Christopher Lam <christopher.lck@gmail.com>
2023-01-19 17:49:54 +01:00
Yaron Shahrabani
1aeda8ae92
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2023-01-18 19:50:23 +01:00
Avi Markovitz
c186e04695
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
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% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2023-01-18 19:50:20 +01:00
Arve Eriksson
2e7424469e
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/glossary/sv.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-01-18 19:50:18 +01:00
John Ralls
d1492c70e9 Add core-utils as dependency of scm-gnc-html.
Fixes build on some platforms
2023-01-17 21:04:26 -08:00
John Ralls
0afae7e261 Remove header-only boost modules from cmake find_package list. 2023-01-16 08:29:48 -08:00
Christopher Lam
580efe091c Bug 797725 - Untranslatable string "For Period Covering ~a to ~a" 2023-01-17 00:24:08 +08:00
Christopher Lam
645cc9461d [core-utils] modify gnc:format to accept -
this allows use of varnames such as ${report-title}
2023-01-17 00:24:08 +08:00
Frank H. Ellenberger
454ef6c219 Merge branch 'maint' 2023-01-15 03:53:17 +01:00
Christopher Lam
fe98b3bb29 [html.scm] use load-and-reexport macro 2023-01-14 13:56:19 +08:00
Christopher Lam
0f0006e205 Use g_object_set_data_full instead of g_object_set_data
when the data needs a destructor.
2023-01-14 13:55:52 +08:00
Szia Tomi
ccc8b44b4a
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-01-14 00:56:32 +01:00
mocsa
a81991b440
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-01-14 00:56:31 +01:00
Yuri Chornoivan
3c4d1f81c8
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
po/uk.po: 100.0% (5401 of 5401 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-01-13 14:48:49 +01:00
Dan
54c2979aef
Translation update by Dan <denqwerta@gmail.com> using Weblate
po/uk.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Translation update  by Dan <denqwerta@gmail.com> using Weblate

po/uk.po: 100.0% (5401 of 5401 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: Dan <denqwerta@gmail.com>
2023-01-13 14:48:48 +01:00
mocsa
78659ed4b6
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.8% (3339 of 5401 strings; 1214 fuzzy)
516 failing checks (9.5%)
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: 61.7% (3334 of 5401 strings; 1219 fuzzy)
507 failing checks (9.3%)
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: 61.7% (3334 of 5401 strings; 1219 fuzzy)
505 failing checks (9.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

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

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 61.7% (3334 of 5401 strings; 1219 fuzzy)
502 failing checks (9.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-01-13 14:48:48 +01:00
Christopher Lam
6faaf51150 gnc_ui_account_get_balance_limit_icon_name returns a new *char
gnc-tree-model-account.c must take ownership of string
2023-01-13 08:31:46 +08:00
Christopher Lam
fd007a0af1 Merge branch 'maint' 2023-01-13 07:45:31 +08:00
Robert Fewell
6df866f876 Add tests for the reconcile account functions 2023-01-12 14:38:08 +00:00
Robert Fewell
fd37ee997d Fix getting xaccAccountGetReconcilePostponeBalance
Change the G_VALUE from a INT64 to BOXED.
2023-01-12 14:38:08 +00:00
Robert Fewell
e9b1f46691 Error in trace file when file history list is empty
The following error is seen in the trace file,

ERROR <gnc.engine> gnc_uri_get_components: assertion 'uri != NULL &&
 strlen (uri) > 0' failed

if the file open menu option is used after opening GnuCash with an
empty file history list. The function gnc_history_get_last returns an
empty string so test for this before calling gnc_uri_targets_local_fs.
2023-01-12 14:20:55 +00:00
Robert Fewell
8f95778157 Recent file list menu entry displays RecentFile0Action
If the recent file list is empty or can not be found the menu action
RecentFile0Action was displayed on menu. Changed so it does not add the
default first recent menu action.
2023-01-12 14:12:58 +00:00
Robert Fewell
cf499f5b93 Remove some comments added when menus were changed 2023-01-12 14:05:53 +00:00
Robert Fewell
99690da524 Remove left over debug lines 2023-01-12 13:51:26 +00:00
Frank H. Ellenberger
8063f3c906 Merge remote-tracking branch 'weblate-beta/master' 2023-01-11 23:44:38 +01:00
Frank H. Ellenberger
b65e781bab Merge branch 'maint' 2023-01-11 23:44:11 +01:00
Yaron Shahrabani
eb68079e05
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program-beta (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/he/
2023-01-10 14:26:12 +01:00
Yaron Shahrabani
d9b37d3d21
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program-beta (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/he/
2023-01-10 14:26:12 +01:00
Avi Markovitz
0d0fa88acc
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program-beta (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/he/
2023-01-10 14:26:12 +01:00
Avi Markovitz
3aa412e10e
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program-beta (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/he/
2023-01-10 14:26:12 +01:00
Christopher Lam
0decadd906 [investment-lots] hide chart options if appropriate 2023-01-10 21:25:27 +08:00
Yaron Shahrabani
ce3d47f1fe
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 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>
2023-01-10 13:51:53 +01:00
Avi Markovitz
9242e1b34a
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 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% (5401 of 5401 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>
2023-01-10 13:51:52 +01:00
Frank H. Ellenberger
c5be64de59 Merge weblate-beta 2023-01-10 03:18:49 +01:00
Frank H. Ellenberger
73e18b9619 Merge branch 'maint' 2023-01-10 03:14:05 +01:00
Giuseppe Foti
2976acd677
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
24 failing checks (0.4%)
Translation: GnuCash/Program-beta (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/it/
2023-01-10 01:06:03 +01:00
John Ralls
a9be8d5180 Release GnuCash Unstable 4.900 2023-01-09 14:38:02 -08:00