Commit Graph

27864 Commits

Author SHA1 Message Date
Christopher Lam
d67f0b3c99 reduce number of bools in txn_type info: input_new_balance
input_new_balance merged into stock_amount FieldMask
2023-06-10 18:24:07 -07:00
Christopher Lam
d92d5b4bd2 test suite for assistant-stock-transaction.cpp 2023-06-10 18:24:03 -07:00
Christopher Lam
f36e5d56ed [assistant-stock-transaction] refactor using MVC 2023-06-10 18:21:00 -07:00
Richard Cohen
7d26b8c05f Fail the test if still using 32bit time_t in 2038
gtest-gnc-option.cpp and gtest-gnc-optiondb.cpp need to call
time() for g_date_set_time_t()
2023-06-08 14:30:32 +01:00
Richard Cohen
d63248dad2 Update Y2038 comments 2023-06-08 14:30:28 +01:00
Richard Cohen
7b1ad4ec19 Remove unused osx_accel_map
Since a143f8b5ed on 2023-03-11,
accelerator-map-osx is the file that is used
2023-06-08 14:10:39 +01:00
John Ralls
3307b802fe Merge Richard Cohen's 'remove-unused-remnants-of-register2' into stable.
message to explain why this merge is necessary, # especially if it merges
an updated upstream into a topic branch. # # Lines starting with '#' will
be ignored, and an empty message aborts # the commit.
2023-06-07 19:51:33 -07:00
Simon Arlott
5923a59cfc
Bug 777472 - reconcile does not work if transaction selected
If there's an existing transaction with pending edits when starting
reconciliation, that transaction can appear in the list of transactions and
be modified by the reconciliation but as soon as navigation to another
transaction occurs the pending edit will be saved, overwriting the change
to mark it as reconciled. The result is that reconciliation appears to have
failed or not marked the transaction as reconciled.

This commonly happens when marking several transactions as cleared before
performing reconciliation. If the last transaction is still being edited
it will typically be saved after the reconciliation finishes and overwrite
any change made.

Check that there's no outstanding activity in the current register page
before starting a reconciliation.

It is still possible to start modifying a transaction after the
reconciliation window is open but this will stop the most common issue with
the process.

Starting a reconciliation from the account tree is left unprotected.
2023-06-07 20:13:46 +01:00
Richard Cohen
6cc6ac8681 Refactor: remove unused GncCellRendererPopupEntry 2023-06-07 17:54:52 +01:00
Richard Cohen
0f2c6a002f Refactor: remove unused GncCellRendererPopup 2023-06-07 17:54:52 +01:00
Richard Cohen
98b43768dd Refactor: remove unused GncCellRendererDate 2023-06-07 17:54:52 +01:00
Richard Cohen
3bff7c926e Refactor: remove unused gnc_tree_view_add_date_column() 2023-06-07 17:54:52 +01:00
Richard Cohen
4bbcde7296 Refactor: remove unused gnc_tree_view_add_combo_column() 2023-06-07 17:54:52 +01:00
Christopher Lam
3ccb5c4896 Merge branch 'wordsmithing' into stable #1658 2023-06-07 22:00:06 +08:00
John Ralls
67e658e52d Merge latest translations from WebLate. 2023-06-06 21:30:46 -07:00
Vincent Dawans
1a8c855166
Translation update by Vincent Dawans <dawansv@gmail.com> using Weblate
po/fr.po: 93.7% (5158 of 5499 strings; 212 fuzzy)
36 failing checks (0.6%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Vincent Dawans <dawansv@gmail.com>
2023-06-07 06:29:37 +02:00
Tadas Masiulionis
80999bed31
Translation update by Tadas Masiulionis <tadzikaz@gmail.com> using Weblate
po/lt.po: 66.9% (3684 of 5499 strings; 1145 fuzzy)
296 failing checks (5.3%)
Translation: GnuCash/Program (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/lt/

Translation update  by Tadas Masiulionis <tadzikaz@gmail.com> using Weblate

po/glossary/lt.po: 86.1% (186 of 216 strings; 16 fuzzy)
3 failing checks (1.3%)
Translation: GnuCash/Glossary (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/lt/

Translation update  by Tadas Masiulionis <tadzikaz@gmail.com> using Weblate

po/lt.po: 66.8% (3677 of 5499 strings; 1148 fuzzy)
296 failing checks (5.3%)
Translation: GnuCash/Program (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/lt/

Co-authored-by: Tadas Masiulionis <tadzikaz@gmail.com>
2023-06-07 06:29:37 +02:00
Gaël CATLLA
9a01046767
Translation update by Gaël CATLLA <gcatlla@free.fr> using Weblate
po/fr.po: 92.5% (5090 of 5499 strings; 280 fuzzy)
87 failing checks (1.5%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Gaël CATLLA <gcatlla@free.fr>
2023-06-07 06:29:37 +02:00
Rune Osnes
661855e3e3
Translation update by Rune Osnes <osnes.rune@gmail.com> using Weblate
po/nb.po: 57.4% (3160 of 5499 strings; 1492 fuzzy)
399 failing checks (7.2%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Translation update  by Rune Osnes <osnes.rune@gmail.com> using Weblate

po/glossary/nb.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nb_NO/

Translation update  by Rune Osnes <osnes.rune@gmail.com> using Weblate

po/nb.po: 56.2% (3094 of 5499 strings; 1528 fuzzy)
406 failing checks (7.3%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Rune Osnes <osnes.rune@gmail.com>
2023-06-07 06:29:36 +02:00
Simon Arlott
f4c3e96ab2
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_NZ.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (New Zealand))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/

Translation update  by Simon Arlott <weblate.simon@arlott.org> using Weblate

po/en_AU.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (Australia))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/

Translation update  by Simon Arlott <weblate.simon@arlott.org> using Weblate

po/en_GB.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/

Co-authored-by: Simon Arlott <weblate.simon@arlott.org>
2023-06-07 06:29:36 +02:00
Rahul Shirke
336b66427e
Translation update by Rahul Shirke <sabretou@gmail.com> using Weblate
po/mr.po: 66.7% (3671 of 5499 strings; 1211 fuzzy)
470 failing checks (8.5%)
Translation: GnuCash/Program (Marathi)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mr/

Co-authored-by: Rahul Shirke <sabretou@gmail.com>
2023-06-07 06:29:36 +02:00
Newson Parker
dc933e5d4e
Translation update by Newson Parker <2434843612@qq.com> using Weblate
po/zh_TW.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Co-authored-by: Newson Parker <2434843612@qq.com>
2023-06-07 06:29:36 +02:00
Christian Wehling
653f99722c
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Translation update  by Christian Wehling <christian.wehling@web.de> using Weblate

po/de.po: 99.9% (5498 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2023-06-07 06:29:36 +02:00
Carsten Hütter
798c0ba53c
Translation update by Carsten Hütter <Carsten.Huetter@gmx.de> using Weblate
po/de.po: 99.9% (5498 of 5499 strings; 0 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Carsten Hütter <Carsten.Huetter@gmx.de>
2023-06-07 06:29:36 +02:00
mocsa
1ee1e98351
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.7% (3833 of 5499 strings; 614 fuzzy)
1 failing checks (0.1%)
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: 69.5% (3827 of 5499 strings; 616 fuzzy)
1 failing checks (0.1%)
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: 69.3% (3812 of 5499 strings; 624 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-06-07 06:29:36 +02:00
John Ralls
dda661cfd2 Merge Richard Cohen's 'more-define-types' into stable. 2023-06-06 21:27:36 -07:00
Christopher Lam
f580a6cf2d [gnc-ui-balances.c] better wording for balance limits 2023-06-07 08:49:01 +08:00
John Ralls
a5ff19b62a Merge Richard Cohen's 'fix-incorrect-logging-after-fallthrough' into stable. 2023-06-06 14:59:05 -07:00
John Ralls
0f3554313b Merge Richard Cohen's 'restore-test-gnc-option' into stable. 2023-06-06 14:53:20 -07:00
Richard Cohen
6e5c525f77 Use gnc_time() instead of time() 2023-06-06 15:40:36 +01:00
Richard Cohen
fde90c4c99 Restore test-gnc-option
- removed in merge 3e5fcc8709

To get it to compile

- remove unused variables
- remove duplicate operator==(GncGUID)
2023-06-06 15:34:07 +01:00
Richard Cohen
a0fd9af394 Fix incorrect logging after switch fallthrough
oops
2023-06-06 15:16:39 +01:00
Christopher Lam
d7c797a46e Merge Vincent Dawans branch 'trep-parameters-step2' into stable #1659 2023-06-06 08:39:09 +08:00
Christopher Lam
60e6c23ac9 Bug 798919 - Inconsistent signs in creating budget, bis
bgv_get_total_for_account must return the account budget total.
2023-06-05 18:56:39 +08:00
fabrica64
df6c775617
Including brokerage fees in Money Out calculation (if not ignoring them) in advanced-portfolio.scm report and updating the "advanced" tests to reflect selling fees being included into the money out value 2023-06-04 22:28:00 -03:00
Vincent Dawans
bb8a6b5601 Define parameters in 2 steps to remove preparam 2023-06-04 17:22:19 -07:00
Christopher Lam
c9c8d48910 Merge Vincent Dawans' branch 'trep-parameters' into stable #1629 2023-06-04 20:27:37 +08:00
Vincent Dawans
842e38c7c5 Refactor used-columns alist into more generic parameters alist
Refactor BOOK-SPLIT-ACTION into parameters alist
Refactor primary-get-info and secondary-get-info into parameters alist
Refactor opt-val calls made from make-split-table into parameters alist
Combine let* statements in gnc:trep-renderer
Integrate bal-bf helper function in parameter list
Remove c_account_1 begindate endate arguments from make-split-table
2023-06-03 19:42:05 -07:00
Christopher Lam
4beb382c16 typo in last commit 2023-06-04 08:33:44 +08:00
Christopher Lam
d47230a418 Bug 798919 - Inconsistent signs in creating budget
further Reversed Balance Accounts fixes
2023-06-04 08:20:10 +08:00
Christopher Lam
ccc75cfc88 Merge branch 'scrub-optimize' into stable 2023-06-04 07:58:31 +08:00
Christopher Lam
6fc3691401 Consolidate owner title setter into gnc_owner_window_set_title
8d44c1c38c rewritten to call common code.
2023-06-04 07:55:04 +08:00
Christopher Lam
81902ba8bb [scrub.c] xaccTransScrubSplits calls Begin/Commit only if required 2023-06-02 18:01:08 +08:00
Christopher Lam
872e20c555 move xaccTransScrubSplits to Scrub.c
it's defined in Scrub.h anyway
2023-06-01 20:28:01 +08:00
Richard Cohen
680fe47bac Refactor: Remove unused macros GNC_BASIC_GOBJECT_* 2023-06-01 10:32:02 +01:00
Christopher Lam
9047156017 [Scrub.c] refactor xaccAccountTreeScrubOrphans 2023-05-31 19:34:28 +08:00
Christopher Lam
8628ca8715 [Scrub.c] refactor xaccAccountTreeScrubImbalance
The scrubbing routines are transaction oriented. Instead of
xaccAccountTreeScrubImbalance calling xaccAccountScrubImbalance for
each descendant, refactor so that the transaction list is generated
only once. The scrubbing is faster and progress bar is more accurate.
2023-05-31 09:26:58 +08:00
Christopher Lam
d214b2f05d Merge Vincent Dawans' branch 'bug798879' into stable #1617 2023-05-30 22:41:05 +08:00
Richard Cohen
e70880de1a Refactor: DECLARE/DEFINE_INTERFACE GncDenseCalModel < GObject
- use _default_init() (always called only once) to create the signals
  instead of _base_init()
- remove unused signal vfuncs
2023-05-30 10:35:41 +01:00
Richard Cohen
d3bf654b11 Refactor: DECLARE/DEFINE_INTERFACE GncWindow < GObject 2023-05-30 10:35:41 +01:00