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
Christopher Lam
469ef58026
[gnucash-commands] remove compatibility path
2020-08-15 18:37:38 +08:00
Christopher Lam
4de646b1c7
[report-core] remove output-file in gnc:cmdline-* fns
2020-08-15 18:37:38 +08:00
Christopher Lam
e84b404b74
[income-gst-statement] deprecate file-name argument in renderer
2020-08-15 18:25:22 +08:00
Christopher Lam
fee142b27a
[trep-engine] deprecate #:filename argument in renderer
2020-08-15 18:24:57 +08:00
Christopher Lam
99f2e0db23
[business-urls] macro common code
2020-08-15 16:22:22 +08:00
Christopher Lam
a1d396e11a
[business-urls] slightly better url query parsing
2020-08-15 14:33:13 +08:00
Christopher Lam
c5e5bdf8c1
Addendum previous: rename "invoice"->"document"
2020-08-15 13:49:59 +08:00
Christopher Lam
ca6e5528bd
Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher
2020-08-15 13:46:47 +08:00
Christopher Lam
aa9602f0ed
[gnucash-commands] use export-string/error
2020-08-15 10:54:53 +08:00
Christopher Lam
37c1bd47de
[gnc-plugin-page-report] use export-string/error
2020-08-15 10:54:42 +08:00
Christopher Lam
31185c963a
[taxtxf_de] set export-string for export-type='csv
2020-08-15 10:54:38 +08:00
Christopher Lam
b0ab79bed7
[taxtxf] set export-string for export-type='csv
2020-08-15 10:54:29 +08:00
Christopher Lam
0891e117c9
[trep-engine] set export-string or export-error for export-type 'csv
2020-08-15 10:53:42 +08:00
Christopher Lam
f645095242
[report-core] don't barf when output-file is #false
2020-08-15 10:53:40 +08:00
Christopher Lam
8b2707254f
[html-document] add export-string|error fields in html-document
2020-08-15 10:53:24 +08:00
Christopher Lam
d1976fc7fe
[gnc-plugin-page-report.c] set dialog parent properly
2020-08-14 22:23:00 +08:00
Christopher Lam
79476ba6dc
don't crash if objects are built with invalid fieldnames
...
(gnc:define-report
'version 3
'name "Test Report Template4"
'invalid-field-name 'x
'report-guid "xxx")
gnc:define-report and other constructors will not crash when fieldname
is invalid.
2020-08-14 20:12:56 +08:00
Geert Janssens
237626f0db
Dutch translation update
...
4721 translated messages, 562 fuzzy translations, 268 untranslated messages.
2020-08-12 18:22:30 +02:00
Geert Janssens
d843405df5
Apply most recent pot file to nl.po
2020-08-12 18:17:48 +02:00
Geert Janssens
00eba91a3b
Tweak a few strings to reuse translations
2020-08-12 18:16:45 +02:00
Christopher Lam
9d28edb332
[gnucash-commands.cpp] fix guile error handling
...
* id is an SCM object which is never NULL, but may be #f to signal error.
2020-08-09 13:56:50 +08:00
Christopher Lam
be96f3bf68
[report-core] better documentation and handle ambiguous reportnames
...
* add comments describing args and return val
* rename vars to better describe them
* exported gnc:cmdline-template-export and gnc:cmdline-get-report-id
handle ambiguous reportnames by returning #f
2020-08-09 13:54:15 +08:00
John Ralls
59f3376e75
gnc:cmdline-check-report should return #t if everything passes.
2020-08-08 16:15:31 -07:00
John Ralls
e8da10ba2e
Use scm_from_locale_string for converting command-line input.
...
Because Windows generally can't enter UTF8 on the command line.
2020-08-08 15:01:33 -07:00
John Ralls
ff318255ad
Bug 797880 - [gnucash-cli] encoding and font differing from...
...
manually exported reports (Win10, German locale).
Don't use Guile for output.
2020-08-08 13:44:26 -07:00
Frank H. Ellenberger
986908ea4a
I18N: Fix a typo in the glossary
2020-08-08 18:20:50 +02:00
Christopher Lam
02e59cc977
[price-quotes.scm] ensure missing-alphavantage message can show on console
2020-08-08 12:19:27 +08:00
Christopher Lam
883705fdf8
[report-core] handle export properly
...
export code was tested using a custom saved-report, needing to call
the parent template export code. this could not work when a parent
template export code was called. enable path to call parent or custom
export-code.
2020-08-08 11:40:42 +08:00
Christopher Lam
0a64081b98
[taxtxf.scm] compact, allow error to console
...
taxtxf error handling is designed for gui. add code to call
gnc:gui-error which can also dump error to console if gui is not available.
2020-08-08 11:39:55 +08:00
Christopher Lam
f9286ac8f4
[budget.scm] fix report crash on books with unreversed budgets
...
there was bug in budget.scm whereby budget report would crash with
unreversed-budget featured book. the 'note' argument was missing when
calling disp-cols.
2020-08-05 23:30:11 +08:00
Christopher Lam
7df7e383c2
Merge branch 'maint-show-report-with-datafile' into maint #755
2020-08-05 18:41:05 +08:00
Christopher Lam
e75150c5c6
[gnucash-cli] -R show should accept & try load datafile
...
* file_to_load argument, if present, would be a candidate for loading.
* if loading fails, show report details anyway.
2020-08-05 18:40:48 +08:00
John Ralls
24e288ae47
Refactor gnc_gen_trans_list_create_matches
...
Extracting functions query_imported_transaction_accounts and perform_matching
and eliminating the early creation and passing of several local
variables.
2020-08-04 09:50:15 -07:00
John Ralls
67fb257641
Bug 797839 - Auto-complete prevents entering non-ASCII transaction descriptions
...
Try #2 . Passing the wrong kind of string length to table_modify_update.
2020-08-03 13:15:19 -07:00
Christopher Lam
f35a26882d
Addendnum to ad20f859c
-- _ must be exported
2020-08-03 23:26:29 +08:00