Commit Graph

2872 Commits

Author SHA1 Message Date
Linas Vepstas
ef12a64271 document the bacekn functions a bit more, document the error codes.
add dialogs to create a new database, if it didn't exist before


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3594 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-04 07:19:41 +00:00
Linas Vepstas
276dee6677 add dialogs to create a new database, if it didn't exist before
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3593 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-04 07:19:03 +00:00
Linas Vepstas
77e7ae1741 forgot to check these in ...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3592 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-04 07:13:24 +00:00
Linas Vepstas
7f9eecba26 The postgress single-user mode should now be more-or-less 'beta'
with this patch; multi-user mode is still highly experimental.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3591 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-04 07:10:53 +00:00
Linas Vepstas
ba29865498 escape special chars in strings; simplify the build process.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3590 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 21:05:02 +00:00
Linas Vepstas
fba1aef3b8 Simpler build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3589 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 20:55:37 +00:00
Linas Vepstas
ebece52761 Merge the two different error reporting mechanisms together into one.
This simplifiesthe logic a good bit, and the code should be more
readable as a result.   It also allows backends to report errors on up
to the GUI.  (which is what this is really about).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3588 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 20:55:17 +00:00
Dave Peticolas
a22f48c2c8 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3586 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 09:55:59 +00:00
Dave Peticolas
60acab72f1 Fix refreshing when importing old files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3585 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 09:47:21 +00:00
Dave Peticolas
2944c0d801 James LewisMoss's patch to file loading that fixes the duplicate guid bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3582 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 08:56:50 +00:00
Dave Peticolas
67688f3c1f Use check marks instead of 'y' in reconcile dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3581 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 04:25:27 +00:00
Dave Peticolas
32746742a1 Fix compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3580 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 00:44:34 +00:00
Dave Peticolas
5f5661e125 James LewisMoss's refactoring of xml writing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3579 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-03 00:41:20 +00:00
Dave Peticolas
06b7c43a82 Jan-Uwe Finck's updated de.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3578 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 21:32:43 +00:00
Dave Peticolas
d5f1e3595f Allow urls to be typed into the filebox.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3577 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 10:02:47 +00:00
Dave Peticolas
b1f2159508 Christian Stimming's account summary report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3576 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 09:54:42 +00:00
Dave Peticolas
5788e6611b More work on stock splits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3575 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 09:39:17 +00:00
Dave Peticolas
e5a1be8f07 Remove unused row/col distance functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3574 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 07:24:18 +00:00
Dave Peticolas
31d3748c3c Add --enable-sql argument to configure/autogen.sh.
Just using the argument isn't enough -- see src/engine/sql/README.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3573 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 07:04:15 +00:00
Dave Peticolas
adb36f6a43 More work on stock split druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3572 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 04:04:01 +00:00
Dave Peticolas
11b3630d99 Bill Gribble's reporting patch.
* src/gnome/gnc-html-history.{h,c}: add destroy callback. part of
	report memory management cleanup

	* src/gnome/window-report.c: set report dirty flag when options
	apply or reload is clicked.  Store report object in window
	struct while it's visible.

	* src/scm/qif-import/qif-file.scm: expand detection of opening
	balance transactions.

	* src/scm/qif-import/qif-parse.scm: fix regexp bug in miscincx and
	miscexpx category parsing (thanks carol!)

	* src/scm/qif-import/qif-to-gnc.scm: use correct amount for
	non-stock investment transactions (dividends etc).  Use fuzzy
	equality predicate for inexact numbers.

	* src/scm/report.scm: Add dirty flag and 'children' (other reports
	created by this report... nobody uses it yet) to report struct.
	Add function to clean up report when it's erased from the window
	history.  Add some debugging timing bits to the report-run
	function.  Display cached HTML if not dirty.

	* src/scm/report.scm: WARNING! Change prototype of report
	rendering functions... they take a <report> object as argument
	instead of an options object.  This is necessary for memory
	management stuff when reports create other reports.

	* src/scm/report/account-summary.scm: fix to use new renderer
	signature

	* src/scm/report/average-balance.scm: fix to use new renderer
	signature

	* src/scm/report/hello-world.scm: fix to use new renderer
	signature


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3571 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 02:14:48 +00:00
Dave Peticolas
f50b8c3cf6 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3570 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 01:54:52 +00:00
Dave Peticolas
28a054ed3e Fix email address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3568 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-02 00:02:36 +00:00
Linas Vepstas
2b46156040 merge email note
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3567 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-01 18:10:33 +00:00
Dave Peticolas
b90812b13b Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3566 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-01 11:13:39 +00:00
Dave Peticolas
d20a50f3a8 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3565 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-01 01:21:34 +00:00
Dave Peticolas
294dff6982 Fix g-wrap.m4 macro.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3564 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 23:47:39 +00:00
Dave Peticolas
818587c844 Fix compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3563 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 23:24:29 +00:00
Dave Peticolas
000aefc441 Use glib memory routines for guid_to_string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3562 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 11:37:10 +00:00
Dave Peticolas
661c188467 More work on stock split druid. Minor fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3561 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 11:27:54 +00:00
Dave Peticolas
97dcb78664 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3560 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 10:36:26 +00:00
Dave Peticolas
690584073e Bill Gribble's patch.
* src/scm/report/stylesheet-{plain,fancy}.scm: add a new boolean
	option to disable hyperlinks in reports.  This will make it nicer
	to have a "printing" style sheet that disables links when you want
	to print.  (if you change a report's style sheet, click "Reload"
	to see it take effect.  this needs to be fixed)

	* src/gnome/gnc-html-embedded.c: add support for URLsa attached to
	double clicks of pie slices, bar chart bars, and legend entries of
	guppi graphs.  Still need to do this for scatter chart.

	* src/scm/html-{piechart,barchart}.scm: add API for callbacks.
	Not totally finished with barchart yet.

	* src/scm/qif-import/qif-to-gnc.scm: check for currency and type
	mismatches between QIF-imported and existing GNC accounts.  If
	there's a name conflict, rename the new account with a unique name
	and a description indicating there was a conflict.  This should
	fix several reports of crashes for multi-currency users.

	* src/scm/report-utilities.scm: back out my previous breakage of
	gnc:amount->string

	* src/scm/report.scm: Thanks to the guile mailing list for
	pointing my at this odd bit of code needed to print backtraces on
	guile exceptions while still running.  You need to run with
	--debug to get the trace.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3559 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-30 23:56:33 +00:00
Dave Peticolas
53be5478e1 Yannick Le Ny's updated fr.po, merged with current cvs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3558 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-30 21:31:17 +00:00
Dave Peticolas
935c8640ea More work on stock split druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3557 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-30 12:37:22 +00:00
Dave Peticolas
e59e0c71b7 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3556 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-30 01:53:05 +00:00
Dave Peticolas
aafa9b943d Fix some window sizing bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3555 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-30 01:07:07 +00:00
Dave Peticolas
7b76932785 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3554 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 23:27:56 +00:00
Dave Peticolas
4f46f04230 Fix compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3553 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 22:55:26 +00:00
Dave Peticolas
cb515dd72f Fix compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3552 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 08:01:41 +00:00
Linas Vepstas
c944fe0317 megazord vs. bugs & features
now works more better.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3551 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 07:22:23 +00:00
Linas Vepstas
e4c67b8bea bug fix: call the backend *before* the transaction is deleted.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3550 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 07:15:20 +00:00
Linas Vepstas
67edb46720 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3549 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 07:13:00 +00:00
Linas Vepstas
86c18268f4 fix up the iso8601 string format date utilities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3548 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-29 07:11:23 +00:00
Linas Vepstas
5186dc79ba add more error types to backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3544 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-28 22:50:41 +00:00
Linas Vepstas
9ac973c443 Minimally invasive change to set cached starting balance
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3543 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-28 17:41:47 +00:00
Linas Vepstas
1884c73482 add iso8601-format date string handling utility function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3542 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-27 17:41:38 +00:00
Linas Vepstas
6758087ed7 add documentary notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3541 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-27 17:16:14 +00:00
Linas Vepstas
b31188f465 add notes explaining some date funcs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3540 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-27 17:13:01 +00:00
Linas Vepstas
f080ab5884 change signature of guid_to_string_buff()
[only the sql code uses this at present]


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3539 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-27 17:11:44 +00:00
Dave Peticolas
1234b2b253 More work on stock split druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3538 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-26 23:22:21 +00:00