Commit Graph

23355 Commits

Author SHA1 Message Date
Christopher Lam
44486a72a3 [window-autoclear.c] prepend instead of append
This knapsack algorithm is heavy on list manipulation. Speedup by
avoiding O(N^2) g_list_append. The list ordering is not useful in
knapsack, therefore there's no need to g_list_reverse.
2020-10-13 21:41:26 +08:00
Christopher Lam
f599925b89 Bug 797972 - Crash on export report CSV
omission of srfi-26 for (cut ...)
2020-10-11 23:00:29 +08:00
Robert Fewell
3587b4cc4b Tax Report Options appeared twice on menu for Chart of Accounts 2020-10-11 11:31:39 +01:00
Robert Fewell
8e220976be Some dialogs do not close with Escape key
These dialogs are based on GtkWindow and as such do not natively
respond to the escape key being pressed so to fix this a call back has
been added for 'key_press_event' which checks for the escape key.
2020-10-11 11:22:39 +01:00
Geert Janssens
05c96f6642 Make gnc-html's link libraries private 2020-10-10 16:09:39 +02:00
Geert Janssens
e8c321d954 Drop as dependency from gnc-module 2020-10-10 12:32:58 +02:00
Robert Fewell
f9e1f275d2 Change source files dialog-report-style-sheet.* for spaces and tabs 2020-10-08 16:02:15 +01:00
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