Commit Graph

23548 Commits

Author SHA1 Message Date
Frank H. Ellenberger
0666327137 L10N:hr: merge a fresh pot
5459 translated messages, 55 fuzzy translations, 11 untranslated
messages.
2020-09-28 22:15:36 +02:00
Yuri Chornoivan
7ab97e46bf
Fix typo: the the -> the 2020-09-28 14:38:39 +03:00
milotype
c92a2c37f2
Update hr.po 2020-09-27 22:51:42 +02:00
John Ralls
b8ccb71ca5 Add new languages Estonian and Indonesian to GC_LINGUAS. 2020-09-27 11:45:20 -07:00
John Ralls
8cb5c17fba Release GnuCash 4.2 2020-09-26 15:43:54 -07:00
John Ralls
401299cdd3 Fix adding Scheme tests to check target.
TEST isn't a variable name, SCHEME_TGT_TESTS is.
2020-09-26 13:11:12 -07:00
Frank H. Ellenberger
bd115a3ab9 L10N🇩🇪 update
5509 übersetzte Meldungen, 4 ungenaue Übersetzungen, 12 unübersetzte
Meldungen.
2020-09-26 21:37:43 +02:00
Frank H. Ellenberger
1ef69383ca L10N🇩🇪 merge fresh gnucash.pot
5471 übersetzte Meldungen, 6 ungenaue Übersetzungen, 48 unübersetzte
Meldungen.
2020-09-26 21:31:54 +02:00
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
Christian Gruber
e44cf9c61f Add missing C linkage statements 2020-09-23 19:59:40 +02:00
Christian Gruber
63969e8628 Remove unecessary include 2020-09-22 22:52:37 +02:00
Christian Gruber
d673c32e35 Mock methods should not neccessarily return mock objects 2020-09-22 22:52:37 +02:00
Christian Gruber
0e634c5446 Relax runtime type checks
Runtime type checks should only check for the mock up type, if
neccessary. If objects of another class than the mocked object itself
are processed, runtime type check should only check for the base-class
type. It should be possible to use mockup objects and non-mockup objects
within the same application.

The included headers are adapted accordingly.
2020-09-22 22:52:37 +02: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
Christian Gruber
99256c385b Add missing _get_type() functions of all mocked GObject classes
If a GObject is replaced by a mock up, its _get_type() function has to
be replaced as well. The replaced _get_type() functions have to return
the type of the mock up now.
2020-09-22 22:07:21 +02: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 Gruber
833edd0b29 Add missing comment 2020-09-21 00:50:24 +02:00
Christian Gruber
bc80bbb325 Simplify type checking for GObject mockups
A type conversion function is introduced for each GObject mockup. This
function does a runtime type check and generates a GoogleTest failure in
case of any type error. This avoids checking GObject type twice.
2020-09-21 00:47:53 +02:00
Christian Gruber
b0906b5e2a Use MOCK_CONST_METHODn() macro instead of MOCK_METHODn() macro if necessary 2020-09-20 23:36:34 +02:00
Christian Gruber
5408854c28 Rename GObject type names of mock classes
According to a remark in PR #738 the lower case type name is changed.
Underscores should only be used between namespace and type name and
between type name and suffixes.
2020-09-20 22:33:51 +02: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