jean
bbdd4f34b6
Bug 797900 - Crash caused by Quitting while Check and Repair All is running
...
The account tree page didn't have a "finish" function normally used to verify a page can close.
I added one, along with two flags that indicate whether a scrubbing operation is currently ongoing
and whether we should quit when the scrubbing is done.
The result is: If a user attempts to quit while scrubbing isn't done, an alert pops up asking whether the
user wants to abort the scrub. If so, the scrub is aborted (safely) and GC quits.
If not the app does not quit.
I have to say, I'm not sure this is the right way to do this. In my view, the right way would be:
- Disable the "quit" menu when scrubbing is happening (for some reason gnc_suspend_gui_refresh() does
not cause the quit menu to be grayed) so there's no chance of quitting while scrubbing is ongoing
- If needed, add an abort scrubbing button to the main window. Not sure whether that's desirable or not.
Let me know what you think: is what I have what we need, or would the above be better.
6 years ago
Christopher Lam
a50c188dca
Bug 797923 - Running employee report results in "Unbound variable: txn"
...
The bug was triggered by txn referring to the invalid split being
used *outside* the let environment. Use (car splits) instead for
logging. Also augment error handling by listing the invalid splits
before the aging-list.
6 years ago
Christopher Lam
3b312e7548
[report-utilities] more dump data functions
...
Two API to dump splits in whole book:
* gnc:dump-book - splits grouped by account
* gnc:dump-all-transactions - splits grouped by transaction
* gnc:dump-split - dumps single split
Example output -- note (gnc:dump-book) dumps each account followed by
its splits, then account balance. (gnc:dump-all-transactions) dumps all
transactions in date order, each followed by its splits.
(gnc:dump-book)
Account 8e56ef54: <Expense> Comm<USD> Type<Expense>
n Split 5dd1c0a9: 05/11/19 Amt<$200.00> $200.00 Desc<vend1> Memo<AP>
n Split f9cb052f: 05/11/19 Amt<$20.00> $20.00 Desc<emp1> Memo<vouch1>
n Split daafc64b: 05/11/19 Amt<$69.00> $69.00 Desc<vend1> Memo<job-bill>
n Split 5e6af9fe: 14/11/19 Amt<$86.00> $86.00 Desc<emp1> Memo<emp-voucher>
n Split 6d636ea2: 14/11/19 Amt<$46.00> $46.00 Desc<vend1>
n Split e618644b: 14/12/19 Amt<-$100.00> -$100.00 Desc<Vend-USD>
n Split 8be19fbd: 25/12/19 Amt<-$46.00> -$46.00 Desc<Vend-USD> Memo<CN$100-desc>
n Split ee4fe250: 01/04/20 Amt<$32.00> $32.00 Desc<Cell phone>
n Split 2cb02dac: 09/05/20 Amt<-$307.00> -$307.00
Balance: $0.00 Cleared: $0.00 Reconciled: $0.00
Account 6f39f557: <Closing> Comm<USD> Type<Equity>
n Split 13916652: 09/05/20 Amt<$307.00> $307.00
Balance: $307.00 Cleared: $0.00 Reconciled: $0.00
Account fa6507e1: <Closing:GBP> Comm<GBP> Type<Equity>
n Split 34ce3c03: 09/05/20 Amt<-£1,293.00> -£1,293.00
Balance: -£1,293.00 Cleared: £0.00 Reconciled: £0.00
(gnc:dump-all-transactions)
Trans cfbbc2a4: 12/07/19 Curr GBP Desc<Customer-GBP>
n Split d12f74b2: 12/07/19 Acc<AR-GBP> Amt<£120.00> £120.00 Desc<Customer-GBP> Memo<due 91+>
n Split 3880e99c: 12/07/19 Acc<Standard Sales> Amt<-£20.00> -£20.00 Desc<Customer-GBP> Memo<due 91+>
n Split 6bd9c7e4: 12/07/19 Acc<Income-GBP> Amt<-£100.00> -£100.00 Desc<Customer-GBP> Memo<due 91+>
Trans 60344bab: 09/10/19 Curr GBP Desc<Customer-GBP>
n Split aaca8ee0: 09/10/19 Acc<AR-GBP> Amt<£225.00> £225.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
n Split ee49bde8: 09/10/19 Acc<Standard Sales> Amt<-£20.00> -£20.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
n Split e989e863: 09/10/19 Acc<Reduced Sales> Amt<-£5.00> -£5.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
n Split 91d6cadd: 09/10/19 Acc<Income-GBP> Amt<-£200.00> -£200.00 Desc<Customer-GBP> Memo<due 2-3 months ago
6 years ago
John Ralls
c210ceb3cb
Fix Windows build.
...
MinGW doesn't implement strsep, use strtok instead.
6 years ago
Christopher Lam
98c8b23351
Merge branch 'maint-797852-bis' into maint #776
6 years ago
Christopher Lam
cbbca47013
[test-engine-extras] Use more efficient gnc:list-flatten
6 years ago
Geert Janssens
ef2db1ed0f
Update Dutch glossary
6 years ago
Christopher Lam
2fd2b7bb64
Bug 797852 - Error in Accounts Payable Aging re cut off dates
...
Finally the proper fix in aging-report.
The aging-report must consider only activity in the report period
specified. If an invoice is paid after the report period, it is
considered unpaid.
6 years ago
Christopher Lam
5bf57260ae
[business-urls] link to owner report with enddate
6 years ago
Christopher Lam
17c0c42e0b
[dialog-invoice] gnc_business_call_owner_report_with_enddate
6 years ago
Christopher Lam
6c4edf94ce
[aging] call owner-report-text with end-date
6 years ago
Christopher Lam
4aafa1752f
[new-aging] create owner report with end-date
6 years ago
Christopher Lam
5e0340560a
[html-utilities] gnc:owner-report-text can accepts enddate
6 years ago
Christopher Lam
9ec5c86f55
[new-owner-report][api] owner-report-create-with-enddate
...
similar to owner-report-create, accepts enddate argument
6 years ago
Geert Janssens
809ea8dbf9
Mark Dutch translation as non-TP managed
6 years ago
Geert Janssens
56210de9a2
Rename report option for consistency
...
In English each word in option and menu names starts with a capital letter.
Also eliminates a redundant translatable string.
6 years ago
triyanwn
03ef88839b
L10N 🆔 New glossary for Bahasa Indonesia
...
Indonesian translation for glossary and update to include Bahasa
Indonesia on CMakeLists.txt
PR #775
6 years ago
Frank H. Ellenberger
6deecfd376
Merge branch 'pr_773' into maint
6 years ago
Frank H. Ellenberger
2dd576fa0a
I18N:nb: Merge recent pot
6 years ago
John Erling Blad
be7b261fdb
L10N: nb: partial updated translation
6 years ago
Christopher Lam
d149042d74
[net-charts] CSV export uses ISO dates
...
* also add CSV export-error if no export-string
6 years ago
Christopher Lam
3296da001c
[category-barchart] add CSV export for table data
6 years ago
Christopher Lam
f8e976e913
[category-barchart] simplify table constructor
6 years ago
Christopher Lam
582ded3996
[price-scatter] compact code, add more interval options
...
fixes longstanding unreported bug - quarter/halfyear were not being
handled!
6 years ago
John Ralls
6d44d0675e
Reduce random transactions and iterations on test-lots.cpp.
...
No point in generating 320 transactions or running the test 10 times
for a simple does-it-crash test. Do it once with 32 transactions so
it takes less than one second instead of 16.
6 years ago
Hong Xu
f662935990
Etype might have not been initialized when used
...
It is used here:
g_strdup_printf (_("Entity type does not match %s: %s"), etype, location);
But previous it might not have been initialized.
6 years ago
John Erling Blad
58bf438ac8
L10N:nb: update glossary for norwegian bokmal
...
(rebased version of PR #771 )
6 years ago
Christopher Lam
f769999ffd
[trep-engine] export gnc:lists->csv properly
...
error 94c61e15f
6 years ago
Christopher Lam
79a273545c
[net-charts] export table as CSV
...
table can be exported
6 years ago
Christopher Lam
94c61e15f3
[trep-engine] export gnc:lists->csv
...
converts a list of lists to CSV string.
6 years ago
Christopher Lam
088a386dc7
[gnc-plugin-page-register.c] sanity check invoices_from_transaction
...
prevent segfault if trans is NULL. would crash when deleting a split.
6 years ago
Christopher Lam
00efc1696a
[Transaction.c] sanity check xaccTransGetAPARAcctSplitList
...
prevent segfault if trans is NULL
6 years ago
Christopher Lam
3e0eda4b15
Merge branch 'maint-C-exports' into maint #768
6 years ago
Christopher Lam
3eaeda39fa
[gnc-plugin-page-report] handle invalid renderer output
...
- renderer doesn't return an html-document object
- or, the html-document has no export-string nor export-error
6 years ago
Christopher Lam
21925c18be
[gnucash-commands] handle invalid renderer return
...
- renderer doesn't return an html-document object
- or, the html-document has no export-string nor export-error
6 years ago
Christopher Lam
a237505501
Merge branch 'maint-797852' into maint #760
6 years ago
Giuseppe Foti
c3e1a07f43
L10Nit 5551 messaggi tradotti.
6 years ago
Christopher Lam
68c980baf2
[business-urls] parse enddate=time64-number
...
enddate=number is parsed if it exists. it is not yet used in
owner-report generation.
6 years ago
Christopher Lam
6d217a7bcf
[gnc-plugin-page-report] remove compatibility path
6 years ago
Christopher Lam
469ef58026
[gnucash-commands] remove compatibility path
6 years ago
Christopher Lam
4de646b1c7
[report-core] remove output-file in gnc:cmdline-* fns
6 years ago
Christopher Lam
e84b404b74
[income-gst-statement] deprecate file-name argument in renderer
6 years ago
Christopher Lam
fee142b27a
[trep-engine] deprecate #:filename argument in renderer
6 years ago
Christopher Lam
99f2e0db23
[business-urls] macro common code
6 years ago
Christopher Lam
a1d396e11a
[business-urls] slightly better url query parsing
6 years ago
Christopher Lam
c5e5bdf8c1
Addendum previous: rename "invoice"->"document"
6 years ago
Christopher Lam
ca6e5528bd
Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher
6 years ago
Christopher Lam
aa9602f0ed
[gnucash-commands] use export-string/error
6 years ago
Christopher Lam
37c1bd47de
[gnc-plugin-page-report] use export-string/error
6 years ago
Christopher Lam
31185c963a
[taxtxf_de] set export-string for export-type='csv
6 years ago