Commit Graph

7876 Commits

Author SHA1 Message Date
Christian Stimming
480c61d88a More work on openhbci2 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9810 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-27 21:30:49 +00:00
Derek Atkins
bbe599b144 Herbert Thoma's transfer dialog patch for accountant headers
* src/gnome-utils/transfer.glade: rename from_xxx and to_xxx account
	  tree widgets to left_xxx and right_xxx
	* src/gnome-utils/dialog-transfer.c: if in "accountant mode" call
	  "transfer from" "credit account" and "transfer to" "debit account"
	  and interchange account trees


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9806 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-23 18:36:19 +00:00
Christian Stimming
d0beccbd88 2004-01-21 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
	directory, needs more work.
	* src/import-export/hbci/druid-hbci-utils.c:
	More work for openhbci2 support.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9801 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-21 21:32:26 +00:00
Christian Stimming
2e89c8f672 2004-01-21 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
	directory, needs more work.
	* src/import-export/hbci/druid-hbci-utils.c:
	More work for openhbci2 support.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9800 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-21 21:26:15 +00:00
Christian Stimming
ddad45fc1c 2004-01-20 Christian Stimming <stimming@tuhh.de>
* configure.in, macros/openhbci2.m4: Add checking for new
	openhbci2 library.

	* src/import-export/hbci/ all files: Switch HBCI code to the new
	openhbci2 library. Should be working, but needs further testing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9797 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-20 23:02:46 +00:00
Derek Atkins
647a58c824 * src/bin/overrides/gnucash-build-env.in: add import-export, ofx,
and hbci which should allow running with ofx and hbci in the
	  build tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9796 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-20 22:37:36 +00:00
David Hampton
661480824b Use patterns to catch new files added by intltool.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9792 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-17 02:59:21 +00:00
Derek Atkins
030d30a5a1 * configure.in: add db-4.2 to the list of databases we search.
We probably need a better mechanism to search for a working db
	  library, like defining our own macro and just supplying a list.
	  We probably can get rid of the prefer-db1 option as well, maybe?
	  Fixes #131506


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9784 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-16 15:11:19 +00:00
Derek Atkins
b2a2809315 * configure.in: fix a typo in the help (was --diable-gui). Fixes #131414
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9783 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-16 14:49:01 +00:00
Derek Atkins
b2635e8ba8 * src/app-utils/options.scm: Create two new functions to centralize
date-selection option creation.
	* src/app-utils/app-utils.scm: export the new scheme functions
	* src/app-utils/prefs.scm: Modify Herbert's patch to centralize
	  the date-selection option code.
	* src/report/report-system/options-utilities.scm: use the new
	  centralized date-selection option-creation code.

	* src/app-utils/global-options.c:
	* src/app-utils/global-options.h: add gnc_lookup_date_option()
	  function
	* src/app-utils/gnc-ui-util.c:
	* src/app-utils/gnc-ui-util.h: add
	  gnc_ui_account_get_balance_in_currency() function
	* src/app-utils/prefs.scm: add preferences for summarybar
	* src/engine/Account.c:
	* src/engine/Account.h: add
	  xaccAccountConvertBalanceToCurrencyAsOfDate() function
	* src/gnome/window-main-summarybar.c: summarybar can now display
	  a grand total of all commodities, profits of a period of time
	  and net assets at the end of the period; summarybar can be
	  configured with some options under edit->preferences


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9780 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-15 23:41:53 +00:00
Christian Stimming
371fe2043a 2004-01-13 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c, gnc-hbci-utils.c: Add
	workaround code for openhbci/chipcard problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9768 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-13 22:34:44 +00:00
Derek Atkins
0af977933a * src/import-export/csv/gnc-csv2glist.[ch]: add file from Kevin Hammack
to parse CSV files.
	* src/import-export/csv/test/test.csv:  a test CSV file


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9766 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-13 05:13:06 +00:00
Derek Atkins
41bbf1ba6b * src/app-utils/file-utils.[ch]: add gnc_getline() function
to read an unlimited line-length from a file (so you're
	  not limited to a buffer size with fgets() and the like).
	  It is similar to the getline(3) on Linux except the API
	  is different and it will always set the return string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9764 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-13 04:51:57 +00:00
Derek Atkins
1442adfd85 It's 2004, not 2003
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9763 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-13 00:13:56 +00:00
Derek Atkins
48c34b1ded * src/doc/Makefile.am: add new documentation: generic-druid-framework.txt
* src/doc/generic-druid-framework.txt: new documentation


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9762 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-13 00:08:20 +00:00
Derek Atkins
d5f15e0cbe * src/doc/Makefile.am:
* src/doc/qif.txt:
	  Add new qif importer documentation to the repository/dist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9761 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-08 01:06:52 +00:00
Derek Atkins
371c40076c * src/engine/Transaction.h: fix the xaccTransOrder() documentation
to be more accurate with the actual implementation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9760 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-07 21:09:05 +00:00
Derek Atkins
7985754dc8 * src/engine/qofinstance.c: revert fix from 01-01, because it's wrong.
Fix the actual problem, all the ...ReturnGUID() #define's which
	  don't check that it's passed a NULL value.
	* src/engine/Transaction.h:
	* src/engine/Account.h:
	  Fix ...ReturnGUID() to check whether it was passed a NULL object
	  and, if so, return the null GUID instead of crashing.
	* src/business/business-core/gncCustomer.h:
	* src/business/business-core/gncEmployee.h:
	* src/business/business-core/gncInvoice.h:
	* src/business/business-core/gncJob.h:
	* src/business/business-core/gncTaxTable.h:
	* src/business/business-core/gncVendor.h:
	  Fix ...RetGUID() to check whether it was passed a NULL object
	  and, if so, return the null GUID instead of crashing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9758 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-07 01:54:37 +00:00
Derek Atkins
e857be8e33 * README.cvs: make it even more explicit that you should not run configure
* src/engine/Makefile.am: remove the circular dependency I added earlier
	* src/engine/gw-engine-spec.scm: don't include gnc-engine-util.h (it's
	  not required and may break things).
	* src/engine/gnc-trace.[ch]: move gnc_should_log() out of the .h
	  and into the .c (making it a function instead of an array) due
	  to symbol problems with libgw-engine.  With it the other way the
	  test-account-create test was throwing an error about an
	  undefined symbol (gnc_log_modules).
	  NOTE: If you don't like this de-optimization then feel free to remove
	  all the P*() calls from engine-helpers.c and then revert gnc-trace.
	  Or you can find another way around the undefined symbol problem.
	* src/doc/Makefile.am: include guid.txt in the dist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9757 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-07 00:09:58 +00:00
Derek Atkins
4187aed0ee * README.patches:
* make-gnucash-patch.in:
	  Patch by Geoff Kassel to work on OpenBSD (allow user to set diffcmd)
	Fixes #122646


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9753 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-03 02:58:33 +00:00
Derek Atkins
dae45860ea * src/business/business-core/gncInvoice.c: need a non-const string
* src/engine/test/Makefile.am: add test-link, make libgw-engine
	  depend on libgncmod-engine
	* src/engine/test/test-link.c: add a source-file to test-link


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9752 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-03 01:41:50 +00:00
Derek Atkins
aa3f92a7e2 * src/engine/test-core/test-engine-stuff.c: don't test double
KVPs, on the theory that they will soon be deprecated.
	Fixes #127315


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9750 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-02 23:48:47 +00:00
Derek Atkins
e5392da8d6 * src/engine/test-core/test-engine-stuff.c: random queries only
get up to 3 terms, not 4
	* src/app-utils/test/test-scm-query-string.c: loop the test 1000
	  times, now that the queries are smaller.
	Fixes #127492


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9749 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-02 23:21:51 +00:00
Derek Atkins
1cede8ddbf * src/business/business-core/gncInvoice.c: set the lot title to
"<Invoice Type> <Invoice ID>" (e.g., "Invoice 000001" or
	  "Bill I2-34") when posting an invoice.  We already assume
	  one invoice to a lot.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9747 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-02 22:38:29 +00:00
Derek Atkins
2572ceb7b9 * src/business/business-reports/aging.scm: When computing the aging
report, ignore splits that belong to closed lots.  This way we wont
	  get the wrong values when the invoice falls outside the 360-day
	  window but its payment falls inside the window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9745 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-02 21:52:22 +00:00
Derek Atkins
497402dbaf * src/engine/qofinstance.c: return a "valid" GUID even if passed a NULL
object, because lots of code assumes you can get a guid all the time.
	  So, just return guid_null() instead of NULL.  Fixes a SEGV.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9742 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-01 18:20:33 +00:00
Christian Stimming
bf4a63ca3b Forgot adding the new makefiles in accounts/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9740 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-23 08:43:59 +00:00
Christian Stimming
59170398d5 2003-12-23 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-trace.c: Patch enabling compilation on Mac OS X
	by Rich Johnson <rich@dogstar-interactive.com>: Some platforms
	define timeval data members as "int".  Explicitly casting to "long
	int" for "%ld" directive avoids type mismatch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9739 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-23 08:42:31 +00:00
Christian Stimming
1441b42aa3 Fix CVS files -- remove Id-tags because they make merging unnecessary difficult
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9735 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 09:21:19 +00:00
Christian Stimming
acc2b96061 Merge account template updates from 1-8-branch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9734 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 09:10:24 +00:00
Christian Stimming
067eef4d27 2003-12-22 Christian Stimming <stimming@tuhh.de>
* accounts/hu_HU/*xea: Hungarian account templates by Sulyok Peter
	<sp@elte.hu>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9733 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 08:50:57 +00:00
Christian Stimming
040797a1dd ChangeLog message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9732 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 08:39:30 +00:00
Christian Stimming
16aa966f48 2003-12-18 Herbert Thoma <herbie@hthoma.de>
* src/gnome/dialog-price-editor.c: when the commodity is changed,
	then set the currency to the currency of the last price entered
	for this commodity


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9731 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 08:36:38 +00:00
Christian Stimming
9be021b247 2003-12-22 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-trace.h: Fix for gcc2.95 for macros with variable
	arguments by Lionel Elie Mamane <lionel@mamane.lu>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9730 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-22 08:36:20 +00:00
David Hampton
1bf5421f56 Ignore new autotools junk files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9723 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-14 07:02:42 +00:00
Derek Atkins
df98be13fb * src/gnome/reconcile-list.c: make sure to verify that the items
in the reconcile hash are still around after a refresh.  Fixes
	  bug #129121.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9722 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-12 02:09:50 +00:00
Derek Atkins
1645a7a9b6 * src/engine/gnc-numeric.c: Rich Johnson's patch to convert
atoll() -> strtoll()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9720 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-08 23:26:26 +00:00
Benoit Grégoire
d8f2d79218 2003-12-08 Benoit Gr�goire <bock@step.polymtl.ca>
*src/import-export/log-replay/gnc-log-replay.c:  Increase read buffer size.
	Hopefully fixes 127421, but this time someone please do test the fix...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9719 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-08 16:46:44 +00:00
Benoit Grégoire
28571ed230 2003-12-01 Benoit Gr�goire <bock@step.polymtl.ca>
* po/POTFILES.in: Remove reference to bin/strsub.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9717 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-12-03 04:42:03 +00:00
David Hampton
35d9af6555 Be more explicit when a lookup fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9700 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-19 22:11:22 +00:00
Chris Lyttle
edb4368285 update for 1.8.8 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9698 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-19 05:46:25 +00:00
Derek Atkins
358c37da08 * Makefile.am, Makefile.DEPS:
remove Makefile.DEPS because we don't support automake-1.4 anymore
	* src/bin/Makefile.am, strsub.c:
	  remove strsub.c because we don't need it now that we've dropped 1.4
	Fixes #120207


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9689 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-18 03:05:58 +00:00
Derek Atkins
416fd6bb48 * src/engine/test-core/test-engine-stuff.c: don't make a timespec
with tv_sec == 0.  Fixes some tests on the alpha platform.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9685 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-17 03:48:17 +00:00
Linas Vepstas
558c6f5192 * src/doc/guid.txt: add document debating issues of guid usage in
the closing of books.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9684 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-16 17:24:26 +00:00
Linas Vepstas
5895e3c33f add document debating guid-vs-book closing issues
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9683 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-16 17:18:49 +00:00
Derek Atkins
bd038f52ea * src/report/standard-reports/advanced-portfolio.scm:
Applied Frank Pavageau's patch regarding capital gains to
	handle split transactions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9681 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-14 16:36:53 +00:00
David Hampton
5c222eef22 Update for removed file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9656 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-27 06:54:05 +00:00
David Hampton
d02b218875 Fix another crash caused by qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9654 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-27 00:21:52 +00:00
David Hampton
f40e64ce2c Fix crash caused by qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9647 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 04:06:52 +00:00
David Hampton
afa2345bb3 Remove unused files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9635 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 00:02:54 +00:00