Commit Graph

5716 Commits

Author SHA1 Message Date
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
Dave Peticolas
fdf3ec308d more register work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6626 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 07:12:54 +00:00
Dave Peticolas
7cc079f854 more register work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6625 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 05:51:06 +00:00
Dave Peticolas
26fb382282 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6624 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 05:47:28 +00:00
Derek Atkins
c36cba6468 - add VIEW option to the general-select
- create appropriate general-select functions for Jobs
- hook general-select job functions into the owner dialog (business-utils)
- set read-only hook for ORDER_VIEWER and INVOICE_VIEWER entry ledgers


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6623 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 05:34:48 +00:00
Dave Peticolas
977861933f Add read-only api to models.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6622 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 04:45:26 +00:00
Derek Atkins
7270c1d5fd - Add a "date-close" dialog that basically asks for confimation
of closing and sets the close-date (for when you close out an
  order to post an invoice).

- Refactor the Entry Value computation so that it is possible to
  compute the values in real-time (although it's not used at the
  moment)

- Change the Order Entry UI to make it a but clearer.

- change the EntryLedger to allow RO and RW entries for Invoices and
  Orders.

- Implement closing an Order; Opening (editing/viewing) a closed should be
  a read-only operation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6621 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 02:27:02 +00:00
Dave Peticolas
03e8cb46f7 add timing test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6620 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-17 10:42:18 +00:00
Dave Peticolas
bd18695643 Remove static xaccTransGetBook.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6619 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-17 08:42:08 +00:00
Derek Atkins
f1c2b5551f Cope properly if the entity_type is NULL
Solaris doesn't deal properly with printf("%s", NULL)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6618 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-17 05:12:49 +00:00
Dave Peticolas
12cea663aa right-align number cells (why was this changed at all)?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6617 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-16 08:48:50 +00:00
Dave Peticolas
671155bf45 right-align number cells
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6616 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-16 08:47:40 +00:00
Derek Atkins
5564e42695 Add "GetValue()" method to an Entry and move the value computation
into the Entry from the Invoice.
Add more hooks to post an Invoice to an Account and lookup
an invoice from a transaction


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6615 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 04:25:55 +00:00
Derek Atkins
b33d7793ad Add a hook to get the GNCBook* from a Transaction
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6614 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 04:23:59 +00:00
Dave Peticolas
38d636156b * src/engine/gw-glib-spec.scm: remove
* src/engine/gw-engine-spec.scm: g-wrap split & trans lookup

* src/engine/gnc-engine-util.h: add more timing utils

* src/engine/gnc-engine-util.c: add more timing utils

* src/engine/Transaction.h: g-wrap split & trans lookup

* src/engine/Transaction.c: g-wrap split & trans lookup

* src/engine/Makefile.am: Take out glib wrapping cruft


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6613 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 03:05:26 +00:00
Derek Atkins
37704c673a Fix for Solaris: Can't use 'if ! $(GUILE) ...' so rebuild
the if/else to actually work properly


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6612 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 01:48:58 +00:00
Dave Peticolas
65797d5e8c *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6611 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-10 00:30:53 +00:00
Dave Peticolas
4f58621b80 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6610 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-10 00:16:19 +00:00
Dave Peticolas
ae8a6d33d3 take out automake 1.5ism
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6609 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:56:01 +00:00
Dave Peticolas
8b5b813cf6 remove generated file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6608 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:44:05 +00:00
Rob Browning
73ba017924 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6607 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:13:39 +00:00
Rob Browning
0aa250cb61 * src/scm/main.scm (gnc:safe-strcmp): new public function -- we
were using a g-wrapped version, but that seemed more expensive
than necessary.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6606 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:12:03 +00:00
Rob Browning
d89db5340a * src/report/standard-reports/transaction.scm (trep-renderer):
quit using gnc:glist->list and gnc:list->glist -- new g-wrap
eliminates need.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6605 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:11:07 +00:00