Commit Graph

1569 Commits

Author SHA1 Message Date
David Hampton
a65418bfbe Restore some lost changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8289 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 23:09:26 +00:00
Christian Stimming
c44f4e726e 2003-05-09 Christian Stimming <stimming@tuhh.de>
* macros/openhbci.m4: Fix openhbci macro again so that it uses a C
	check program.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8286 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:54:06 +00:00
Derek Atkins
5f35450e82 * acconfig.h: remove duplicate entries (for use with more recent autoheader)
* configure.in: supply AC_PROG_CXX to fix the automake-1.7 problem


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8283 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 02:48:54 +00:00
Derek Atkins
942578370a * configure.in: fix some AC_DEFINE macros
* macros/autogen.sh: a bit more work on the version searches.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8282 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 00:58:23 +00:00
Derek Atkins
b9546bb9cc * configure.in: add AC_PREREQ(2.53) to require 2.53 :)
* macros/autogen.sh: add more searches for a good version of
	  the autotools.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8281 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 00:29:11 +00:00
Derek Atkins
fe083155f1 * macros/autogen.sh: require autoconf >= 2.53 and automake >= 1.5
Also look for appropriately-named versions on systems like RH7.3


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8277 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-08 02:05:15 +00:00
Christian Stimming
f106080ed7 2003-05-05 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c, gnc-hbci-utils.h,
	gnc-hbci-utils.c, hbci-interaction.h, hbci-interaction.c: Add
	*much* better error checking -- the user now gets almost always
	correct feedback if an online transfer cannot be executed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8275 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-05 21:53:27 +00:00
David Hampton
14197bbb5c Fix problem with latest versions of autoconf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8273 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-05 14:52:35 +00:00
Christian Stimming
4592351b98 2003-05-03 Christian Stimming <stimming@tuhh.de>
* configure.in: Fix hbci and ofx test for handling --disable
	correctly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8271 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-03 20:58:45 +00:00
Derek Atkins
344f879d28 * src/import-export/qif-import/qif-parse.scm: Don't assume that a
date of the form XXXXXXXX is always YYYYMMDD.  There is at least
	  one example where it is MMDDYYYY.  So, test it both ways:
	  xxxxYYYY and YYYYxxxx.  Make sure a 4-digit year "makes sense"
	  (e.g., the year is after 1930). Fixes bug #111889.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8266 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-02 04:08:00 +00:00
Derek Atkins
937ec37a9b * src/engine/test/Makefile.am: disable the test-scm-query-import
test, since it breaks on guile-1.6 (which does mean that
	  importing into a guile-1.6-based system will fail, but so much
	  else fails when upgrading from 1.6 to 1.8 that it really doesn't
	  matter.  Users will have to reset their reports anyways.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8254 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-29 13:57:54 +00:00
David Hampton
2fc7cc7372 Consolidate all the tests for an ISO 4217 commodity into a pair of
functions.  Use these functions throughout the code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8252 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-29 06:15:34 +00:00
David Hampton
c38ccd4dfd Consolidate duplicate strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8250 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-26 21:27:01 +00:00
Christian Stimming
b863163d96 2003-04-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Adapt to latest
	OpenHBCI changes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8245 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-22 21:58:25 +00:00
Derek Atkins
f55d2ac430 * src/business/business-reports/aging.scm: fix the percentage
calculations so we don't get GtkCritical warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8241 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-21 16:22:15 +00:00
Derek Atkins
2182267e68 * src/import-export/qif-import/qif-file.scm: Don't try to
parse values that begin "..." because it is clearly not
	  valid (regardless of the locale).  Fixes #109868.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8238 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-21 03:08:50 +00:00
Derek Atkins
3e8b3867f8 * src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-employee.c:
	* src/business/business-gnome/dialog-job.c:
	* src/business/business-gnome/dialog-vendor.c:
	  Enable changing the "ID" for different business objects.
	  Fixes #108563.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8236 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-21 02:38:06 +00:00
Derek Atkins
0f490506b4 * src/report/standard-reports/transaction.scm: Applied Tomas
Pospisek's patch to the transaction report (fixes bug #110598)

	* src/gnome-utils/gw-gnome-utils-spec.scm: fix the description
	  of gnc:mdi-show-progress.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8235 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-21 02:22:55 +00:00
Derek Atkins
9e1c909019 Herbert Thoma's multi-currency patch (#3):
* src/engine/Account.c: move currency conversion to gnc-pricedb.c

	* src/engine/gnc-pricedb.c
	* src/engine/gnc-pricedb.h: add functions
	  gnc_pricedb_convert_balance_latest_price and
	  gnc_pricedb_convert_balance_nearest_price

	* src/engine/gw-engine-spec.scm: wrap functions
	  gnc_price_list_destroy, gnc_pricedb_lookup_latest_any_currency,
	  gnc_pricedb_lookup_nearest_in_time_any_currency,
	  gnc_pricedb_convert_balance_latest_price and
	  gnc_pricedb_convert_balance_nearest_price

	* src/report/report-system/commodity-utilities.scm: use
	  gnc:pricedb-convert-balance-latest-price and
	  gnc:pricedb-convert-balance-nearest-price to improve
	  multiple currency reports

	* src/report/standard-reports/advanced-portfolio.scm:
	  improve report for stocks and funds not denominated in report currency


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8234 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-20 23:50:39 +00:00
Christian Stimming
76d96bb991 2003-04-16 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c,
	src/import-export/hbci/hbci-interaction.c: Adapt to latest changes
	in OpenHBCI CVS.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8233 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-15 22:38:52 +00:00
Christian Stimming
96280e4e4a 2003-04-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c: Fix some user
	messages where chip cards were confused with key files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8230 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-14 20:56:14 +00:00
Derek Atkins
a2e2bda6d8 Applied Herbert Thoma's patch:
* lots of files...
	  fixes for GCC 3.3 warnings
	  comparison between signed and unsigned and
	  dereferencing type-punned pointer will break strict-aliasing rules
	  fixes #110320

        * src/engine/gnc-pricedb-p.h
        * src/engine/gnc-pricedb.c
        * src/engine/gnc-pricedb.h:
	  gnc_pricedb_lookup_at_time_any_currency,
	  gnc_pricedb_lookup_day_any_currency and
	  gnc_pricedb_lookup_nearest_in_time_any_currency functions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8223 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-12 16:53:22 +00:00
Derek Atkins
73a59d5ed4 * src/engine/Transaction.c: xaccSplitGetCorrAccountCode() should
actually return the account Code, not the account Name!  Fixes
	  #110561.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8220 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-11 15:13:55 +00:00
Derek Atkins
9d3cb97bb5 * src/gnome-search/search-date.c: Evaluate the date during
get_predicate() in case the user just "hit return" (and the
	  auto-evaluate didn't happen).  Fixes bug #106444.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8210 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-07 00:24:02 +00:00
Derek Atkins
9c2d34d4ae * src/gnome-util/transfer-dialog.c: Pop up a dialog if the user
tries to transfer from a non-currency account, and don't let
	  them do it.  Yes, this means you cannot transfer between mutual
	  funds, but the logic for that can be added later.  This fixes
	  bug #109641.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8208 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-07 00:03:08 +00:00
Derek Atkins
b4edce8281 * src/report/standard-report/transactions.scm: symbols are not
strings in guile-1.6.  Fixes debian bug #186004.
	* doc/gnucash.1.in: it's --add-price-quotes (not quote)
	* src/app-utils/date-utilities.scm: fix "WeekDelta" and add
	  TwoWeekDelta.  Fixes debian #185860.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8184 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-05 04:18:21 +00:00
Derek Atkins
20b18eff5c * src/scm/main.scm: guile-1.6 requires empty lists to be quoted
(fixes debian bug #186188)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8182 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-03 16:15:34 +00:00
Benoit Grégoire
16d283bcb4 2003-04-03 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-commodity-matcher.c: Fix debian bug #187061
	Crash during import of investment accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8181 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-03 16:06:05 +00:00
Benoit Grégoire
351a4c689a 2003-04-02 Benoit Gr�goire <bock@step.polymtl.ca>
* po/POTFILES.in,
	src/import-export/ofx/Makefile.am,
	src/import-export/ofx/ofx.glade: Remove obsolete ofx.glade
	* po/fr.po: Update french translation again, 200 more messages handled


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8179 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 21:37:12 +00:00
Derek Atkins
c0406511c5 * src/business/business-reports/owner-report.scm:
* src/business/business-reports/aging-report.scm:
	  Fix a couple strings to improve comments when owners and accounts
	  are missing.  Direct the user to select them in the report options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8168 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:31:48 +00:00
Derek Atkins
875e3e49bc When building the "name + address" string, check if the
company name and contact name are the same and, if so,
	  only print one of them.  Fixes #109753.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8163 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:38:23 +00:00
Derek Atkins
2e6325afe1 * src/business/business-gnome/glade/date-close.glade:
Fix the glade settings so resizing the window will properly
	  resize the widgets.  Fixes #107586.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8161 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:19:41 +00:00
Derek Atkins
4798b3255b * src/business/business-ledger/gncEntryLedgerControl.c:
Save the entry cells before adding an it to the invoice,
	  otherwise it wont get sorted properly.  Fixes #108910.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8159 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:05:30 +00:00
Derek Atkins
d634a00aec * src/business/business-ledger/gncEntryLedgerControl.c:
Don't ask the user in the general case when making changes
	  to entries.  Generally the user should be allowed to make
	  whatever changes they want without being pestered.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8157 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 01:37:41 +00:00
Derek Atkins
d39a0022b3 * src/business/business-gnome/dialog-invoice.c: fix an assertion
failure -- don't try to set the to_charge_amount value unless
	  we're in a VIEW/EDIT invoice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8155 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 01:04:25 +00:00
Derek Atkins
41e630069e * src/business/business-core/gncEntry.h: Move the definitions
of PaymentType and DiscountHow higher earlier in the file
	  to prevent problems of circular dependencies.
	* src/business/business-core/gncInvoice.[ch]:
	  - Add the storage of the to_charge_amount.
	  - Add GetTotalOf() to find the total of Cash and Charge amounts
	  - Use the to_charge_amount when posting an invoice
	* src/business/business-core/dialog-invoice.c:
	  - add a to_charge_amount for Exp. Vouchers
	  - add a "Total Cash" and "Total Charge" summary
	* src/business/business-gnome/glade/invoice.glade:
	  - add the to_charge_amount frame and labels.
	* src/busines/business-core/file/gnc-invoice-xml-v2.c: Add support
	  for the to-charge amount.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8153 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 21:15:22 +00:00
Christian Stimming
efd32817c2 2003-04-01 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/options-utilities.scm: Fix missing i18n
	markup on some option names.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8152 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 20:32:33 +00:00
David Hampton
b49db15076 Collapse the account tree data declarations into a common table.
Change functions to be driven off this data table instead of
explicitly coding each field.

Add new fields in the account tree window for present, cleared,
reconciled, and future minimum balances.  #95628


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8148 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 04:09:19 +00:00
Christian Stimming
1c2adca030 2003-03-31 Herbert Thoma <herbie@hthoma.de>
* src/engine/gnc-pricedb.c
	* src/engine/gnc-pricedb.h: new function
	gnc_pricedb_lookup_latest_any_currency, return any available
	prices for given commodity regardless of currency

	* src/app-utils/gnc-ui-util.c: do a "two stage" price lookup in
	gnc_ui_convert_balance_to_currency if no price for the commodity
	is found in the requested currency, then look for prices in any
	currency and for a exchange rate from the price currency to the
	requested currency

	* src/gnome/gnc-split-reg.c: do currency conversion and show the
	value in the status line of stock and mutual fund accounts


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8145 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 19:12:21 +00:00
Derek Atkins
c1818d3d2c * src/business/business-core/test/test-employee.c: fix the test
to reflect the change in Employee->Printable()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8144 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 18:08:32 +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
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
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
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