Commit Graph

3378 Commits

Author SHA1 Message Date
James LewisMoss
74a69a5846 * src/engine/gnc-book.c (gnc_book_set_group): free account group
when setting new one.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4153 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 16:12:52 +00:00
James LewisMoss
84108d7b6a * src/engine/Group.c (xaccGroupForEachAccount): change from
xaccGroupForEachAccountDeeply and add argument on whether it
should do things deeply.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4152 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 16:12:28 +00:00
James LewisMoss
e01b217c43 * src/engine/Account.c (xaccCloneAccountSimple): new func.
(xaccAccountEnumAsString): change arg to GNCAccountType.

* src/engine/Account.c (xaccAccountGetChildren): Add children
group if ->children == NULL.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4151 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 16:12:02 +00:00
James LewisMoss
7753a796be * src/gnc-ui-util.c (gnc_ui_account_get_balance):
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4150 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 16:11:16 +00:00
James LewisMoss
c5aa26196d *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4149 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 16:06:09 +00:00
Dave Peticolas
dbe5efe241 2001-05-10 Dave Peticolas <dave@krondo.com>
* src/guile/File.c (gncFindFile): handle NULL arg
	(gncReadFile): use glib mem routines


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4148 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 09:49:15 +00:00
Dave Peticolas
90ada02e6f 2001-05-10 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs

	* src/scm/command-line.scm: fix bugs

	* src/engine/kvp_frame.c: handle NULL args


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4147 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 09:33:00 +00:00
Christian Stimming
09945cef3c 2001-05-10 Christian Stimming <stimming@tuhh.de>
* src/scm/report/account-summary.scm, balance-sheet.scm, pnl.scm:
	moved foreign currency display option to display tab.

	* src/scm/html-utilities.scm
	(gnc:html-acct-table-comm-row-helper!): fixed display bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4146 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 08:24:37 +00:00
Christian Stimming
f632f3e02d 2001-05-10 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-pricedb.c (gnc_pricedb_lookup_nearest_in_time):
	Fixed this function so that it works properly now.

	* src/scm/commodity-utilities.scm
	(gnc:get-match-commodity-splits): fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4145 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 07:07:46 +00:00
James LewisMoss
fdf654e835 Expense -> Expenses (to match all the other files)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4144 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 01:59:22 +00:00
James LewisMoss
176adcbf01 Add long description.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4143 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 01:58:49 +00:00
Linas Vepstas
bab13c88e5 clean up error code handling in SQL backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4142 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 00:12:46 +00:00
Dave Peticolas
92e202d05f 2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs

	* src/engine/*.[ch]: add GPL headers


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4141 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 23:03:36 +00:00
Christian Stimming
457904e846 2001-05-09 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: use the configurable report
	title.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4140 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 20:46:06 +00:00
Dave Peticolas
f03fd6f8a1 2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/user-preferences.texinfo: update docs

	* src/doc/design/reports.texinfo: update docs

	* src/doc/design/top-level.texinfo: update docs

	* src/doc/design/register.texinfo: update docs

	* src/doc/design/component-manager.texinfo: update docs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4139 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 08:55:39 +00:00
Christian Stimming
87edd32c82 2001-05-09 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: Added new option: get weighted
	average prices from the past, not only the instant prices.

	* src/scm/commodity-utilities.scm
	(gnc:get-commodity-totalaverage-prices): Added
	function. Eventually this could be an extension/alternative to
	prices from the pricedb.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4138 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 08:52:12 +00:00
Robert Graham Merkel
5848a94c30 Changelog for previous changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4137 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 08:49:10 +00:00
Robert Graham Merkel
1e8c8a4584 Fixes for empty barcharts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4136 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 08:27:07 +00:00
Christian Stimming
57c936f3cf yet another test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4135 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 06:52:16 +00:00
Linas Vepstas
3591d3eea9 debianize the posgres backend build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4134 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 02:42:48 +00:00
Christian Stimming
86078f66ce 2001-05-08 Christian Stimming <stimming@tuhh.de>
* src/scm/options-utilities.scm, src/scm/report/price-scatter.scm:
	moved gnc:options-add-marker-choice! from price-scatter.scm to
	options-utilities.scm.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4133 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 02:21:07 +00:00
Christian Stimming
0ccaf796ac hopefully the final test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4132 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 00:43:37 +00:00
Linas Vepstas
0e7f1d9698 testing 1 2 3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4131 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 22:37:23 +00:00
Christian Stimming
3a97b8aec6 testing some more --linas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4130 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 18:24:07 +00:00
Christian Stimming
a8fcf68dfc testing 1 2 3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4129 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 18:19:57 +00:00
Dave Peticolas
4fae9be45e 2001-05-08 Dave Peticolas <dave@krondo.com>
* src/scm/price-quotes.scm: add currency quote support

	* src/gnome/dialog-account.c: add currency quote support

	* src/engine/Account.c: allow CURRENCY accounts to have price
	source set.

	* src/quotes/finance-quote-helper.in: add currency quote support


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4128 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 09:36:40 +00:00
Dave Peticolas
f9fb478f48 2001-05-07 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm: Always use the absolute value
	when building a weighted average.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4127 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 08:02:54 +00:00
Dave Peticolas
9a1469eff2 Duarte Loreto's updated Portuguese translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4126 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 06:14:40 +00:00
Dave Peticolas
64235a45dd Duarte Loreto's updated pt_PT.po file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4125 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 06:07:42 +00:00
Linas Vepstas
d37046bfe0 testing 1 2 3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4124 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-07 20:23:41 +00:00
Dave Peticolas
5dcfbfc9f1 2001-05-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: add options for marker shape
	and color.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4122 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-07 04:22:55 +00:00
Dave Peticolas
2fb255d211 Christian Stimming's .cvsignore fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4121 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-06 21:55:34 +00:00
Dave Peticolas
0aa979f008 2001-05-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4120 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-06 21:53:37 +00:00
Dave Peticolas
4f5f7b89f2 2001-05-05 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: fix bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4119 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 19:39:40 +00:00
Dave Peticolas
5964455515 2001-05-05 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: More experiments with scatter
	plots which are working now. Doesn't look too nice though.

	* src/scm/commodity-utilities.scm
	(gnc:get-match-commodity-splits): new function.

	* src/scm/date-utilities.scm (gnc:date->timepair): new
	function. Code cleanup.

	* src/guile/gnc.gwp: more price handling functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4118 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 19:28:33 +00:00
Dave Peticolas
4e3cc39316 Robert Graham Merkel's string fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4117 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 06:09:23 +00:00
Dave Peticolas
b22b0442f0 2001-05-04 Dave Peticolas <dave@krondo.com>
* src/register/splitreg.c: set action cell to autosize

	* src/register/gnome/combocell-gnome.c (xaccComboCellSetAutoSize):
	new func.

	* src/register/gnome/gnucash-item-list.c (gnc_item_list_autosize):
	return the clist width

	* src/register/gnome/gnucash-item-edit.c (item_edit_show_popup):
	fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4116 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 20:55:30 +00:00
Dave Peticolas
4bcfcc60f3 2001-05-04 Dave Peticolas <dave@krondo.com>
* src/scm/main.scm: run the book-opened hook before showing
	the new-user window.

	* src/guile/Makefile.am: remove references to gnc-autogen.h.
	Clean gnc.c and gnc.h.

2001-05-03  Dave Peticolas  <dave@krondo.com>

	* src/engine/date.c (timespec_normalize): fix bug

	* doc/sgml/C/xacc-about.sgml: update credits

	* src/gnc-ui-util.h (_GNCPrintAmountInfo): make commodity const

	* src/gnome/window-register.c: fix compiler warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4115 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 08:16:46 +00:00
Dave Peticolas
212a5e5783 2001-05-04 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm : Add labels
	to subtotals.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4114 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 06:32:50 +00:00
Dave Peticolas
b9150e7964 2001-05-04 Conrad Canterford <conrad@mail.watersprite.com.au>
* make-gnucash-patch.in: add --manifest option (allow use of a
        manifest file. Also, change --file option to allow multiple
        files.
        Fix bug in previous change.
        * README.patches: Updated to reflect new capabilities.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4113 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 23:50:42 +00:00
Dave Peticolas
a374887191 2001-05-03 Dave Peticolas <dave@krondo.com>
* doc/sgml/*/xacc-hierarchical-report.sgml: remove file

	* doc/sgml/pt_PT/xacc-txf-categories.sgml: add missing </article>

	* doc/sgml/pt_PT/gnucash.sgml: add missing file

	* doc/sgml/es/xacc-txf-categories.sgml: add missing </article>

	* doc/sgml/es/gnucash.sgml: add missing file

	* doc/sgml/C/xacc-txf-categories.sgml: add missing </article>

	* src/engine/DateUtils.c: config.h goes first


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4112 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 21:48:00 +00:00
Dave Peticolas
50ec40abf3 Steven Murdoch's email updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4111 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 21:21:06 +00:00
Dave Peticolas
d3e2f3a9a9 2001-05-03 Dave Peticolas <dave@krondo.com>
* make-gnucash-patch.in: fix bug

	* README.cvs: update info


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4110 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 09:27:09 +00:00
Dave Peticolas
1385b1890e 2001-05-03 Christian Stimming <stimming@tuhh.de>
* src/scm/report/account-summary.scm: fix bug.

	* src/scm/html-document.scm: added handler for scatter plots.

	* src/scm/report/price-scatter.scm: Added file. This eventually
	should show prices over time. ATM it demonstrates scatter plots in
	a meaningless report.

	* src/scm/html-scatter.scm: Added file. Provides scatter plots for
	reports.

	* src/scm/options.scm (gnc:color->hex-string): added function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4109 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 08:47:26 +00:00
Dave Peticolas
677b4196a7 2001-05-03 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm: fix bug with secondary
	subheadings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4108 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 08:12:56 +00:00
Dave Peticolas
4371051fee 2001-05-03 Dave Peticolas <dave@krondo.com>
* many files: fix spelling errors

	* src/gnome/gnc-html-guppi.c: use unsigned int for color


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4107 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 07:56:53 +00:00
Dave Peticolas
73a50b806c 2001-05-02 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: set the app's mdi mode from user prefs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4106 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 06:14:17 +00:00
Dave Peticolas
ced95f5d1e 2001-05-02 Dave Peticolas <dave@krondo.com>
* README.cvs: add README about cvs write access


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4105 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 00:49:39 +00:00
Dave Peticolas
fdc63037b9 Fix string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4104 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 20:48:41 +00:00
Dave Peticolas
d28a278d8f Fix string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4103 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 20:42:56 +00:00