Commit Graph

5538 Commits

Author SHA1 Message Date
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
Dave Peticolas
214f46c2bd * src/report/standard-reports/account-piecharts.scm: bump up default
pie chart height

* src/bin/overrides/gnucash-env.in: set LTDL_LIBRARY_PATH, too

* macros/gnome-gdk-pixbuf.m4: fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6661 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 08:53:39 +00:00
Linas Vepstas
38a6d9f1cb japanese translation <iwashita@center.nitech.ac.jp>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6657 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 08:07:05 +00:00
Linas Vepstas
6f5f15abae translation from Tomokazu Iwashita
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6656 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 08:04:39 +00:00
Dave Peticolas
63a3dcef61 David Hampton's UI tweak patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6655 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-28 23:11:21 +00:00
Derek Atkins
a8d8147273 Add new interface to create an account with a list of valid types
(so the caller can limit the account type(s) of a newly-created account)

Add new interface to convert from UI-local account-type-string back
to the account type enum.

Use these interfaces in the date-close dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6653 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-26 04:57:53 +00:00
Dave Peticolas
ce26a0fb11 update man pages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6652 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-25 23:23:34 +00:00
Derek Atkins
98291af675 Fix bug: if you enter a non-existant account and hit 'ok' while still
in that cell, it would save an invalid entry.  Now it will run
the 'traverse()' code before it verifies that it can close the cell.

Move the 'verify_close' into Control.c, and remove a few unnecessary
global functions.  I.e., dont expose 'save' -- other components
should call verify_close() to perform the save.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6650 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-25 22:41:45 +00:00
Derek Atkins
47e7a13110 Fix the traversal code to actually work right. Now tabbing off the end
of the line does the same thing as clicking out of a cursor.  This is
especially useful if you are going back to edit an older entry.

Add some more logic to the autocompletion code, not that it actually
autocompletes on anything.

Test for a valid entry before allowing the cursor to move.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6649 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-25 20:24:15 +00:00
Dave Peticolas
8357ea18a3 update 'cell changed' api
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6647 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-24 23:19:47 +00:00
Dave Peticolas
19cadf17da Peter O'Gorman's file i/o patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6646 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-24 06:34:49 +00:00
Derek Atkins
243babdc03 More Invoice/Order updates/fixes:
- check if the current entry changed and ask to commit when the
  order/invoice is commited (via ok, close, or post)
- save the entry_ledger in the order; destroy it at dialog exit
- fix bug in the entry_ledger model: get_inv_entry would never reset itself


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6644 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-24 04:27:41 +00:00
Dave Peticolas
101cbeaa0b undo change, add docs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6643 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-24 01:56:33 +00:00
Derek Atkins
88aac579bc - Refactor invoice dialog creation; keep dialog open after a 'post'
- add API to convert an Entry Ledger from RW to RO
- destroy blank split when E.L. is destroyed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6642 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-24 01:28:21 +00:00
Derek Atkins
cf012be7fd Hook the Entry Ledger into the component manager
fix the 'account creation is not noticed' bug
set up closer to 'provide a query' interface


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6641 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-23 23:05:11 +00:00
Dave Peticolas
566e52044c fix bug. increasing == ASC
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6640 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-23 12:24:51 +00:00
Derek Atkins
7c0d00b623 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6639 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-23 05:39:23 +00:00
Derek Atkins
5ecc0f2069 include dialog-invoice.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6638 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-23 05:37:26 +00:00
Derek Atkins
32498374b6 - gncInvoice:
terms -> string
  add 'reverse' flag to 'post'
- create invoice dialog
- add date/account picker for posting an invoice (choose post date,
  due date, and post account)
- hook invoice dialog into order dialog
- hook invoices into Entry Ledger
- switch order on 'type' cells in Entry Ledger to default to %, so
  order is now %, $, +%, +$  (+ implies pre-tax computation)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6637 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-23 03:58:07 +00:00
Derek Atkins
4d54387978 - Support Vendor-owned Jobs.. Fill in all the GNC_OWNER_VENDOR place
holders with appropriate code.
- Change gncJob{Get,Set}Desc to {Get,Set}Reference to better reflect
  its purpose in life


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6636 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 17:16:02 +00:00
Derek Atkins
7e2891f0d8 Change Job to use GncOwner instead of GncCustomer -- this lets
you create Jobs for Vendors as well as Jobs for Customers.
Still needs more Vendor support to maintain a Job list.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6635 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 15:51:14 +00:00
Derek Atkins
fb0ae8b224 - Update the Order dialog
- Print values for Value and TaxValue cells in all cases


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6634 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 02:48:52 +00:00
Dave Peticolas
4ffe3dc1d9 make description expandable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6633 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 02:07:48 +00:00
Derek Atkins
9a5cdc4217 Add "Tax Value" cell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6632 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 01:51:59 +00:00
Dave Peticolas
e05e1f7f6d fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6631 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 00:30:48 +00:00
Derek Atkins
5b72d78b85 Small IO flags cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6630 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 00:23:25 +00:00
Dave Peticolas
264432e1f9 fix traversal
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6629 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-22 00:07:42 +00:00
Derek Atkins
79ec65dc48 Set the Value Cell in the current cursor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6628 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 23:35:50 +00:00
Derek Atkins
ca457c00f0 More work on the Order Dialog and Entry Ledger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6627 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 22:59:44 +00:00