Commit Graph

6847 Commits

Author SHA1 Message Date
Linas Vepstas
c45c2da35e misssed a spot - remove more bogus arguments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8136 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:50:32 +00:00
Linas Vepstas
a55b0c4196 get rid of bogus subroutine argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8135 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:46:36 +00:00
Linas Vepstas
496015a5b6 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8134 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:25:37 +00:00
Linas Vepstas
f1e8ae9e0d d of bogus argument to scrub functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8133 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:25:19 +00:00
Linas Vepstas
0a70aea1d7 get rid of bogus argument to scrub functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8132 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:24:29 +00:00
Linas Vepstas
f2fdc583f6 remove bogus argument to Scrub functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8131 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:23:39 +00:00
Linas Vepstas
413ff3ad12 get rid of spurious argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8130 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 02:50:02 +00:00
Linas Vepstas
93d30df886 fix bugs, start adding routine to perform the double-balance check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8129 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 19:04:42 +00:00
Linas Vepstas
952ef55424 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8128 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 18:40:40 +00:00
Christian Stimming
5e1957174f Forgot to install scheme file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8127 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 12:42:41 +00:00
Linas Vepstas
8bedf26761 fill in more of the lot-scrubbing algorithm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8125 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:32:36 +00:00
Linas Vepstas
d0adc936c3 add notes, update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8124 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:30:51 +00:00
Linas Vepstas
d694fb5a4e fix formating
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8123 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:29:19 +00:00
Linas Vepstas
eb0b60038c fix some notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8122 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 05:44:12 +00:00
Linas Vepstas
7c5f5fcaf3 never mind; we really do *not* have any use for these funcs;
things will be handled very differently.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8121 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:50:09 +00:00
Linas Vepstas
18cc347bae fill in more functions to clean up lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8120 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:45:48 +00:00
Linas Vepstas
c39c2be3be oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8119 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:09:45 +00:00
Linas Vepstas
d328d40114 add utility routine to get earliest split in lot
convert tabs to spaces


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8118 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:08:55 +00:00
Linas Vepstas
e701237359 fix a FIXME note
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8117 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:30:42 +00:00
Linas Vepstas
f8e733bb52 start working on functions to cleanup up usage of Lots in trading accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8116 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:03:02 +00:00
Linas Vepstas
5fc7551350 remove obsolete commentary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8115 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:01:23 +00:00
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