Commit Graph

7348 Commits

Author SHA1 Message Date
Linas Vepstas
0b6d1b5248 add tracing printfs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9038 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 21:18:43 +00:00
Linas Vepstas
4b6ef39dd3 redesign gemini API to be more generically useful
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9037 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 20:40:42 +00:00
Derek Atkins
584a42627b Matthew Vanecek's patch:
The attached patch and new file fix bug 90768.  I'm pretty sure I've
  done "The Right Thing (tm)" everywhere.  This patch is against HEAD.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9036 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 20:24:44 +00:00
Linas Vepstas
4b9b211bd5 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9035 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 20:10:28 +00:00
Derek Atkins
4ae577f0ec * src/*/Makefile.am: Make sure we define PWD, as not all shells
define it properly.  Fixes #119114.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9033 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 19:28:42 +00:00
Derek Atkins
9e1e5282c0 * src/gnome/reconcile-list.c: our parent is a gnc-query-list, not
a clist.  Fix a bug so we properly call the parent destroy function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9031 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 19:03:26 +00:00
Linas Vepstas
af6fbfd6ca bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9030 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 16:52:01 +00:00
Linas Vepstas
d522d5c92f oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9029 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 15:51:19 +00:00
Linas Vepstas
fa63bad02f bug fix, must scrub lots first, else hopeless confusion will reign
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9028 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 15:30:17 +00:00
Linas Vepstas
efb4b97c2f bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9027 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 15:25:26 +00:00
Linas Vepstas
1cb4946a00 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9026 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 03:37:56 +00:00
Linas Vepstas
04879e45cd update status
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9025 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 03:25:08 +00:00
Linas Vepstas
0141214808 handle Lots when closing Periods
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9024 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 03:24:16 +00:00
Linas Vepstas
835ae01df9 start adding support for Lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9023 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 00:58:27 +00:00
Linas Vepstas
f1ce512677 update status
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9022 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 00:51:46 +00:00
Linas Vepstas
126f44423a misc cleanup related to book closing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9021 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 00:29:48 +00:00
Linas Vepstas
d2c05cc616 misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9020 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 00:28:51 +00:00
Linas Vepstas
da10da860f bug fix; after this fix, I think book splitting works (except
for lots and prices)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9019 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 23:59:48 +00:00
Linas Vepstas
2f3d0a8f85 misc hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9018 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 23:19:53 +00:00
Linas Vepstas
14bed79251 misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9017 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 23:17:03 +00:00
Linas Vepstas
38b91fb51a fix traceback printing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9015 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 22:17:42 +00:00
Linas Vepstas
7cdeba0810 cleanup the save logic
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9014 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 20:25:03 +00:00
Linas Vepstas
1a4f340039 add a to-do note ...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9013 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 20:06:42 +00:00
Linas Vepstas
de6ba90d29 cleanups, tweaks to support mutiple book saving
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9012 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 19:24:05 +00:00
Linas Vepstas
a81a3cbf95 continuing cleanup to support multiple books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9011 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 19:14:05 +00:00
Linas Vepstas
b32db29aba restructuring to save multipel books in separate files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9010 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 16:46:28 +00:00
Linas Vepstas
e75f087a2f ignore more
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9009 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 16:06:28 +00:00
Linas Vepstas
cd50d51b8f change tracing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9008 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 16:02:25 +00:00
Linas Vepstas
6e00326a85 typos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9007 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 15:57:14 +00:00
Linas Vepstas
da06316955 cleanup/rearrange for multiple books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9006 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 15:56:46 +00:00
Linas Vepstas
d7e928f1ed correct inconsistent documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9005 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 14:23:19 +00:00
David Hampton
f4f87e3f81 Remove junk file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8994 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-08 21:14:54 +00:00
Derek Atkins
c482d618c4 * src/gnome/druid-loan.c: Apply patch to fix a number of
off-by-one bugs in the loan druid.  Fixes #119001.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8988 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-04 01:32:07 +00:00
Christian Stimming
92797dd5e0 Updated required OpenHBCI version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8987 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-02 23:50:45 +00:00
Christian Stimming
bbe2ae2328 Fix stupid compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8985 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-02 09:30:22 +00:00
Derek Atkins
fe64f5aeee * src/business/business-core/gncInvoice.c: set the date-entered on
invoice transactions to "now" instead of the post date.  This
	  lets us know when an invoice was actually posted, or a payment
	  was actually made.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8980 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-31 02:01:41 +00:00
Derek Atkins
500c652314 Support "gain/loss" balancing splits on stocks:
* src/engine/Transaction.c: fix xaccSplitGetPrice() to return '0'
	  if 'amount' is zero but 'value' is non-zero
	* src/register/ledger-core/split-register-model-save.c: if we've
	  already handled the debcred cell then DON'T handle the price cell
	  as it will override the debcred's value.
	* src/register/ledger-core/split-register.c: if #shares == 0,
	  price == 0, and value (buy/sell) != 0 then allow this entry;
	  it's an income/expense balancing split.
	* src/register/ledger-core/split-register-control.c: if the exchange
	  rate cell is 0 but this is NOT the blank split, then don't run
	  the exchange-rate dialog unless specifically requested.
	* src/register/ledger-core/split-register-model.c: when trying to
	  find the conversion rate for a split, remember if we found
	  a matching split (even if the amount is 0).  If all matching
	  splits are 0, then return 0, not 1.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8979 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-31 00:25:43 +00:00
Derek Atkins
e31ae9a956 * src/gnome-utils/gnc-account-tree.c: add "(Report)" strings
to the various columns displayed in the report currency.
	  Partial fix for #118695.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8977 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-30 20:30:36 +00:00
Linas Vepstas
8ba4d7b990 chasing wild geese ...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8975 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-30 05:19:17 +00:00
Linas Vepstas
49c40451db this should improve file-load performance a bit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8974 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-30 05:17:37 +00:00
Linas Vepstas
aeb7c4f928 Convert tabs to 8 spaces
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8973 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-30 01:20:51 +00:00
Linas Vepstas
a084068ce8 remove documentation cruft
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8972 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-30 01:13:10 +00:00
Derek Atkins
b3f07ca6d4 reorder the transaction lists to be ordered per the qif files
make sure we only pull in the correct set of accounts/categories


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8971 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 23:26:09 +00:00
Derek Atkins
5f5a7485ee * src/import-export/qif-context.c: add functions to get the list
of used QifAccount and QifCategory objects from the set of
	  transactions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8970 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 22:22:24 +00:00
Derek Atkins
788d113c86 * src/import-export/qif/ -- add functionality to merge multiple
qif file contexts into a single parent context while retaining
	  the ability to add/remove new files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8969 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 21:56:32 +00:00
Derek Atkins
a6a176bf94 * src/business/business-gnome/business-gnome.scm: remove
some unused (old) code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8968 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 00:56:57 +00:00
David Hampton
5fecbfccc6 Collapse the gnc_xxx_dialog_parented function into the corresponding
gnc_xxx_dialog function.  The remaining gnc_xxx_dialog function now
takes a parent pointer.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8966 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 00:17:33 +00:00
Christian Stimming
616ae5d466 2003-07-28 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Add button for
        manual adding of HBCI accounts. Fixes #117760. Requires latest
        OpenHBCI CVS -- next openhbci-0.9.13 will be out this weekend.

        * src/import-export/hbci/gnc-hbci-{getbalance,gettrans,transfer}.c:
        Add saving of the HBCI_API so that bank's status changes will now
        be remembered immediately. However this might save some
        unnecessary information to disk, but hopefully we will have fixed
        that in OpenHBCI soon.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8965 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-28 21:43:35 +00:00
Derek Atkins
5bbe9c71cf * src/gnome-utils/gnc-date-edit.c: hide the calendar popup
on enter/return keypress events (in addition to ESC).
	Fixes #118500


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8962 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-28 18:44:21 +00:00
Linas Vepstas
b6ffc7d3f3 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8961 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-28 13:13:14 +00:00