Bug 555182 - Security Type template hidden

Part 2: Change commodities in namespace "template" to namespace "User"
unless the mnemonic is also "template". This makes commidities which
have been entered into "template" by mistake visible so that they
can be deleted or edited.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23699 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 721576 - Gnucash can not work with files, that have russian symbols in path.

g_win32_locale_filename_from_utf8() is not only unnecessary, it does the
wrong thing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23700 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 722035 - Missing space in the Spanish translation of msgid "Total For "

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23701 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 721600 - Segmentation fault on startup if report Income/Expense Chart was opened since last running

This bug is a continuation of bug 719481. The fix for that bug
wouldn't trickle down into the release tarballs because the needed
patch would only be applied if the tarball were generated against
guile 2.

This commit fixes this by applying that patch unconditionally

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23702 57a11ea4-9604-0410-9ed3-97b8803252fd
Update Italian translation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23703 57a11ea4-9604-0410-9ed3-97b8803252fd
Update Catalan translation, copied from the Translation Project.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23704 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 605991 Help button on New and Edit Job dialogs brings up wrong help page. With this patch I linked almost all business features to corresponding help pages. For features not yet documented, the button will open the initial chapter of the business section.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23705 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 721791 - Segmentation fault when correcting invalid date

And greatly simplify gnc_split_register_get_date_help by just getting a GDate and running
g_date_strftime on it instead of messing around with Timespecs and g_localtime_r (twice!)
and all of that just to make a stupid string.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23706 57a11ea4-9604-0410-9ed3-97b8803252fd
Ensure struct tm is zeroed before passing it to gnc_tm_get_today_start

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23707 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove the max_count test in gnc_plugin_page_report_name_changed.
This limits the total number of times it can be called per invocation
of GnuCash for no obvious reason.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23708 57a11ea4-9604-0410-9ed3-97b8803252fd
Don't leak prices in the (non-advanced) portfolio report.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23709 57a11ea4-9604-0410-9ed3-97b8803252fd
Make various reports work with the "average cost" price source.
THe Portfolio report crashed and several othsrs used "nearest" instead.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23710 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Add some more debugging output.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23711 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Eliminate all overflow problems.

Share and price calculations are done to 5 decimal places and currency
calculations are done using the precision defined for the currency.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23712 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Fix a bug in the code that detects a spin-off.

It was using an unset variable that was always zero.
Also do a better job of finding a pricing transaction and a couple of other
minor changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23713 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Use the more common LIFO name for the basis method.

Don't change the internal code to avoid invalidating saved reports.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23714 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Fix the basis calculations.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23715 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Fix realized gain calculation and handling of brockerage fees.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23716 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Try harder to find a price and use the one it claims to be using.

Sometimes it would display one price but use another one to compute the value.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23717 57a11ea4-9604-0410-9ed3-97b8803252fd
Advanced Portfolio: Remove the "latest before" price source.
It's not implemented and could easily be added back if it ever is implemented.
This will break any saved report using this price source, but they are
broken already.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23718 57a11ea4-9604-0410-9ed3-97b8803252fd