Commit Graph

14962 Commits

Author SHA1 Message Date
John Ralls
d311e942f6 [Bug #661832]MySQL database error after wireless reconnect
After suggestion by Wang Xiaozhe <chaoslawful@gmail.com>

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22818 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-02 00:21:30 +00:00
Christian Stimming
f65b2e1aa3 Fix erroneous widget lookup after a widget in the glade file has been renamed
This is a result of the glorious idea of glade to have all widget names
in one file have unique names, but not verifying that we really can
continue to do the lookup as before. Oh well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22817 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-01 21:38:08 +00:00
Christian Stimming
eb64b1008d Aqbanking SEPA transfer: Really test and finish the implementation.
Also, apparently the iTAN authentication method doesn't work unless
one activates the GTK2_GUI code in gnc-gwen-gui.c:70 but I need to check
this further.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22816 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-01 21:28:01 +00:00
Geert Janssens
9a267d805d Register rewrite Update.
The main things in this patch is I think the model is working correctly now,
you can add, change and delete same currency transactions along with different
currencies asking for exchange rates and also share accounts.

Other changes:
- use the default GTK_TREE_VIEW sort mechanism.
- Added cut, copy & paste
- Added right-click context menu.

Author: Robert Fewell Register rewrite Update.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22815 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-28 09:52:12 +00:00
J. Alex Aycinena
3b9a438507 Replace GtkLabel with a GtkTextView within a GtkScrolledWindow for error summary for csv account import so that window doesn't get larger than screen with large error messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22814 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-27 23:31:35 +00:00
Geert Janssens
9b9409ece5 Winbuild: remove obsolete pixman dependency
It was an internal depencency of libgnomeui, which
is no longer used for GnuCash

I found one more reference to libgnomeui in the
crosbuild_webkit.sh script. I have removed it there as well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22813 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-25 10:13:26 +00:00
Geert Janssens
62690dea76 Fix make check failure pointed out by Alex Aycinena
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22812 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 22:53:02 +00:00
Christian Stimming
1189b3bdc7 Aqbanking online transfer: Disable SEPA direct debit menu item again because no bank supports it.
The (SEPA) banks apparently only support multi-jobs, not single jobs, but the
former is not yet in aqbanking and not yet in gnucash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22811 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 16:22:55 +00:00
Christian Stimming
3d322ca082 Set svn:eol-style property to LF on .h and .c that did not yet have it so far.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22810 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 16:11:40 +00:00
Christian Stimming
6c6dc51222 Also set svn:eol-style property LF on .js files so that the files will surely have LF line endings in SVN in all cases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22809 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 15:58:09 +00:00
Mike Evans
e4a46ebf64 Normalise line endings of min.js files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22808 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 10:34:13 +00:00
Geert Janssens
b45a9fa874 Add child functions to Account in python bindings.
Add children discovery functions to Account type for the python bindings.

Author: Hendrik van Antwerpen <hendrik@van-antwerpen.net>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22806 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-22 18:17:21 +00:00
Geert Janssens
432632fa73 Add tax tables lookup to python bindings.
Add function to lookup tax tables to Book and add taxtable conversion
to base typemap.

Author: Hendrik van Antwerpen <hendrik@van-antwerpen.net>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22805 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-22 18:15:28 +00:00
Geert Janssens
a261c17e0b Fix compile error after r22799 due to missing CFLAGS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22804 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-22 17:16:46 +00:00
Geert Janssens
9e4102426d jqplot line chart: make markers and grid optional again
This was a regression from the goffice based chart, pointed out by Mike
Evans

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22802 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 18:26:59 +00:00
Geert Janssens
e9ca8116f5 Charts: improve tooltips on line and bar charts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22801 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 16:51:40 +00:00
Geert Janssens
d618732946 Charts: source formatting
- fix some whitespace
- improveformatting of resulting html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22800 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 16:51:31 +00:00
Geert Janssens
ad1b94bc24 Drop goffice dependency from our html engine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22799 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 16:51:20 +00:00
Geert Janssens
eb5e7aa175 Improve linechart
- convert chart to jqplot
- drop goffice based code

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22798 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 11:27:56 +00:00
Phil Longstaff
190665ac2f Initial changes to budget view.
1) Splits gnc-budget-view.c/.h out from gnc-plugin-page-budget.c.  gnc-plugin-page-budget.c now creates a GncBudgetView and provides the overall UI and integration for it.
2) GncBudgetView changes:
    a) If an account has children but does not have a specific budget value for a period, the sum of the children's budget values will be displayed in gray
    b) Totals column on the right provides total for a budget row (account)
    c) At the bottom, totals lines with total income, total expenses, total transfers (assets+liabilities) and grand total (income - expenses - transfers)



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22796 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 01:10:21 +00:00
Geert Janssens
f15df6795c Improve scatterplot chart
- drop goffice based chart, only keep jquery one
- support all jqplot shapes for the markers

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22795 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:52:15 +00:00
Geert Janssens
3c0ce65cec Improve piechart
- drop goffice based chart, only keep jquery one
- move legend outside of plotting area

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22794 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:51:53 +00:00
Geert Janssens
5ffd94062b Improve jqplot's barchart renderer's barWidth and barPadding calculation
The improved formula scales more gracefully from extremely small to
extremely large.

Note: this modifies jqplot itself. We may need to either
- attempt to get this in the upstream code
- see if we can get a similar result by improving our own code

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22793 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:51:41 +00:00
Geert Janssens
1672f14878 Define EOL style for javascript files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22792 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:51:26 +00:00
Geert Janssens
9d535f045c Improve barchart
- drop goffice based chart, only keep jquery one
- move legend outside of plotting area

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22791 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:51:04 +00:00
Geert Janssens
e5d298e4b5 Update to jqplot 1.0.6
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22790 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:50:43 +00:00
Geert Janssens
f8dabf5db3 jqplot: fix paths to js and css files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22789 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:50:30 +00:00
Geert Janssens
6776fc0ae8 Fix code to find html files
- look in pkg_data_dir as last resort (eg /usr/share/gnucash)
- effectively test all directories instead of only the second one
- add a debug print line

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22788 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:50:21 +00:00
Geert Janssens
9d5daf7dea Enable jqplot for barchart, piechart and scatterchart
Patch by Andy Clayton

This doesn't work anymore due to changes in other parts of GnuCash, but
is a good starting point to fix it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22787 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-20 18:50:10 +00:00
Christian Stimming
df6c89eae3 Aqbanking online transfer: Disable the non-SEPA verification rules for SEPA transactions.
Eventually, the SEPA rules need to be implemented, but for now we
just allow any alphanumerics.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22786 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-19 21:05:14 +00:00
Christian Stimming
ac23fa1183 Aqbanking online transfer: Set the date in the gnucash txn dialog to non-sensitive.
Users regularly expect that date to be the online job execution date,
but that's not what is implemented. So we prevent editing here at all.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22784 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-18 20:48:28 +00:00
Christian Stimming
37c66aea36 Minor update for SEPA (European) online transfers (after r22445)
Add direct debit. Make menu items sensitive correctly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22783 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-18 20:37:08 +00:00
J. Alex Aycinena
81cadea035 Update taxtxf.scm to fix beginning balance sign and signs for Transfer From/To amounts for
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22780 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-16 22:50:01 +00:00
John Ralls
b5042466a9 Fix gnc-cdate format to match that of POSIX cdate
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22776 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-12 23:09:54 +00:00
Christian Stimming
6b0ade1851 Get cutecash/C++ to compile again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22767 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-08 20:47:42 +00:00
Mike Evans
679d59e445 Bug 683881 Partial implementation.
TODO:
  Saving search preferences doesn't save reverse sort.
  The blank_split remains at the bottom of the register when reverse
  sorted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22766 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-08 11:02:55 +00:00
Mike Alexander
9ba6e69d5e Avoid a crash when entering invalid dates (e.g., enter "111" for a transaction date).
gnc_parse_date is ignoring the return code from qof_scan_date which causes it to
send uninitialized values to gnc_mktime which crashes if the date is too ridiculous.
Presumably this worked before because mktime took anything without crashing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22755 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-06 04:24:38 +00:00
J. Alex Aycinena
c295ef3d28 Update txf.scm to reflect changes to US Income Tax Forms and Schedules for 2012.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22753 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-05 00:35:40 +00:00
Mike Alexander
9133c9cfe3 Use gnc-commodity-equiv to compare commodites, not equal?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22752 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-04 03:15:44 +00:00
Mike Alexander
e4dced2d99 Allow the price quotes perl script to return multiple quotes on a single call.
This makes it easier to add historical prices using a different perl script.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22751 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-04 02:32:50 +00:00
Mike Alexander
8e67373b03 Improve HTML account table generator
Make it possible to add to an existing row and do a better job of
keeping track of whether any values were display for child accounts.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22750 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-04 00:50:13 +00:00
Mike Alexander
5c5b6ed77c Do a better job of calculating debit and credit fractions.
Make gnc_split_register_set_cell_fractions agree with
gnc_split_register_get_debcred_entry.
If the account for a split changes recalculate the fractions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22736 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-30 05:22:46 +00:00
Mike Alexander
31d6c41f5e Do a better job of prompting for an exchange rate only when needed.
If the debit or credit value of a split changes, prompt for an exchange rate.
Don't prompt for an exchange rate in a register that doesn't have a rate cell
(and fix a bug so that it knows that portfolio registers don't have one).
If the transaction has been autofilled and edited start with a nearby rate
from the prices DB.  If it is an existing transaction start with the exchange
rate it already has.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22735 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-30 05:22:38 +00:00
Mike Alexander
e48fb17a13 Don't store a negative reconcile interval.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22723 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-22 22:25:31 +00:00
Geert Janssens
bf34e32303 Bug #680086 - Each Tip of the Day has an n shown at the end
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22721 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-22 10:14:51 +00:00
Geert Janssens
bc0940a49e Win32 build: add attribution for a code snippet in bootstrap
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22720 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-22 10:14:35 +00:00
J. Alex Aycinena
ced147f641 Remove circular dependency introduced in r22681
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22717 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-19 23:29:35 +00:00
Geert Janssens
141efcbedc Fix another eol issue
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22716 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-19 21:00:51 +00:00
Geert Janssens
c33eaf006e Win32 build: some more patchfile cleanups
Wrap patching code in conditional in most cases to only run patch if
there actually is a patch file available.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22715 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-19 18:28:00 +00:00
Geert Janssens
15c3a1bfd4 Win32 build: rename patch files to consistently end in .patch
This way they will be checked in/out in proper line ending style on all
supported platforms.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22714 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-19 18:27:51 +00:00