Commit Graph
26124 Commits
Author SHA1 Message Date
John Ralls f24f29830b [options] Change std::cerr stream output to PWARN.
Remove temporary diagnostic.
2022-08-25 22:09:56 -07:00
Christopher Lam e91917b72f Merge branch 'maint' 2022-08-26 08:21:13 +08:00
Artem 5fab901a85 Translation update by Artem <artem@molotov.work> using Weblate
po/uk.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Artem <artem@molotov.work>
2022-08-25 23:55:46 +02:00
Frank H. Ellenberger 03d8d028e2 Merge branch PR #1410 into maint 2022-08-25 23:47:34 +02:00
alexchap d4622e7748 Update CMakeLists.txt
Add pme-19 template
2022-08-25 21:55:39 +02:00
alexchap b91e81aff9 Create acctchrt_pme-19.gnucash-xea
Swiss SMB account chart

Update acctchrt_pme-19.gnucash-xea

Fix name of parent equity account + children
2022-08-25 21:55:38 +02:00
Christopher Lam 3e02859277 Merge branch 'maint' 2022-08-25 23:47:18 +08:00
mocsa 4efbddd538 Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 58.5% (3163 of 5400 strings; 1303 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-22 18:57:16 +02:00
John Ralls f412d91095 Import Matcher: Fix nullptr hash index crash. 2022-08-22 09:56:46 -07:00
Christopher Lam 2c5a5a0485 [assistant-stock-transaction] show stock acct when capitalizing fees
...in final page summary table.

The ignore_account bool is thus not used anymore, and can be removed.
2022-08-22 12:21:28 +08:00
Christopher Lam ff4c656bac [assistant-stock-transaction] transcription error in truth table
Short Sell should have the same characteristics as Open Buy.
2022-08-22 12:05:38 +08:00
Christopher Lam b7a3652de7 [date-utilities] avoid report crash if start>end date 2022-08-21 17:27:05 +08:00
Christopher Lam 9642025745 [html-chart] add percent formatter for numbers for older javascript
addendum to f99168064 for win32 builds
2022-08-21 17:10:00 +08:00
John Ralls 1b384df622 Bug 798385 - Description to often only "Landesbank Hessen-Thuringen Girozentrale"
Prepend the Ulitimate Creditor or Ultimate Debtor to the transaction description.
2022-08-19 12:18:22 -07:00
mocsa 12419e283b Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 58.5% (3163 of 5400 strings; 1303 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-18 18:31:56 +02:00
Christopher Lam 78f3b33b0c [assistant-stock-transaction] ellipsise memo, add tooltip to summary
Tooltip contains the full Memo field.
2022-08-19 00:31:20 +08:00
Christopher Lam 7e1cb7e2fa [assistant-stock-transaction] prettify the summary split info
- set Memo column to expand, otherwise Credit column expands
- Debit & Credit columns are right-aligned and have padding
2022-08-18 23:32:50 +08:00
Christopher Lam c20d717b33 [test-trial-balance] adjust tests to use pricedb-nearest 2022-08-17 09:25:58 +08:00
Christopher Lam f71999bb8f [trial-balance] set default price-source to average-cost
to minimise complaints... see bug 798550
2022-08-17 07:36:50 +08:00
Christopher Lam 519818ce04 [import-main-matcher] sort matched transactions' accounts 2022-08-17 07:36:44 +08:00
John Ralls 15ce9be79a Update macOS dependency tarball instructions for the existence of Apple Silicon. 2022-08-14 16:00:19 -07:00
John Ralls e9737375a2 Merge branch 'bug798262' into maint 2022-08-14 15:42:13 -07:00
John Ralls 087501d316 Bug 798262 - Scheduled transactions with blank amounts do not get created.
Handle template transactions that don't have any splits with empty credit
and debit strings and those having no set transaction account.

Set the concrete transaction commodity to the first found of:
The template transaction's commodity
The commodity of the first split with a credit or debit string
The commodity of the first split.
2022-08-14 15:31:46 -07:00
John Ralls 410db42df0 Test case where the template txn doesn't have a set currency. 2022-08-14 15:28:14 -07:00
Arve Eriksson 1e64f3bb04 Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2022-08-12 22:09:12 +02:00
mocsa 180df505eb Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 58.4% (3156 of 5400 strings; 1308 fuzzy)
459 failing checks (8.5%)
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: 58.0% (3135 of 5400 strings; 1320 fuzzy)
465 failing checks (8.6%)
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: 57.8% (3126 of 5400 strings; 1322 fuzzy)
465 failing checks (8.6%)
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: 57.6% (3111 of 5400 strings; 1326 fuzzy)
466 failing checks (8.6%)
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: 57.6% (3111 of 5400 strings; 1326 fuzzy)
466 failing checks (8.6%)
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: 57.3% (3098 of 5400 strings; 1332 fuzzy)
466 failing checks (8.6%)
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: 57.3% (3097 of 5400 strings; 1333 fuzzy)
467 failing checks (8.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-12 22:09:12 +02:00
John Ralls 155922540d Bug 794584 - Register not updated when scheduled transactions created
Force the registers to refresh if there are automaticly created
transactions. That will mean two refreshes if the SLR dialog needs to
display and the user clicks OK, but the alternative is somehow tracking
whether to refresh if the user cancels the dialog. This is simpler and
an extra refresh call is harmless.
2022-08-12 13:05:17 -07:00
John Ralls 229f6f5e85 Fix gdate adjustments. 2022-08-12 12:58:58 -07:00
Geert Janssens 7d1b9474bb Use "help:" instead of "ghelp:" to display our documentation on linux
This comes with a few nice side effects:
* "help:" no longer needs the workaround to link directly to an anchor.
" "help:" requires the document's book id to be "index". We used to have
"index" for guide and "help" for manual. The forced alignment also
allows us to simplify the way MacOS invokes guide an manual.
2022-08-12 17:08:00 +02:00
Simon Arlott 4c1fc1d555 Bug 798262 - Add test case for basic scheduled transactions
Test these scheduled transactions:
* 2 splits with fixed amounts "123"
* 2 splits with fixed amounts "0"
* 2 splits with empty amounts ""

Verify that automatically created scheduled transactions exist.
2022-08-11 11:01:03 -07:00
Christopher Lam 41de4cefce Merge branch 'maint-sx-popup' 2022-08-09 18:15:30 +08:00
Christopher Lam 6ba912ee0d Merge branch 'maint' 2022-08-09 18:15:23 +08:00
mocsa 2d8bda80c3 Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 57.2% (3092 of 5400 strings; 1338 fuzzy)
467 failing checks (8.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-09 00:21:31 +02:00
Christopher Lam de7a63082b [gnc-sx-instance-model] leaks: free temporal_state
it's a simple struct containing GDate and int
2022-08-08 13:58:53 +08:00
Christopher Lam ad27be333e [gnc-sx-instance-model] prepend GList loops instead of append 2022-08-08 13:58:53 +08:00
Christopher Lam b94164e8ff [gnc-tree-view-price] prepend GList loops instead of append 2022-08-08 13:58:53 +08:00
Christopher Lam b4d3d4952d [gnc-tree-model-split-reg] prepend GList loops instead of append 2022-08-08 13:58:51 +08:00
Christian Wehling 322a5998fb Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
po/de.po: 99.9% (5399 of 5400 strings; 1 fuzzy)
181 failing checks (3.3%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Wehling <christian.wehling@web.de>
2022-08-07 03:22:50 +02:00
Enrique Ayesta Perojo a5c2e4d197 Translation update by Enrique Ayesta Perojo <eayesta@gmail.com> using Weblate
po/eu.po: 27.5% (1485 of 5400 strings; 2524 fuzzy)
916 failing checks (16.9%)
Translation: GnuCash/Program (Basque)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/eu/

Co-authored-by: Enrique Ayesta Perojo <eayesta@gmail.com>
2022-08-07 03:22:50 +02:00
Christopher Lam e822c12f8b Bug 798590 - Transaction report: wrong type argument in position 1
handle single-col subtotals
2022-08-07 09:22:01 +08:00
John Ralls 8b07ac88cd [options] Add "key" to the register-option documentation blocks. 2022-08-06 17:17:32 -07:00
John Ralls e29ab5336f [options] Remove key and doc_string from gnc_register_query_option.
It's always used as an internal option with no UI component so it doesn't
use them.
2022-08-06 17:17:32 -07:00
John Ralls 6faaf3b427 [options] Provide a const char* value flavor for register_commodity
And register_currency_option
2022-08-06 17:17:32 -07:00
John Ralls 1ff844c195 [options] Fix implementation of gnc_register_owner_option
To take an owner-type parameter and to set the UIType accordingly.
2022-08-06 17:17:32 -07:00
John Ralls aa0b0921f4 [options] Add a function to check if an option is internal.
Instead of relying on the legacy underscore-section-name hack.
2022-08-06 17:17:32 -07:00
John Ralls da0eff2cac [options] Implement widget-changed callbacks.
Enables full functionality for complex-boolean and multichoice-callback
options.

Note that setter-function callback isn't used in any GnuCash code so it
is not implemented and is not present in the register-callback functions.
2022-08-06 17:17:26 -07:00
John Ralls 552aa438ff [options] Implement gnc_register_internal_option. 2022-08-06 17:13:28 -07:00
John Ralls 0e9ed8cf0a [options] Provide float variants to gnc_register_plot_size_option. 2022-08-06 17:13:28 -07:00
John Ralls 3d275a3715 [options] Improve Scheme API consistency 2022-08-06 17:13:16 -07:00
John Ralls 418bb7d0cc [options] Fix two deprecation messages. 2022-08-06 16:25:42 -07:00