provide backend-support without changing the core backend
implementation.
* src/engine/gncObject: Add a 'mark_clean' data-type method()
add backend extension registration.
* src/engine/gnc-book.c: use mark_clean object interface
* src/backend/file/io-gncxml-v2: use the backend extensions
* src/business/business-core/gnc*: add the mark_clean methods
add commodities to many objects
* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug
* src/business/business-core/file: the XML backend extensions for
business objects.
* src/business/business-gnome/dialog-*: supply default commodities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
returns the new value.
- Add gnc_book_get_counter() which implements the API and calls the
counter() method in the backend if it exists. If not, it stores the
counters in the Book KVP Frame.
- Modify all the Business objects to use the new counter API. Counter is
gint64 so modify all the users to expect that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6759 57a11ea4-9604-0410-9ed3-97b8803252fd
change the address API to know about its parents' guid, and emit events
based upon the parent
get the job-select dialog to use events to update
fix a crash in the invoice and order dialogs when creating a new one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6754 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-search: update on events.
restructure code to try to make it more asynchronous.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6752 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry: emit engine events for changes
emit an event when the order is set: 'owner' modified
gncOrder: add the entry to the order before setting the entry
business-gnome.scm: change the API for invoice/order find/edit functions
dialog-customer: change terms entry to a GtkEntry; handle as string
integrate invoice/order API changes
dialog-invoice: change find/edit API; start work for asynchronous UI
dialog-order: change find/edit API; start work for asynchronous UI
dialog-vendor: integrate invoice/order API changes
dialog-job-select: integrate invoice/order API changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6750 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry: add date_entered for better sorting
change SetDate methods from "Timespec*" to "Timespec"
update entry ledger to use new function calls
Fix a comparison bug in Entry/Invoice/Order. Compares now
work correctly.
Updated invoice report; use date->string to print today's date;
flags to print notes. Added more flexibility in what gets printed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6748 57a11ea4-9604-0410-9ed3-97b8803252fd
g-wrap more of the business objects
create a job and order in the test data
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6747 57a11ea4-9604-0410-9ed3-97b8803252fd
make reference editable
add g-wrap for reference
invoice.scm: add order reference(s) to Invoice output
Fix invoice-reload for testing. It works, now (thanks, rlb)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6741 57a11ea4-9604-0410-9ed3-97b8803252fd
for the setter methods
Improved invoice report
wrapped a few more business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6740 57a11ea4-9604-0410-9ed3-97b8803252fd
remove the "Invoice" report from the old register report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6739 57a11ea4-9604-0410-9ed3-97b8803252fd
add 'ReturnValue' and 'ReturnTaxValue' functions for simplicity of wrapping
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6737 57a11ea4-9604-0410-9ed3-97b8803252fd
routine (in scheme), but the hook curently exists to do so.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6736 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-search: don't forget out last-selected item when we refresh
add 'new item' to the query if we're staying open
search-param: fix a compiler warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6735 57a11ea4-9604-0410-9ed3-97b8803252fd
the *_GUID defines, and change them all the QUERY_PARAM_GUID.
- Add a gncObject is_dirty() method, and have the book call it --
this gives the UI a means to warn the user if any business objects
changed.
- abstract out the storage methods in the business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6734 57a11ea4-9604-0410-9ed3-97b8803252fd
- remove order/invoice buttons from Job
- only provide 'select job' when using _choose(), not _find()
- fix text in Invoice: closed -> posted
- Invoice dialog: check for changes in the current cursor when you Post
- entry ledger: don't ask if the only change is mapping an entry to an invoice
- date-close: set 'ok' to default button
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6732 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-invoice,dialog-order: integrate 'New' dialogs
remove 'cancel' in ledger windows
invoice.glade/order.glade: rename 'ok' to 'close' in ledger windows
dialog-search: update search results after callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6731 57a11ea4-9604-0410-9ed3-97b8803252fd
search dialog or whether the dialog should add the new item to
the "found" list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6727 57a11ea4-9604-0410-9ed3-97b8803252fd
- fix the creation functions to allow orders and invoices with no entries.
only complain about lack of entries when you try to close/post the
order/invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6726 57a11ea4-9604-0410-9ed3-97b8803252fd
If it is provided, set the dialog's parent and make the search dialog modal
- fix all the other searches to use the new api
- update the job and job-select dialogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6724 57a11ea4-9604-0410-9ed3-97b8803252fd
- Change _find() api's to _find() and _choose(), where the former
returns void, and the latter supplies a 'select' button to choose
a item.
- More integration of gnome-search, including more button callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6722 57a11ea4-9604-0410-9ed3-97b8803252fd
Change search-dialog API to provide a start_query and a
show_start_query for the base limiting query and
the query to show at dialog start-time.
add new_item button callback
change the button-list callback API
Don't ignore the last criterion while building the query
create gnc_search_param_prepend() API to build arbitrary paramters
src/business/business-core/ changes:
Extend some of the available parameters for business objects.
Add APIs (and paramters) for Orders and Invoices to return
'closed', 'posted', and 'paid' status.
src/business/business-gnome/ changes:
Rebuild the Job-Search dialog (more changes to come)
integrate the gnome-dialog into everything.
remove the (old) business-chooser dialog; use the search instead
improve the Extensions menu to show off the business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6720 57a11ea4-9604-0410-9ed3-97b8803252fd