Commit Graph

23373 Commits

Author SHA1 Message Date
Frank H. Ellenberger
5ea17cb09e L10N🇩🇪 Anpassungen an "Wechselkurse" an aktuellen Code
* PR #806
* missing space
2020-11-02 23:28:56 +01:00
Frank H. Ellenberger
362315886a L10N🇩🇪 merge pot 2020-11-02 23:19:55 +01:00
Christopher Lam
0862143b99 Use gnc:ngettext to pluralise strings 2020-11-02 22:24:05 +08:00
Christopher Lam
6d6eff6b70 Expose ngettext as gnc:ngettext 2020-11-02 22:24:05 +08:00
Christopher Lam
e7a3ec5631 Merge branch 'maint-797989' into maint #807
* Introduce gnc:string-locale<? and gnc:string-locale>?
* Deprecates a few engine.scm functions
* Fix sorting to be locale-sensitive where possible
2020-11-02 09:08:53 +08:00
John Ralls
5ced417467 Bug 797994 - Account type-ahead search doesn't match accented...
characters.

Because of normalizing the account name but not the search pattern.
2020-11-01 16:37:17 -08:00
Christopher Lam
ccc653186c [dialog-tax-table.c] free GList after use 2020-11-01 21:03:19 +08:00
Christopher Lam
7e6cb470f1 Bug 797989 - Sorting columns by alphabet with non-ASCII characters
use gnc:string-locale for string sorting
2020-11-01 08:30:56 +08:00
Christopher Lam
8628ffa957 3/3 [engine.scm] deprecate scheme utility functions 2020-11-01 08:30:56 +08:00
Christopher Lam
6637d6d210 2/3 [taxtxf] inline single-use scheme function from engine.scm 2020-11-01 08:30:56 +08:00
Christopher Lam
a10c084022 1/3 [report-utilities][API] copy funcs engine.scm to report-utilities.scm
The following copied from similarly named functions in libgnucash

gnc:account-full-name<?
gnc:accounts-get-children-depth
2020-11-01 08:30:56 +08:00
Christopher Lam
25e4efc2b7 [core-utils.scm][API] gnc:string-locale<? gnc:string-locale>?
locale-sensitive string-sorting functions -- currently mirrors guile's
(ice-9 i18n) functions -- may be modified to call C code if guile code
is not reliable.
2020-11-01 08:30:56 +08:00
Christopher Lam
e9d1e694f2 Addendum to 0446dca54, fix currency bug 2020-11-01 08:30:20 +08:00
Christopher Lam
d87c469e17 Bug 797993 - Reverse balance option does not apply to an Account Report 2020-11-01 07:23:27 +08:00
Christopher Lam
9e70d7f45a [register.scm] some cleanups 2020-11-01 07:23:27 +08:00
McLayn
cebe6022c8 fix CZK partname to nominative singular 2020-10-30 00:40:02 +01:00
Robert Fewell
5df7949a87 Fix GtkLabel error for autoclear status_label
Move setting up the callback that clears the status_label till after
setting up the status_label.
2020-10-29 12:03:16 +00:00
Christian Stimming
f3ba84921b Add tooltip in import matcher window for description and memo column. 2020-10-27 23:03:46 +01:00
Christian Stimming
6e3c98c2fb L10N🇩🇪 Minor improvements in German translation
Made strings in the import matcher more compact, which leaves more
space on the screen for the interesting content.
2020-10-27 23:02:35 +01:00
Frank H. Ellenberger
10032c17b5 L10N🇩🇪 Berichtige "Ausgleichskonto" zu "Anfangsbestand"
Fehler wegen Mißdeutung des Kontexts von 'balance'
2020-10-27 22:17:18 +01:00
John Ralls
1915dfb0cb Put Macs back on WebKit2. 2020-10-27 13:10:59 -07:00
Christopher Lam
a6c8a806f3 Bug 797982 - exchange rates' decimal places (bis)
Bug introduced in e7165507c. We need to normalize date for
pricedb-nearest to avoid getting next day price.
2020-10-27 11:06:45 +08:00
Frank H. Ellenberger
fedaa13396 CMake: Mute guile-2.2 again 2020-10-27 01:56:45 +01:00
John Ralls
946cbef95f HTML fonts: Parse additional values of font-weight from the pango font name. 2020-10-26 14:05:31 -07:00
John Ralls
4ddd28a5d9 Extract font-stretch when converting pango font names to CSS.
Also wrap font-family value in quotes and lower-case the fallback
generic sans-serif font-family for CSS conformance (though browsers
don't seem to care).
2020-10-26 12:04:23 -07:00
John Ralls
676cc337dc [macOS] Replace bogus font name from pango.
Pango on macOS reports ".AppleSystemUIFont" as the name for the
system-ui alias. This bogus name doesn't work so replace it with
the fallback Arial.
2020-10-26 11:52:31 -07:00
John Ralls
974342bbae [macOS] Fix Fontconfig unable to find conf.d. 2020-10-26 11:52:31 -07:00
Christopher Lam
92f2727862 Merge branch 'maint-797982' into maint #802 2020-10-26 23:57:39 +08:00
Christopher Lam
1a4f27f6b3 [html-utilities.scm] deprecate gnc:html-make-exchangerates
Because old exchange rates function used exchange-fn which converts 1
commodity into domestic currency; new exchange rates uses price-fn
which queries the gnc_numeric pricedb entry directly.
2020-10-26 23:56:33 +08:00
Christopher Lam
89c0baee9b Bug 797982 - exchange rates' decimal places
use gnc:html-make-rates-table instead of gnc:html-make-exchangerates
to show effective exchange rate or price used
2020-10-26 23:56:33 +08:00
Christopher Lam
4ff3355f02 [html-style-info.scm] price-renderer does not convert to decimal
so that it may obey global pref decimal vs fraction
2020-10-26 23:56:33 +08:00
Christopher Lam
e7165507c8 [commodity-utils.scm][api] gnc:html-make-rates-table with price-fn
better precision than gnc:html-make-exchangerates
2020-10-26 23:56:33 +08:00
Christopher Lam
e833c8e1aa [utest-gnc-pricedb.c] test: gnc_pricedb_get_[latest|nearest]_price 2020-10-26 23:56:33 +08:00
Christopher Lam
2ecdd70e24 [gnc-pricedb.c][api] pull out composite pricedb price retriever
* tries direct price retrieval from pricedb.
* if fails, tries intermediate currency.
2020-10-26 23:55:51 +08:00
Frank H. Ellenberger
b675e17e4e L10N🇩🇪 Fix typo of last commit 2020-10-25 07:48:23 +01:00
Frank H. Ellenberger
5671028ba3 L10N🇩🇪 Verbesserung translator-credits (von it.po) 2020-10-23 21:24:15 +02:00
Christopher Lam
4d63eb922f [gnc-pricedb.c] copy convert_amount to convert_price 2020-10-23 09:49:27 +08:00
Christopher Lam
26e7eada37 [gnc-pricedb.c] refactor amount converters, use common code 2020-10-23 09:49:27 +08:00
Christopher Lam
78c8b03c5e [window-autoclear.c] cleanup, optimize, prevent UI lag
abort:
1. if too many splits lead to >1,000,000 reachable amounts
2. if the end_balance is the same as cleared_balance

also:
- g_free lists properly
- move knapsack algorithm to gnc-ui-balances.c
- show newly cleared splits in a new register: "Cleared Transactions"
- remove unneeded #includes
2020-10-23 09:11:29 +08:00
Frank H. Ellenberger
4bebfed9e8 Merge branch 'it.po' into maint 2020-10-23 01:26:52 +02:00
Giuseppe Foti
efb9226e4a L10N🇮🇹 Updated Italian translation; 5528 translated messagges. 2020-10-23 00:59:36 +02:00
Robert Fewell
3c5066feb4 Change source files option-util.* for spaces and tabs 2020-10-22 14:30:46 +01:00
Robert Fewell
e588695502 Change source files dialog-options.* for spaces and tabs 2020-10-22 14:30:11 +01:00
Robert Fewell
f93f850f17 Bug 345924 - Conditionally change Options dialog cancel button
When the options dialog is loaded, the main buttons are a sensitive
'Cancel' button and insensitive 'OK' and 'Apply' buttons. When changes
are made the 'OK' and 'Apply' buttons become sensitive and when pressed
the 'OK' button will make changes and close dialog whereas the 'Apply'
button will make changes and the dialog will remain open but with these
buttons insensitive leaving just 'Cancel' sensitive.

This could be confusing so this commit changes conditionally the text
label of the 'Cancel' button between 'Cancel' and 'Close'.
2020-10-22 14:27:54 +01:00
Robert Fewell
c11f4db96e Bug 345924 - Report options 'Reset Button' always flags changes
If a report is loaded with default settings and the 'Reset button' is
pressed the 'OK/Apply' buttons will be enabled which should not happen
as there are no changes to be made.

Fixed by resetting the changed flag on options load and then comparing
the current value to the default one when the 'Reset button' pressed.
2020-10-22 14:26:50 +01:00
Robert Fewell
8e5e3480ad Bug 797984 - Infinite loop while Check&Repair AR and AP accounts
If using the Check&Repair option from the Chart of Accounts on 'Account
Receivable or Payable' add has a voided transaction will cause an
infinite loop.

This occurs from checking the transaction split amount is zero in
gncScrubBusinessSplit and trying to delete it. As the transaction is
read only as a result of being voided this fails so add a further
condition for the 'else if' statement to include !is_void.
2020-10-20 14:45:44 +01:00
Robert Fewell
794b31a98e Change Registers abort_scrub to use gnc_*_abort_scrub functions 2020-10-20 14:45:14 +01:00
Robert Fewell
1be3b7808d Allow the Check&Repair to be cancellable on a Register page
Add a callback for a keypress event when on the Register page that
checks for the Escape key and presents a dialog to confirm whether to
abort the Check&Repair. A similar dialog is used if you decide to quit
Gnucash while the Check&Repair is still running.
2020-10-20 14:44:20 +01:00
Robert Fewell
122cd682f6 Add some additional places where Check&Repair can be aborted 2020-10-20 14:43:39 +01:00
Robert Fewell
6ee537e1a7 Allow the Check&Repair routine to be cancellable from CoA
Add a callback for a keypress event when on the Accounts page that
checks for the Escape key and presents a dialog to confirm whether to
abort the Check&Repair. A similar dialog is used if you decide to quit
Gnucash while the Check&Repair is still running.
2020-10-20 14:42:32 +01:00