This introduces the dbi backend and the --enable-dbi configure option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17444 57a11ea4-9604-0410-9ed3-97b8803252fd
The function call versions of these routines should be used instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16033 57a11ea4-9604-0410-9ed3-97b8803252fd
migrate each object's "free()" function to a combination of
dispose() and finalize().
(and yes, "make check" still passes all its tests)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15827 57a11ea4-9604-0410-9ed3-97b8803252fd
glib supplied gi18n.h file. Replace includes of gnome.h with gtk.h
(or better yet glib.h) wherever possible. Don't include gnome.h from
any header files. Remove some extraneous includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11981 57a11ea4-9604-0410-9ed3-97b8803252fd
QOF create: adding functions to be used with
qof_object_new_instance for new qof_book_merge objects, including
business objects.
Small documentation tweak to make QofEntity and QofParam
structures visible to doxygen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10220 57a11ea4-9604-0410-9ed3-97b8803252fd
Extended the QofSetterFunc to business objects, for those set_fcn 's that
exist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10207 57a11ea4-9604-0410-9ed3-97b8803252fd
These changes conisted of:
-- change the backend begin()/commit() signatures to take qofinstance
instead of gpointer
-- clean up non-standard use of books by the pricedb
-- rename the gnc-be-utils.h file so that its now a part of QOF
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10056 57a11ea4-9604-0410-9ed3-97b8803252fd
add 'version_compare' function for sql backedn updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10042 57a11ea4-9604-0410-9ed3-97b8803252fd
-- Add 'new' callback to QofObject. This allows QofObject to act
as an 'object factory', creating a new instance of something,
given only the type name. Plan to use this in the new SQL
backend, when restoring objects from SQL tables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9965 57a11ea4-9604-0410-9ed3-97b8803252fd
(Yes Derek, I'm agonizing over whether/how to clone/not clone depending
on the backend. But in the meantime this fills in needed function anyway.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9606 57a11ea4-9604-0410-9ed3-97b8803252fd
with entity reworjk in engine. Add GPL licenses to some of the files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9533 57a11ea4-9604-0410-9ed3-97b8803252fd
Change the event generation and callback routines to
pass a QofIdType in addition to the GUID*
* src/app-utils/gnc-component-manager.c:
* src/gnome-utils/gnc-account-sel.c:
change to match the new event API. Remove the need for
xaccGUIDType(), which means we no longer get the g_warning.
* src/backend/postgres/events.c:
* src/business/business-core/gncAddress.c:
* src/business/business-core/gncAddress.h:
* src/business/business-core/gncBillTerm.c:
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncEmployee.c:
* src/business/business-core/gncEntry.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncJob.c:
* src/business/business-core/gncOrder.c:
* src/business/business-core/gncTaxTable.c:
* src/business/business-core/gncVendor.c:
* src/business/business-core/test/test-address.c:
* src/engine/Account.c:
* src/engine/FreqSpec.c:
* src/engine/Group.c:
* src/engine/Period.c:
* src/engine/SchedXaction.c:
* src/engine/Transaction.c:
* src/engine/gnc-lot.c:
* src/engine/gnc-pricedb.c:
* src/engine/qofbook.c:
Pass the QofIdType into the event generation code.
Fixes#115988
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8776 57a11ea4-9604-0410-9ed3-97b8803252fd
- keep a list of children so we can unref ourselves from our
children when we get destroyed
- deal with parentless children
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncVendor.c:
deal with properly un-ref'ing Bill Terms and Tax Tables
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
create a scrub function to clear up bogus bill terms due to
bug #114888 which could cause bill terms to get created
due to post/unpost of invoices. Scrubs all invoices and
fixes the reference to bill terms, and updates the refcounts.
Fixes bug #114888 for bill terms.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8597 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncEmployee.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncJob.c:
* src/business/business-core/gncOrder.c:
* src/business/business-core/gncVendor.c:
add the QUERY_PARAM_ACTIVE parameter support
* src/app-util/prefs.scm: add hidden preference to store
the user's choice of searchin
* src/gnome-search/search.glade: add a checkbox to search-for-all
* src/gnome-search/dialog-search.c -- add preliminary support to
limit searches to only "active" objects. Fixes bug #103506
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7833 57a11ea4-9604-0410-9ed3-97b8803252fd
* .../business-core/gncVendor.[ch]:
* .../business-core/gncEmployee.[ch]:
Rename ...Commodity() to ...Currency()
* .../business-core/gw-business-core-spec.scm: fix function wrappings
* .../business-core/file/gnc-customer-xml-v2.c:
* .../business-core/file/gnc-vendor-xml-v2.c:
* .../business-core/file/gnc-employee-xml-v2.c:
Use new function names.
* .../business-gnome/business-gnome.scm:
* .../business-gnome/dialog-customer.c:
* .../business-gnome/dialog-vendor.c:
* .../business-gnome/dialog-employee.c:
Use new ...Currency() functions
More prep to fix#101001
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7819 57a11ea4-9604-0410-9ed3-97b8803252fd
* business/business-core/*.c: Implement BeginEdit()/CommitEdit() functions
for all the business-accounting data objects.
* Use the begin/commit calls in the GUI and file-backend.
* mostly fixes bug #96855.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7431 57a11ea4-9604-0410-9ed3-97b8803252fd