Commit Graph

3314 Commits

Author SHA1 Message Date
Dave Peticolas
00b41bfb0f Kevin Finn's patch to make sure there is a main window if
loading a file fails.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4081 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:31:34 +00:00
Dave Peticolas
e574465bec Christian Stimming's updated de.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4080 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:25:46 +00:00
Dave Peticolas
47d926b814 2001-04-28 Christian Stimming <stimming@tuhh.de>
* src/scm/date-utilities.scm: Fixed a whole lot of bugs in the
	relative-date functions (did *nobody* ever test those???). Added
	relative dates end-cal-year, end-current-quarter, and
	end-this-month. Added comments.

	* src/scm/options-utilities.scm: Changed date-options to be combo
	options of both relative and absolute dates.

	* src/scm/report/portfolio.scm, taxtxf.scm: adapt to usual option
	conventions.

	* src/scm/report/account-summary.scm: Fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4079 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:23:18 +00:00
Dave Peticolas
421fc9542e 2001-04-27 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Added workaround for gtkhtml
        column width.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4078 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 19:04:52 +00:00
Dave Peticolas
d29fe465cf Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4077 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:58:26 +00:00
Dave Peticolas
7aa14c41cf More work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4076 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:46:29 +00:00
Dave Peticolas
002ec86337 2001-04-27 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c (xaccSRExpandCurrentTrans): if expanding
	a transaction, try to show all of it

	* src/register/table-gnome.c (gnc_table_show_range): new func

	* src/register/gnome/gnucash-sheet.c (gnucash_sheet_show_range):
	new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4075 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:25:35 +00:00
Dave Peticolas
4e58a9a9db 2001-04-27 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Added option to choose the
	source of prices. Adapted to changes in html-utilities.

	* src/scm/report/pnl.scm: Adapted to changes.

	* src/scm/report-utilities.scm (gnc:monetary->string): Fix bug.

	* src/scm/html-utilities.scm (gnc:html-make-exchangerates):
	Switched to different arguments. Fix bug.

	* src/scm/commodity-utilities.scm: fix bug

	* src/scm/options-utilities.scm (gnc:options-add-price-source!):
	added function.

	* src/engine/gnc-pricedb.c (gnc_pricedb_lookup_nearest_in_time):
	fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4074 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 09:08:20 +00:00
Dave Peticolas
bfdff00f50 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4059 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 23:52:32 +00:00
Dave Peticolas
2c60e46cc8 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4058 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 21:38:14 +00:00
Dave Peticolas
2ccf12241d 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm
	(gnc:exchange-by-pricedb-{latest,nearest}): new functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4057 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 21:31:49 +00:00
Linas Vepstas
133d9aa2fc add note about qfx
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4056 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 17:17:27 +00:00
Linas Vepstas
d414787df2 add sample ofx/qfx XML files for future reference
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4055 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 17:08:36 +00:00
Dave Peticolas
2f740f2fd0 Update README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4054 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 09:04:49 +00:00
Dave Peticolas
1953f9773b 2001-04-26 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: handle scm parsing errors

	* src/scm/report.scm: fix bug

	* src/guile/gfec.c: handle NULLs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4053 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 08:56:43 +00:00
Dave Peticolas
e8a5a9677c 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/report/net-barchart.scm: New file, it is the merger of
	income-expense-graph.scm and net-worth-timeseries.scm.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4052 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 08:53:41 +00:00
Dave Peticolas
b811b0583d 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/report/*.scm: adapt to changed gnc:make-report-anchor.

	* src/scm/html-utilities.scm (gnc:make-report-anchor):
	gnc:report-add-child-by-id! is now used inside here. API changed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4051 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 07:51:41 +00:00
Dave Peticolas
a77c650f68 Fix i18n bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4050 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 06:33:23 +00:00
Dave Peticolas
5ec6685c71 Fix help strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4049 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 00:55:33 +00:00
Dave Peticolas
69ca5e202c * src/scm/commodity-utilities.scm: fix fixme
* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4048 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 23:37:57 +00:00
Dave Peticolas
67aa2af36e Fix some include problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4047 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 21:49:16 +00:00
Dave Peticolas
a77d32196b Fix i18n problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4046 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 09:04:13 +00:00
Dave Peticolas
2b85080282 * src/engine/gnc-transaction-xml-v2.c: read & write split action
field


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4045 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 08:13:19 +00:00
Dave Peticolas
6d90b234f2 Remove unneeded fixmes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4044 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:58:30 +00:00
Dave Peticolas
8bc62e1f6e 2001-04-25 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-commodity.c: do gncFileNew after gncFileQuit

	* src/guile/gnc.gwp: remove pokey functions (not used anymore)

	* src/scm/main.scm: fix bug. don't do new user dialog if we
	have a file on the command line.

	* src/FileDialog.c (gncAddHistory): fix bug. check for NULL.

	* src/guile/gnucash.c.in: include string.h

	* src/gnome/window-main.c: don't restore state for old format files

2001-04-24  Dave Peticolas  <dave@krondo.com>

	* src/scm/options.scm: check for deleted accounts in account
	list option. fix bug.

	* src/scm/report/pnl.scm: filter out non income/expense accounts

	* src/scm/report/budget-report.scm: remove

	* src/scm/qif-import/qif-to-gnc.scm: remove cruft

	* src/engine/Account.c: take out pokey warnings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4043 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:46:13 +00:00
Dave Peticolas
0f03218b20 2001-04-25 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/html-utilities.scm:
	(gnc:html-table-append-ruler/markup!) new function.  Also modify
	(gnc:html-build-acct-table) and other functions to use global row
	styles.

	* src/scm/html-table.scm:(gnc:html-table-prepend-row/markup!)  fix
	bug.

	* src/scm/report/balance-sheet.scm: use new global row styles.

	* src/scm/report/stylesheet-*.scm: add new global row styles.

	* src/scm/report/transaction-report.scm: use new global row styles,
	fix bug with memo display.  Remove local color options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4042 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:20:24 +00:00
Dave Peticolas
8763645345 Include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4041 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 06:22:08 +00:00
Dave Peticolas
8de13cac5e Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4040 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 23:31:45 +00:00
Dave Peticolas
fb09b620fe 2001-04-24 Bill Gribble <grib@billgribble.com>
* src/FileDialog.c: call book-opened-hook and book-closed-hook
	where appropriate

	* src/gnome/dialog-column-view.c: change to single-parent model

	* src/gnome/top-level.c: don't do MID state saving and restoring
	here... do it in the book save/load hooks.

	* src/gnome/window-main.c: the configstring stored in MDI is now a
	Scheme form which restores the window state.  save/restore it.
	Also, change the MDI session name to encode the book URL
	(have to encode it to escape some chars, notably /, which MDI
	doesn't like in section names)

	* src/scm/main-window.scm: new file.  get the main-window
	save/restore functions out of prefs.scm

	* src/scm/report/scm: only one parent per report; write save
	routines to save all parents and children.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4039 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 23:11:15 +00:00
Dave Peticolas
dd22ea89c1 * src/gnome/window-register.c: add additional warnings when
deleting reconciled splits/transactions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4038 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 20:49:32 +00:00
Dave Peticolas
657a9fdbe1 Include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4037 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 19:32:03 +00:00
Dave Peticolas
2fd5089db8 2001-04-24 Christian Stimming <stimming@tuhh.de>
* src/guile/gnc.gwp: g-wrap all the euro-related functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4036 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 19:25:35 +00:00
Dave Peticolas
03b3547395 * src/gnome/dialog-transfer.c: set price for euro currencies
automatically

	* src/EuroUtils.c (gnc_euro_currency_get_rate): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4035 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 10:46:01 +00:00
Dave Peticolas
9303cbb978 * src/gnome/dialog-transfer.c: set price for euro currencies
automatically

	* src/EuroUtils.c (gnc_euro_currency_get_rate): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4034 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 10:14:43 +00:00
Dave Peticolas
21f34a24f6 Fix bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4033 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 09:12:34 +00:00
Dave Peticolas
bb776bf987 Christian Stimming's report bugfixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4032 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 07:32:22 +00:00
Dave Peticolas
649b29582b Check for new guppi version using a different method.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4031 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 07:27:18 +00:00
Dave Peticolas
163ee4149a #include <locale.h> for 'struct lconv'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4030 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 06:10:10 +00:00
Dave Peticolas
6c6426ef7a Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4029 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 06:06:27 +00:00
Dave Peticolas
1e66edc265 Make 'intl' before 'doc-tools', since doc-tools may use the lib in 'intl'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4028 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 02:30:50 +00:00
Dave Peticolas
9ad0645460 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4027 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 01:54:41 +00:00
Dave Peticolas
f733068f7d * src/gnome/gnc-html-guppi.c: check for new guppi args before
passing them


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4026 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 00:38:19 +00:00
Dave Peticolas
27fa212a17 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4025 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 23:14:15 +00:00
Dave Peticolas
0bcb92f664 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4024 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 22:47:36 +00:00
Dave Peticolas
e4a5099dab 2001-04-23 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Make more sanity
	checks. Fix bugs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4023 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 21:09:24 +00:00
Dave Peticolas
28adf6a459 Fix spec file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4021 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:49:53 +00:00
Dave Peticolas
d3a3c4ca56 Prepare for 1.5.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4020 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:41:10 +00:00
Dave Peticolas
87422529e4 Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4019 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:38:42 +00:00
Dave Peticolas
8a639f4673 Use type conversion macro instead of cast.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:34:50 +00:00
Dave Peticolas
ea9ad455db * src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug
* src/engine/Account.c (xaccAccountSetPriceSrc): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4017 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:14:57 +00:00