Commit Graph

7126 Commits

Author SHA1 Message Date
Linas Vepstas
b1913918b6 add an account-for-each-lot function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8114 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 02:58:25 +00:00
Linas Vepstas
c43a1b13d3 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8113 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 00:21:41 +00:00
Linas Vepstas
6a498252d5 start porting fifo code to current gnucash engine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8112 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-29 23:29:58 +00:00
Christian Stimming
18c67f9db8 2003-03-29 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/daily-reports.scm: New report
	"income vs. day of week" by Andy Wingo <wingo@pobox.com>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8107 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-29 22:21:24 +00:00
Linas Vepstas
5278b8e655 reinstate simple accounting FIFO from the gnucash-1.4 branch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8106 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-29 21:34:40 +00:00
Christian Stimming
72614fb23a 2003-03-29 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-session.c: OpenBSD fix by Todd T. Fries
        <todd@flare.fries.net>

        * src/engine/Transaction.c: OpenBSD fix by Todd T. Fries
        <todd@flare.fries.net>: time_t is not long everywhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8104 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-29 21:33:04 +00:00
Christian Stimming
36bc6d9b6b Updated function documentation for doxygen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8103 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-26 23:07:01 +00:00
Christian Stimming
039f9bd8aa Improved documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8102 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-26 00:17:26 +00:00
Christian Stimming
81b798f7d4 Forgot this part of close-on-finish fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8099 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-23 12:35:55 +00:00
Christian Stimming
3cbd89037a 2003-03-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c (GNCInteractor_hide):
	Fix close-on-finished checkbutton.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8097 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-23 12:30:42 +00:00
Christian Stimming
02687747de 2003-03-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-progressmon.c: Add descriptions of
	new HBCI actions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8095 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-23 12:07:04 +00:00
Derek Atkins
d0f88705c3 * configure.in: don't add -I$(GNC_INCLUDE_DIR) to the engine
cflags, because it can cause build warnings on platforms with
	  gcc-3.2, and frankly we don't need it since we don't install
	  before we're building.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8092 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-21 04:28:21 +00:00
Benoit Grégoire
bc887b604f 2003-03-18 Benoit Gr�goire <bock@step.polymtl.ca>
* Documentation update


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8091 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-19 05:50:20 +00:00
David Hampton
43e1882a0c Consolidate all the functions that convert time values to be the
beginning, middle, or end of a day.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8090 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-18 05:45:20 +00:00
David Hampton
f83edf6ead Collapse the DateUtils.[ch] files into date.[ch].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8089 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-17 02:02:10 +00:00
David Hampton
d417ccb041 Consolidate all the functions that convert time values to be the
beginning, middle, or end of a day.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8088 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-16 22:48:27 +00:00
David Hampton
1b90a6d09c Eliminate a critical warning message in the gnc_date widget (#106675)
and make the accelerator keys work properly when the calender part is
visible.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8086 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-16 00:40:39 +00:00
David Hampton
785a5ec85e Prevent the register refresh code from trying to update a cell that is
no longer visible.  #105346


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8084 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-15 21:16:30 +00:00
David Hampton
0e686082ce Fix problem where changing the reconciliation date of a "reverse
balance" account would cause the proposed account balance to show the
wrong sign.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8083 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-15 07:51:07 +00:00
Christian Stimming
4cb98c9779 2003-03-15 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-book.h, src/engine/*.h: Added a lot of
	documentation comments, improved doxygen output. At least the most
	important header files will now show up in doxygen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8081 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-14 23:59:25 +00:00
David Hampton
60a5555f59 Reapply Derek's fix for a crash when opening the Pref's dialog when
using guile-1.6.1.  Lost when converting to the scheme scm_xxx
 interface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8078 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-14 06:02:49 +00:00
Derek Atkins
3ff79110e7 * src/engine/Makefile.am: make sure to add INTLLIBS in case
we're compiling against an external -lintl (like on Solaris)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8076 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-14 00:25:36 +00:00
Derek Atkins
5f6edf16b8 * src/calculation/Makefile.am: fix to build on systems that don't
have GUILE installed in the system path or in the same place
	  as GLIB.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8074 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-13 21:08:32 +00:00
Derek Atkins
7572f487b0 * src/app-utils/gnc-ui-util.c:
* src/gnome/top-level.c:
	  the Account Separator option was moved to the Accounts page --
	  reference is correctly.
	Fixes #106673


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8072 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-13 04:51:24 +00:00
Derek Atkins
84542ff0c9 Fixed the changelog comment
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8070 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-13 03:48:13 +00:00
Derek Atkins
1ac9e472d1 * the Euroland currency rates were inverted in the transfer
dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8068 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-13 03:46:42 +00:00
Derek Atkins
ee167fef7b * src/scm/main-window.scm: turn off the report-total by default
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8059 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-12 04:12:29 +00:00
Derek Atkins
bd8bf330a7 * src/business/business-core/gncEmployee.c: name the employee name
the specific 'printable' name.
	* src/business/business-core/gncInvoice.c: if an invoice is owned
	  by an EMPLOYEE, then consider it an expense voucher.  Check the
	  entry payment-type and post directly to a CC account if one is
	  available.
	* src/business/business-core/gncOwner.c: use the employee->address->name
	  instead of the employee->username
	* src/business/business-gnome/business-gnome.scm: add employee items
	  to the main menu
	* src/business/business-gnome/dialog-employee.c:
	  - add a UI to choose an employee credit-card account
	  - add "expense vouchers" and "payments" to the employee search results
	  - change the search criteria and result column order
	* src/business/business-gnome/dialog-invoice.c:
	  - hide the 'job' if this is an expense voucher
	  - create an expense-voucher register is the invoice owner is an employee
	* src/business/business-gnome/gw-business-gnome-spec.scm:
	  add gnc:url-type-employee
	* src/business/business-gnome/glade/employee.glade: add the
	  UI for the CCard account
	* src/business/business-gnome/glade/invoice.glade: name the job label
	  widget
	* src/business/business-ledger/gncEntryLedger.[ch]:
	  - define an expense voucher register
	* src/business/business-ledger/gncEntryLedgerControl.c:
	  add support for expense vouchers
	* src/business/business-ledger/gncEntryLedgerDisplay.c:
	  - add support for expense vouchers
	  - add a component watch on the employee and refresh if it changes.
	    this lets us change the available payment options based on whether
	    the employee has a ccard account assigned.
	* src/business/business-ledger/gncEntryLedgerLayout.c:
	  - create the layout for an expense voucher register
	  - widen the account columns
	* src/business/business-ledger/gncEntryLedgerLoad.c:
	  - add support for expense vouchers
	  - load the payment cell based on the invoice owner -- don't allow
	    'charge' unless the employee actually has an assigned ccard account.
	* src/business/business-ledger/gncEntryLedgerModel.c:
	  - add functions to support the payment cell
	  - add support for expense vouchers
	* src/business/business-reports/business-reports.scm:
	  - add gnc:employee-anchor-text
	  - add support for employee "owner reports" and an employee link
	* src/business/business-reports/invoice.scm:
	  label the Expense Report "properly"
	* src/business/busines-reports/owner-report.scm:
	  create an "employee report"
	* src/business/business-utils/business-prefs.scm:
	  save the voucher register width
	Implements RFE #90371


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8057 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-11 05:59:51 +00:00
Derek Atkins
3b667eea2b * src/gnome-utils/gnc-account-sel.c:
If the nameList == NULL then add a blank line, to make sure
	  the selector list is really empty, rather than defaulting to all of
	  the accounts in the tree if there are none matching.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8056 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-11 04:42:25 +00:00
Chris Lyttle
511b1d3b91 update for 1.8.2 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8054 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-10 06:31:24 +00:00
Derek Atkins
0087033ae2 * src/business/business-core/gncEmployee.[ch]: added APIs to
store a Credit Card account for the employee.
	* src/business/business-core/file/gnc-employee-xml-v2.c:
	  store the employee's CC Account in the XML file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8048 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-09 22:51:04 +00:00
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