Commit Graph

23260 Commits

Author SHA1 Message Date
Frank H. Ellenberger
bcc276576e I18N: explain "Australia BAS" in income-gst-statement.scm 2020-09-26 21:29:27 +02:00
John Ralls
b698e889ad Set the program name for --help-gtk. 2020-09-26 12:23:48 -07:00
Christopher Lam
6ecbb814e0 Merge branch 'maint-797893' into maint #789 2020-09-27 02:36:39 +08:00
Frank H. Ellenberger
e84fd6a95f I18N: enable an already translated message in gnucash.cpp 2020-09-26 20:12:01 +02:00
Christopher Lam
d810e82f98 [html-chart] use gensym instead of guid
... because technically guids should be freed when not needed. gensym
generates a guaranteed unique string with prefix within program lifecycle.
2020-09-26 20:04:59 +08:00
Christopher Lam
b72014c7de Bug 797893 - Unable to change font size in charts
The bug specifies chart fonts are not customisable. We can copy the
(gnucash) stylesheet properties which define <h3> and <body> font
styles onto chartjs properties.
2020-09-26 20:04:59 +08:00
Christopher Lam
05bf2d7a9c [reports] use h3 instead of h2 for report-title
"Title" style applies to h3. Ensure that report titles are h3 to be
styled as requested by stylesheets.
2020-09-26 18:26:08 +08:00
John Ralls
094471a9e4 Update Ukrainian translation for the Translation Project. 2020-09-25 13:04:56 -07:00
John Ralls
5e6f9b3460 Fix some return of ptr-to-temporary errors
Flagged by new clang Apple version 12.
2020-09-25 12:31:52 -07:00
John Ralls
44fc52f5c6 Fix unnecessary copy in range-for loop
Flagged by new clang Apple version 12.
2020-09-25 12:31:13 -07:00
John Ralls
1c5561714d Fix ptr-comparison-to-string-literal error
A new error raised in the latest versions of gcc and clang.

The address of string literals is undefined in the C standard so the
compiler raises an error if one tries to test for string equality by
comparing them. A better fix would be to replace QOF_ID strings with an
int-based identifier; an even better one would get rid of QOF_ID
entirely and use the C++ type system.
2020-09-25 12:23:56 -07:00
Robert Fewell
d642397dc4 Update the assistant glade files to clear padding error in trace file. 2020-09-25 12:05:40 +01:00
John Ralls
0ef70ab7c9 Bug 797514 - Changing transaction unreconciles a split inconsistently
Partial: This make sure that the split's reconcile status gets updated
before the transaction is committed.
2020-09-24 17:49:35 -07:00
Robert Fewell
9ef405a358 Update to previous commit for Tax Options Dialog
Use xaccAccountTypeGetFundamental instead of specifying all account
types.
2020-09-24 17:43:13 +01:00
Robert Fewell
7f7ae2ef00 Bug 554391 - Select account if Tax Options dialog opened from CoA
If the Tax options dialog is opened from the Chart of Accounts and an
account is selected then the tax dialog will preselect that account.
2020-09-24 16:19:35 +01:00
Robert Fewell
227bbda16c Bug 554391 - Add Apply button to Tax Options dialog 2020-09-24 16:19:29 +01:00
Robert Fewell
95b502ea96 Bug 797897 - Cannot select multiple accounts in Tax Report Options
Multi selection was disabled for Bug 518833, 27/01/2019 but the select
sub accounts button was left giving the impression of multi selection.

I have enabled the multi selection for the tree view and while testing
all accounts selected were updated with the selected tax option.
2020-09-24 11:36:55 +01:00
John Ralls
a926991d75 Bug 797898 - [reconciliation] calculated balance amount per...
reconcilation date depending on actual time.

Set the statement date that's really a time to the end of the day
so that transactions posted on the day are always included.
2020-09-22 13:43:35 -07:00
John Ralls
3d93c7edf9 Update version in README, add Boost::program_options to dependencies. 2020-09-22 12:35:59 -07:00
Christopher Lam
0ca468e0a1 [report-utilities] further deprecations
* deprecate unused functions
* last deprecation for gnc:query-set-match-non-voids-only!
2020-09-21 23:52:08 +08:00
Christian Stimming
64dedccfe3 [HBCI] Fix crashing aqbanking balance download and import
Also, clarify the preconditions of the import-matcher functions.
Follow-up to d4fe584120
2020-09-20 21:10:57 +02:00
Christian Stimming
3d7e66d995 i18n - Update German translation 2020-09-19 17:32:17 +02:00
Christian Stimming
8e8e01f3a7 i18n - Update de.po with latest gnucash.pot template 2020-09-19 17:32:13 +02:00
Christopher Lam
e7258ee6f3 [new-owner-report] fix unlocalizable string
reuse trepengine's string
2020-09-19 19:36:37 +08:00
Christopher Lam
a55d05f29d [report-utilities] compact functions 2020-09-19 19:36:37 +08:00
Robert Fewell
edaa0d7eea Fix some spaces on blank lines is source files 2020-09-18 16:13:35 +01:00
Robert Fewell
416e234232 Bug 797945 - Imap bayes conversion runs many times
When the Imap Editor is loaded, the bayes KVP entries are tested to see
if they are required to be converted to flat entries. This involves a
function that scans every account and if it finds entries that need
changing, the change is made and book property
GNC_FEATURE_GUID_FLAT_BAYESIAN is added so further scans are not made.

As the Imap Editor loops over the account list also, if there are no
bayes KVP changes then the conversion function gets called for every
account in the list. This can also happen to a lesser degree when doing
imports.

To stop this a flag is set once the convert to flat function has been
run so it only runs once and only lasts for the session.
2020-09-18 16:13:26 +01:00
Robert Fewell
0e9f368b4a Bug 797857 - Preference Dialog to large so buttons unreachable
The Preference dialog height is determined by the greater size of the
tab buttons or the number of options on the tab pages. This currently
is the 'General' tab. To reduce this, the number options have been
moved to the 'Date/Time' page and reorded.
2020-09-18 10:38:24 +01:00
John Ralls
0c71410e53 Merge Dean Jagels's bug-102787 into maint. 2020-09-17 15:19:40 -07:00
John Ralls
9c8fa5cd2e Bug 797895 - Hang for a long time (9 minutes per account) importing...
a QFX file.
Bug 797945 - Tools -> Import Map Editor causes GnuCash to lock up.

Don't edit and commit the account if it has no BAYES_IMAP slots. Account
committing is extremely expensive.
2020-09-17 14:24:08 -07:00
Geert Janssens
1a50a29df0 i18n - Update Dutch translation
5030 translated messages, 326 fuzzy translations, 170 untranslated messages.
2020-09-17 22:21:23 +02:00
Geert Janssens
f0188966f0 Small fixes for various translation issues
* Deduplicate translatable strings
* Add context to one-letter strings in guile code
* Fix typo in linked document gui
Align translatable strings
2020-09-17 22:21:10 +02:00
Geert Janssens
dae2ea8356 Expose C_ function (gettext with context string) to guile code
First use is for the document link short code (L)
2020-09-17 22:20:02 +02:00
Geert Janssens
5bbfdec79a Slightly modify recently added warning messages
- The term 'scrubbing' is only used internally in code. The gui uses 'check & repair'
- The operations are running rather than pending
2020-09-17 22:20:02 +02:00
Geert Janssens
960b57653f i18n - Drop obsolete Dutch translations 2020-09-17 22:20:02 +02:00
Frank H. Ellenberger
fbb2aa1d7b Merge PR #787 into maint 2020-09-17 20:12:41 +02:00
Frank H. Ellenberger
5de41abc9e L10N🆔 Internal fixes
on the headers of both catalogs,
 mark id as new in LINGUAS
2020-09-17 20:11:23 +02:00
triyanwn
b8234314c7 L10N🆔 Update Indonesian translation
2781 translated messages, 1626 fuzzy translations, 1122 untranslated
messages.
2020-09-17 19:32:51 +02:00
Christopher Lam
e0062b6521 Inline gnc:query-set-match-non-voids-only!
Addendum to 683fe2f37 - completion deprecate old function
2020-09-17 22:03:44 +08:00
Robert Fewell
9a948eb39c Update required gtk version in glade files part 2
Update the required gtk version in the glade files to version 3.22 and
change any depreciated widgets, this was mainly stop using left/right
margins to start/end margins.
2020-09-16 15:14:54 +01:00
Robert Fewell
413d042c85 Update required gtk version in glade files part 1
Update the required gtk version in the glade files to version 3.22 and
change any depreciated widgets, this was mainly stop using left/right
margins to start/end margins.
2020-09-16 15:11:34 +01:00
Christopher Lam
7152b26ede [reports] pulse progress bar in common html-object renderer code
... instead of individual html-object renderers as in 63ec05d0d. We
can also increase pulse tempo (from 2500 calls to 1000 calls) without
significantly affecting performance.
2020-09-15 18:36:56 +08:00
Christopher Lam
683fe2f37e [trep-engine] test void status without merging another query
* use bitwise logic to combine reconcile filter and void filter --
  they use the same "reconciled" data field

* deprecate single-use functions in report-utilities.scm
2020-09-15 18:36:51 +08:00
Christopher Lam
0d10d1e234 [engine.i] swigify CLEARED-ALL
to be used by trep-engine.scm
2020-09-15 18:30:24 +08:00
John Ralls
f0341cddc6 Fix wayward indentation and remove stray comment mark. 2020-09-13 16:45:18 -07:00
John Ralls
53619f4300 Populate and display the match list in the CSV Importer.
Also fix a crash when the imported split doesn't have an online id
as is the case for all non-OFX imports.
2020-09-13 16:33:44 -07:00
John Ralls
d4fe584120 Bug 797896 - [HBCI] crash when downloading transactions
Initialize the match list like OFX importer.
2020-09-13 15:42:29 -07:00
Robert Fewell
d2af5d703b Complete the change from using associate in the source files
This commit changes some further use of associate and derivates in the
source files to doclink to make it more consistent.
2020-09-13 13:05:46 +01:00
Robert Fewell
7c1026783b Change the document link KVP symbol to original name
To maintain compatibility with any existing document link entries the
old 'assoc-head' and 'asooc_uri' entries will be used for the gsetting
and KVP entries.
2020-09-13 11:01:37 +01:00
Christopher Lam
63ec05d0dd [reports] rendering is more responsive by pulsing progressbar
previously the renderer (html-document object to html-string) would
attempt to update progressbar. However the html-object is a deeply
nested hierarchical object, (length object) is not suitable to
calculate progressbar fraction. Therefore we change update by pulsing
progressbar instead every 2500 loops in html-document, html-table and
html-text renderers.
2020-09-12 21:31:24 +08:00