Commit Graph

23582 Commits

Author SHA1 Message Date
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
pmraps
c1fb613f6d L10N:pt: glossary (PR #827)
Changed double "saldo" to a more clear "saldo inicial" and "saldo final"
2020-11-30 19:07:05 +01:00
John Ralls
7a8a0f40b1 Fix missing space in warning message. 2020-11-29 10:59:25 -08:00
John Ralls
4006e5a488 Bug 794807 - Calendar widget current month shown as (null).
Locales need to end in UTF-8 to work right.
2020-11-29 10:59:06 -08:00
John Ralls
b0a5673079 Merge Pedro Alvarez's Portugues updates into maint. 2020-11-29 07:34:22 -08:00
pmraps
7322e2edb8 Translation Update pt
Update glossary/pt.po
Update Spouse income accounts
Update home loan accounts
2020-11-29 14:56:04 +00:00
Robert Fewell
8a256a8db6 Bug 798031 - Date goes to prior year with mm/dd
The default value in the glade file was set to 6 months but the default
value in the gschema file org.gnucash.gschema.xml.in was set to 11
months so have changed the gschema to match the glade file.
2020-11-29 10:41:49 +00:00
Robert Fewell
5c7a2c4bd6 Change the mnemonic of '_Open Read-Only' to 'Open _Read-Only' 2020-11-29 10:33:26 +00:00
Robert Fewell
979f6acf91 Change the mnemonic of '_Open with No File' to 'Open with _No File' to fix conflict. 2020-11-28 15:22:48 +00:00
Robert Fewell
161ab691d6 Bug 343647 - Keep scrolled report location
If you have a large report and have scrolled down to the bottom and
decide to tab to a different page and come back the report is back at
the top. This was due to reloading the report before focusing so change
this so it only loads once, if the report needs refreshing then there
is the reload toolbar button.
2020-11-28 14:10:29 +00:00
Robert Fewell
72d742e29b Change the icons used for the file lock message 2020-11-28 10:37:47 +00:00
Robert Fewell
9d99ebe30c Bug 309943 - When unable to obtain a lock, no option to open another file
Currently when you get the message that GnuCash could not obtain a lock
for the file to be opened you have four options...

Open Read-Only, Create New File, Open Anyway, Quit

This commit changes the 'Create new File' to 'Open with No File' which
allows the user to then select...
'File->New' to create a new file,
'File->Open' to open a different file or one chosen from the history or
'File->Quit' to exit.
2020-11-28 10:37:47 +00:00
Frank H. Ellenberger
93f500bd4d Move pt translation to Translation Project
https://lists.gnucash.org/pipermail/gnucash-devel/2020-November/045581.html
2020-11-27 16:56:19 +01:00
Frank H. Ellenberger
ac63126080 L10N: Update Glossaries to commit 3d7e66d
LANG, translated, fuzzy, untranslated messages:
bg: 181, 10, 5
ca: 175, 15, 6
da: 169, 18, 9
de: 196.
de_CH: 175, 15, 6
el: 10, 124, 62
es: 158, 20, 18
fi: 145, 2, 49
fr: 184, 6, 6
he: 192, 2, 2
hr: 195, 1
hu: 174, 16, 6
id: 177, 6, 13
it: 193, 1, 2
lt: 182, 9, 5
nb: 189, 7
nl: 195, 1
pl: 174, 15, 7
pt: 192, 2, 2
pt_BR: 174, 15, 7
ru: 150, 24, 22
rw: 7, 133, 56
sk: 174, 15, 7
sv: 168, 15, 13
vi: 175, 15, 6
zh_CN: 174, 16, 6
zh_TW: 170, 14, 12
2020-11-26 14:51:49 +01:00
John Ralls
1bf863d9a1 Register: Don't double-delete when typing over a selection.
In numcell or formulacell.
2020-11-24 14:53:34 -08:00
Christopher Lam
a1c517b4ba [gnc_scm_to_numeric] create NaN gnc_numeric instead of runtime error
If guile calls a C function which expects gnc_numeric but sends a
non-number, it will create a gnc_numeric_error object. This will allow
error gnc_numeric to be handled elsewhere.

Also the overflow gnc_numeric was incorrectly created.
2020-11-23 21:50:05 +08:00
Christopher Lam
8f32992100 [gnc-engine-guile.c] return #f when gnc_numeric has error
otherwise it'd throw guile div/0 exception
2020-11-23 08:08:27 +08:00
Christopher Lam
d11bdb3e3a Bug 798015 - cash flow numerical-overflow
error is caused by pricedb containing an invalid gnc_numeric
price. multiplication of (invalid) price with amount causes a report
crash.

Fix: if invalid price, return zero for amount converted to report
currency.
2020-11-22 23:35:46 +08:00
Christopher Lam
72982de588 Revert "[date-utilities] Convert reldate list into srfi-9 records"
This reverts commit 3be7935965.
2020-11-22 21:56:42 +08:00
Christopher Lam
8b5dd55dc4 Revert "[c-interface] deprecate gnc:make-string-database"
This reverts commit b67bf4b761.
2020-11-22 21:56:35 +08:00
Christopher Lam
b67bf4b761 [c-interface] deprecate gnc:make-string-database 2020-11-22 21:21:58 +08:00
Christopher Lam
3be7935965 [date-utilities] Convert reldate list into srfi-9 records 2020-11-22 21:14:13 +08:00
Robert Fewell
3676728d2f Bug 330930 - Financial Calculator resets payment period to zero
When the preference option 'Numbers, Date, Time' ->
'Automatic Decimal Point' is set and you change the 'Payment periods'
to say 11 you end up with zero as number entered becomes 0.11

To fix this treat the Periods GNCAmountEdit widget as a plain GtkEntry
and not use the GNCAmountEdit evaluate functions.
2020-11-22 10:41:44 +00:00