Geert Janssens
b3daeecb85
GSettings Upgrade - Compose a list of settings that can be migrated at runtime
...
This list consists of old and new values for gsettings paths and keys
and will allow gnucash to migrate values from each old path and key
to the corresponding new path and key.
2021-09-21 17:10:56 +02:00
Geert Janssens
f21c7b6e90
GSettings - define old prefix and check settings for the presence of both prefixes while normalizing
2021-09-21 17:10:56 +02:00
Geert Janssens
a203c5b2d5
GSettings - drop logic to relocate our settings
...
This was ported from GConf, but GSettings doesn't work that way.
Settings locations are defined at compile time and can't be
relocated at run time (unless you make all of the settings
explicitly relocatable. That however is not how GSettings is meant to be
used.)
2021-09-21 17:10:56 +02:00
Geert Janssens
d1113a4534
GSettings - build as cpp
2021-09-21 17:10:56 +02:00
Geert Janssens
02fbf217f6
GSettings Upgrade - change schema prefix from org.gnucash to org.gnucash.GnuCash
...
The latter is the prefix format prescribed by gsettings itself. The former never
was an issue until flatpak decided to not accept the shorter prefix when
requesting a settings migration from host system to flatpak sandbox.
In order to allow for migration, keep the old schema around in
org.gnucash.GnuCash.deprecated.gschema.in
While we're at it, make the new prefix an internal implementation detail.
There's no need for it to be visible to the rest of the gnucash code.
2021-09-21 17:10:55 +02:00
Geert Janssens
6674b1bb6b
Cleanup - minimal glib=2.56.1 - drop all conditionals on older versions
2021-09-21 17:10:55 +02:00
Eric
a20f2defc2
Translation update by Eric <spice2wolf@gmail.com> using Weblate
...
po/zh_CN.po: 99.9% (5358 of 5363 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: Eric <spice2wolf@gmail.com>
2021-09-21 05:37:43 +02:00
Wellington Terumi Uemura
2870d3f2d2
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/pt_BR.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-09-21 05:37:42 +02:00
Yaron Shahrabani
06346c5ef0
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
...
po/he.po: 100.0% (5363 of 5363 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-09-21 05:37:41 +02:00
Frank H. Ellenberger
1af8deac60
I18N: msgmerge 4.7-pre2
2021-09-20 22:42:35 +02:00
Frank H. Ellenberger
2b5a4fef76
I18N: Mark a forgotten message translatable
...
found by Christian Wehling
2021-09-20 22:28:17 +02:00
Christopher Lam
4309469730
[utest-Account] test old dxaccAccount* functions
...
dxaccAccountGetPriceSrc and dxaccAccountGetQuoteTZ.
DxaccAccountSetCurrency remains untested - unsure how to retrieve an
ISO4217 currency to use as parameter.
2021-09-19 11:27:03 +08:00
Marco Zietzling
57cb8c193a
Translation update by Marco Zietzling <marco.zietzling@gmail.com> using Weblate
...
po/glossary/de.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/de/
Translation update by Marco Zietzling <marco.zietzling@gmail.com> using Weblate
po/de.po: 99.9% (5361 of 5362 strings; 1 fuzzy)
231 failing checks (4.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Translation update by Marco Zietzling <marco.zietzling@gmail.com> using Weblate
po/de.po: 99.9% (5361 of 5362 strings; 1 fuzzy)
248 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Marco Zietzling <marco.zietzling@gmail.com>
2021-09-18 19:35:25 +02:00
Marco Zietzling
6573cb2835
Translation update by Marco Zietzling <marco.zietzling@gmail.com> using Weblate
...
po/de.po: 99.9% (5361 of 5362 strings; 1 fuzzy)
248 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Marco Zietzling <marco.zietzling@gmail.com>
2021-09-18 02:38:53 +02:00
Marco Zietzling
5e57eee9e8
Translation update by Marco Zietzling <marco.zietzling@gmail.com> using Weblate
...
po/de.po: 99.8% (5353 of 5362 strings; 9 fuzzy)
251 failing checks (4.6%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Marco Zietzling <marco.zietzling@gmail.com>
2021-09-17 23:44:29 +02:00
John Ralls
9fb9868b54
Bug 798312 - Opening the help for dialogues in the wrong language.
2021-09-17 14:43:59 -07:00
John Ralls
37196fa015
g_list_reverse reverses in place, don't free trans_list_remain.
2021-09-16 18:08:48 -07:00
Jiri Grönroos
ca274e361e
Translation update by Jiri Grönroos <jiri.gronroos@iki.fi> using Weblate
...
po/fi.po: 67.2% (3606 of 5362 strings; 44 fuzzy)
16 failing checks (0.2%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2021-09-16 18:56:23 +02:00
John Ralls
fcce3ec9a4
Merge Chris Good's 'maintBug798235RecEndBal' into maint.
2021-09-16 09:52:17 -07:00
John Ralls
1170d7b0d4
Merge Jean Laroche's '105334_ofx_multiple_accounts' into maint.
2021-09-16 09:46:30 -07:00
Eugenia Russell
93289006e3
Translation update by Eugenia Russell <eugenia.russell2019@gmail.com> using Weblate
...
po/glossary/el.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Greek)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/el/
Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
2021-09-16 07:35:25 +02:00
Wellington Terumi Uemura
48f3f84162
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/pt_BR.po: 100.0% (5362 of 5362 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-09-16 07:35:25 +02:00
Jiri Grönroos
12fec5a449
Translation update by Jiri Grönroos <jiri.gronroos@iki.fi> using Weblate
...
po/fi.po: 66.8% (3582 of 5362 strings; 45 fuzzy)
16 failing checks (0.2%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2021-09-16 07:35:24 +02:00
John Ralls
5f8e0347ec
Fix test-import-backend failure.
...
Linking gnc-engine caused an ODR violation in gnc-date.cpp. Instead
fake qof_log_check() in gtest-import-backend.cpp.
2021-09-15 10:19:20 -07:00
Avi Markovitz
1409c1c5f5
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5362 of 5362 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-09-15 15:09:35 +02:00
Christopher Lam
a5d101d1be
[utest-Account] test gnc_account_get_map_entry
2021-09-15 21:09:01 +08:00
Christopher Lam
73ad5b1265
[gnc-glib-utils] use g_stpcpy instead of gnc_strcat
...
g_stpcpy will use stpcpy wherever available.
2021-09-15 21:09:01 +08:00
Christopher Lam
aa0668f9e6
Revert "[account.cpp] deprecate old dxacc* functions"
...
This reverts commit d290c3c45d
. These
functions are not deprecated after all.
2021-09-15 21:09:00 +08:00
Frank H. Ellenberger
134de3ab74
L10N 🇩🇪 fix 2 messages
...
5352 translated messages, 9 fuzzy translations, 1 untranslated message.
2021-09-15 13:37:26 +02:00
Jiri Grönroos
c52b04c34c
Translation update by Jiri Grönroos <jiri.gronroos@iki.fi> using Weblate
...
po/fi.po: 63.6% (3412 of 5362 strings; 58 fuzzy)
19 failing checks (0.3%)
Translation: GnuCash/Program (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fi/
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2021-09-15 11:35:57 +02:00
Christopher Lam
d290c3c45d
[account.cpp] deprecate old dxacc* functions
2021-09-15 09:20:04 +08:00
Christopher Lam
374443747d
[account.cpp] new static: get/set_kvp_string_path
...
exactly the same as set_kvp_string_tag but will accept the full kvp
path.
2021-09-15 09:19:17 +08:00
John Ralls
1d8983191d
Fix runaway sed error.
2021-09-14 16:24:28 -07:00
John Ralls
824b515430
Fix qoflog's comments to reflect a preference for the macros over GLib functions.
2021-09-14 15:59:01 -07:00
John Ralls
74d0630867
Bug 798237 - Logging during XML file loading degrades performance...
...
significantly
Modify the DEBUG and PINFO macros to return unless qof_log_check is
true. Replace almost all direct calls to g_debug and g_message with
DEBUG and PINFO respectively.
Track the highest logging level sent to qof_log_set_level to provide a
short-circuit return in qof_log_check. Remove setting GNC_MOD_TESTS to
QOF_LOG_DEBUG so that the short-circuit threshold isn't defeated by
always being DEBUG.
Net result: 33% improvement in xml load times.
2021-09-14 15:15:11 -07:00
John Ralls
574f567b62
Refactor GncXmlBackend::get_file_lock.
...
Moving all of the error-handling to it for better clarity and
simplicity. Drop the unnecessary stat call, open will fail with
EEXIST if there's already a lock file. Provide specific messages
for file system failures.
2021-09-14 09:32:12 -07:00
John Ralls
d7eae0664f
[gz_open] Use compress and write consistent with calling functions.
2021-09-14 08:29:11 -07:00
John Ralls
8e4c4948cc
Put version back to 4.6
2021-09-14 08:28:49 -07:00
Frank H. Ellenberger
3659c2a6a7
L10N:pt: update to PO-Revision-Date: 2021-09-14 06:55+0100 fom TP
...
5362 translated messages.
2021-09-14 10:36:44 +02:00
Frank H. Ellenberger
41c94e9409
L10N 🇬🇧 update to PO-Revision-Date: 2021-09-13 19:25+0300 fom TP
...
5362 translated messages.
2021-09-14 10:35:09 +02:00
Milo Ivir
36797c1d0a
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 99.9% (5361 of 5362 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Co-authored-by: Milo Ivir <mail@milotype.de>
2021-09-14 01:29:11 +02:00
Avi Markovitz
7e2111f6f9
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 99.9% (5360 of 5362 strings; 2 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-09-14 01:29:11 +02:00
Yaron Shahrabani
33d780080a
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
...
po/he.po: 99.9% (5359 of 5362 strings; 2 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-09-14 01:29:10 +02:00
Eric
e43df5a804
Translation update by Eric <spice2wolf@gmail.com> using Weblate
...
po/zh_CN.po: 99.9% (5358 of 5362 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: Eric <spice2wolf@gmail.com>
2021-09-14 01:29:10 +02:00
Christopher Lam
15852031d4
[utest-account.cpp] increase test coverage
...
adds getter/setter tests for
xaccAccountSetLastNum
xaccAccountSetTaxUSCode
xaccAccountSetTaxUSPayerNameSource
2021-09-14 07:12:15 +08:00
John Ralls
c3f8daaf7d
Bug 798250 - Gnucash permanent hang on save while loading report
...
Prevent WebKit's fork from getting a copy of the pipe's file descriptors
and so keeping the pipe from closing.
Thanks to Simon Arlott for recognizing the FD duplication.
2021-09-13 13:18:10 -07:00
Frank H. Ellenberger
c1525f78bc
L10N: 4.7-pre1 msgmerge
2021-09-13 09:34:07 +02:00
John Ralls
edad194389
Bug 798180 - Update to macOS Big Sur 11.3 breaks Finance Quote
...
Added new dependency Test2 to gnc-fq-update. This is a second-order
dependency of Finanance::Quote that CPAN doesn't seem to recognize
on its own.
2021-09-11 16:09:55 -07:00
John Ralls
b9deb5ea2a
Bug 798303 - account list is sorted wrong by amount
...
Use balances converted to the default currency when sorting columns on
the accounts page.
2021-09-11 10:11:36 -07:00
Christopher Lam
d0f7daf4cf
Revert "[engine.i] QofQueryParamList * args must be freed"
...
This reverts commit 72a3ebbba3
. Freeing
does not apply to all qof_query_* calls.
2021-09-11 15:45:32 +08:00