* macros/legacy_macros.m4: when the guile version check fails,
print out the version of guile that we found in order to
aid debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
These are the recursive and non-recursive, respectively, period balances,
where the accounting period is specified in the preferences.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13165 57a11ea4-9604-0410-9ed3-97b8803252fd
Factor out and publicize functions to get the start and end of the
accounting period in the preferences.
Mark one comment as probably obsolete.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13158 57a11ea4-9604-0410-9ed3-97b8803252fd
GtkTreeViewColumn that's been added to a GncTreeView with one of the
convenience functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13156 57a11ea4-9604-0410-9ed3-97b8803252fd
This change isn't ideal in the sense that the handler list is now a
monotonically increasing resource, but it's better than crashing when the
handler in node N+1 happens to be deleted while servicing the handler in
node N.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13152 57a11ea4-9604-0410-9ed3-97b8803252fd
Replace gtk_object_sink calls on the models with g_object_unref calls.
Correctly increase the refcount of "remembered" models when we return them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13150 57a11ea4-9604-0410-9ed3-97b8803252fd
the GtkObject destroy path. Also, remove the gconf callback during dispose.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13148 57a11ea4-9604-0410-9ed3-97b8803252fd
g_print to print to the console. Convert from popt to g_options for
glib >= 2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13138 57a11ea4-9604-0410-9ed3-97b8803252fd
with account balances.
Comment two possible bugs related to capgains and dirtying (or not) Splits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13134 57a11ea4-9604-0410-9ed3-97b8803252fd
Also, dirty transactions upon changing due date and read-only status,
which didn't used to happen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13132 57a11ea4-9604-0410-9ed3-97b8803252fd
Let QofInstance manage the book pointer and kvp frame instead of Split
managing its own.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13131 57a11ea4-9604-0410-9ed3-97b8803252fd
Keep in the error check for db-transactional data storage
until the objects can be modified to support db-transactional
autocommit (by calling BeginEdit/CommitEdit internally instead
of checking that the caller did so). But revert for now to
make sure a caller has called BeginEdit in order to make
sure the data gets "saved" (assuming a SQLish backend).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13129 57a11ea4-9604-0410-9ed3-97b8803252fd
These calls were probably a copied idiom from the Split setters in this
same file, but Split and Transaction use completely different mechanisms
for managing dirty state. Transactions inherit from QofInstance and so
use the .dirty field. Splits inherit from QofEntity, so their
check_open(split->parent) calls are their way of letting someone know
they've changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13128 57a11ea4-9604-0410-9ed3-97b8803252fd
- make sure a random group always has at least two accounts
- fix "make random transaction" to tell us when we don't
have at least two accounts.
- free the results of xaccGroupGetSubAccounts().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13124 57a11ea4-9604-0410-9ed3-97b8803252fd