Commit Graph

6966 Commits

Author SHA1 Message Date
Derek Atkins
21f11b8420 * src/import-export/qif-import/qif-file.scm: the numeric test
regex was broken and would fail on ALL numerics, causing all
	  imports to be of value zero.  Oops.  I _thought_ I tested this,
	  but clearly not sufficiently.  :(


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8324 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 18:38:33 +00:00
David Hampton
d2863ba63a Fix the "View" menu items to track properly when a new data file is
opened. #99598


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8322 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 06:06:18 +00:00
Derek Atkins
85bcf951b2 * src/gnome-utils/gnc-query-list.c: we can't use a reversed list
and prepend() because then we're always adding row 0 so the
	  saved checkmarks fail.  So, use the slow way and use 'append()'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8320 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 03:39:57 +00:00
Derek Atkins
a067318b00 * src/gnome/reconcile-list.[ch]: Port to the gnc-query-list.
Remove all the extraneous code.
	* src/gnome-utils/gnc-query-list.[ch]: Add code so the reconcile-list
	  can successfully use the query-list.  Add a construct() method.
	  Add an "unselect_all()" method.  Add the ability to print numerics
	  as an ABS and invert the sort (defaults to off).  Add methods to
	  determine if an item is in the list, and one to refresh the display
	  of an item.
	* src/gnome-utils/search-param.[ch]: fix the spelling of resizeable


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8318 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 00:22:35 +00:00
Derek Atkins
08f5ab493b Add a justification
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8317 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 00:13:15 +00:00
David Hampton
12b7bb55cd Added HTML::Parser to the modules looked for when starting up.
#104197


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8311 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 04:04:50 +00:00
Derek Atkins
21a6866fbc That last patch actually fixes bug #106035
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8309 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 02:37:01 +00:00
Derek Atkins
d39367285c * src/engine/Query{,P}.h: move the location of gncQuerySearchFor()
to allow callers to look it up without requiring the private
	  header.
	* src/business/business-core/gncInvoice.[ch]: define
	  INVOICE_IS_PAID and create gncInvoiceIsPaid() function (the
	  prototype already existed, but it was never implemented).
	* src/business/business-gnome/dialog-invoice.c: add IS_PAID column
	  and the ability to search for paid/not-paid invoices.
	* src/gnome-utils/Makefile.am: build gnc-query-list
	* src/gnome-utils/gnc-query-list.[ch]: finish the GNCQueryList.
	  - allow active-column sorting
	  - watch all the entities in the query and update when an entry changes
	  - use a checkbox to display booleans
	* src/gnome-utils/search-param.[ch]: add extra APIs required to support
	  the initial QueryList implementation
	* src/gnome-search/dialog-search.c: Convert to use the new
	  GNCQueryList to display the search results.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8308 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 02:07:15 +00:00
Derek Atkins
0a883ac5e0 * src/gnome-utils/gnc-query-list.[ch]: an abstracted Query list
widget to display the results of a Query.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8307 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 00:46:20 +00:00
David Hampton
661bd34cc4 Remember the state of the "show currencies" check box from one time to
the next.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8305 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 05:26:56 +00:00
David Hampton
99e5c392b5 Fix transfer dialog to not hang if OK button is clicked w/o filling in
dialog properly.  #109497


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8303 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:17:28 +00:00
David Hampton
e805e8f8de A single button shouldn't take full width of the window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8302 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:15:59 +00:00
David Hampton
eb548d152a Add some debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8301 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:13:37 +00:00
David Hampton
7acf711c83 Give more control over what builds have a version number and what
builds hare labelled "cvs".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8300 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 23:31:23 +00:00
David Hampton
f7ae1b2de5 Fix problem selecting quote source.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8299 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 23:01:42 +00:00
Derek Atkins
8f1702d627 * src/import-export/hbci/gnc-hbci-utils.c: you have to declare
your variables before you g_assert() anything.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8298 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 16:14:38 +00:00
Derek Atkins
33d7497d80 Update for 1.8.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8295 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 14:25:44 +00:00
Derek Atkins
8052d43e03 You need to define your variables before you call ENTER()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8293 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 01:06:35 +00:00
David Hampton
5b7353d67c Move price quote information from the Account data structure to the
Commodity data structure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8292 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 00:45:03 +00:00
Derek Atkins
bcbf5c847a Remove non-needed config options, generated by automake
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8290 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 23:23:27 +00:00
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
07132d7abf Removed AC_PROG_CXX again because openhbci.m4 doesn't require it anymore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8288 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 21:38:20 +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
44f314dfe8 Add some extra messages so users don't shoot themselves in the
foot by trying to run aclocal by hand.  gettextize tells them
to do so; add a warning to ignore it.  Hopefully users will listen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8284 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:13:19 +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
Christian Stimming
eba6b72793 Updated openhbci macro for latest openhbci versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8262 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-01 16:15:08 +00:00
Christian Stimming
ce6bea0822 More compiler warning fixes from Herbert Thoma <herbie@hthoma.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8258 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-29 21:33:51 +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
e46d7c6b05 Remove two duplicate commodities. The newer name for these
commodities was retained.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8251 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-29 06:11:19 +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
883f7612bf Initial Tamil translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8246 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-24 21:21:08 +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
Linas Vepstas
f964ce86a1 notes about implementation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8243 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-22 13:50:28 +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
Linas Vepstas
b72e3ad94b clarify soem terminology
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8229 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-13 03:09:11 +00:00
Linas Vepstas
b381425f3e add a meta-design summary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8228 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-13 02:49:45 +00:00