Commit Graph

25183 Commits

Author SHA1 Message Date
John Ralls
dd7feb9988 options.scm: Remove second license comment. 2021-11-19 11:45:54 -08:00
John Ralls
d1fe359e47 gnc_numeric_to_decimal: Change can't round warning to a debug.
Routinely used as a check so a warning isn't appropriate.
2021-11-19 11:44:57 -08:00
John Ralls
74fd716afb Clarify gnc_relative_date_to_time64 helper functions. 2021-11-19 11:43:04 -08:00
John Ralls
f6c9e63e3d Fix PR comments so far.
Except for gnc-option-date's normalize_tm and set_day_and_time.
2021-11-14 15:28:22 -08:00
John Ralls
4c43dac1b6 Restore setting swig engine initialization flag. 2021-11-13 11:10:17 -08:00
John Ralls
cf5da9fffd Resolve merge conflicts. 2021-11-12 19:56:29 -08:00
John Ralls
96b09ded9f Doxygen documentation for new options classes. 2021-11-12 15:27:36 -08:00
John Ralls
00a982d97d Use Scheme to generate and parse saved option files.
The saved option files being Scheme executables.
2021-11-12 15:27:36 -08:00
Christopher Lam
984d816a58 Merge branch 'maint' 2021-11-06 21:41:17 +08:00
Christopher Lam
4f2d6c7c1b Merge branch 'maint-progress2' into maint #1175 2021-11-06 21:35:02 +08:00
Christopher Lam
16f5be80f9 [test-transaction] "Report Currency" renamed to "Report's currency" 2021-11-06 16:25:48 +08:00
Maxime Leroy
aa450cb00e
Translation update by Maxime Leroy <lisacintosh@gmail.com> using Weblate
po/fr.po: 76.9% (4125 of 5362 strings; 891 fuzzy)
377 failing checks (7.0%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2021-11-05 08:35:59 +01:00
Frank H. Ellenberger
bfe2a1635b Revert "Translation update by Hugo Carvalho <hugokarvalho@hotmail.com>
using Weblate"

This reverts commit 78fac0307c.

Reason: https://github.com/Gnucash/gnucash/pull/1182#discussion_r739675453
2021-11-04 23:28:56 +01:00
Avi Markovitz
e094de7c7a
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-11-04 16:35:00 +01:00
Allan Nordhøy
ebde97ce56
Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
po/nb.po: 53.3% (2862 of 5362 strings; 1633 fuzzy)
423 failing checks (7.8%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-11-04 16:35:00 +01:00
Maxime Leroy
8d2f059071
Translation update by Maxime Leroy <lisacintosh@gmail.com> using Weblate
po/fr.po: 75.9% (4075 of 5362 strings; 909 fuzzy)
382 failing checks (7.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Translation update  by Maxime Leroy <lisacintosh@gmail.com> using Weblate

po/fr.po: 75.9% (4073 of 5362 strings; 909 fuzzy)
383 failing checks (7.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2021-11-04 16:34:59 +01:00
Hugo Carvalho
78fac0307c
Translation update by Hugo Carvalho <hugokarvalho@hotmail.com> using Weblate
po/glossary/pt.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt/

Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
2021-11-04 16:34:59 +01:00
John Ralls
0660da074f Merge Simon Arlott's 'cut-txn-warning' into maint. 2021-11-03 14:16:10 -07:00
Christopher Lam
970e9af342 Merge branch 'glist-functions' into maint #1183 2021-11-02 23:35:07 +08:00
Christopher Lam
79d8ef0299 Revert b5f5129f7 using gnc_list_length_cmp 2021-11-02 23:34:26 +08:00
Christopher Lam
3dfdf60608 [gnc-glib-utils] Define and export gnc_list_length_cmp 2021-11-02 23:34:25 +08:00
Christopher Lam
7a25c12b9a [dialog-sx-since-last-run] don't allocate repeatedly to combine strings 2021-10-30 22:41:02 +08:00
Christopher Lam
b5f5129f7d Shortcut g_list_length comparison against small numbers
It's more efficient to test node && node->next etc when testing GList
length against small numbers
2021-10-30 22:29:17 +08:00
Christopher Lam
e94ee3bfad Don't g_strdup char* from scm_to_locale|utf8_string
Both scm_to_locale_string and scm_to_utf8_string return newly
allocated char*. It is not necessary to return a strdup'd char* and
free the original.
2021-10-30 22:26:33 +08:00
Simon Arlott
f7f6f337df
Separate the warnings for "cut split/transaction" and "delete split/transaction" 2021-10-28 22:09:39 +01:00
Christopher Lam
f813f7cd14 [gnc-autoclear] Move autoclear algorithm into gnome-utils 2021-10-28 21:41:46 +08:00
Christopher Lam
0a39c37b22 [window-autoclear.glade] upgrade to glade 3.38.2 2021-10-28 21:41:43 +08:00
Christopher Lam
deec353b33 [window-reconcile.glade] upgrade to glade 3.38.2 2021-10-28 21:41:04 +08:00
Christian Wehling
d6ad50df54
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.8% (5354 of 5362 strings; 6 fuzzy)
228 failing checks (4.2%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2021-10-27 20:55:31 +02:00
Geert Janssens
bdb06479e8 GSettings - fix GObject warning when old prefs-version is unset
This will happen when current master (future 5.0) has been run
at least once.
2021-10-27 10:35:11 +02:00
cjh
9825132eab
Translation update by cjh <cjh@cjh0613.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/

Translation update  by cjh <cjh@cjh0613.com> using Weblate

po/zh_TW.po: 99.8% (5352 of 5362 strings; 10 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Co-authored-by: cjh <cjh@cjh0613.com>
2021-10-23 21:27:49 +02:00
John Ralls
5a8cbf4193 Bug 798325 - New Currency for Venezuela (VED)
Add latest Venezuelan revaluation of the Bolivar Soberano, following
the ISO notation replacing VES (which the Venezualan central bank is
keeping) with VED and the exchange code (ditto) with 926.
2021-10-23 12:27:11 -07:00
Avi Markovitz
dfa78d9e5b
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-10-21 17:42:03 +02:00
Milo Ivir
73525717ef
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/

Co-authored-by: Milo Ivir <mail@milotype.de>
2021-10-21 17:42:02 +02:00
Christopher Lam
f40dbb8c28 Avoid unnecessary g_list_length in equality functions 2021-10-21 17:56:15 +08:00
Christopher Lam
f0970c8eb4 [gnc-features] don't repeatedly g_strconcat gchars* 2021-10-20 19:29:32 +08:00
Christopher Lam
31a0300abe [Recurrence.c] avoid repeated calls to g_list_length 2021-10-20 19:29:26 +08:00
Christopher Lam
6bcd69026b [gnc-budget-view] avoid O(N^2) g_list_length calls 2021-10-20 19:29:18 +08:00
Yaron Shahrabani
a3fedfe5ae
Translation update by Yaron Shahrabani <sh.yaron@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: Yaron Shahrabani <sh.yaron@gmail.com>
2021-10-19 22:41:28 +02:00
Frank H. Ellenberger
56ae17c731 L10N:sv:: merge recent 4.8-pot2
5245 translated messages, 113 fuzzy translations, 4 untranslated
messages.
2021-10-19 02:02:03 +02:00
Arve Eriksson
2a47344658 L10N:sv: 2021-10-17 Update from translationproject.org (4.7-pre1)
5256 translated messages, 106 fuzzy translations.
2021-10-19 02:01:43 +02:00
Wellington Terumi Uemura
a52f7eabed
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-18 16:42:40 +02:00
Yaron Shahrabani
d1bb815e33
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 99.9% (5361 of 5362 strings; 1 fuzzy)
1 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-18 16:42:40 +02:00
Christopher Lam
b480600dc8 [gnc-pricedb] gnc_price_list_equal: avoid 4 g_list_length calls 2021-10-18 22:41:44 +08:00
Christopher Lam
23e528f51a [utest-gnc-pricedb] add tests for gnc_price_list_equal
Also need to change PWARN which causes test failure, to PINFO
2021-10-18 22:25:21 +08:00
Frank H. Ellenberger
de6ee25e72 L10N: merge recent change 2021-10-17 23:12:26 +02:00
Frank H. Ellenberger
bdc14adffe I18N: Improve the recently marked messages from commit ae55908 2021-10-17 23:04:46 +02:00
Christian Wehling
e2d5257bbc
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.8% (5356 of 5362 strings; 6 fuzzy)
229 failing checks (4.2%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2021-10-17 22:33:10 +02:00
John Ralls
fbf828476f Bug 798313 - "File/Import/Import Transactions From CSV" crashes Gnucash.
Don't shutdown and re-initialize the expression parser after every parse,
doing so overflows the Guile garbage collector's memory-region array.

It also forces the expression parser to load the user expressions-2.0
for every parse which is extremely expensive.
2021-10-16 16:25:56 -07:00
Geert Janssens
09b3ce2382 Revert "Add structure to map migrated preferences to old ones"
This reverts commit c6103a5c17.
2021-10-16 19:02:17 +02:00