Commit Graph

6745 Commits

Author SHA1 Message Date
Derek Atkins
ef78bbefe6 * src/business/business-ledger/gncEntryLedger.c: allow the user
to enter any Action they wish.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8046 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-09 03:04:39 +00:00
Derek Atkins
b2ccbf62cf * src/import-export/import-backend.c:
* src/import-export/import-match-map.c:
	* src/import-export/import-match-map.h:
	  Chris Morgan's Baysian Matching code, to match transactions
	  based on Bayesian filtering of previously matched transactions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8044 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-08 19:48:50 +00:00
Christian Stimming
6e143835cb 2003-03-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Include a latest
	change in OpenHBCI: Use bank code from HBCI account instead of
	HBCI bank, if the available openhbci version supports it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8043 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-06 21:52:39 +00:00
Derek Atkins
9b176de263 * src/business/business-core/business-core.scm: don't export
gnc:owner-get-name -- it overrides the g-wrap'ed version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8038 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-03 22:45:31 +00:00
Derek Atkins
81a48fdb10 * src/business/business-core/business-core.scm:
don't need gnc:owner-get-name in scheme
	  add employee support to owners
	  fix bug in (gnc:owner-get-id)
	* src/business/business-core/gncEmployee.[ch]:
	  add APIs to get-guid and lookup from scheme
	* src/business/business-core/gw-business-core-spec.scm:
	  wrap employee-get-guid, employee-lookup, employee-get-id,
	  employee-get-username, employee-get-addr, owner-init-employee,
	  owner-get-employee, owner-get-name
	* src/business/business-gnome/business-options-gnome.c:
	  create an "employee option" widget set
	* src/business/business-gnome/business-urls.c:
	  define an 'employee' URL type
	* src/business/business-gnome/dialog-employee.[ch]:
	  remove old, unused search APIs,
	  add new search APIs
	* src/business/business-gnome/dialog-invoice.c:
	  add _some_ employee support.  Still doesn't contain the code
	  to display an employee-owned invoice (expense voucher).
	* src/business/business-utils/business-options.scm:
	  create an employee option type
	* src/business/business-core/gncInvoice.c:
	* src/business/business-core/gncOwner.[ch]:
	* src/business/business-core/file/gnc-owner-xml-v2.c:
	* src/business/business-gnome/business-gnome-utils.c
	* src/business/business-gnome/search-owner.c:
	  add employee support


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8036 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-03 06:47:54 +00:00
Derek Atkins
3b4bf7ad45 * src/business/business-core/gncEntry.[ch]: add interfaces
to deal with bill 'payment types', in preparation for
	  employee expense vouchers.
	* src/business/business-core/file/gnc-entry-xml-v2.c:
	  add support for the bill payment type.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8033 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-03 04:58:55 +00:00
Christian Stimming
9a6a80f65e 2003-03-02 Christian Stimming <stimming@tuhh.de>
* src/app-utils/prefs.scm: Adjust the names of register styles in
	the preferences to those names used in the register View
	menu. This didn't require changes in any option lookup code.

	* src/gnome/glade/register.glade: 'Duplicate Transaction' could
	either mean 'to duplicate a transaction' or 'the duplicate of a
	transaction'. Both need very different translations. Therefore
	changed 'Duplicate Transaction' in the register into 'Duplicate
	this Transaction' to resolve that ambiguity here.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8030 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-02 09:03:13 +00:00
Derek Atkins
a53cdaae11 * src/gnome/dialog-sxsincelast.c: make sure to resume gui refresh events
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8029 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-01 21:28:28 +00:00
Benoit Grégoire
fd94d64176 2003-02-26 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:
	-Disable -3 punishment for transactions which have an online ID.  This punished credit card transfer yet added no tangible benefit.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8023 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-26 19:00:43 +00:00
David Hampton
e4dd9a78a3 Don't override the user's toolbar style preference by calling
gtk_widget_show_all() on the toolbar.  #102041


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8022 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-23 01:51:50 +00:00
David Hampton
1ccd3cb1af Fixups for initial guile port.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8019 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 18:14:58 +00:00
Derek Atkins
de98c1ca3f * src/gnome/glade/account.glade: Increase height of
account-hierarchy druid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8017 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 18:12:37 +00:00
Christian Stimming
cad1302d86 2003-02-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Quick fix to avoid
	online transfers being sent twice to the bank.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8016 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 17:01:32 +00:00
David Hampton
d154e92e71 Initial port from the deprecated (in 1.6) guile gh_xxx interface to
the supported scm_xxx interface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8013 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 08:15:53 +00:00
Christian Stimming
5644fe4325 2003-02-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Quick fix to avoid
	online transfers being sent to the bank twice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8012 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 00:32:02 +00:00
Derek Atkins
74d2558986 * configure.in: move AS_SCRUB_INCLUDE _before_ tests so it wont
fail on gcc 3.2.2 which actually cares.  This is particularly
	  important for AC_CHECK_HEADER(S)

	* configure.in: change the configure help message from
	  "--enable-gui" to "--disable-gui", because the default is
	  enabled.  Also changed "--enable-error-on-warning" for the
	  same reason.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8010 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-19 15:58:08 +00:00
David Hampton
e7c8ee5ebd Fix 'make check' srfi problems when using guile 1.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8008 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-19 03:55:44 +00:00
David Hampton
c3cbd6124d Ignore another file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8006 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-19 03:00:48 +00:00
Derek Atkins
a3234ee702 * src/gnome-utils/dialog-transfer.c: don't round the exchange
rate when returning it to callers...  Compute it from the
	  from_amount and to_amount.
	* src/register/ledger-core/split-register.c: change the rate-cell
	  to a shares_print_info so we don't lose accuracy due to rounding
	  errors.
	  Fixes bug #106332


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8003 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-18 06:25:15 +00:00
David Hampton
07f29eae51 Have gnucash check for the HTML::TableExtract perl module since half
of the Finance::Quote modules require it.  It doesn't always get
installed properly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7999 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-17 01:35:26 +00:00
Derek Atkins
27df834fb7 * src/import-export/import-backend.c: fix a bug keeping the code
from compiling.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7997 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-16 22:11:28 +00:00
Derek Atkins
7b826467c8 2003-02-16 Herbert Thoma <herbie@hthoma.de>
* src/gnome/gnc-split-reg.c:
	  only display an euro amount in the status bar of a register window
	  if the account currency is a euro currency but NOT euro itself

	* src/gnome-utils/gnc-account-tree.c:
	  auto resize balance and total columns


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7996 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-16 21:51:22 +00:00
Derek Atkins
c30312d031 * src/import-export/qif-import/qif-file.scm:
- No need to use the 'negative' field anymore
	  - Save the default split, even if we've got a split transaction.
	    It will be useful later to make sure we have a properly balanced
	    transaction and everything has the "right sign"
	* src/import-export/qif-import/qif-objects.scm:
	  - remove the 'negative' field of a split
	  - add a 'default-split' field of a transaction
	  - change the split-amounts and set-split-amounts! functions
	    the split-amounts will also return the default-split, if it
	    exists.  set-split-amounts! will figure out if we need to
	    reverse the splits by seeing if the amounts add up to 0 and
	    coping appropriately..  This is to fix a bug where SOME programs
	    make splits positive, and some make them negative.  This should
	    deal properly in both cases, so it's a better fix for #105139.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7994 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-16 04:24:40 +00:00
Benoit Grégoire
c8dc9879a1 Remove forgotten debug output
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7990 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-14 22:02:52 +00:00
Benoit Grégoire
f08e28d1b5 2003-02-14 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:
	-Remove unused code.
	-Fix "destination account written to the matchmap even when autoselected" bug.
	-Disable destination account matching by memo, until bayesian filtering is implemented.  It's currently unlikely to help, and causes false positives since very often the type of the transaction is stored there.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7989 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-14 22:01:43 +00:00
Christian Stimming
41a6ad8efa 2003-02-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Clarify some
	HBCI strings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7987 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-14 20:50:47 +00:00
David Hampton
1624687c56 Have dump-finance-quote do a runtime check for F::Q to prevent RPM
dependencies.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7985 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-14 19:03:30 +00:00
Derek Atkins
b369620a0f * src/gnome-utils/dialog-options.c: guile-1.6 doesn't like
"()" as an empty list.  Change it to "'()" to make it happy.
	  This is backwards compatible with older guiles.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7981 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-13 21:51:04 +00:00
Derek Atkins
df47ceb93b * applied Matthew Vanecek's patch to postgres/kvp-sql.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7980 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-13 03:03:27 +00:00
Derek Atkins
c9d1f8647a revert a change that I shouldn't have committed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7978 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-11 04:14:43 +00:00
Derek Atkins
772c25105f Herbert Thoma's patch to add a "display currency" column to the account tree.
* src/app-utils/gnc-ui-util.c:
	* src/app-utils/gnc-ui-util.h:
	* src/gnome-utils/gnc-account-tree.c:
	* src/gnome/window-acct-tree.c:
	* src/scm/main-window.scm:
	  recycle ACCOUNT_BALANCE_EURO and ACCOUNT_TOTAL_EURO account tree
	  columns to display balance resp. total in default report currency

	* src/import-export/import-backend.c: in
	  gnc_import_TransInfo_refresh_destacc move g_assert before first
	  assignment, otherwise I get a syntax error


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7977 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-11 04:06:55 +00:00
Derek Atkins
2638a26001 * src/import-export/import-main-matcher.c: freeze/thaw the clist
around the iterator to ease the visual affects.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7976 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-11 03:25:37 +00:00
Benoit Grégoire
58014cfb98 2003-02-10 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-main-matcher.c: Patch by cmorgan to restrict iterative destination account matching to transactions AFTER the current one in the clist.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7975 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-11 03:12:39 +00:00
Linas Vepstas
c689597306 hpux update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7974 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-11 01:32:17 +00:00
Linas Vepstas
98fe8945d0 more updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7973 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 21:43:17 +00:00
Linas Vepstas
eff8732133 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7972 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 21:30:46 +00:00
Benoit Grégoire
d14b514571 2003-02-10 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c,h:
	* src/import-export/import-main-matcher.c: Apply most of cmorgan's patch for iterative destination account matching.  Optionally restricting to the transactions after the one being edited still need's to be implemented.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7969 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 18:59:17 +00:00
Derek Atkins
8811d1c8c2 * po/POTFILES.in: fox for the search-param.c move
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7968 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 18:29:11 +00:00
Chris Lyttle
7249185d8e info fix for rpm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7967 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 06:43:34 +00:00
Derek Atkins
1ae36e8eb0 Move some files around in preparation for re-factoring the
reconcile-list code:
	* src/gnome-search/Makefile.am: removed search-param.[ch]
	* src/gnome-search/search-param.[ch]: moved the search-param to gnome-utils
	* src/gnome-utils/search-parah.[ch]: moved search-param from gnome-search
	* src/gnome-utils/Makefile.am: added search-param.[ch]


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7964 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-10 05:22:50 +00:00
Derek Atkins
0422dd5f1f * src/gnome/glade/sched-xact.glade: Need to start the Editor dialog
as non-visible so the ledger get's sized properly
	* src/gnome/dialog-scheduledxaction.c: resize the cal after the
	  dialog is shown, so it get's sized properly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7961 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-09 19:09:37 +00:00
Derek Atkins
93012955e1 * src/report/standard-report/advanced-portfolio.scm: add extra
arguments to prevent scheme crash.
	Fixes 105405


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7959 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-09 16:02:34 +00:00
Derek Atkins
b23d951b22 * src/register/ledger-core/split-register-control.c
If we're expanded, ignore TRANS cursor classes.  This prevents
	  a bug where the exchange-rate dialog is realized when there really
	  is nothing to do (because we're in an expanded transaction).
  	* src/register/ledger-core/split-register-model.c
	  Don't PERR() if we have no account -- this prevents annoying
	  messages when handling multi-currency txns in the GL.  Note:
	  all GL txns are displayed in the locale currency (if possible).
	* src/register/ledger-core/split-register.c
	  AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return
	  TRUE, not FALSE.

	Fixes 105319


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7957 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-09 15:42:29 +00:00
Derek Atkins
ab6bfbe2b3 * src/scm/main.scm:
* src/scm/command-line.scm:
	  Add a flag to make it easier to turn on and off the various debug
	  messages (except the tip-list, which needs to be done manually).
	* src/scm/tip-list.scm: change the 'development' message


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7954 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-07 15:19:03 +00:00
Derek Atkins
959e192d04 * src/bin/overrides/gnucash-build-env.in: add business-utils
* src/business/business-utils/Makefile.am: make scm-links so you
	  can run gnucash from within the build tree


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7952 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 21:40:05 +00:00
Derek Atkins
10d6ff1c68 * src/app-utils/gnc-ui-utils.c: Don't round unless force_fit is true.
Fixes Debian Bug #179802.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7948 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 16:01:19 +00:00
Derek Atkins
fe2e91565d * src/engine/gnc-lot-p.h: some strange platforms assume "char" is
0..255 instead of -128..127.  Force a "signed char" to make sure
	  we get the latter interpretation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7946 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 14:05:23 +00:00
Benoit Grégoire
dc840a9ef7 2003-02-04 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Add heuristic for duplicate matching by check number.
	* doc/README.OFX: Update


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7945 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 00:01:16 +00:00
Derek Atkins
bc9f171dd7 * src/import-export/qif-import/qif-file.scm: mark "splits" as negative
to make sure the numbers are reflected appropriately.
	* src/import-export/qif-import/qif-objects.scm: add a neg? value to
	  a qif-split; use this when converting the split-amount.
	Fixes bug #105179


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7942 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-04 15:47:21 +00:00
Derek Atkins
99620e4d4e * src/scm/main.scm: fix "development version" message in head
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7941 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-04 02:59:05 +00:00