Commit Graph

5716 Commits

Author SHA1 Message Date
Christian Stimming
0a7e79c310 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6717 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-17 18:27:52 +00:00
Christian Stimming
fbcb72b678 2002-02-17 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/html-utilities.scm: Added support for
	surpressing zero amounts.

	* src/report/report-system/*-utilities.scm: Clean up
	commodity-collector calling functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6716 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-17 18:11:23 +00:00
Derek Atkins
d4a084f986 Fix the search dialog radio-buttons
Implement the "find" button
bring up a "results window"
fix a bug in the search-string code


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6714 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-16 03:18:38 +00:00
Derek Atkins
c82722fdab - Add Account Search widget(s)
Some of the QueryNew ACCOUNT_* names conflicted with entries in the
AccountFieldCode enumeration.  Hopefully, eventually, the two sets
of names can be combined.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6712 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-13 00:35:42 +00:00
Derek Atkins
77730f4233 - Consolidate debcred search UI into numeric search UI (they are
almost identical anyways).  Remove the (now defunct) debcred.
- Fix a few compiler warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6711 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-12 00:19:31 +00:00
Derek Atkins
fe68be2d9a dance a widget shuffle when rebuilding the order and invoice dialogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6710 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-11 04:32:45 +00:00
Derek Atkins
22bb2807ec make sure that you can't change an Order or Invoice after it becomes RO
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6709 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-11 03:19:26 +00:00
Derek Atkins
8fe6a5f821 have the order dialog stay open when you "close the order", so you
can actually see the change take place.

Remove the links to GNC modules and just make sure those dependencies
are loaded here.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6708 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-11 03:04:31 +00:00
Derek Atkins
ea0d741c3b AccWindow.h: Add comment about who owns the GList *
gncInvoice.[ch]: add date-posted, paid-txn
	change date-closed->date-paid
        add gncInvoicePayToAccount()
dialog-date-close.[ch]: allow list of account-types
        provide a dialog with only 1 date and account (for invoice payment)
dialog-invoice.c: provide list of accounts to date-close dialog(s)
        change 'close' to 'pay'
        hide cancel button on posted/paid invoices
dialog-order.c: hide cancel button on closed orders
search-date.c: remove unused time_t
search-param.[ch]: provide a 'type' over-ride


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6707 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-11 01:59:54 +00:00
Dave Peticolas
edbbab384a fix warnings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6706 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-10 09:57:39 +00:00
Derek Atkins
2e42ed44b9 Add UI for a bunch of new Query types, and hook them into the
Search UI.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6705 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-09 04:22:29 +00:00
Derek Atkins
1e45d1ebad QueryNew.h,QueryCore.c: change NEG_ONLY and POS_ONLY to CREDIT and DEBIT
add DEBCRED type to point to the numeric type

QueryObject.c: change SPLIT_VALUE to type DEBCRED
		add some test types

gncInvoice.[ch]: add more Invoice parameters
gncOrder.[ch]: add more Order parameters


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6704 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-09 04:18:50 +00:00
Dave Peticolas
df5d28c967 David Hampton's build system patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6700 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-08 07:17:03 +00:00
Derek Atkins
72ecd9c5a6 New Search Dialog committed to repository.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6699 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-08 05:13:49 +00:00
Derek Atkins
4c948bdabc A new generic search dialog for gnome, and a test to show how it
works.  Still more to come...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6698 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-08 05:09:52 +00:00
Derek Atkins
4f98e2cb49 Move the GetParameter function into .h from P.h -- it's useful outside
the engine


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6697 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-08 05:08:18 +00:00
Dave Peticolas
d159b826f4 fix docs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6696 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-06 08:07:17 +00:00
Derek Atkins
eb3af031c3 gncEntryLedger: add function to reset the query
dialog-order: (re)set the Order's Owner when the UI changes
dialog-invoice: (re)set the Invoice's Owner with the UI changes, and update
    the entry-ledger query to pick up the proper entries..  This can cause
    problems if the user has already attached any entries to this invoice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6695 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-06 02:41:51 +00:00
Derek Atkins
c68bf8adbd Move the query_compare_t (compraritor, or "what kind of comparrison to make")
into the Predicate Data, which allows the predicate creation functions
to sanity check the validity.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6694 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-06 02:39:01 +00:00
Derek Atkins
ba18e6db4c add COMPARE_NEQ support
add some extra tests for valid "how" values and PWARN for invalid ones.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6693 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-06 00:50:09 +00:00
Dave Peticolas
ca87c3a207 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6692 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-05 22:58:53 +00:00
Derek Atkins
a90bed0151 default to % for discount and tax interpretation types
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6691 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-05 20:27:10 +00:00
Derek Atkins
8a96da9c0d Implement "GUID_MATCH_ALL" (to enable support for the old ACCT_MATCH_ALL).
Note that this allows a user to shoot themselves in the foot if
they don't supply a parameter that returns a list.   Right now
the only valid use of this option is:

	(Trans)->TRANS_SPLITLIST->SPLIT_ACCOUNTGUID


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6690 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-05 16:39:21 +00:00
Dave Peticolas
8615b3d40a fix spelling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6688 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-05 06:21:08 +00:00
Derek Atkins
198b7d043b - gncOwner: add create/destroy functions (for scheme)
- g-wrap the gncOwner interfaces

- restructure the Extensions menu

- dialog-invoice.c: hide the 'print invoice' button until after the
		invoice has been posted

- dialog-order.c: validate the passed-in gncowner to make sure it is a
		valid type


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6687 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-05 04:11:31 +00:00
Derek Atkins
75bade2f8d convert GNC_ID_NONE to appropriate module in component_watch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6686 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 18:55:11 +00:00
Derek Atkins
5836537d92 - register gncAddress for queries
- register gncJob for queries
- add customer->address and vendor->address methods
- rename gncJobSortFunc to gncJobCompare


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6685 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 18:54:06 +00:00
Derek Atkins
a161f3714c update AUTHORS file
Reset Query when changing an invoice from ReadWrite to ReadOnly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6684 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 16:06:27 +00:00
Derek Atkins
a473c139ba regex.h is broken on Linux; it doesn't include all the necessary
headers itself (e.g. for size_t).  Stupid Linux.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6683 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 16:05:27 +00:00
Derek Atkins
b7fb090444 - register the GncOwner as another queriable type
- add to EntryLedger query for invoices; moving from an order->invoice
  will show the appropriate entries for the customer/vendor.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6682 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 02:53:13 +00:00
Derek Atkins
2a0f766c34 * fix QueryNew bug: make sure to retain book list
* Update the QueryNew API to take a GList of terms to allow
  for any number of iterative lookups (such as
  GncEntry->GncInvoice->GncAccount->GNCBook->guid) (not that this
  is a useful example ;)

* Update all the business objects to the new API -- don't distinguish
  between a parameter that returns a core type and a parameter that
  returns another object.  Note that this implies that the namespace
  is shared between the objects and core types.  Also note that this
  is not enforced in any way.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6681 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 01:55:33 +00:00
Derek Atkins
ff880b0efd * gncObject -- object registration in the engine; hook into the books
* QueryNew interface revision-1 check-in

 * update all the business objects to register with the new query system


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6680 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-03 20:01:08 +00:00
Dave Peticolas
beaab8a9f2 add includedir definition
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6679 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-31 11:39:12 +00:00
Dave Peticolas
f8548a48f3 fix warnings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6678 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-31 09:26:16 +00:00
Dave Peticolas
3a3763e085 work on rpm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6677 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-31 08:57:17 +00:00
Dave Peticolas
f048bb2f55 Fix quoting problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6676 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-31 00:00:23 +00:00
Dave Peticolas
38f414e2ed Add new paths to front of lists.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6675 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 23:57:24 +00:00
Dave Peticolas
d4a459b968 Peter O'Gorman's patch for Max OS X.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6674 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 07:38:35 +00:00
Dave Peticolas
94ad76156a update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6673 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 07:15:06 +00:00
Dave Peticolas
1ab386b01a *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6672 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 07:14:56 +00:00
Dave Peticolas
edf366ae4d fixes for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6671 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 07:14:27 +00:00
Dave Peticolas
7a250d4919 fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6670 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 01:25:01 +00:00
Dave Peticolas
8f7bf97b67 fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6669 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 01:23:17 +00:00
Dave Peticolas
3a260e160b fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6668 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 01:22:01 +00:00
Dave Peticolas
27b72190d2 fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6667 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 00:51:38 +00:00
Dave Peticolas
046b3e4508 fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6666 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 12:21:59 +00:00
Dave Peticolas
e694f8a754 fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6665 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 12:01:22 +00:00
Dave Peticolas
875e3e25fe fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6664 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 09:49:19 +00:00
Dave Peticolas
46c3d1d6b1 update file list
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6663 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 09:13:52 +00:00
Dave Peticolas
173de1ca7b fix for make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6662 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 09:10:28 +00:00