Commit Graph

23507 Commits

Author SHA1 Message Date
Christopher Lam
1b31c06b29 [Account.cpp] add gnc_account_and_descendants_empty (acc)
and deprecate xaccAccountCountSplits
2020-10-01 11:34:21 +08:00
Christopher Lam
630cf65f3a No more auto interest transfer label. Remove associated code.
Addendum to d4dcb1494
2020-09-29 22:58:54 +08:00
Christopher Lam
d4dcb14942 Further merge GtkCheckButton with GtkLabel
for account_dialog
2020-09-29 22:03:16 +08:00
Christopher Lam
854611380c Merge branch 'maint-merge-checkbox-label' into maint #792 2020-09-29 20:19:14 +08:00
Christopher Lam
eeb0263647 Merge GtkCheckButton with GtkLabel
... because the gtkcheckbutton's label makes the checkbutton much
easier to click
2020-09-29 20:18:05 +08:00
Robert Fewell
2970616701 Bug 797953 - Add 'Filter By...' to CoA right mouse menu
Add the menu option for 'Filter By...' on the Chart of Accounts page to
be consistent with register pages.
2020-09-29 11:25:53 +01:00
Robert Fewell
7c7cd65758 Select account if Tax Options dialog opened from Register
If the Tax options dialog is opened from a register the tax dialog will
preselect the account associated with the register.
2020-09-29 11:25:53 +01:00
Robert Fewell
511203512a Remove tabs and change spacing in dialog-sx-since-last-run.* files 2020-09-29 11:25:53 +01:00
Robert Fewell
c89c677cde Bug 571697 - SLR Transaction Status needs to look clickable
Add a pixbuf cell renderer to the existing cell renderer for the status
column with the 'pan-down-symbolic" icon.
2020-09-29 11:25:53 +01:00
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