Commit Graph

23048 Commits

Author SHA1 Message Date
John Ralls
f6cd83a1d1 Bug 797845 - Backspace key produces incorrect result
gnucash_sheet_delete_cb should always reset the entry to the returned
value because the combo-box manipulations might have reset it to the
combo box value. Also always stop the delete signal because otherwise
the gtk_entry delete handler will dupllicate the deletion.
2020-07-19 13:56:28 -07:00
John Ralls
15b540370a Bug 797844 - Typing account number to select account fails
Both the account separator and the input string might have regular
expression special characters that will screw up regex matching.
Escape both to ensure that matching works correctly.
2020-07-19 13:56:27 -07:00
John Ralls
8ef370ce87 Accommodate AQBanking < 6 use of GWEN_TIME instead of GWEN_DATE.
Fixes TravisCI failure on Ubuntu 18.04.
2020-07-19 09:22:45 -07:00
Christopher Lam
d546a617ad ensure averaging-multipler returns exact numbers rather than floats 2020-07-19 17:46:01 +08:00
Christopher Lam
11b75128cd Bug 797861 - Yearly / Monthly average reporting displays zeros
averaging-multiplier is an inexact value with Year or Month average.
gnc-numeric-convert seems to barf when it receives an inexact floating
point number.
2020-07-19 17:43:27 +08:00
John Ralls
82da49efc2 Bug 797858 - Transaction date is one day too early from...
SWIFT MT940 import.

GWEN_Date_ToLocalTime doesn't handle Daylight Savings Time correctly
so extract the day, month, and year from the GWEN_DATE and use our
own coversion function.
2020-07-18 15:06:25 -07:00
John Ralls
e4e6ef4163 Bug 797834 - Ctrl+A in account register fields chimes after any...
element newly focussed.

Restore finding the cursor location in the string and setting the entry
position to that value.
2020-07-18 15:06:25 -07:00
Christopher Lam
0b4cd692d7 [gnucash-cli] improve "-R show" to describe report
* displays available export types if applicable
* saved-reports: displays parent report name

eg

* name: GST
  guid: 41c859a223a54913ad323ef166039df0
  parent-template: Income and GST Statement
  export-types: CSV
2020-07-18 19:39:26 +08:00
Mike Alexander
e302921404 Free the libofx contexts that gnc_file_ofx_import_process_file gets.
It allocates one per file plus one that is unused and
never frees any of them.
2020-07-18 02:37:03 -04:00
John Ralls
b07d09328f Merge Jean Laroche's '797854_global_interest_pay_bug1' into maint. 2020-07-17 11:29:58 -07:00
jean
91b6bb3816 Make the edit dialog refresh the auto-interest flag display based on pref 2020-07-16 18:03:40 -07:00
Jean Laroche
6cb2fa3c35 Bug 797847 - Best match probability calculation on import is too pessimistic
Lowering the minimum value for the auto-clear preference. This is to
 allow user to still auto clear even when date don't match quite
 exactly.
2020-07-16 16:39:51 -07:00
John Ralls
b7bdc15b2d Merge Jean Laroche's '797759_no_highlight' into maint. 2020-07-16 16:24:24 -07:00
avma
9e61a2d5fb
Hebrew .po for ver 4.0 2020-07-16 09:26:03 +03:00
Christopher Lam
8fbd11e061 [README] document support for guile-3.0 2020-07-14 22:48:19 +08:00
Christopher Lam
6e520ee2cf [CmakeLists] Find and link guile-3.0
This prefers guile 3.0 > 2.2 > 2.0 and links to the most recent
version found.
2020-07-14 22:48:19 +08:00
Christopher Lam
b6254f971d [test-html-fonts] load-from-path instead of load
otherwise guile-3 complains:

"WARNING: Use of `load' in declarative module (#{ g79}#).
Add #:declarative? #f to your define-module invocation."
2020-07-14 22:48:19 +08:00
Christopher Lam
888f77f9ad [libguile] use scm_list_N instead of SCM_LISTN 2020-07-14 22:48:19 +08:00
Christopher Lam
30843a0d07 [gnucash-pot] Add G_ as gettext keyword 2020-07-14 22:48:19 +08:00
Christopher Lam
fe3787c427 [gnc-numeric] use srfi-9 records for :gnc-monetary 2020-07-14 22:48:19 +08:00
Christopher Lam
996115b904 [html-table] fix copy-and-paste error in f9b3b105d 2020-07-14 22:48:19 +08:00
jean
705f0dbf9e Bug 797854 - Global Register Preference to prompt for interest payment is not being honored.
A new per-account preference is added to let the user decide whether the interest transaction dialog should be
opened automatically before the reconcile. This preference is only enabled for certain types of accounts and
the code that decides that was moved to Account.h as is it now used in two separate place.
2020-07-13 22:42:11 -07:00
jean
9c65ef72c9 Remove global preference for auto-interest-transfer 2020-07-13 20:25:31 -07:00
Christopher Lam
00bbd32677 [html-html/pie/bar/linechart] use symbol for make-record-type
strings in make-record-type are deprecated in guile-3. these modules
are deprecated and don't need to be converted to srfi-9.
2020-07-12 22:48:26 +08:00
Christopher Lam
b5829ce33a [aging] use srfi-9 records for :company-info 2020-07-12 22:44:34 +08:00
Christopher Lam
428c8c501c [guile-3] change _ to G_
In guile-3 _ is a reserved symbol. Change to G_ by guile gettext
convention.
2020-07-12 19:03:26 +08:00
Christopher Lam
a0c1fd6134 addendum to 86f7e3329 2020-07-12 13:15:18 +08:00
Christopher Lam
353cdd45cf [html-text] use srfi-9 records for <html-text> 2020-07-12 13:10:16 +08:00
Christopher Lam
f9b3b105db [html-table] use srfi-9 records for <html-table> and <html-table-cell> 2020-07-12 13:10:16 +08:00
Christopher Lam
4c65e86a4a [html-anytag] use srfi-9 records for <html-anytag> 2020-07-12 13:10:16 +08:00
Christopher Lam
d0f50b5228 [html-style-sheet] combine 2 similar functions 2020-07-12 13:10:16 +08:00
Christopher Lam
ab7e213c30 [html-style-sheet] use srfi-9 records for <html-style-sheet-template> and <html-style-sheet> 2020-07-12 13:10:16 +08:00
Christopher Lam
7dfbc436b9 [html-style-info] use srfi-9 records for <html-style-table> 2020-07-12 13:10:16 +08:00
John Ralls
86f7e33291 Bug 797827 - 4.0.1 gnucash-cli seg faults on macOS Catalina
The string references in Gnucash::run_report's run_report_args were
getting corrupted so either a NULL or invalid filename was passed on
to the backend. Forcing a copy into run_report_args protects the
values and allows the report to run.
2020-07-11 17:03:54 -07:00
John Ralls
6ec36dd02b Bug 797831 - Printer not found
Tell Gtk the root prefix to search for loadable modules.
Also tell GIO to silence a warning.
2020-07-11 13:17:31 -07:00
John Ralls
35a64ffaf8 Let override AppleLanguages on Macs. 2020-07-11 09:31:44 -07:00
Christopher Lam
c87870f9d0 [html-style-info] use srfi-9 records for <html-data-style-info> 2020-07-12 00:13:12 +08:00
Christopher Lam
b69d3fe38a [html-style-info] use srfi-9 records for <html-markup-style-info> 2020-07-12 00:12:59 +08:00
Christopher Lam
a6ac9b748c [html-document] use srfi-9 records for <html-object> 2020-07-11 23:55:03 +08:00
Christopher Lam
738c04fe26 [html-document] use srfi-9 records for <html-document> 2020-07-11 23:55:03 +08:00
Christopher Lam
c65d0ef1c3 [html-chart] use srfi-9 records for <html-chart> 2020-07-11 23:55:03 +08:00
Christopher Lam
309539b80e [report-core] use srfi-9 records for <report> 2020-07-11 22:43:08 +08:00
Christopher Lam
916bdc2a02 [report-core] use srfi-9 records for <report-template> 2020-07-11 22:32:12 +08:00
Christopher Lam
90c8a1e3c2 [balsheet-eg] remove unused functions 2020-07-11 19:26:34 +08:00
Christopher Lam
76fdbfc5fc [balsheet-eg] modernize accrec to use srfi-9 record 2020-07-11 19:26:34 +08:00
Christopher Lam
66c7a0744c [eguile reports] eradicate pythonic for loops, use for-each instead
this syntax is pythonic rather than lispy, is not recognized by code
highlighters, and is not necessary to seasoned schemers.
2020-07-11 18:18:59 +08:00
Christopher Lam
17727a7b77 Bug 797840 - Regression: Invoices printed to PDF generate an extra blank page
height was set as 100vh to ensure charts would fill the viewport. this
causes extra blank page in PDF exports. modify css to unset height for
@media print.
2020-07-11 13:02:22 +08:00
Christopher Lam
58a08a0125 typo fix edd7efd95 book->!book bail out 2020-07-11 12:48:46 +08:00
Frank H. Ellenberger
ae04d6715c Merge PR #752 into maint 2020-07-11 02:40:06 +02:00
John Ralls
edd7efd951 Bug 797853 - Crash on 'Save As' in MacOS Mojave and Gnucash 4
Check and handle null books throughout GnuCash. Tests are left alone
because they should fail if there's no book.
2020-07-10 15:54:17 -07:00