Commit Graph

23398 Commits

Author SHA1 Message Date
Robert Fewell
42094d3cc6 Bug 797956 - Dialog Report Style sheet not work well on Windows
When used on Windows, pressing the edit button would result in the
style sheet editor behind the selection dialog. To fix this change the
selection dialog to use a GtkWindow. This also helps when restoring
Gnucash from being minimised or covered by another application.
2020-10-08 15:23:21 +01:00
Christopher Lam
af9f7c85d4 [general-journal.scm] allow General/Title to render document title.
Previously would always override title with "General Journal". Modify
so that Report Title is set by default to "General Journal", but is
modifiable and will be rendered appropriately by the renderer.
2020-10-07 20:47:37 +08:00
Christopher Lam
d6d06d45de [general-journal.scm] fix whitespace 2020-10-07 20:45:48 +08:00
Christopher Lam
4905ffc889 Merge branch 'maint-owner-report-doclinks' into maint #795 2020-10-07 19:22:08 +08:00
Christopher Lam
7b1c9296ad [balsheet-pnl] use vector instead of list for report-dates
because report-dates were accessed via list-ref; vector-ref is O(1).
2020-10-07 19:22:00 +08:00
Christopher Lam
4ea142c486 [html-chart] use vector manipulation 2020-10-07 19:22:00 +08:00
Christopher Lam
39a6704169 [options.scm] rename new-owner-report "Links" to "Transaction Links" 2020-10-07 19:11:12 +08:00
Christopher Lam
0becf8cbc1 [new-owner-report] enable doclink links 2020-10-07 19:11:12 +08:00
Christopher Lam
abf052a213 [html-utilities][API] add gnc:html-invoice-doclink-anchor 2020-10-05 22:48:45 +08:00
Christopher Lam
f38a3506f3 [top-level] handle invoice-doclink-guid=InvoiceGUID urls 2020-10-05 22:47:53 +08:00
Robert Fewell
c587504c58 Correction to fix for Business 'Open Linked Document' sensitivity 2020-10-05 13:03:53 +01:00
Robert Fewell
f685a32d9a Bug 797967 - Manage Document Link errors
If there are no document links, the default dialog is for a file uri
and if the escape key is pressed in this default state the following
error is added to the trace file...
ERROR <Gtk> gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT
(widget, event)' failed

This coming from the GtkFileChooserButton and to fix this add a signal
callback for the dialog 'key_press_event' to intercept the escape key
and emit a GTK_RESPONSE_CANCEL to close the dialog.
2020-10-05 13:03:53 +01:00
RollingRusty
1c0530dafd Update de.po
Tippfehler in Tipp des Tages beseitigt.
2020-10-04 21:54:09 +02:00
Robert Fewell
4afbbe1348 Fix missing 'Business Linked Documents' menu action. 2020-10-04 12:11:46 +01:00
Christopher Lam
ea9eaa9661 Merge branch 'disable-report-animation' into maint #794 2020-10-04 11:05:59 +08:00
John Ralls
22a7b35715 Ensure exposed-generator report files are linked in builddir.
test-owner-report and test-stress-options require them to be able to
find owner-report and register-report templates by guid.

Interestingly the scm files are required, go files won't do.
2020-10-01 13:04:10 -07:00
Philipp Matthias Schaefer
5f90144fb1 Disable initial report animation
Previously, every reload caused the chart to move through an animation, which
prevented visual comparison of state before and after reload.

Also remove the now redundant line disabling animations in budget-barchart.scm.
2020-10-01 21:40:07 +02:00
Christopher Lam
23de958872 [invoice.scm] Use full header for initial screen
instead of a single-line error line
2020-10-01 23:53:15 +08:00
Christopher Lam
6eb2e36c2d minor optimisations, g_list_prepend then g_list_sort separately
if building a g_list incrementally, don't sort on each insertion.
2020-10-01 11:34:21 +08:00
Christopher Lam
5c06f7f8c0 deprecate xaccAccountCountSplits with include_children = TRUE
where xaccAccountCountSplits is called including children, call
gnc_account_and_descendants_empty intead
2020-10-01 11:34:21 +08:00
Christopher Lam
e6486e9d95 deprecate xaccAccountCountSplits with include_children = FALSE
whereby xaccAccountCountSplits is called with with_children = FALSE,
test xaccAccountGetSplitList against NULL.
2020-10-01 11:34:21 +08:00
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