mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge branch 'maint'
This commit is contained in:
commit
0ac40c0e52
104
NEWS
104
NEWS
@ -1,9 +1,111 @@
|
||||
Version history:
|
||||
------- -------
|
||||
4.2 - 27 September 2020
|
||||
The third release of the 4.x stable series.
|
||||
|
||||
Between 4.1 and 4.2, the following bugfixes were accomplished:
|
||||
|
||||
Bug 102787 - Currency selection should do autocompletion
|
||||
Bug 476114 - Goto register by date feature req
|
||||
Adds ability to jump to arbitrary date.
|
||||
Bug 554391 - Tax Options dialog - can only assign one TXF category at a time
|
||||
If the Tax options dialog is opened from the Chart of Accounts
|
||||
and an account is selected then the tax dialog will preselect
|
||||
that account.
|
||||
Bug 787295 - Allow UI jump from Business accounts to their relevant
|
||||
invoice/bill/voucher
|
||||
Bug 797514 - Changing transaction unreconciles a split inconsistently
|
||||
Partial: This make sure that the split's reconcile status
|
||||
gets updated before the transaction is committed.
|
||||
Bug 797730 - Transaction matching can match multiple imported transactions
|
||||
to the same existing one
|
||||
Bug 797839 - Auto-complete prevents entering non-ASCII transaction
|
||||
descriptions
|
||||
Bug 797852 - Error in Accounts Payable Aging re cut off dates
|
||||
Bug 797857 - Edit->Preferences: Help/Close buttons unreachable
|
||||
Bug 797874 - Errors in register and new-account UI
|
||||
Bug 797878 - Pie chart displays fractions and long decimal representations
|
||||
Ensure amounts rendering is rounded to report-currency SCU
|
||||
Bug 797880 - [gnucash-cli] encoding and font differing from manually
|
||||
exported reports (Win10, German locale).
|
||||
Bug 797883 - [Transaction Report] non-localized string
|
||||
Bug 797889 - editing amounts in dr / cr behaving oddly
|
||||
Bug 797893 - Unable to change font size in charts
|
||||
Use the stylesheet font values instead of hard-coded ones.
|
||||
Bug 797895 - Hang for a long time (9 minutes per account) importing a QFX
|
||||
file.
|
||||
Bug 797896 - [HBCI] crash when downloading transactions.
|
||||
Bug 797897 - Cannot select multiple accounts in Tax Report Options
|
||||
Bug 797898 - [reconciliation] calculated balance amount per reconcilation
|
||||
date depending on actual time.
|
||||
Bug 797900 - Crash caused by Quitting while Check and Repair All is running
|
||||
Bug 797923 - Running employee report results in "Unbound variable: txn"
|
||||
Bug 797924 - Crash when searching for customer to process payment.
|
||||
Bug 797935 - Strange formal register headers
|
||||
In languages other than English because of poorly constructed
|
||||
translatable strings.
|
||||
Bug 797936 - Lot viewer notes field too narrow
|
||||
Bug 797945 - Tools -> Import Map Editor causes GnuCash to lock up
|
||||
|
||||
The following fixes and improvements were not associated with bug reports:
|
||||
|
||||
Update version in README, add Boost::program_options to dependencies.
|
||||
[report-utilities] compact functions
|
||||
Small fixes for various translation issues:
|
||||
Deduplicate translatable strings
|
||||
Add context to one-letter strings in guile code
|
||||
Fix typo in linked document gui Align translatable strings
|
||||
Expose C_ function (gettext with context string) to guile code, first use
|
||||
is for the document link short code (L)
|
||||
Improve and repair progress bar display on a variety of reports and
|
||||
windows, improving performance on several by reducing the number of
|
||||
progressbar calls.
|
||||
[gnc-main-window] enable show_text for progressbar, allowing
|
||||
gtk_progress_bar_set_text to actually display the progress text.
|
||||
Fix help_label of dialog-doclink.glade, remove question mark from
|
||||
Available, and insert missing spaces into the Business Item variant.
|
||||
Rename all Transaction and Invoice Association identifiers to DocLink to
|
||||
better reflect the purpose and for consistency with other software
|
||||
(e.g. Libre Office).
|
||||
Rename Transaction and Invoice Associations to Document Links. More clearly
|
||||
describes the actions and is more consistent with other software
|
||||
(e.g. Libre Office).
|
||||
Remove the Remove Linked Document context menu item because that can
|
||||
be done in the Manage dialog box.
|
||||
Fix the horizontal scrollbar in the linked docs window.
|
||||
I18n - deduplicate translatable strings
|
||||
macOS: Give GnuCash time to shut down gracefully instead of letting macOS
|
||||
pull the rug out.
|
||||
I18N: Align glossary to gnucash.pot. Create a similar copyright header.
|
||||
Add missing Report-Msgid-Bugs-To.
|
||||
[report-utilities] More dump data functions:
|
||||
gnc:dump-book - splits grouped by account
|
||||
gnc:dump-all-transactions - splits grouped by transaction
|
||||
gnc:dump-split - dumps single split
|
||||
[business-urls] link to owner report with enddate
|
||||
[dialog-invoice] gnc_business_call_owner_report_with_enddate
|
||||
[new-owner-report][api] owner-report-create-with-enddate; accepts enddate
|
||||
argument like owner-report-create.
|
||||
Enable exporting the tables in charts and some reports as CSV.
|
||||
Tweak a few strings to reuse translations
|
||||
Exported gnc:cmdline-template-export and gnc:cmdline-get-report-id.
|
||||
Handle ambiguous reportnames by returning #f.
|
||||
[price-quotes.scm] ensure missing-alphavantage message can show on console
|
||||
[budget.scm] Fix report crash on books with unreversed budgets
|
||||
[gnucash-cli] -R show should accept & try to load datafile
|
||||
Speed up computation of import match lists by running query only once,
|
||||
committing accounts only once, and doing a bulk insert into the
|
||||
GtkTreeview.
|
||||
Add Python example export_account_totals.py. Exports acount totals of all
|
||||
accounts into a CSV file.
|
||||
|
||||
Updated Translations: Dutch, German, Italian, Ukrainian
|
||||
New Translations: Estonian, Indonesian
|
||||
|
||||
4.1 - 26 July 2020
|
||||
The second release of the 4.x stable series.
|
||||
|
||||
Between 4.0 and XXX, the following bugfixes were accomplished:
|
||||
Between 4.0 and 4.1, the following bugfixes were accomplished:
|
||||
|
||||
Bug 775582 - Change "Petrol" (or Gas if seen in USA) to "Fuel".
|
||||
Bug 797759 - Some transactions are not highlighted in the matching window
|
||||
|
@ -283,7 +283,7 @@ function(gnc_add_scheme_targets _TARGET)
|
||||
|
||||
set(_TARGET_FILES "${_TARGET_FILES}" PARENT_SCOPE)
|
||||
|
||||
if(TEST)
|
||||
if(SCHEME_TGT_TEST)
|
||||
add_dependencies(check ${_TARGET})
|
||||
else()
|
||||
install(FILES ${_TARGET_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/${GUILE_REL_SITECCACHEDIR}/${SCHEME_TGT_OUTPUT_DIR})
|
||||
|
@ -319,6 +319,7 @@ Gnucash::Gnucash::configure_program_options (void)
|
||||
// for gtk's options. The options themselves are already parsed out by
|
||||
// gtk_init_check by the time this function is called though. So it really only
|
||||
// serves to be able to display a help message.
|
||||
g_set_prgname ("gnucash");
|
||||
auto context = g_option_context_new (m_tagline.c_str());
|
||||
auto gtk_options = gtk_get_option_group(FALSE);
|
||||
g_option_context_add_group (context, gtk_options);
|
||||
@ -328,7 +329,7 @@ Gnucash::Gnucash::configure_program_options (void)
|
||||
bpo::options_description app_options(_("Application Options"));
|
||||
app_options.add_options()
|
||||
("nofile", bpo::bool_switch (&m_nofile),
|
||||
N_("Do not load the last file opened"))
|
||||
_("Do not load the last file opened"))
|
||||
("help-gtk", bpo::bool_switch (&m_show_help_gtk),
|
||||
_("Show help for gtk options"));
|
||||
|
||||
|
@ -186,7 +186,6 @@
|
||||
(cons 'display #t)
|
||||
(cons 'labelString "")))
|
||||
(cons 'ticks (list
|
||||
(cons 'fontSize 12)
|
||||
(cons 'maxRotation 30))))
|
||||
;; the following another xAxis at the top
|
||||
'((position . top)
|
||||
@ -205,7 +204,6 @@
|
||||
(cons 'display 1.5)
|
||||
(cons 'labelString "")))
|
||||
(cons 'ticks (list
|
||||
(cons 'fontSize 10)
|
||||
(cons 'beginAtZero #f))))
|
||||
;; the following another yAxis on the right
|
||||
'((position . right)
|
||||
@ -215,7 +213,6 @@
|
||||
))))
|
||||
(cons 'title (list
|
||||
(cons 'display #t)
|
||||
(cons 'fontSize 16)
|
||||
(cons 'fontStyle "")
|
||||
(cons 'text ""))))))
|
||||
"XXX" ;currency-iso
|
||||
@ -348,6 +345,17 @@ Chart.pluginService.register({
|
||||
}
|
||||
})
|
||||
|
||||
// copy font info from css into chartjs.
|
||||
bodyStyle = window.getComputedStyle (document.querySelector ('body'));
|
||||
Chart.defaults.global.defaultFontSize = parseInt (bodyStyle.fontSize);
|
||||
Chart.defaults.global.defaultFontFamily = bodyStyle.fontFamily;
|
||||
Chart.defaults.global.defaultFontStyle = bodyStyle.fontStyle;
|
||||
|
||||
titleStyle = window.getComputedStyle (document.querySelector ('h3'));
|
||||
chartjsoptions.options.title.fontSize = parseInt (titleStyle.fontSize);
|
||||
chartjsoptions.options.title.fontFamily = titleStyle.fontFamily;
|
||||
chartjsoptions.options.title.fontStyle = titleStyle.fontStyle;
|
||||
|
||||
document.getElementById(chartid).onclick = function(evt) {
|
||||
var activepoints = myChart.getElementAtEvent(evt);
|
||||
var anchor = document.getElementById(jumpid);
|
||||
@ -398,21 +406,23 @@ document.getElementById(chartid).onclick = function(evt) {
|
||||
(push (lambda (l) (set! retval (cons l retval))))
|
||||
;; Use a unique chart-id for each chart. This prevents charts
|
||||
;; clashing on multi-column reports
|
||||
(id (guid-new-return)))
|
||||
(id (symbol->string (gensym "chart"))))
|
||||
|
||||
(push (gnc:html-js-include
|
||||
(gnc-path-find-localized-html-file "chartjs/Chart.bundle.min.js")))
|
||||
|
||||
;; the following hidden h3 is used to query style and copy onto chartjs
|
||||
(push "<h3 style='display:none'></h3>")
|
||||
(push (format #f "<div style='width:~a;height:~a;'>\n"
|
||||
(size->str (gnc:html-chart-width chart))
|
||||
(size->str (gnc:html-chart-height chart))))
|
||||
(push (format #f "<a id='jump-~a' href='' style='display:none'></a>\n" id))
|
||||
(push (format #f "<canvas id='chart-~a'></canvas>\n" id))
|
||||
(push (format #f "<canvas id=~s></canvas>\n" id))
|
||||
(push "</div>\n")
|
||||
(push (format #f "<script id='script-~a'>\n" id))
|
||||
(push (format #f "var curriso = ~s;\n" (gnc:html-chart-currency-iso chart)))
|
||||
(push (format #f "var currsym = ~s;\n" (gnc:html-chart-currency-symbol chart)))
|
||||
(push (format #f "var chartid = 'chart-~a';\n" id))
|
||||
(push (format #f "var chartid = ~s;\n" id))
|
||||
(push (format #f "var jumpid = 'jump-~a';\n" id))
|
||||
(push (format #f "var loadstring = ~s;\n" (G_ "Load")))
|
||||
(push (format #f "var chartjsoptions = ~a;\n\n"
|
||||
@ -428,7 +438,6 @@ document.getElementById(chartid).onclick = function(evt) {
|
||||
|
||||
(push "chartjsoptions.options.tooltips.callbacks.label = tooltipLabel;\n")
|
||||
(push "chartjsoptions.options.tooltips.callbacks.title = tooltipTitle;\n")
|
||||
(push "Chart.defaults.global.defaultFontFamily = \"'Trebuchet MS', Arial, Helvetica, sans-serif\";\n")
|
||||
(push JS-setup)
|
||||
|
||||
(push "var myChart = new Chart(chartid, chartjsoptions);\n")
|
||||
|
@ -228,13 +228,10 @@
|
||||
|
||||
|
||||
(define (gnc:html-make-generic-simple-warning report-title-string message)
|
||||
(let ((p (gnc:make-html-text)))
|
||||
(gnc:html-text-append!
|
||||
p
|
||||
(gnc:html-markup-h2 (string-append report-title-string ":"))
|
||||
(gnc:html-markup-h2 "")
|
||||
(gnc:html-markup-p message))
|
||||
p))
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-h3 (string-append report-title-string ":"))
|
||||
(gnc:html-markup-h3 "")
|
||||
(gnc:html-markup-p message)))
|
||||
|
||||
|
||||
(define (gnc:html-make-options-link report-id)
|
||||
@ -301,14 +298,11 @@
|
||||
(define (gnc:html-make-generic-warning
|
||||
report-title-string report-id
|
||||
warning-title-string warning-string)
|
||||
(let ((p (gnc:make-html-text)))
|
||||
(gnc:html-text-append!
|
||||
p
|
||||
(gnc:html-markup-h2 (string-append (G_ report-title-string) ":"))
|
||||
(gnc:html-markup-h2 warning-title-string)
|
||||
(gnc:html-markup-p warning-string)
|
||||
(gnc:html-make-options-link report-id))
|
||||
p))
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-h3 (string-append (G_ report-title-string) ":"))
|
||||
(gnc:html-markup-h3 warning-title-string)
|
||||
(gnc:html-markup-p warning-string)
|
||||
(gnc:html-make-options-link report-id)))
|
||||
|
||||
(define (gnc:html-make-generic-options-warning
|
||||
report-title-string report-id)
|
||||
|
@ -37,7 +37,7 @@
|
||||
(gnc:html-document-add-object!
|
||||
doc
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-h2
|
||||
(gnc:html-markup-h3
|
||||
(format #f (G_ "Welcome to GnuCash ~a !")
|
||||
gnc:version))
|
||||
(gnc:html-markup-p
|
||||
|
@ -165,8 +165,8 @@ for taxes paid on expenses, and type LIABILITY for taxes collected on sales.")
|
||||
(G_ "Default Format"))
|
||||
(vector 'au-bas
|
||||
(G_ "Australia BAS")
|
||||
(G_ "Australia BAS. Specify sales, purchase and tax \
|
||||
accounts."))
|
||||
(G_ "Australia Business Activity Statement. Specify sales, \
|
||||
purchase and tax accounts."))
|
||||
(vector 'uk-vat
|
||||
(G_ "UK VAT Return")
|
||||
(G_ "UK VAT Return. Specify sales, purchase and tax \
|
||||
|
@ -1079,7 +1079,7 @@ invoices and amounts.")))))
|
||||
(gnc:html-document-add-object!
|
||||
document
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-h2 (G_ "No transactions found."))
|
||||
(gnc:html-markup-h3 (G_ "No transactions found."))
|
||||
(gnc:html-markup-p (G_ "No matching transactions found"))
|
||||
(gnc:html-make-options-link (gnc:report-id report-obj)))))
|
||||
|
||||
|
@ -192,7 +192,7 @@
|
||||
(gnc:html-document-add-object!
|
||||
document
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-h2 title)
|
||||
(gnc:html-markup-h3 title)
|
||||
(gnc:html-markup-p text))))
|
||||
|
||||
(gnc:html-chart-set-type! chart 'line)
|
||||
|
@ -4,10 +4,10 @@ add_subdirectory(glossary)
|
||||
# * managed at the Translation Project (TP):
|
||||
set (TP_LINGUAS ca cs da eu fa ja ro rw sk sr sv tr uk zh_CN)
|
||||
# * already marked as external at TP or they have no language team:
|
||||
set (GC_LINGUAS ar as az bg brx de doi el en_GB es es_NI fi fr gu he hi hr hu it kn ko kok kok@latin ks lt lv mai mni mni@bengali mr nb ne nl pl pt pt_BR ru ta te ur vi zh_TW)
|
||||
set (GC_LINGUAS ar as az bg brx de doi el en_GB es es_NI et fi fr gu he hi hr hu id it kn ko kok kok@latin ks lt lv mai mni mni@bengali mr nb ne nl pl pt pt_BR ru ta te ur vi zh_TW)
|
||||
# * New or unmarked: The release manager should announce them to TP
|
||||
# and when listed there move in the respective group above.
|
||||
set (NEW_LINGUAS et id)
|
||||
set (NEW_LINGUAS)
|
||||
|
||||
set (ALL_LINGUAS ${TP_LINGUAS} ${GC_LINGUAS} ${NEW_LINGUAS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user