Commit Graph

7854 Commits

Author SHA1 Message Date
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
David Hampton
02aa63fa9c Remove unused files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9634 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 23:55:04 +00:00
David Hampton
72dbe10699 Use the generic import account picker.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9633 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 23:34:41 +00:00
David Hampton
bfe58de193 Move function declarations to the right header file. Document them as
well.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9629 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 06:49:56 +00:00
David Hampton
6d2d7d4325 Remove extraneous labels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9628 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 06:23:23 +00:00
Derek Atkins
5b7339930f * Added GPL boilerplates to many of my files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9622 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-23 04:33:18 +00:00
Derek Atkins
780e709626 * src/app-utils/prefs.scm:
* src/business/business-utils/business-prefs.scm:
	  Add new preferences for the default "fancy date format",
	  even if it's not used, yet.  Another step to fixing #99574


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9621 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-23 04:27:13 +00:00
Linas Vepstas
bfad2e6257 add misc documentation/notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9620 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-22 13:56:48 +00:00
Linas Vepstas
dad4a4dfc6 start writing up an overview of how teh business objects work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9619 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-22 13:56:20 +00:00
Linas Vepstas
1be1eaea00 staple in the invoice clone routines
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9618 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-22 02:02:45 +00:00
Christian Stimming
08b12ed028 2003-10-21 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c: Refactor some GUI
	code. Improve user messages.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9615 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 18:01:53 +00:00
Linas Vepstas
fee30d10b3 more cloning; update status in BusPeriod.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9611 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 13:53:55 +00:00
Linas Vepstas
8e9f1afc97 more cloning of stuff.
(Yes Derek, I'm agonizing over whether/how to clone/not clone depending
on the backend.  But in the meantime this fills in needed function anyway.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9606 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 05:12:38 +00:00
Linas Vepstas
d8bd81162b fix currency cloning usage
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9605 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 05:00:30 +00:00
Christian Stimming
796ca8aae2 2003-10-20 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c,
	gnc-hbci-getbalance.c, dialog-hbcitrans.c: Improved user messages.

	* src/import-export/hbci/gnc-hbci-utils.c: Fixed extremly stupid,
	old bug that causes weird HBCI errors.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9598 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 19:57:39 +00:00
Linas Vepstas
4ea306c1bb oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9597 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:49:47 +00:00
Linas Vepstas
80c44c76a6 remove SetGuid function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9596 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:48:19 +00:00
Linas Vepstas
93e1d35a87 remove set_guid from customer, add clone to vendor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9595 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:44:41 +00:00
Linas Vepstas
77fd3e74ce add clone functions to employee, misc minor cleanup to bill term entity funcs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9594 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:34:03 +00:00
Linas Vepstas
30914441f3 add runtime-cast typesafety checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9593 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:19:16 +00:00
Linas Vepstas
5bae2ba525 add documentation, add safety check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9592 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 13:06:13 +00:00
Linas Vepstas
e23307d377 oops, obsoleted one routine a little too quick.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9589 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 03:38:51 +00:00
Linas Vepstas
c473e8c026 bug-fix: make check test-period now passes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9581 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 16:20:53 +00:00