Commit Graph

23554 Commits

Author SHA1 Message Date
Robert Fewell
0ee7ebbc43 Change register page icon to a padlock if read only 2020-12-10 11:58:54 +00:00
Robert Fewell
dced40cf6a When a resister is read only make whole sheet insensitive. 2020-12-10 11:58:54 +00:00
Robert Fewell
f3eae750ed Bug 355496 - Indication of Read Only Register
Currently a read only register allows you to do a lot of actions like
duplicate transaction, delete transactions, schedule transactions and
more. This commit adds a check for the register being read only and
disable all the actions that would be for a read only book.
2020-12-10 11:58:54 +00:00
Robert Fewell
f0fc1e537d Read-Only register warning non specific
If you have a place holder account register or sub account register
which are read only open when you close Gnucash, the next time you open
Gnucash a read only warning dialog is raised but has no indication of
what register it applies to so this commit adds the account name to the
warning text.
2020-12-10 11:58:54 +00:00
Robert Fewell
66cdce8d51 Change the way the help button is setup for dialog-commodity 2020-12-10 10:19:51 +00:00
Robert Fewell
2c82ad5f78 Add parent widget to gnc_gnome_help function
If there are any errors from starting help with gnc_gnome_help they are
displayed with gnc_error_dialog which defaults to setting the parent
window to that of GnuCash. This can be confusing if the dialog is
behind another window, say the preference window as it would appear
that Gnucash is unresponsive so add the GtkWindow parameter to
gnc_gnome_help and populate appropriately.
2020-12-10 10:19:51 +00:00
Robert Fewell
8c2538546b Bug 128772 - Account Help Button does not work
When pressing the help button, the following uri is created...
ghelp:gnucash-help?acct-create and used to open the gnome help app.

This segfaults in the '?' as ghelp:gnucash-help does work.

To fix this use the full path to the help files.
2020-12-10 10:19:51 +00:00
Christopher Lam
743df212a1 [API][eguile-html-utilities] use font-name-to-style-info-eguile
because font-name-to-style-info is already used by html-fonts.scm
2020-12-09 21:54:39 +08:00
Christopher Lam
dcf90b98c0 [options.scm] use srfi-1
because list-index (used in options.scm) wants srfi-1 version rather
than the one in guile-core. the guile-core one crashes when editing options.
2020-12-09 21:54:26 +08:00
John Ralls
64a8a11a23 Merge Chris Lam's 'guile-modularisation' into maint 2020-12-08 16:17:53 -08:00
Christopher Lam
7256e0d7e6 [modularise] (gnucash reports) 2020-12-09 08:03:56 +08:00
Christopher Lam
ffbd09089c [modularise] (gnucash eguile) 2020-12-09 08:03:56 +08:00
Christopher Lam
381b955ddf [modularise] (gnucash report) 2020-12-09 08:03:50 +08:00
Christopher Lam
44b511b3c4 [report-utilities] don't use (ice-9 match) until guile-3.0 minimum
(match) has a subtle bug which occurs in guile-2.2 causing this
function to mishandle the second 'before-date?' conditional. When
guile-3.0 is minimum this commit may be reverted.
2020-12-09 08:02:31 +08:00
Christopher Lam
dd4b88c386 [modularise] (gnucash gnome-utils) 2020-12-09 06:40:07 +08:00
Christopher Lam
33dd16915b [modularise] (gnucash qif-import) 2020-12-09 06:40:07 +08:00
Christopher Lam
5bd65a6b22 [modularise] (gnucash locale) 2020-12-09 06:40:07 +08:00
Christopher Lam
59ec912928 [modularise] (gnucash app-utils) 2020-12-09 06:40:07 +08:00
Christopher Lam
4910b532e0 [modularise] (gnucash engine) 2020-12-09 06:39:51 +08:00
Christopher Lam
c17ce5251c [modularise] (gnucash core-utils) 2020-12-09 06:39:51 +08:00
Christopher Lam
096be60860 [modularise] (gnucash utilities) 2020-12-09 06:39:51 +08:00
Christopher Lam
299b9027e3 Merge branch 'maint-improve-test-report-utilities' into maint 2020-12-09 00:23:55 +08:00
Christopher Lam
0630c214f0 [options.scm] move gnc:options-fancy-date to business-options.scm
it needs gnc:fancy-date-info which is defined in business-options
2020-12-08 22:50:15 +08:00
Christopher Lam
d8f3107ed3 [test-report-utilities] add 4th txn to bank1 as originally written 2020-12-08 20:21:10 +08:00
Christopher Lam
48d24addbb [test-report-utilities] modify test to use unique amounts 2020-12-08 20:17:22 +08:00
Robert Fewell
de63a79527 Bug 309943 - Change previous fix commit
Instead of replacing the 'New' button with 'Open' the Gnucash main
window add another button that 'Opens' a file browser so another file
can be chosen.
2020-12-08 11:29:13 +00:00
Robert Fewell
0f76265c29 Move flag to indicate report loaded to before gnc_html_show_url
If the report fails to load and gives an error message, once the error
message is closed the focus goes back to the report page and starts to
load the report again so to fix this the loaded flag is moved to before
gnc_html_show_url
2020-12-07 13:57:47 +00:00
Christopher Lam
6b847dca76 [category-barchart] don't drill down after acct lvl 6
https://lists.gnucash.org/pipermail/gnucash-user/2020-December/094231.html

This relates to the click to drill-down into next account depth. It
increases account depth. The maximum must be 6.
2020-12-07 21:22:13 +08:00
Frank H. Ellenberger
6e57ce193b I18N:glossary: add mortgage terms ARM, APR, FRM 2020-12-06 18:35:14 +01:00
Frank H. Ellenberger
861fc2102c I18N: another translatable flag removed 2020-12-06 18:34:02 +01:00
Frank H. Ellenberger
1a32fe1ef8 I18N: remove translatable flag from several numbers in glade files 2020-12-06 06:24:46 +01:00
Christopher Lam
424676c31a [report-utilities] centralise gnc:not-all-zeros
it is used by old chart module *and* reports
2020-12-05 05:46:37 +08:00
Christopher Lam
d2f1cc0e37 [report-utilities] test gnc:not-all-zeros 2020-12-05 05:46:37 +08:00
Christopher Lam
9fb38e5351 [eguile-utilities] typo fix
issue-deprecated-warning -> issue-deprecation-warning
2020-12-05 00:48:30 +08:00
Christopher Lam
410cbe3972 [html-utilities] bugfix deprecated function
comm-list was inaccessible for the entries definition
2020-12-04 23:33:59 +08:00
Christopher Lam
9e23e41fe6 [piechart|scatter] define gnc:not-all-zeros locally
which ensures that html-piechart and html-scatter converted into
modules do not need to import this function from elsewhere.
2020-12-04 21:34:08 +08:00
Christopher Lam
da32fb0dae [utilities] simplify addto! 2020-12-04 21:33:31 +08:00
Christopher Lam
51e3a65762 [options.scm] typo ref -> list-ref 2020-12-04 21:33:31 +08:00
Christopher Lam
82d3bcd394 [core-utils] N_ is identity function
N_ is mapped to the identity function. Previously N_ was defined as a
macro, which is more tricky to export.
2020-12-04 21:33:01 +08:00
Christopher Lam
a2ef6ed6a5 Use proper format syntax 2020-12-04 18:37:35 +08:00
Christopher Lam
c094c07616 [balsheet-eg] instead of before, use macros after definition 2020-12-04 18:35:52 +08:00
John Ralls
1a8b4820ee Use guile-3.0 on Ubuntu-20.04 github-action CI tests. 2020-12-03 15:03:45 -08:00
Christopher Lam
854c117820 [trep-engine] move currency options into their own section
tidier, also includes backward compatibility with saved-reports
2020-12-02 18:46:25 +08:00
Christopher Lam
a8bed43dcb Bug 798036 - Transaction Report should offer price source 2020-12-02 07:45:30 +08:00
Frank H. Ellenberger
cc64f197ae L10N:hr: merge a fresh pot into po
5510 translated messages, 20 fuzzy translations, 13 untranslated
messages.
2020-12-01 03:50:29 +01:00
Frank H. Ellenberger
129d29f8b4 Merge branch 'maint' into PR #828 2020-12-01 03:49:59 +01:00
milotype
94e80daeca Update Croatian translation
Update with current "gnucash-4.2.pot" file at
http://translationproject.org/domain/gnucash.html
2020-12-01 03:33:00 +01:00
Frank H. Ellenberger
2533215ca4 I18N: Remove date strings from pot 2020-12-01 01:30:42 +01:00
milotype
a21559da6c
Update Croatian glossary file 2020-11-30 22:29:06 +01:00
John Ralls
4f2c66f92c [github-actions] Update the Ubuntu 18.04 apt repositories before running. 2020-11-30 10:26:57 -08:00