Commit Graph

7942 Commits

Author SHA1 Message Date
Derek Atkins
f4fe3f0074 * src/register/ledger-core/split-register-load.c: make the code a
little cleaner by not re-using (and re-defining!) the same
	  variable name inside a block of code and "over-riding" an
	  existing variable.  Unlikely to actually fix anything, but
	  you never know what a compiler might do.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9841 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-03-03 03:40:51 +00:00
Christian Stimming
03ca5f1aaf More openhbci2 work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9839 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-15 14:24:03 +00:00
Christian Stimming
c4bc741ceb 2004-02-14 Christian Stimming <stimming@tuhh.de>
* configure.in: Require the correct openhbci2 version. Add verbose
	error message for the currently unavailable mt940 support.

	* src/import-export/hbci/hbci-druid-initial.c, gnc-hbci-utils.c:
	Finally finish openhbci2 support, phew. Requires
	openhbci2-1.9beta7 from http://sourceforge.net/projects/openhbci


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9838 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-14 12:12:49 +00:00
Christian Stimming
1a55efe30e more openhbci2 work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9837 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-11 21:41:33 +00:00
Christian Stimming
ee7f39ea4f more openhbci2 work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9829 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-07 12:39:05 +00:00
Christian Stimming
ceaa55b937 More openhbci2 work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9828 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-07 11:08:08 +00:00
Derek Atkins
1f8faa860d * src/business/business-core/gncJob.c: Linas checked the wrong
argument in SetOwner() in revision 1.40 thereby causing ALL new
	  jobs to fail to work.  Check the new owner, not the original.
	  Fixes #133392.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9827 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-04 15:13:45 +00:00
Christian Stimming
fb1daa2ecc More hbci work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9824 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-01 15:19:45 +00:00
Christian Stimming
de66c72892 Further hbci work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9821 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-02-01 00:27:53 +00:00
Christian Stimming
a85088921b Further openhbci2 work -- getBalance and singleTransfer now works. yeah.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9820 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-31 12:30:36 +00:00
Christian Stimming
5b722725d2 2004-01-31 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-commodity.c, src/engine/iso-4217-currencies.scm:
	Change Ukrainian "UAG" into "UAH" #128913


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9818 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-31 11:41:20 +00:00
Christian Stimming
a925e484ff 2004-01-31 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c: Commented out setting the
	memo always to "Auto-created split" due to popular request.

	* src/import-export/hbci/druid-hbci-initial.c, hbci-interaction.c,
	all files: Preliminary completion of openhbci2 support -- getting
	the transactions seems to work, as well as the HBCI setup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9817 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-31 11:34:53 +00:00
Christian Stimming
7e4b6dba4a 2004-01-31 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-account-matcher.h: Make string argument
	a const char*. Make boolean argument a gboolean.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9816 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-31 09:33:32 +00:00
Christian Stimming
1068838bdc 2004-01-31 Christian Stimming <stimming@tuhh.de>
* src/engine/kvp_frame.h, src/engine/Account.c: Add clear notice
	of the semantic change of kvp_frame_get_frame
	function. Fortunately it seems the only place that still had to be
	fixed, apart from the hbci module, has been in Account.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9815 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-31 09:14:54 +00:00
Christian Stimming
296f308be8 More work on HBCI2 code. Setup druid shows weird behaviour upon delete_initial_druid(). Still unfinished.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9814 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-30 18:00:55 +00:00
Derek Atkins
8a7a767a89 * src/register/ledger-core/split-register-layout.c: Remove the
RECN cell from payable/receivable to stop confusing people.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9812 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-30 14:52:49 +00:00
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