The return value of guile-1.6's SCM_STRING_CHARS must not be freed, as
opposed to the return value of guile-1.8's scm_to_locale_string. So we
must wrap the free() into a macro that is defined appropriately (or maybe
we should refactor this into a function returning a g_malloc'd g_char anyway.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19999 57a11ea4-9604-0410-9ed3-97b8803252fd
The quickfill is obtained from the global cache of the GncEntry's
descriptions, one for invoices, one for the rest.
The auto-completion is a simple query to get the newest entry with the
same description, but limited to invoices or bills, respectively.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19998 57a11ea4-9604-0410-9ed3-97b8803252fd
This report shows a table of all customers and the sales, profit, and markup
in that table.
(The crash at startup wasn't caused by this patch.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19997 57a11ea4-9604-0410-9ed3-97b8803252fd
This report shows a table of all customers and the sales, profit, and markup
in that table.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19993 57a11ea4-9604-0410-9ed3-97b8803252fd
Needed by packagers that maintain the packaging code in svn, svk or git too
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19990 57a11ea4-9604-0410-9ed3-97b8803252fd
Update gnucash-bin.c to indicate stable version is 2.4.0, next stable version 2.6
Here we go...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19970 57a11ea4-9604-0410-9ed3-97b8803252fd
This is a first step to rewriting databases in a safe way. Indexes are
named entities in sql databases and so need to be renamed along with the
tables before creating and populating a new set.
This change also introduces a unit test of the new enumeration, and that
test has to be able to see data structures which are private to
gnc-backend-dbi.c, so those data structures are moved to a new file,
gnc-backend-dbi-priv.h, which both gnc-backend-dbi.c and
tests/test-stuff.c can include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19959 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch changes the example script to reflect the capability of reading all
namespaces.
Patch provided by Christoph Holtermann.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19954 57a11ea4-9604-0410-9ed3-97b8803252fd
The patch can be re-applied after the 2.4.0 release is out, but for now
I prefer to defer it until after the release.
To be precise, this patch reverts all parts of bug#635439: r19861, r19860,
r19854, r19853.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19951 57a11ea4-9604-0410-9ed3-97b8803252fd
This is necessary for Bug #570042 but doesn't completely solve it until
the reports are updated to use the new API. This is backwards-compatible
with the slot data inserted by the book closing since 2010-03-02.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19945 57a11ea4-9604-0410-9ed3-97b8803252fd
In src/base-typemaps.i check for return type gnc_commodity_namespace is added
so that it is returned instead of gnc_type_monetary.
Thanks to Christoph Holtermann for the patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19944 57a11ea4-9604-0410-9ed3-97b8803252fd
Added a cached quickfill for GncEntry description lines. Extend QuickFillCell
interface to be able to use a common cached quickfill.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19941 57a11ea4-9604-0410-9ed3-97b8803252fd