Frank H. Ellenberger
3f8ab2684e
I18N: Add copyright-holder - improve wording
2020-09-04 02:46:38 +02:00
Frank H. Ellenberger
57d059bac9
I18N: Add copyright-holder
...
For details see https://github.com/Gnucash/gnucash/pull/780
2020-09-04 00:24:35 +02:00
Christopher Lam
c142416445
Bug 476114 - Goto register by date feature req
...
Adds ability to jump to arbitrary date.
Finds first split whose posted date >= specified date, and jump to it.
2020-09-03 11:08:14 +08:00
Christopher Lam
befc4056ec
[gnc-plugin-page-report] use gnc_print_time64
...
removes the need to store and reset the current QofDateFormat via
qof_date_format_set and qof_date_format_get.
also g_free format_code properly
2020-09-02 10:48:10 +08:00
Christopher Lam
f503f708f5
[reports] use gnc-print-time64
...
removes the need to store and reset the current QofDateFormat via
qof-date-format-set and qof-date-format-get.
also fix test-transaction csv output test.
2020-09-02 10:48:10 +08:00
Christopher Lam
094b4ba842
[dialog-file-access] handle close-dialog with <ESC>
2020-09-02 10:48:10 +08:00
Christopher Lam
fb42065213
g_free strings allocated with gnc_prefs_get_string
...
gnc_prefs_get_string will return a newly-allocated string. after use,
they must be g_freed.
2020-09-02 10:48:10 +08:00
siimsellis
0fbda2fffe
Update et.po
...
Added translations to some words and phrases.
2020-09-01 11:23:40 +03:00
Frank H. Ellenberger
d9b652de45
L10N:et: Create Estonian translation
...
Only filled with common parts from GOffice and GTK
2020-08-29 06:18:55 +02:00
John Ralls
de33d1ef15
Bug 797924 - Crash when searching for customer to process payment.
...
Slightly speculative since the bug isn't reliably reproduceable, but
qof_class_get_property can silently return nullptr so it's wise to
make sure that we have a ptr before trying to dereference it.
2020-08-28 09:03:59 -07:00
jean
3d98ba092f
Fix reversed logic in gnc_quartz_should_quit
2020-08-27 17:00:32 -07:00
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.
2020-08-27 16:59:55 -07:00
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.
2020-08-26 23:16:55 +08:00
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
2020-08-23 21:00:12 +08:00
John Ralls
c210ceb3cb
Fix Windows build.
...
MinGW doesn't implement strsep, use strtok instead.
2020-08-22 12:59:14 -07:00
Christopher Lam
98c8b23351
Merge branch 'maint-797852-bis' into maint #776
2020-08-19 07:19:42 +08:00
Christopher Lam
cbbca47013
[test-engine-extras] Use more efficient gnc:list-flatten
2020-08-19 07:19:38 +08:00
Geert Janssens
ef2db1ed0f
Update Dutch glossary
2020-08-18 17:45:52 +02:00
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.
2020-08-18 22:27:03 +08:00
Christopher Lam
5bf57260ae
[business-urls] link to owner report with enddate
2020-08-18 22:19:46 +08:00
Christopher Lam
17c0c42e0b
[dialog-invoice] gnc_business_call_owner_report_with_enddate
2020-08-18 22:19:46 +08:00
Christopher Lam
6c4edf94ce
[aging] call owner-report-text with end-date
2020-08-18 22:19:46 +08:00
Christopher Lam
4aafa1752f
[new-aging] create owner report with end-date
2020-08-18 22:19:46 +08:00
Christopher Lam
5e0340560a
[html-utilities] gnc:owner-report-text can accepts enddate
2020-08-18 22:19:46 +08:00
Christopher Lam
9ec5c86f55
[new-owner-report][api] owner-report-create-with-enddate
...
similar to owner-report-create, accepts enddate argument
2020-08-18 22:19:46 +08:00
Geert Janssens
809ea8dbf9
Mark Dutch translation as non-TP managed
2020-08-18 15:30:03 +02:00
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.
2020-08-18 15:28:51 +02:00
triyanwn
03ef88839b
L10N 🆔 New glossary for Bahasa Indonesia
...
Indonesian translation for glossary and update to include Bahasa
Indonesia on CMakeLists.txt
PR #775
2020-08-18 08:18:16 +02:00
Frank H. Ellenberger
6deecfd376
Merge branch 'pr_773' into maint
2020-08-18 00:51:55 +02:00
Frank H. Ellenberger
2dd576fa0a
I18N:nb: Merge recent pot
2020-08-18 00:47:01 +02:00
John Erling Blad
be7b261fdb
L10N: nb: partial updated translation
2020-08-17 18:55:16 +02:00
Christopher Lam
d149042d74
[net-charts] CSV export uses ISO dates
...
* also add CSV export-error if no export-string
2020-08-17 23:39:06 +08:00
Christopher Lam
3296da001c
[category-barchart] add CSV export for table data
2020-08-17 23:39:06 +08:00
Christopher Lam
f8e976e913
[category-barchart] simplify table constructor
2020-08-17 23:39:06 +08:00
Christopher Lam
582ded3996
[price-scatter] compact code, add more interval options
...
fixes longstanding unreported bug - quarter/halfyear were not being
handled!
2020-08-17 23:38:41 +08:00
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.
2020-08-16 16:05:15 -07:00
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.
2020-08-17 05:24:11 +08:00
John Erling Blad
58bf438ac8
L10N:nb: update glossary for norwegian bokmal
...
(rebased version of PR #771 )
2020-08-16 23:16:19 +02:00
Christopher Lam
f769999ffd
[trep-engine] export gnc:lists->csv properly
...
error 94c61e15f
2020-08-16 22:44:34 +08:00
Christopher Lam
79a273545c
[net-charts] export table as CSV
...
table can be exported
2020-08-16 21:57:59 +08:00
Christopher Lam
94c61e15f3
[trep-engine] export gnc:lists->csv
...
converts a list of lists to CSV string.
2020-08-16 21:51:07 +08:00
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.
2020-08-16 17:56:00 +08:00
Christopher Lam
00efc1696a
[Transaction.c] sanity check xaccTransGetAPARAcctSplitList
...
prevent segfault if trans is NULL
2020-08-16 17:55:57 +08:00
Christopher Lam
3e0eda4b15
Merge branch 'maint-C-exports' into maint #768
2020-08-16 08:27:30 +08:00
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
2020-08-16 08:26:48 +08:00
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
2020-08-16 08:25:50 +08:00
Christopher Lam
a237505501
Merge branch 'maint-797852' into maint #760
2020-08-16 08:08:21 +08:00
Giuseppe Foti
c3e1a07f43
L10Nit 5551 messaggi tradotti.
2020-08-15 14:05:08 -07:00
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.
2020-08-15 23:14:59 +08:00
Christopher Lam
6d217a7bcf
[gnc-plugin-page-report] remove compatibility path
2020-08-15 18:37:38 +08:00