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
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
- fix some whitespace
- improveformatting of resulting html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22800 57a11ea4-9604-0410-9ed3-97b8803252fd
- 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
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
- 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
- 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
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
- 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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
The code used to apply the patches if present still remains to cater for
possible future patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22713 57a11ea4-9604-0410-9ed3-97b8803252fd
Additionally, fix line endings on some files that were inconsistent
in this regard.
This gives a more consistent experience on all development
platforms.
All source files (be it scripts, makefiles, autoconf/automake
files,...) are given an explicit line ending style. For most
LF was chosen. Exceptions are typical windows scripts (.bat, .cmd,
.vbs,...) and some files related to the windows installer. Those
are fixed at CTRL/LF because the installer would have issues
otherwise).
The remainder of files are mostly plain text files (README's,
CHANGELOG's,...). These files are stored with LF line ending
in the repo, but checked out with the platform's native
line ending style. git takes proper care of the necessary
conversions automatically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22712 57a11ea4-9604-0410-9ed3-97b8803252fd
The goal of this script is to make is extremely easy to start gnucash
development on Windows. After downloading and running this script, the
user should be ready to start coding.
Note that this is not the case yet. The bootstrap script is only the
first step in that direction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22707 57a11ea4-9604-0410-9ed3-97b8803252fd
possible data loss
Handle return value of xmlParseDocument()
Ignoring errors can lead to data loss.
Author: Sébastien Villemot <sebastien@debian.org>
Bug-Debian: http://bugs.debian.org/696282
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22703 57a11ea4-9604-0410-9ed3-97b8803252fd
Connect the `Help' button in the `Close Book' dialog box (Tools > Close
Book) to newly-written help section on book closing.
Signed-off-by: Yawar Amin <yawar.amin@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22701 57a11ea4-9604-0410-9ed3-97b8803252fd
It was computing the negative of the expected value. The most obvious
effect of this was that the reconcile interval became negative when you
reconciled an account so each reconciliation was earlier than the previous.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22688 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc_scm_strip_comments
Also make it a true convenience functions by doing the conversion from
an scm string to a c string internally. This saves the caller a manual
conversion step.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22687 57a11ea4-9604-0410-9ed3-97b8803252fd
Let them all start with gnc_scm_*
Copy the guile naming convention as close as possible for the remainder
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22686 57a11ea4-9604-0410-9ed3-97b8803252fd
This function is a wrapper around scm_to_locale_string which returns
a gchar * to be freed with g_free. The return value of the original
function has to be freed with free. This is confusing since most of
the gnucash code relies on g_malloc/g_free.
While at it, clean up a lot of memory handling issues around (gnc_)scm_to_locale_string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22684 57a11ea4-9604-0410-9ed3-97b8803252fd