Commit Graph

24882 Commits

Author SHA1 Message Date
Milo Ivir
c07164f4db
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 100.0% (5362 of 5362 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/hr.po: 99.9% (5360 of 5362 strings; 2 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2021-10-16 17:05:13 +02:00
Eric
dff3e4fc82
Translation update by Eric <spice2wolf@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5362 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-10-16 17:05:13 +02:00
Wellington Terumi Uemura
3bd55c6188
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-10-16 17:05:12 +02:00
Christopher Lam
171ce9413b Don't g_strdup char* returned by scm_to_locale_string
Previous code was returning a duplicated string and released the
original one. It's no better than returning the original returned
char* instead.
2021-10-16 22:50:09 +08:00
Christopher Lam
19a91f041e Revert "g_list_free swigged GList* arguments"
This reverts commit 16184daf95. Was
causing an unexplained GNC_IS_ACCOUNT assertion failure in
account_foreach_descendant.
2021-10-16 22:49:05 +08:00
Geert Janssens
d4e4062c93 Remove redundant function declaration
gnc_load_scm_configuration is declared and defined in gnucash-core-app.
2021-10-16 10:49:05 +02:00
Geert Janssens
24fa289952 GSettings - rework internal helper functions to use more C++ 2021-10-16 10:49:05 +02:00
Geert Janssens
26b2d7ca78 GSettings - make most of the api private
All preference calls should happen via the gnc_prefs_... apis.
The gnc_gsettings_... apis are an internal implementation of this.
2021-10-16 10:49:04 +02:00
Geert Janssens
c6103a5c17 Add structure to map migrated preferences to old ones
This can be used to keep both in sync in the period between
initial migration and eventual obsolence.
Note only non-obsoleted, migrated preferences are tracked.
We don't want to resync preferences that have been
obsoleted (reset). That would nullify the whole idea
of making them obsolete for future removal.

This commit only adds the mapping, synching will follow in a future
commit.
2021-10-16 10:49:04 +02:00
Christopher Lam
16184daf95 g_list_free swigged GList* arguments
used by xaccQueryAddAccountMatch and gnc_price_list_equal. SplitList
TransList LotList and CommodityList are not currently being passed as
arguments.
2021-10-16 12:57:03 +08:00
Frank H. Ellenberger
df2d9bcfb7 L10N🇩🇪 Update translator-credit 2021-10-16 01:16:08 +02:00
Yaron Shahrabani
7c6108f87c
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 99.9% (5360 of 5362 strings; 2 fuzzy)
2 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>
2021-10-15 23:37:05 +02:00
Frank H. Ellenberger
7fa0ffe874 L10N: merge recent changes 2021-10-15 18:18:46 +02:00
Frank H. Ellenberger
7d2245c25c L10N: Patch PR 1156 into existing translatons 2021-10-15 17:47:24 +02:00
Francisco Serrador
15b6ed649d
Translation update by Francisco Serrador <fserrador@gmail.com> using Weblate
po/glossary/es.po: 97.5% (203 of 208 strings; 3 fuzzy)
2 failing checks (0.9%)
Translation: GnuCash/Glossary (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/es/

Translation update  by Francisco Serrador <fserrador@gmail.com> using Weblate

po/es.po: 93.9% (5037 of 5363 strings; 296 fuzzy)
101 failing checks (1.8%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Francisco Serrador <fserrador@gmail.com>
2021-10-15 02:25:41 +02:00
John Ralls
2f4438ab28 Bug 798335 - No longer possible to change trading account
Strip trading splits only if "Use Trading Accounts" is enabled
for the book so that users who want to manage trading accounts by
hand may do so.
2021-10-14 17:22:32 -07:00
Christopher Lam
003b0a5deb Merge branch 'maint-leaks2' into maint #1166 2021-10-13 20:25:26 +08:00
Christopher Lam
ca1636643a [dialog-custom-report] don't allocate GValue
receive GncGUID* directly from GtkTreeModel
2021-10-13 19:53:03 +08:00
Christopher Lam
39060d8bde [dialog-custom-report] plug leaks when destroying dialog 2021-10-13 19:53:03 +08:00
Christopher Lam
62368a45dc [dialog-custom-report] refactor empty_tree_model into static fn
to be reused by next commit
2021-10-13 09:17:41 +08:00
Christopher Lam
b4a0b4f098 [dialog-custom-report] plug leaks
- g_free gchar*,
- guid_free GncGUID,
- gtk_tree_path_free a GtkTreePath
- don't guid_malloc a guid which will be overwritten
2021-10-13 09:17:41 +08:00
Christopher Lam
763780114a Merge branch 'price_and_reconcile' into maint #1165 2021-10-13 09:08:51 +08:00
Christopher Lam
ff0c02dba5 [reconcile-view][bug] dr/cr query tests amount instead of value
Because split->amount and split->value are generally of equal sign,
EXCEPT in stock transactions whereby split->value can be zero and
split->amount is non-zero. e.g. a stock split transaction.

Querying the split amount instead will allow stock accounts with
stock splits to be reconciled.
2021-10-13 06:08:25 +08:00
John Ralls
1354698b25 Merge Jean Laroche's '798327_ofx_import_terminates_too_early' into maint. 2021-10-12 11:09:10 -07:00
Christopher Lam
203432c436 [split-register-model.c] Hide price==1 for zero-amount splits
mainly of interest in zero-amount zero-value splits in the stock
register eg dividend splits.
2021-10-12 12:58:58 +08:00
Christopher Lam
2ace810e05 [split-register-model.c] more efficient acct->full_names constructor
don't repeatedly allocate
2021-10-12 12:58:33 +08:00
Christopher Lam
8940d9d8c6 [split-register-model.c] prepend parent account, faster
it's only required to accumulate account amounts. acct order is
irrelevant.
2021-10-12 12:58:19 +08:00
Christopher Lam
1b0bfa5da7 [reports] QofQuery must be qof_query_destroyed 2021-10-12 12:58:16 +08:00
jean
81b48ee882 Bug 798327 - Ofx import stops too early for multi-account OFX and one account has no new transactions
info->response must show GTK_RESPONSE_OK for the import to pproceed, otherwise the code assumes the
user canceled.
2021-10-11 21:03:31 -07:00
Frank H. Ellenberger
c2a449356b Don't translate org.gnucash.GnuCash.deprecated.gschema.xml.in 2021-10-12 00:51:51 +02:00
TianXing_Yi
e5e46fa509
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 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: TianXing_Yi <ytx.cash@gmail.com>
2021-10-11 19:18:27 +02:00
J0kWang
651f33e9e6
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 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: J0kWang <lianjiefly@gmail.com>
2021-10-11 19:18:27 +02:00
John Ralls
bda7d50b1f Merge Christian Wehling's 'trailing_spaces' into maint. 2021-10-11 10:17:15 -07:00
John Ralls
59bd247db7 Merge Jean Laroche's '105334_ofx_multiple_accounts' into maint. 2021-10-11 09:48:42 -07:00
Christopher Lam
23d964a6a4 g_list_free_full requires a GDestroyNotify
error in f4941a5b0
2021-10-09 12:03:57 +08:00
Christopher Lam
0bce6a1d56 [core-utils] introduce gnc:format
(gnc:format str [binding value]...)

str will contain ${binding} which will be replaced to value.
2021-10-09 10:25:53 +08:00
Christopher Lam
3ff5bd8246 [test-core-utils] uses srfi-64 2021-10-09 10:25:49 +08:00
Christopher Lam
f4941a5b01 use g_list_free_full 2021-10-09 10:24:45 +08:00
Christopher Lam
e5027f91cb [test-transaction] option has been renamed 2021-10-09 10:24:33 +08:00
John Ralls
7692027bd5 Merge Jean Laroche's 'fix_memory_leak_ofx' into maint. 2021-10-08 14:26:08 -07:00
John Ralls
7c9c2eba3c Bug 798320 - Error message indicating a crash of GNUcash when closing...
application - MacOS 10.15.7 (19H1419)

Destruction order problem: The SX template accounts can't be destroyed
until after the template splts and transactions are.

Register them before the transactions and splits, as destruction occurs
in reverse order of registration.
2021-10-08 14:17:28 -07:00
jean
be75a433fc Fix memory leak when the user cancels the matching process 2021-10-08 13:38:00 -07:00
Christopher Lam
c321eae7cd Merge branch 'maint-import' into maint #1160 2021-10-08 17:17:48 +08:00
TianXing_Yi
4c5b3658de
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 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: TianXing_Yi <ytx.cash@gmail.com>
2021-10-07 13:24:39 +02:00
J0kWang
50fb183977
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 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: J0kWang <lianjiefly@gmail.com>
2021-10-07 13:24:39 +02:00
Giuseppe Foti
6f33e8b1ff
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2021-10-07 13:24:39 +02:00
Christopher Lam
ad7bffaae1 Run test-core-utils and test-create-account properly 2021-10-07 19:21:00 +08:00
Christopher Lam
34a4b652c1 [test-core-utils.scm] fix - N_ is no longer a macro 2021-10-07 19:20:32 +08:00
Christopher Lam
7b9ad51390 [import-main-matcher] show destination acct for auto-match 2021-10-06 22:51:26 +08:00
Christopher Lam
3f501bb31b [gnc-gnome-utils] fix memory leak
from 9fb9868b
2021-10-03 21:17:38 +08:00