Commit Graph

15847 Commits

Author SHA1 Message Date
Mike Alexander
1f5b959f3d Advanced Portfolio: Don't print footnotes if the account that needs them isn't included.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23722 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 22:40:11 +00:00
John Ralls
bfcb8cec9e Fix configure's use of gnc-scm-info for out-of-tree builds.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23721 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 21:22:09 +00:00
John Ralls
56d4392d9d Replace pow(10, foo) with array dereference
Aside from being much faster, Windows was occasionally returning
e.g. 99 instead of 100 for pow(10, 2).  This stops that and thus
fixes:
Bug 721447 - Entries with values of ,50 are imported as ,51
Bug 721825 - Online prices displayed as unreadable fractions in 2.6.0

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23720 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 21:22:01 +00:00
Geert Janssens
fce049060e Win32: update swig to 2.0.11 to fix the build after commit 23702
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23719 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 20:52:46 +00:00
Mike Alexander
dd1dde78a4 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
2014-01-19 07:10:31 +00:00
Mike Alexander
e4a3232e3e 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
2014-01-19 07:10:21 +00:00
Mike Alexander
9d2687645a 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
2014-01-19 07:10:14 +00:00
Mike Alexander
ae96f2bffd Advanced Portfolio: Fix the basis calculations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23715 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 07:10:04 +00:00
Mike Alexander
916ad28fc8 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
2014-01-19 07:09:44 +00:00
Mike Alexander
c7c68508c8 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
2014-01-19 07:09:21 +00:00
Mike Alexander
be931f7673 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
2014-01-19 07:09:13 +00:00
Mike Alexander
7e13c7d73e Advanced Portfolio: Add some more debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23711 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 07:09:06 +00:00
Mike Alexander
018bc23602 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
2014-01-19 07:08:59 +00:00
Mike Alexander
e32ba766b6 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
2014-01-19 07:08:52 +00:00
Mike Alexander
96957db600 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
2014-01-19 07:08:45 +00:00
John Ralls
7755f9658c 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
2014-01-18 21:50:31 +00:00
John Ralls
36ad32cfe8 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
2014-01-18 21:50:21 +00:00
Cristian Marchi
1a7effc7fd 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
2014-01-18 18:47:52 +00:00
Cristian Marchi
32f0ff065a 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
2014-01-18 16:56:12 +00:00
Cristian Marchi
edcbc38e17 Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23703 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 16:45:41 +00:00
Geert Janssens
e48381ecf9 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
2014-01-18 15:09:52 +00:00
John Ralls
2d97811265 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
2014-01-17 00:26:12 +00:00
John Ralls
65e6185014 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
2014-01-17 00:03:47 +00:00
John Ralls
767a25f7a7 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
2014-01-16 22:52:03 +00:00
Christian Stimming
35217b6aeb Update cmake/cutecash build, adding the recently newly introduced file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23697 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-15 13:06:22 +00:00
John Ralls
b6654362ac Bug 721290 - SX Editor: Pressing "Enter" too soon hides transaction
The problem was that r23585 was a bit too broad in what it excluded, so
narrow it down to require exactly one split and that that split's
account is NULL.

Note that this will still cause the split to disappear from the SX
editor if one creates a transaction with no splits or with one that has
no account: A split will be created in the appropriate Orphan account.
It will be visible there and in the General Ledger so that it can be
easily deleted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23692 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:45 +00:00
John Ralls
9ec098bc6b Extract function update_info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23691 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:35 +00:00
John Ralls
4bf29ed1fb Extract function change_account_separator.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23690 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:27 +00:00
John Ralls
cd7f6d4120 Extract function create_blank_split.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23689 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:19 +00:00
John Ralls
5ad7e5a625 Bug 555182 - Security Type template hidden
Part 1: Prevent users from creating commodities of type "template"

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23688 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:10 +00:00
Christian Stimming
d5ba1ecc38 Fix build for aqbanking with version number > 5.2.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23687 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 20:50:51 +00:00
Christian Stimming
cad3b89973 Win32 build: Update aqbanking to most recent version 5.3.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23686 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 19:48:59 +00:00
Christian Stimming
5e797281fb Win32 build: Remove support for aqbanking < 5.x because 5.x has been released since 2010 by now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23685 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 19:48:49 +00:00
J. Alex Aycinena
46233ea56c Update txf.scm for 2013 US Income Tax for,/schedule changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23680 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-11 07:23:41 +00:00
John Ralls
156bda112c Bug 721667 - Accelerator key map loaded from one file and saved
to a different one which is ignored

So don't save it if using MAC_INTEGRATION. Changing accels on the
fly doesn't work with Mac menus anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23679 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 23:16:59 +00:00
Mike Evans
5e4fbfe8c3 Bug 721929 - Importing a customer list causes a crash.
Seems I omitted some things.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23677 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 12:14:08 +00:00
Mike Evans
b67aa9c51a Split long line.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23676 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 12:13:25 +00:00
John Ralls
487ddeb4a4 Bug 721608 - Supported Platforms list in 2.6.0 README.txt
dates from 2.0.x

Reviewed and updated to reflect current status.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23675 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-09 18:50:51 +00:00
Cristian Marchi
c162fc205b Bug #721607 and #721608: fix GnuCash version numbers and remove/update links.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23674 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-08 21:46:40 +00:00
Christian Stimming
b057cf0b45 Win32 build: Update libofx version to use latest bugfixes there
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23671 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-07 10:30:24 +00:00
John Ralls
d38ac4be6b Bug 721251 - Incorrect Transaction Dates
Fix g_gnc_time_zone_adjust_for_dst to handle southern-hemisphere DST

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23670 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-05 20:42:38 +00:00
Christian Stimming
b50aef93e4 Win32: Update gwenhywfar/aqbanking/gnutls with recent versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23664 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:52:45 +00:00
Christian Stimming
4050d7e096 Update aqbanking code for latest aqbanking development.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23663 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:43:07 +00:00
Christian Stimming
f3e0929e52 For aqbanking, take into account the actual purpose line length that is given from aqbanking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23662 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:42:56 +00:00
Mike Evans
2ee26b38a5 Fix issue with Python bindings.
Any Entry.functions were returning <Swig Objects> instead of instances.
Also removed invalid items from entry_dict in gnucash_business.py.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23661 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 11:04:02 +00:00
John Ralls
5016478de8 Bug 721260 - Crash on startup: gnucash cannot handle default locale
Actually, Guile can't handle weird locales, which OS X 10.9 lets
one set. Guile will throw an exception.

This patch avoids the problem by ensuring that the locale is set to
something that setlocale() will work with, ideally in the language
indicated by defaults.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23660 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-31 22:36:36 +00:00
John Ralls
950a2933bc Fix another broken build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23659 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-31 03:27:12 +00:00
John Ralls
b5f7385538 Release 2.6.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23642 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 19:40:15 +00:00
John Ralls
43c93a09fd Add new files to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23641 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 19:40:07 +00:00
Mike Evans
6e9fda20fc A couple more edits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23640 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 15:40:51 +00:00