Commit Graph

15891 Commits

Author SHA1 Message Date
John Ralls
66290779a1 Release 2.6.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23769 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-26 00:08:23 +00:00
John Ralls
7ef15e4aca Fix handling of gnucash.appdata.xml
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23768 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-26 00:08:14 +00:00
John Ralls
53e1954fac Revert "Prevent gnc-commodity from marking the book dirty at file-load."
This reverts commit 8be7d15e1d because it
prevents the book from being marked dirty under most circumstances, not
just when loading commodities.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23767 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 20:50:55 +00:00
Geert Janssens
3ad383b97b Add some debug output to help in debugging locale problems
This is skipped on OS X because that has its own routine to deal with locales

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23766 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 13:33:42 +00:00
Geert Janssens
8453c39725 Bug 677489 - Critical error reported when initializing an Invoice
Apply BeginEdit() and CommitEdit() functions in Invoice class to resolve invoice creation issue.

Author: Tom Lofts <dev@loftx.co.uk>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23763 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 10:13:55 +00:00
Mike Alexander
7a576912cb Handle stocks that become worthless in the Advanced Portfolio report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23762 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 03:42:12 +00:00
John Ralls
66cc55cf42 Bug 721954 - Multiple Scheduled Transaction Editors
Gnc_gobject_remember the SX editor, and test for it before
creating a new one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23761 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 00:55:42 +00:00
John Ralls
38df58e9ab Ship src/report/jqplot/jquery.js in the tarball.
The tarball contains jquery.min.js, which is a minified version of jquery.js.
The minified version is not the preferred form of modification, so it is not
source code, and jquery.js must also be included.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23760 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-25 00:11:25 +00:00
John Ralls
6cfa8ea4b4 Bug 721770 - "Choose accounts to create" has no effect
"Common Accounts" always created

Conditionally adjust the page number selection in the on_prepare
function to account for the extra page.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23759 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 23:04:17 +00:00
John Ralls
d8bb1ff2dd Ensure that cell is pointed to the right cell when retrieving the price
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23758 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 23:04:09 +00:00
Cristian Marchi
5831e17771 Make Gnome appdata file translatable (or try to...).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23757 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 21:08:30 +00:00
Geert Janssens
d4ee20f95d Drop some unused variables
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23756 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 19:35:17 +00:00
Geert Janssens
1fe106cd2f Drop old ampersand subsitution in a couple of reports
It's not needed anymore with jqplot which already takes care of it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23755 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 19:22:58 +00:00
Geert Janssens
549e23a48c Escape labels for jqplot charts
Escape single- and double-quotes as needed in the generation of the
HTML/JavaScript for the jqplot charts to avoid JavaScript errors.

Author: Aaron Lindsay <aaron@aclindsay.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23754 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 19:22:48 +00:00
Geert Janssens
ca225fe9b0 Fix make distcheck on systems that do have swig >= 2.0.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23753 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 16:23:54 +00:00
Geert Janssens
d3c97900a4 Change double-click behaviour on account hierarchy
- placeholder accounts will expand/collapse
- all other account types will open the register

This is a partial fix for bug 721026 and will
alleviate the biggest frustration experienced there

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23752 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 14:01:49 +00:00
Mike Evans
adceb1388c Posting an invoice doesn't un-hide some widgets.
Make "Date Posted" and "Posted Account" widgets visible when an invoice is posted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23751 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 13:36:22 +00:00
John Ralls
5670f2b077 Prevent crashing due to unsupported locale settings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23750 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-23 22:16:40 +00:00
Christian Stimming
cbfb4ef1af Cutecash: Fix aqbanking directory name change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23749 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-23 21:29:28 +00:00
Derek Atkins
7397e4adce Update r23747 -- require 2.0.10 for guile2 builds, but allow older versions
for guile 1.8 builds.  However if we don't have guile 2.0.10 then don't
allow "make dist" to run.  This also means we wont patch the guile
files unless we find swig 2.0.10.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23748 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-23 21:20:37 +00:00
Geert Janssens
2cb9764459 Require swig 2.0.10 when building from svn/git
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23747 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-23 09:21:53 +00:00
Mike Alexander
9337a9be66 Fix unitialized variable error in r23740.
Thanks to Herbert Thoma for the patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23746 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 23:36:48 +00:00
Cristian Marchi
4db833c08a Fix a typo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23745 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 20:23:13 +00:00
Cristian Marchi
c69ee86f9c Update French translation. Patch provided by Sébastien Villemot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23744 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 19:40:02 +00:00
Geert Janssens
8e6463b9da Win32: don't apply swig patch on this platform
The current version of the patch tool in our build chain
can't handle this patch.
This is not a problem (for now) because
a. our windows build is still using guile 1.8
b. we're not creating release tarballs on windows

Hopefully swig itself is updated before we move to guile 2 on Windows

This reverts commit e48381ecf9.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23743 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 15:48:15 +00:00
Geert Janssens
c5a906afa2 Bug 721211 - Reconciliation checkboxes fail to sync for split transactions across sub-accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23742 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 14:40:19 +00:00
Geert Janssens
6d46b9f7b3 Bug 721306 - Account hierarchy column widths are reset when restarting a second time without changing the widths
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23741 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 10:56:54 +00:00
John Ralls
24660782f0 Bug 722123 - Zero price entry added to price database on stock purchase
Just needed to get the new price back from the cell after it was
calculated.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23740 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 01:53:02 +00:00
John Ralls
b8c1989d7d Bug 721464 - Program won’t open the website link
Rejigger the about dialog call so that there's a signal to connect
to gnc_launch_assoc; gtk_show_uri requires gvfs.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23739 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-22 01:52:53 +00:00
Christian Stimming
eb71ed8cb7 Updated German translation, by Mechtilde Stehmann.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23738 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-21 20:39:27 +00:00
Cristian Marchi
100f23eb42 Small update for the Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23737 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-21 12:42:15 +00:00
Cristian Marchi
93867e1eb9 Update Danish translation from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23736 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-21 12:41:38 +00:00
Cristian Marchi
836d596aa7 Update Catalan translation from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23735 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-21 12:41:05 +00:00
Mike Alexander
6c62a2da98 Fix r23732. By the time we get to inner_main it's too late to call gnc_prefs_init.
By then the main window has been created so it doesn't get hooked into the prefs system.
One symptom of this is that the "tab position" pref doesn't affect that window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23734 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-21 05:04:18 +00:00
John Ralls
8be7d15e1d Prevent gnc-commodity from marking the book dirty at file-load.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23733 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 22:53:08 +00:00
John Ralls
6b083f45a3 Bug 721966 - --add-price-quotes ignoring compress files preference
Move gnc_prefs_init() call to inner_main and
inner_main_add_price_quotes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23732 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 22:52:56 +00:00
John Ralls
3e72e3cd51 Bug 721913 - Fetch Rate crashes application
Enable the "Fetch Rate" button only if Finance::Quote is installed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23730 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 18:52:51 +00:00
John Ralls
f95294e0df Fix typo from r23726
Thanks to Lorenz Hübscle-Schneider for finding it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23729 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 16:12:47 +00:00
Mike Alexander
7c4a52da20 Advanced Portfolio: Tweak the rounding a bit more for bug #553020.
Also fixed some debugging messages.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23728 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 06:36:01 +00:00
Mike Alexander
0eda749c3c Fix rounding problems in conversions. Fixes bug #454827.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23727 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 05:08:47 +00:00
John Ralls
8c68c95135 Extract function check_readonly_threshold
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23726 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 01:55:11 +00:00
John Ralls
4efb4cd8c3 Protect GDateTime from getting an out-of-range year at creation.
It can behave badly. See
https://bugzilla.gnome.org/show_bug.cgi?id=721791#c8

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23725 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-20 01:55:04 +00:00
Mike Alexander
bcd5543195 Advanced Portfolio: Use the correct function to get today's date.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23724 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 23:30:58 +00:00
Mike Alexander
9c9a5b8847 Advanced Portfolio: Don't leak prices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23723 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-19 22:40:17 +00:00
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