Commit Graph

5716 Commits

Author SHA1 Message Date
Dave Peticolas
775f552770 David Hampton's reconciliation patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6787 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 19:33:47 +00:00
Dave Peticolas
d8c82e2d64 David Hampton's placeholder account patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6786 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 08:00:43 +00:00
Linas Vepstas
1473470d76 update docos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6782 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 22:28:26 +00:00
Linas Vepstas
bfd655f160 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6781 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 21:53:39 +00:00
Dave Peticolas
6046b713da James A. Treacy's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6780 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-16 22:44:09 +00:00
Chris Lyttle
e845e4c3d4 update for stable release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6776 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-11 20:12:54 +00:00
Dave Peticolas
b90b076f54 Fix DB_LIBS setting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6772 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 23:28:33 +00:00
Derek Atkins
c26038103e change the structure member name:
version -> interface_version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6771 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 03:07:26 +00:00
Derek Atkins
cfd8718a42 * Plug-in Extensions for backends, so pluggable objects can
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
2002-03-04 19:34:52 +00:00
Dave Peticolas
136d8e4bd4 David Hampton's account deletion patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6767 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:56:48 +00:00
Dave Peticolas
af6169c07a David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6766 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:53:59 +00:00
Dave Peticolas
91b2f1d5f2 David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6764 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:34:37 +00:00
Dave Peticolas
202d7ce6d5 David Hampton's ignore patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6763 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:45 +00:00
Dave Peticolas
4354b2e89f David Hampton's spec file patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6762 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:03 +00:00
Dave Peticolas
5e04748f71 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6761 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:30:48 +00:00
Derek Atkins
de7ac5c52e change string-searches to default to case-insensitive
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6760 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 02:31:27 +00:00
Derek Atkins
e83341b8c7 - Add new Backend method, counter(), which increments a named counter and
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
2002-03-03 02:17:07 +00:00
Dave Peticolas
4bacc6a9eb fix specs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6758 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:08:25 +00:00
Dave Peticolas
87e4f059df add NULL is_dirty entry to static object
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6757 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:02:56 +00:00
Dave Peticolas
0cc0516ef5 Check for null id_type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6756 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:02:17 +00:00
Dave Peticolas
2866ec7d13 suspend gui refresh during update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6755 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-02 23:59:54 +00:00
Derek Atkins
e130451499 emit gnc events for the business objects.
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
2002-03-02 18:55:01 +00:00
Derek Atkins
587430402d change API to supply a "const GUID *" because it's read-only
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6753 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-02 18:53:15 +00:00
Derek Atkins
bc76542925 gncVendor.c: convert terms to string
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
2002-03-01 21:45:54 +00:00
Dave Peticolas
902e35b2c7 David Hampton's build system patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6751 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-01 07:53:07 +00:00
Derek Atkins
2e801a6460 gncCustomer: change terms from gint to string
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
2002-03-01 04:15:01 +00:00
Dave Peticolas
8e51e62781 David Hampton's make distcheck patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6749 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 08:31:32 +00:00
Derek Atkins
a2f360a38b srfi-19: Fix date->string to work with guile-1.4/slib-2d2
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
2002-02-28 05:10:07 +00:00
Derek Atkins
38f3120e14 change the Order API to take "Timespec" instead of "Timespec*"
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
2002-02-28 00:55:34 +00:00
Dave Peticolas
bc0eb9c8cc David Hampton's register patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6742 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-27 06:45:56 +00:00
Derek Atkins
24384eb99a gncOrder: add reference
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
2002-02-27 04:52:33 +00:00
Derek Atkins
d23182e372 gncInvoice: change interfaces from "const Timespec *" to "Timespec"
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
2002-02-26 23:42:11 +00:00
Derek Atkins
f840788ccb Create a new Invoice Report to print a GncInvoice
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
2002-02-26 06:07:09 +00:00
Dave Peticolas
96dcbfcc7e work on cm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6738 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-25 09:49:13 +00:00
Derek Atkins
c659be0528 wrap a bunch of the core business objects
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
2002-02-25 05:02:21 +00:00
Derek Atkins
4e436926a3 Add hook to print invoice. Still need to write the invoice print
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
2002-02-25 03:20:45 +00:00
Derek Atkins
dc3c3c75ca QueryObject: Move the 'Param Function Getter' to the public API
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
2002-02-24 22:43:54 +00:00
Derek Atkins
3c71341542 - Provide 'QUERY_PARAM_GUID' to abstract the guid parameter. Remove all
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
2002-02-24 22:12:24 +00:00
Derek Atkins
bf7c875a8e Change the NewItem Callback so that it's always modal to the
search dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6733 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-24 20:23:29 +00:00
Derek Atkins
b555a3f8c1 - make ID and dates immutable
- 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
2002-02-24 19:15:19 +00:00
Derek Atkins
e6f16dd283 gncInvoice/gncOrder: add Printable object method
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
2002-02-24 04:01:57 +00:00
Derek Atkins
018114f27d Set dialogs to modal only when there is a parent. Top-level dialogs are
not modal.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6729 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-23 05:20:40 +00:00
Dave Peticolas
1bbf3cbe7a allow watching on any type. fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6728 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-22 23:48:31 +00:00
Derek Atkins
54b287a5ed API change: let the new_item callback decide whether to close the
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
2002-02-22 17:35:17 +00:00
Derek Atkins
499a66489b - glade files updated in preparation for a "new" dialog and an entry window
- 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
2002-02-22 17:05:20 +00:00
Derek Atkins
87f42e1e39 dialog-invoice: fix modality
dialog-order:	fix modality
dialog-job:	fix modality
		fix bugs in order/invoice hooks
		don't destroy job in some cases
dialog-job-select:	update job picker after "new job" callback


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6725 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-22 06:39:02 +00:00
Derek Atkins
af7d55fc6b - Change the dialog-search "choose" API to provide a parent widget...
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
2002-02-22 03:58:44 +00:00
Derek Atkins
9c15c95177 - A few API changes to make functions more "similar"
- 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
2002-02-21 04:54:24 +00:00
Derek Atkins
76e2727955 src/gnome-search/ changes:
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
2002-02-19 18:23:53 +00:00
Derek Atkins
26e28423ab - Query.h: change to interoperate with QueryNew.h
- QueryNew.h: change to interoperate with Query.h
- dialog-search.c: privatize GNCSearchType, add GNCSearchResultCB,
	change callback API, clear selection on 'cancel', destroy the
	queries at destruction time, add choose() function
- dialog-search.h: privatize GNCSearchType, change callback APIs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6718 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-17 19:32:01 +00:00