Commit Graph

23075 Commits

Author SHA1 Message Date
John Ralls
ea2d89fac2 Merge Hong Xu's 'export-account' into maint. 2020-08-02 11:07:15 -07:00
Christopher Lam
0c2e17daf1 [job-report] clarify deprecation warning. 2020-08-02 20:08:12 +08:00
Hong Xu
e0e77ca39d Add Python example export_account_totals.py
This example exports acount totals of all accounts into a CSV file.

This has been asked before: https://money.stackexchange.com/questions/111786/exporting-account-totals-in-gnucash
2020-08-01 14:47:33 -07:00
Christopher Lam
12ab85fa6c [advanced-portfolio] use G_ for guile-3.0 2020-08-01 13:55:29 +08:00
Christopher Lam
6f1960313f [advanced-portfolio] restore to original 4.0 state
and remove tests which cannot be run anymore
2020-08-01 13:55:29 +08:00
Ralf Habacker
4df6493bc2 Fix API doc of gnc_account_lookup_by_code()
Taken from PR #762, but it is separate issue and rest of the PR needs
some discussion.
2020-08-01 07:25:20 +02:00
John Ralls
c4d9ca7bc6 Bug 797889 - editing amounts in dr / cr behaving oddly
Rearranged gnc_price_cell_modify_verify to remove code duplication.

Also added removal of any thousands separators as if they were left
in the wrong place gnc_basic_cell_set_value_internal would raise
an error dialog and fail to accept the value.
2020-07-31 15:28:04 -07:00
Christopher Lam
5a8d049483 Bug 797883 - [Transaction Report] non-localized string 2020-07-31 19:46:50 +08:00
Robert Fewell
a4b8b7a21a Realign the UI source files so they are consistent. 2020-07-31 11:38:55 +01:00
Robert Fewell
8650ffadd6 Fix some text alignment for duplicate transaction dialog 2020-07-31 11:21:04 +01:00
Christopher Lam
f71af6669a Bug 797878 - Pie chart displays fractions and long decimal representations
ensure amounts rendering is rounded to report-currency SCU
2020-07-30 18:09:48 +08:00
Christian Stimming
b36a012512 Fix broken month in aqbanking<6 import
The used GWEN_Time_GetBrokenDownDate returns month in interval [0..11].
2020-07-29 22:03:39 +02:00
Christian Stimming
d6ceec681e [I18n] Minor update in German translation 2020-07-28 22:42:44 +02:00
Christopher Lam
ef67de44db [job-report] deprecate old report. 2020-07-27 23:30:46 +08:00
Christopher Lam
150bfc8d1b [advanced-portfolio] bugfix. move functions top-level
skipped during 8d47622ab. parent-or-sibling? was inaccessible to
table-add-stock-rows, causing errors that were not during internal
testing.
2020-07-27 23:30:42 +08:00
John Ralls
d0d7fc8bc1 Release GnuCash 4.1. 2020-07-25 15:27:58 -07:00
John Ralls
dad4f0cd03 [git-release-notes.pl] html-escape strings in the html output. 2020-07-25 14:23:54 -07:00
John Ralls
28c7f2ddc5 [I18n]: Another update for the Japanese translation. 2020-07-25 12:28:08 -07:00
Christopher Lam
e3df32ce73 [html-style-info] round amounts in price-render
prices may be rendered as exact fractions. ensure they are rounded,
with minimum of 4 decimal points.
2020-07-25 22:33:55 +08:00
Frank H. Ellenberger
c1bd4c0e25 Bug 775582 - Change "Petrol" (or Gas if seen in USA) to "Fuel" 2020-07-25 15:59:36 +02:00
Robert Fewell
9d30eec853 Bug 797873 - New Account Hierarchy selects en_US
In update_language_region_combos, the directory returned from
gnc_path_get_accountsdir is traversed looking for language/regions.

When it hits "C" directory it unconditionally overwrites the
start_region variable which is used to determine the default
language/region so commit compares this directory with the locale_dir
before setting. Patch provided by 'YOSHINO Yoshihito'
2020-07-25 11:35:11 +01:00
John Ralls
8b3baadf6b Update translations from the Translation Project.
Japanese, Romanian, and Ukrainian.
2020-07-24 13:47:31 -07:00
Robert Fewell
ee230a6cca Bug 797842 - Empty Entry widgets not showing insertion cursor
On windows 10, if the font has been specified in CSS with 'sans-serif',
the insertion cursor on an empty entry widget is not shown. Choosing a
different font such as 'arial' is OK. As reporter based there changes
on the example CSS file remove the reference to 'sans-serif'
2020-07-22 12:35:48 +01:00
Robert Fewell
40d63d478b Add missing LEAVE macro to gnc-tree-model-account.c 2020-07-22 10:23:58 +01:00
Robert Fewell
2feabc7ca2 Bug 797787 - Create new plugin page next to current page
Currently new pages are created in the last position which
could result in a lot of scrolling if a large number of
tabs are open. This commit changes that so new pages are
created next to the current page.
2020-07-22 10:00:01 +01:00
John Ralls
a93f3c198d Warn against using xaccTransGetSplit for iteration.
Instead of encouraging it.
2020-07-20 13:07:05 -07:00
John Ralls
e9a1d49125 Quickfill cells: Remove the selection after a delete.
So that new characters aren't selected afterwards.
2020-07-19 13:56:28 -07:00
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