Christopher Lam
f743f24e7e
[gnc-tree-model-split-reg.c] don't call g_list_length
...
use model->number_of_trans_in_full_tlist instead which has already
stored the length.
2021-02-24 09:08:25 +08:00
Christopher Lam
b767d16059
[gnc-tree-model-split-reg.c] use xaccSplitListGetUniqueTransactionsReversed
...
which is then reversed if required. this removes the need for double
reversal.
2021-02-24 09:08:25 +08:00
Christopher Lam
e79db92d8d
[Split.c] xaccSplitListGetUniqueTransactionsReversed
...
Same as xaccSplitListGetUniqueTransactions but doesn't reverse the
list prior to returning. To be used by gnc-tree-model-split-reg.c
Several optimizations
* doesn't call g_list_find and g_list_append for every iteration
* uses g_hash_table to cache list of txns already added instead of g_list_find
* does not reverse the result, thereby returning a reversed list.
2021-02-24 09:08:25 +08:00
Christopher Lam
0a22f688a6
plug memory leaks
2021-02-24 09:08:25 +08:00
Christopher Lam
b2b8792110
prepend-and-reverse instead of O(N^2) append
2021-02-24 09:08:25 +08:00
Christopher Lam
b73cacd58c
[gnc-recurrence.c] avoid O(N^2) children traversal
...
* each loop iteration called g_list_length and g_list_nth_data
better to forloop scan children instead
2021-02-24 09:08:25 +08:00
Avi Markovitz
910da534bf
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 100.0% (5526 of 5526 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-02-23 11:49:46 +01:00
Wellington Terumi Uemura
481e56e2fc
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/pt_BR.po: 100.0% (5526 of 5526 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-02-23 11:49:46 +01:00
Robert Fewell
2e5c419c9e
Follow up to Bug 798098 fix
...
If there are GncMainWindows that have no pages added and Gnucash is
quitted they are not destroyed. This fix checks for windows with no
pages and then does a gtk_widget_destroy on them.
2021-02-23 10:43:03 +00:00
Frank H. Ellenberger
8441aa86e7
L10N: Merge a fresh pot
2021-02-22 18:29:21 +01:00
Frank H. Ellenberger
a3c875075c
I10N: patch po files
2021-02-22 18:09:19 +01:00
Frank H. Ellenberger
6bc8679932
I18N: replace several spourious spaces
2021-02-22 17:56:50 +01:00
Frank H. Ellenberger
956705453e
I18N: drop translatable flag from "xxx" dummies
...
remove trailing spaces from translatable strings
2021-02-22 17:56:50 +01:00
Kornelijus Tvarijanavičius
18f075ba05
Translation update by Kornelijus Tvarijanavičius <kornelitvari@protonmail.com> using Weblate
...
po/glossary/lt.po: 89.4% (186 of 208 strings; 14 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/lt/
Translation update by Kornelijus Tvarijanavičius <kornelitvari@protonmail.com> using Weblate
po/lt.po: 71.1% (3937 of 5532 strings; 994 fuzzy)
230 failing checks (4.1%)
Translation: GnuCash/Program (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/lt/
Co-authored-by: Kornelijus Tvarijanavičius <kornelitvari@protonmail.com>
2021-02-21 22:50:39 +01:00
Christian Stimming
8e6faba89a
Translation update by Christian Stimming <christian@cstimming.de> using Weblate
...
po/de.po: 99.6% (5511 of 5532 strings; 9 fuzzy)
330 failing checks (5.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Stimming <christian@cstimming.de>
2021-02-21 22:50:39 +01:00
Adithya K
5eb0d5cd96
Translation update by Adithya K <adithyak04@gmail.com> using Weblate
...
po/pl.po: 61.8% (3419 of 5532 strings; 1603 fuzzy)
688 failing checks (12.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/
Translation update by Adithya K <adithyak04@gmail.com> using Weblate
po/en_GB.po: 48.6% (2690 of 5532 strings; 1653 fuzzy)
631 failing checks (11.4%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
Translation update by Adithya K <adithyak04@gmail.com> using Weblate
po/brx.po: 74.2% (4107 of 5532 strings; 933 fuzzy)
522 failing checks (9.4%)
Translation: GnuCash/Program (Bodo)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/brx/
Co-authored-by: Adithya K <adithyak04@gmail.com>
2021-02-21 22:50:38 +01:00
Hindi and Sanskrit Speaker
4a798070be
Translation update by Hindi and Sanskrit Speaker <ifiotsbywzpamtrbbk@wqcefp.com> using Weblate
...
po/hi.po: 73.7% (4080 of 5532 strings; 971 fuzzy)
1991 failing checks (35.9%)
Translation: GnuCash/Program (Hindi)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hi/
Co-authored-by: Hindi and Sanskrit Speaker <ifiotsbywzpamtrbbk@wqcefp.com>
2021-02-21 22:50:37 +01:00
Reza Almanda
1c683fea0a
Translation update by Reza Almanda <rezaalmanda27@gmail.com> using Weblate
...
po/glossary/id.po: 100.0% (208 of 208 strings; 0 fuzzy)
5 failing checks (2.4%)
Translation: GnuCash/Glossary (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/id/
Translation update by Reza Almanda <rezaalmanda27@gmail.com> using Weblate
po/id.po: 98.5% (5452 of 5532 strings; 80 fuzzy)
73 failing checks (1.3%)
Translation: GnuCash/Program (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/id/
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
2021-02-21 22:50:36 +01:00
Theresa Zhang
6b4efe6be8
Translation update by Theresa Zhang <theresa7qing@sina.com> using Weblate
...
po/glossary/zh_CN.po: 92.7% (193 of 208 strings; 7 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/
Co-authored-by: Theresa Zhang <theresa7qing@sina.com>
2021-02-21 22:50:36 +01:00
Alex Aycinena
9d74333d82
2nd Update Form/Schedule line references for 2020 for the US Income Tax Report.
2021-02-16 18:41:20 -08:00
Alex Aycinena
320e84b990
Update Form/Schedule line references for 2020 for the US Income Tax Report.
2021-02-16 16:21:31 -08:00
John Ralls
77e141e80b
Merge Bill Nottingham's glib-fixes into maint.
2021-02-16 13:25:10 -08:00
John Ralls
7a7c26f87e
Move glib and gtk includes out of extern C for tests.
...
Needed to compile with glib 2.67 and later.
2021-02-16 13:23:48 -08:00
John Ralls
62df5866ef
Adjust GNC_DEFINE_TYPE_EXTENDED_END
...
To match new signature of g_once_init_enter and g_once_init_leave.
2021-02-16 13:23:32 -08:00
Bill Nottingham
c0f2c3ae25
Fix build with glib2 2.67.x.
...
glib headers should not be included with 'extern "C"'.
2021-02-16 13:23:16 -08:00
Frank H. Ellenberger
3c9d2a2842
Revert "Translation update by insensitiveclod <contact@sociallife.org>
...
using Weblate"
This reverts commit d93b468d4b
.
The change is definitly wrong.
2021-02-16 09:25:32 +01:00
insensitiveclod
d93b468d4b
Translation update by insensitiveclod <contact@sociallife.org> using Weblate
...
po/nl.po: 90.2% (4995 of 5532 strings; 348 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
Co-authored-by: insensitiveclod <contact@sociallife.org>
2021-02-16 01:57:11 +01:00
Christopher Lam
7b5f5a8560
[balsheet-pnl] Amendment to previous commit.
...
b4e99a304
had another bug.
Monthly pnl from 1-jan to 31-dec uses list of dates (1-jan 1-feb
... 1-dec 31-dec) The last period 1-dec to 31-dec needs to retrieve
price on 31-dec rather than 30-dec, so, is handled differently to
return 31-dec.
We can now reuse col-idx->price-date as the 'enddate' for pnl column
data.
2021-02-16 08:55:02 +08:00
Christopher Lam
b4e99a3048
[balsheet-pnl] pnl columns should retrieve appropriate price.
...
Preamble: the profit&loss list of dates starts from starting_date,
adds Delta time until end_date. i.e. monthly pnl from 1-jan to 31-dec
generates list 1-jan 1-feb 1-mar etc.
The pnl columns refer to period ColumnDate to next ColumnDate, less 1
day. i.e. 1-jan to 31-jan, 1-feb to 28-feb, 1-mar to 31-mar etc.
The pnl columns must convert to report-currency using price retrieved
on the period end_date rather than the next start_date. i.e. Old code
would retrieve 1-feb price for 1-jan to 31-jan column. This is
incorrect. This commit ensures that the 1-jan to 31-jan retrieves
price on 31-jan.
2021-02-15 19:10:17 +08:00
Christopher Lam
6efdafb9b4
Merge branch 'maint-yank-canonically-tabbed-option' into maint #908
2021-02-15 09:01:42 +08:00
Christopher Lam
779c0521e0
[options.scm API] yank canonically-tabbed parent-subtotal-mode
...
'canonically-tabbed option is buggy and has never graduated out of
experimental for 17 years. Time to put it to rest.
All previous saved reports with this option will be switched to 't
i.e. parent-subtotal-mode enabled..
2021-02-15 08:59:50 +08:00
Artem
eb56bf9107
Translation update by Artem <KovalevArtem.ru@gmail.com> using Weblate
...
po/ru.po: 78.3% (4332 of 5532 strings; 825 fuzzy)
247 failing checks (4.4%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
2021-02-14 23:50:43 +01:00
Alois Spitzbart
a61c0b226b
Translation update by Alois Spitzbart <spitz234@hotmail.com> using Weblate
...
po/de.po: 99.6% (5512 of 5532 strings; 8 fuzzy)
329 failing checks (5.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Alois Spitzbart <spitz234@hotmail.com>
2021-02-14 23:50:42 +01:00
Wellington Terumi Uemura
974368c2b8
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/glossary/pt_BR.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5532 of 5532 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-02-14 01:50:30 +01:00
John Ralls
ba0a21c715
Add /usr/bin/core_perl to the PATH for ArchLinux Dockers.
...
Apparently perl's PKGCONFIB doesn't do so any more.
2021-02-13 11:43:08 -08:00
Robert Fewell
325ec13d15
Bug 798096 - can't duplicate TX previous to red line threshold
...
Allow the duplication of a transaction previous to read only threshold
which was disabled by mistake in a previous commit.
2021-02-13 11:07:15 +00:00
Wellington Terumi Uemura
998ad65183
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/pt_BR.po: 100.0% (5532 of 5532 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-02-13 02:19:45 +01:00
Wellington Terumi Uemura
6e135537bb
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
...
po/glossary/pt_BR.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5532 of 5532 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-02-12 06:51:45 +01:00
Pablo
34a1cbd775
Translation update by Pablo <ppicapietra@gmail.com> using Weblate
...
po/glossary/es.po: 77.8% (162 of 208 strings; 23 fuzzy)
15 failing checks (7.2%)
Translation: GnuCash/Glossary (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/es/
Co-authored-by: Pablo <ppicapietra@gmail.com>
2021-02-12 06:51:45 +01:00
Carlos Manrique Enguita
1ede0c4be2
Translation update by Carlos Manrique Enguita <UO258425@uniovi.es> using Weblate
...
po/es.po: 88.0% (4871 of 5532 strings; 489 fuzzy)
170 failing checks (3.0%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: Carlos Manrique Enguita <UO258425@uniovi.es>
2021-02-12 06:51:44 +01:00
Oğuz Ersen
5c9d5d8958
Translation update by Oğuz Ersen <oguzersen@protonmail.com> using Weblate
...
po/tr.po: 77.5% (4289 of 5532 strings; 745 fuzzy)
213 failing checks (3.8%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/
Translation update by Oğuz Ersen <oguzersen@protonmail.com> using Weblate
po/glossary/tr.po: 20.1% (42 of 208 strings; 2 fuzzy)
3 failing checks (1.4%)
Translation: GnuCash/Glossary (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/tr/
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
2021-02-12 06:51:43 +01:00
John Ralls
1993fb9530
Accommodate Gwenhywfar 5.5.0 signature change for some GUI callbacks.
...
This is a breaking change that matters only in Win32. No ifdeffing
because Win32 builds and dependencies are well synchronized.
2021-02-11 15:29:04 -08:00
Christopher Lam
1b41d517d2
[html-acct-table] remove dead code
...
balance-mode being 'pre-adjusting has never been used in code since
introduction in 2007 in v2.0.
2021-02-11 23:26:00 +08:00
Frank H. Ellenberger
14d444fa33
I18N: Fix 2 trailing spaces
2021-02-10 23:40:04 +01:00
Frank H. Ellenberger
ae58542c60
L10N 🇹🇷 Update Project-Id-Version
2021-02-10 21:43:04 +01:00
Oğuz Ersen
a43b743c23
Translation update by Oğuz Ersen <oguzersen@protonmail.com> using Weblate
...
po/tr.po: 77.3% (4281 of 5533 strings; 754 fuzzy)
230 failing checks (4.1%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/
Translation update by Oğuz Ersen <oguzersen@protonmail.com> using Weblate
po/tr.po: 77.1% (4271 of 5533 strings; 764 fuzzy)
249 failing checks (4.5%)
Translation: GnuCash/Program (Turkish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/tr/
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
2021-02-10 12:50:32 +01:00
Frank H. Ellenberger
7c7d2b1323
L10N: tr is now marked external at TP
...
Before we got a request from weblate.
2021-02-10 00:17:49 +01:00
John Ralls
96dcca997f
Bug 798019 - Currency rates in OFX file are ignored
...
Use currency_rate information from OFX file if available. Requires
LibOFX v 0.10.0 or later.
2021-02-09 15:10:59 -08:00
Christopher Lam
f0ff1675b8
[dialog-payment.c] fix memory leak
...
rather obscure: after assigning a payment and printing a check.
2021-02-10 07:09:02 +08:00
Christopher Lam
c20a588e0f
Don't use g_list_append unnecessarily
2021-02-10 07:09:02 +08:00