example, all months after the current one to be combined into a single one to save space.
At this point, this ability is not visible to the user. I first need to figure out how to find
the current period in a budget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18236 57a11ea4-9604-0410-9ed3-97b8803252fd
the period, the budget values for all child accounts are added. If the chart of accounts is
set up so that only leaf accounts have transactions, this allows budget values to be assigned
either to all children and not the parent (they will be summed) or the parent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18228 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch contains those cases where a cast was unavoidable.
Patch by J. Alex Aycinena. Detailed explanation follows:
1 - src/register/register-gnome/gnucash-item-edit.c
The variable 'sel' is set with 'gtk_selection_data_get_text' which
returns a 'guchar *'; 'sel' is then used by functions
'gtk_editable_insert_text' and 'strlen' which require 'gchar *', so
there is no alternative but to cast.
2 - src/backend/xml/gnc-budget-xml-v2.c
The functions 'xmlNewNode'and 'xmlSetProp' require arguments that are
of type 'const xmlChar *' but the arguments are string literals (char
*). Can string literals be set up as type 'const xmlChar *'? The
patchfile has them being cast. BAD_CAST is defined for this purpose.
3 - src/backend/xml/gnc-schedxaction-xml-v2.c
Like above, the function 'xmlNewNode' requires arguments that are of
type 'const xmlChar *' but the arguments are string literals (char *).
In the three other changes the type 'const xmlChar *' needs to be
changed to 'char *' to be used by 'strcmp'.
4 - src/backend/xml/gnc-recurrence-xml-v2.c
Like above for the functions 'xmlNewNode'and 'xmlSetProp'.
5 - src/html/gnc-html-graph-gog-webkit.c
The function 'g_base64_encode' requires type 'guchar *' for the
argument and changing the variable to this caused other problems so
used casting instead.
6 - src/libqof/backend/file/qsf-xml-map.c (6 occurances)
The first occurance was solved by changing the type declaration, but
the other 5 required casting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18226 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch chooses the correct char type to resolve the type conflict.
Patch by J. Alex Aycinena.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18225 57a11ea4-9604-0410-9ed3-97b8803252fd
New check box added below account list to toggle excluding hidden accounts from the report.
Default is to exclude.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18216 57a11ea4-9604-0410-9ed3-97b8803252fd
When you ask for the tables in a postgres db, postgres returns 7 tables which are in the information
schema. These tables need to be filtered out when gnucash checks whether the db is empty or not.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18209 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix bug 587853/585939. When parsing file: or xml: uri, handle file: and file://, xml: and xml://
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18199 57a11ea4-9604-0410-9ed3-97b8803252fd
but colour and background colour cannot yet be set. Also, alignment is fixed by the stylesheet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18198 57a11ea4-9604-0410-9ed3-97b8803252fd
Once they can be sped up, the stupidity can be removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18181 57a11ea4-9604-0410-9ed3-97b8803252fd
2) Fix bug 586558 – When a scheduled transaction is deleted, the objects aren't cleaned up properly
The problem is that the xaccSchedXactionFree() function didn't properly call qof to commit the
delete operation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18180 57a11ea4-9604-0410-9ed3-97b8803252fd