gnucash/ChangeLog
Dave Peticolas b1a236d0a1 2001-07-12 Dave Peticolas <dave@krondo.com>
* accounts/*/*: currency->commodity

	* src/scm/engine-interface.scm: quantity->amount

	* src/guile/guile-util.[ch]: quantity->amount

	* src/guile/gnc.gwp: quantity->amount

	* src/SplitLedger.c: quantity->amount

	* src/gnc-ui-util.[ch]: quantity->amount


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4948 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 22:21:13 +00:00

3742 lines
108 KiB
Plaintext

2001-07-12 Dave Peticolas <dave@krondo.com>
* accounts/*/*: currency->commodity
* src/scm/engine-interface.scm: quantity->amount
* src/guile/guile-util.[ch]: quantity->amount
* src/guile/gnc.gwp: quantity->amount
* src/SplitLedger.c: quantity->amount
* src/gnc-ui-util.[ch]: quantity->amount
* src/scm/report/transaction.scm: remove old api
* src/scm/report-utilities.scm: remove old api
* src/scm/commodity-utilities.scm: remove old api
* src/scm/engine-interface.scm: remove old api
* src/scm/extensions.scm: remove old api
* src/scm/report-utilities.scm: remove old api
* src/gnome/reconcile-list.c: remove old api
* src/scm/report/register.scm: remove old api
* src/engine/Scrub.c: remove old api
* src/engine/sql/txn.c: remove old api
* src/engine/rpc/RpcUtils.c: remove old api
* src/guile/gnc.gwp: remove cruft
* src/scm/extensions.scm: remove cruft
* src/guile/gnc-helpers.[ch]: remove old api
* src/engine/io-gncbin-r.c: remove old api
* src/guile/gnc-helpers.c: remove old api
* src/SplitLedger.c: remove old api
* src/engine/Transaction.[ch]: remove share api and older api
* src/engine/Transaction-xml-parser-v1.c: remove old api
* src/gnome/druid-stock-split.c: remove share api
* src/engine/Account.[ch]: remove 'share' api and other
unused api.
* src/scm/qif-import/qif-to-gnc.scm: remove share api
* src/guile/gnc.gwp: remove share api
* src/gnome/window-reconcile.c: remove share api
* src/gnome/window-register.c: remove share api
2001-07-11 Dave Peticolas <dave@krondo.com>
* src/engine/io-gncxml-v2.c: same as below
* src/engine/io-gncbin-r.c: same as below
* src/engine/io-example-account.c: same as below
* src/engine/Ledger-xml-parser-v1.c: remove autocode
* src/engine/Group.[ch]: remove autocode api. This hasn't
really been used in a while, and account codes are generally
assigned based on account function, not just hierarchy position.
* src/engine/Account.[ch]: remove autocode api
* src/guile/gnc.gwp: remove auto code api
* src/scm/commodity-utilities.scm: fix function calls
* src/test/test-xml-transaction.c: CIT (currency-in-transaction)
* src/test/test-xml-account.c: CIT
* src/test/gnc-test-stuff.c: CIT
* src/scm/report/taxtxf.scm: CIT
* src/scm/qif-import/qif-to-gnc.scm: CIT
* src/scm/qif-import/qif-dialog-utils.scm: CIT
* src/scm/text-export.scm: CIT
* src/scm/price-quotes.scm: CIT
* src/scm/main-window.scm: CIT
* src/scm/engine-interface.scm: CIT
* src/guile/gnc.gwp: CIT. remove unused api
* src/gnome/glade/transfer.glade: remove currency account list
* src/gnome/glade/account.glade: remove security gui
* src/gnome/window-reconcile.c: CIT
* src/gnome/window-main-summarybar.c: CIT
* src/gnome/window-acct-tree.c: CIT
* src/gnome/druid-stock-split.c: CIT
* src/gnome/druid-qif-import.c: CIT
* src/gnome/druid-hierarchy.c: CIT
* src/gnome/druid-commodity.c: CIT
* src/gnome/dialog-transfer.c: CIT. don't use currency accounts
* src/gnome/dialog-commodities.c: CIT
* src/gnome/dialog-account.c: CIT
* src/gnome/account-tree.c: CIT
* src/engine/sql/txn.c: fix for CIT
* src/engine/sql/account.c: remove old currency/security cruft
* src/engine/sixtp-dom-parsers.[ch]: allow parsing kvp data into
an existing frame
* src/engine/kvp_doc.txt: document new keys used for storing
old currency/security fields
* src/engine/io-gncxml-v2.c: CIT
* src/engine/io-gncxml-r.c: CIT
* src/engine/io-gncbin-r.c: CIT
* src/engine/io-example-account.c: CIT
* src/engine/gnc-transaction-xml-v2.c: CIT
* src/engine/gnc-schedxaction-xml-v2.c: load kvp data
into existing frame
* src/engine/gnc-commodity.[ch]: add new lookup api, fixes
for NULL pointers
* src/engine/gnc-book.c: don't scrub (moved elsewhere)
* src/engine/gnc-account-xml-v2.c: store transaction currency
and account commodity.
* src/engine/Transaction.[ch]: add a transaction currency
* src/engine/TransLog.c: CIT
* src/engine/Scrub.[ch]: add api for fixing up
account and transaction commodities.
* src/engine/SchedXaction.c: CIT
* src/engine/Ledger-xml-parser-v1.c: CIT
* src/engine/Group.[ch]: don't cache a group balance
* src/engine/Account.[ch]: CIT. remove currency, security
fields, add commodity fields. Store old currency/security
in kvp_data.
* src/engine/Account-xml-parser-v1.c: fix for CIT
* src/gnc-ui-util.[ch]: fix for CIT
* src/gnc-component-manager.c: remove deleted api
* src/SplitLedger.c: fix for currency-in-transaction (CIT)
2001-07-09 Dave Peticolas <dave@krondo.com>
* configure.in: check for ghttp_ssl.h
* src/gnome/gnc-http.c: conditionally include ghttp_ssl.h
* doc/sgml/C/xacc-whats-new.sgml: fix spelling
* doc/sgml/C/xacc-about.sgml: fix version
* src/Makefile.am: link intl libs with gnucash-make-guids
* src/register/QuickFill.c: same as below
* src/register/quickfillcell.c: conditionally include wctype.h
* configure.in: check for wctype.h
2001-07-07 Dave Peticolas <dave@krondo.com>
* src/test/gnc-test-stuff.c (get_random_query): not so many terms
* src/test/Makefile.am: add test-scm-query
* src/test/.cvsignore: add test-scm-query
* src/test/test-scm-query.c: new test -- check query<->scm
conversion
* src/guile/gnucash.h: new func api
* src/guile/gnucash.c.in (gnc_gw_init): new func
* src/guile/gnc-helpers.c: fix bugs
* src/engine/Query.c: fix bugs
2001-07-06 Dave Peticolas <dave@krondo.com>
* src/gnome/glade/sched-xact.glade: tweak
* src/test/gnc-test-stuff.c (get_random_boolean): new func.
(get_random_query): new func.
2001-07-06 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction.scm: Add new sort option "register
order", make it the default for secondary sorting.
* po/ChangeLog: removed from CVS.
2001-07-06 Joshua Sled <jsled@asynchronous.org>
* src/gnome/gnc-schedxaction-xml-v2.c: Support for new
SchedXaction options [create/remind-days-in-advance; auto-create,
notify-on-creation].
* src/gnome/dialog-scheduledxaction.c (putSchedXactionInClist):
Fix for next-occurance processing.
* src/engine/SchedXaction.c (xaccSchedXactionGetNextInstance):
Better handling of start date/last-occur date/current dates when
generating the next occurance date. Gotta remember to clear those
g_dates, lest the come up 'valid' due to stack trash... :(
* src/gnome/gnc-sxlastrun.{h,c}: Added; newer/better
since-last-occur dialog.
* src/gnome/window-main.c: Added Scheduled Transaction stuff to
"Tools" menu.
* src/scm/prefs.scm: Added initial cut at Scheduled Transaction
preferences.
2001-07-06 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-balancreport.sgml: minor updates
* doc/sgml/C/image/regwin*.png, appr-income.png, bal-graph.png,
report-hierachical.png: no longer used, so removed.
* doc/sgml/C/image/*tax*.png: resaved as compressed png.
* doc/sgml/C/image/report-folio.png: reshot for 1.6.
* doc/sgml/C/image/Makefile.am: updated for removed files.
2001-07-05 Dave Peticolas <dave@krondo.com>
* src/engine/Query.c (xaccQueryEqual): new func.
* doc/sgml/C/xacc-common-report-options.sgml: fix my fix
* doc/sgml/C/xacc-price-sources.sgml: fix warnings
* src/guile/gnc.gwp: wrap new func
* src/gnome/druid-stock-split.c: use new func
* src/gnome/window-register.c: use new func
* src/gnome/window-reconcile.c: use new func
* src/gnome/reconcile-list.c: use new func
* src/gnc-ui-util.c (gnc_account_print_info): new func. this
replaces 'quantity' and 'value' print info for the currency-
in-transaction switch. Delete the 'quantity' version.
2001-07-04 Dave Peticolas <dave@krondo.com>
* AUTHORS: credits
* doc/sgml/C/xacc-about.sgml: credits
* src/scm/report/transaction.scm: Michael T. Garrison Stuber's
transaction report patch.
* doc/sgml/C/xacc-common-report-options.sgml: fix warning
2001-07-05 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-depreciation.sgml: Minor updates.
* doc/sgml/C/xacc-price-sources.sgml: Updated for 1.6
* doc/sgml/C/image/ticker-{a,b}.png: Removed.
* src/gnome/druid-qif-import.c: fix syntax bug.
* doc/sgml/C/image/<lots.png>: new and updated screenshots.
* doc/sgml/C/image/Makefile.am: include new files.
* doc/sgml/C/{lots}.sgml: update for new screenshots.
2001-07-04 Bill Gribble <grib@billgribble.com>
* src/gnome/druid-qif-import.c: fix cut-n-paste error in
default_acct_back handler; fixes bug #106.
* src/gnome/glade/qif.glade: add some explanatory text about
what the "back" button does where it's not obvious
* (later) actually fix #106... first patch didn't do it
2001-07-04 Dave Peticolas <dave@krondo.com>
* Makefile.am: add gnc-glossary.txt to the dist
* src/engine/sixtp.c (sixtp_handle_catastrophe): fix bug -- don't
destroy last stack frame
2001-07-03 Dave Peticolas <dave@krondo.com>
* src/scm/report/register.scm: add exported functions and needed
modules
* AUTHORS: credits
* doc/sgml/C/xacc-about.sgml: credits
* src/scm/date-utilities.scm: Nicholas Lee's bug fix
* src/.cvsignore: adjust for new program
* rpm/gnucash.spec.in: adjust for new program
* src/Makefile.am: adjust for new program
* src/gnucash-make-guids.c: new program to aid in GUID creation
* src/engine/sql/putil.h: Alex Zepeda's patch converting atol->strtoll.
* src/scm/commodity-utilities.scm: fix bug -- use srfi-1 to
make sure we get the right 'last'
* src/scm/Makefile.am: same as below
* src/scm/report/Makefile.am: fix bugs -- put modulized scm
files back into dist and strings targets
* src/scm/report/taxtxf.scm: fix bug, eliminate use of append
* src/MultiLedger.c: same as below
* src/register/table-allgui.c: same as below
* src/register/splitreg.c: same as below
* src/register/splitreg.h: same as below
* src/register/table-allgui.h: rename TableView to TableModel.
Put cell data handlers into the model.
2001-07-02 Dave Peticolas <dave@krondo.com>
* many header files: apply Ben Stanley's script to
convert __HEADER_H__ to HEADER_H. All names starting
with '_' are reserved.
* src/gnome/gnc-dateedit.c: sync with datecell-gnome.c
* src/register/gnome/datecell-gnome.c: use GDate to do
date manipulations.
* src/scm/bootstrap.scm.in: instead of the scheme command,
just tell the user to run gnucash once as root.
2001-07-01 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.[ch]: implement towupper and iswlower
if they are missing
* src/register/quickfillcell.c: include gnc-ui-util.h
* src/register/QuickFill.c: include gnc-ui-util.h
* configure.in: check for towupper
2001-06-29 Joshua Sled <jsled@asynchronous.org>
* src/gnome/gnc-frequency.c: Added functions for dealing with
widget changes in the year-subset freq. panels [quarterly,
tri-yearly, semi-yearly, yearly].
* src/gnome/gnc-frequency.c (gnc_frequency_save_state): Some
improvment regarding saving the state of scheduled transactions.
(gnc_frequency_setup): Much improvement regarding the setup of
scheduled transactions.
(year_range_sels_changed): Added to simplify modifications to
year-range scheduled transactions.
2001-06-29 Dave Peticolas <dave@krondo.com>
* src/engine/gnc-account-xml-v2.c: Alex Zepeda's patch
adding a missing include.
2001-06-27 Dave Peticolas <dave@krondo.com>
* src/register/QuickFill.c: same as below
* src/register/quickfillcell.c: use wide character conversion
functions
* AUTHORS: credits
* doc/sgml/C/xacc-about.sgml: credits
* po/fr.po: Paul Poulain's french translations
2001-06-26 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-dom-parsers.c: same as below
* src/engine/gnc-commodity-xml-v2.c: same as below
* src/engine/gnc-account-xml-v2.c: don't use node content member
directly -- if libxml was configured to use buffers, this won't
work.
* src/register/gnome/gnucash-sheet.c
(gnucash_sheet_key_press_event): allow shift-pgup and shift-pgdn
to go to top & bottom of register respectively.
* src/register/gnome/datecell-gnome.c (DateDirect): allow '-'
hotkey to work if there is a full date there, or the cell is
blank.
* src/gnome/gnc-html.c: don't handle keypresses, let the gtkhtml
object do it.
2001-06-25 Dave Peticolas <dave@krondo.com>
* src/engine/sql/kvp-sql.c: include gnc-engine-util.h for stpcpy
* src/engine/gnc-engine-util.c (gnc_stpcpy): add func
* src/engine/gnc-engine-util.h: add definition of gnc_stpcpy.
if stpcpy is not available, define stpcpy as gnc_stpcpy.
* src/gnc-ui-util.c: remove gnc_stpcpy
* src/gnome/window-main-summarybar.c: fix bug in euro profit
calculation. use share prices in calculating totals.
* AUTHORS: credits
* doc/sgml/C/xacc-about.sgml: credits
* src/scm/report/balance-sheet.scm: Daniel Hagerty's patch
to add an unrealized gain/loss line to the balance sheet.
2001-06-24 Dave Peticolas <dave@krondo.com>
* src/scm/report/account-piecharts.scm: fix sign bug
* src/engine/sql/kvp-sql.c: same as below
* src/engine/sql/txn.c: same as below
* src/engine/sql/price.c: same as below
* src/engine/sql/checkpoint.c: use strtoll instead of atoll
2001-06-24 Kevin Finn <kevinfinn@mediaone.net>
* src/gnome/dialog-transfer.[ch]: reformatted my previous changes
to 80 cols. Added interface to specify whether description
quickfill will be based on From or To account splits. Enhance
quickfill to also select the appropriate account in the account
tree for the matched transaction.
* src/gnome/window-reconcile.c: reformatted my previous changes to
80 cols. Change the auto interest xfer dialog so that it
quickfills based on the reconcile account, rather than always on
the From account.
2001-06-24 Dave Peticolas <dave@krondo.com>
* AUTHORS: credits
* doc/sgml/C/xacc-about.sgml: credits
* configure.in: Alex Zepeda's postgres configure patch
2001-06-23 Kevin Finn <kevinfinn@mediaone.net>
* src/gnome/window-reconcile.c: fix for display of auto end value
updates.
2001-06-23 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-about.sgml: credits
* AUTHORS: credits
* configure.in: Bill Nottingham's guile configuration patch
2001-06-20 Dave Peticolas <dave@krondo.com>
* configure.in: better error messages. remove cruft.
2001-06-19 Dave Peticolas <dave@krondo.com>
* src/engine/gnc-numeric.c: use C comments.
* src/engine/SchedXaction.[ch]: use C comments.
* src/gnome/gnc-frequency.[ch]: use C comments. fix warnings
2001-06-19 Bill Gribble <grib@billgribble.com>
* src/scm/qif-import/qif-parse.scm: convert to gnc-numeric when
parsing, using string length as the precision
* src/scm/qif-import/qif-to-gnc.scm: use gnc-numeric
math routines where necessary
* src/scm/qif-import/qif-file.scm: pass an equality test
predicate to check-and-parse-fields
* src/scm/report/*: fix module reports to use-modules on
srfi-1 and slib where needed.
2001-06-19 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-nextrun.h: add guards
* src/gnome/dialog-nextrun.c: use C comments.
2001-06-19 Bill Gribble <grib@billgribble.com>
* src/scm/qif-import/qif-objects.scm: initialize fields to ""
rather than #f
* src/scm/qif-import/qif-to-gnc.scm: fix cut-n-paste error
2001-06-19 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-scheduledxaction.c: use C comments. fix warning
2001-06-18 Dave Peticolas <dave@krondo.com>
* src/test/test-stuff.[ch]: fix warning
2001-06-18 James LewisMoss <jimdres@mindspring.com>
* src/engine/gnc-transaction-xml-v2.c
(gnc_transaction_end_handler): use dom_tree_to_transaction.
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): use
dom_tree_to_account.
2001-06-18 Rob Browning <rlb@cs.utexas.edu>
* src/scm/report/report-list.scm: switch to use-modules for
some reports.
* po/.cvsignore: add ChangeLog.
* src/scm/report/transaction-report.scm: renamed to transaction.scm
* src/scm/report/transaction.scm: renamed from
transaction-report.scm and converted to guile module.
* src/scm/report/taxtxf.scm: convert to guile module.
* src/scm/report/register.scm: convert to guile module.
* src/scm/report/price-scatter.scm: convert to guile module.
* src/scm/report/portfolio.scm: convert to guile module.
* src/scm/report/pnl.scm: convert to guile module.
* src/scm/report/net-barchart.scm: convert to guile module.
* src/scm/report/iframe-url.scm: convert to guile module.
* src/scm/report/hello-world.scm: convert to guile module.
* src/scm/report/category-barchart.scm: convert to guile module.
* src/scm/report/balance-sheet.scm: convert to guile module.
* src/scm/report/average-balance.scm: convert to guile module.
* src/scm/report/account-summary.scm: convert to guile module.
* src/scm/report/account-piecharts.scm: convert to guile module.
* src/scm/report/Makefile.am (gncscmmoddir): dir for report modules.
(gncscmmod_DATA): add reports that have been modularized.
(gncscm_DATA): remove reports that have been modularized.
* src/scm/bootstrap.scm.in (gnc:load): don't silently succeed on
load errors -- fail.
* src/scm/report-html.scm: make (ice-9 slib) dependency explicit.
* src/scm/depend.scm (gnc:depend): add optional timing facility.
* src/gnome/gnc-frequency.c: fixed some type problems.
* src/gnome/dialog-scheduledxaction.c: fixed some type problems.
* src/gnome/dialog-nextrun.c: fixed some type problems.
2001-06-18 Dave Peticolas <dave@krondo.com>
* src/engine/gnc-schedxaction-xml-v2.c: same as below
* src/MultiLedger.c: same as below
* src/SplitLedger.c: same as below. fix indentation. please
use the indentation style already present in the file.
* src/engine/gnc-freqspec-xml-v2.c: same as below
* src/engine/FreqSpec.[ch]: fix warnings. use standard C comments
* doc/sgml/C/xacc-about.sgml: update credits
2001-06-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
Added.
* src/FileDialog.c: Added support for copying
scheduled-transaction-related GNCBook fields.
* src/engine/FreqSpec.{h,c}: Added.
* src/engine/SchedXaction.{h,c}: Added.
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
* src/engine/gnc-book.c: Added the template group [template
transaction belong to the template group] and the Scheduled
Trasnaction list.
* src/gnome/glade/sched_xact.glade: Added.
* src/gnome/dialog-nextrun.{h,c}: Added.
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
* src/gnome/gnc-frequency.{h,c}: Added.
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
Template Ledger.
* src/guile/gnc.gwp: Added wrapping for
dialog-{scheduledxactions,nextrun}-creation functions.
* src/register/splitreg.c: Added formula credit and debit cells,
and flags for template-register support.
* src/register/formulacell.h: Added.
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
in IRC.
* src/gnome/query-user.h: Added prototype of
gnc_verify_dialog_parented(...), so I could use it the SX UI
stuff.
2001-06-17 Kevin Finn <kevinfinn@mediaone.net>
* src/gnome/window-reconcile.c: Implemented automatic interest
transfer as a stripped-down transfer dialog. This allows the user
to automatically enter an interest charge or payment for bank or
credit accounts prior to starting reconciliation, subject to both
a global and per-account preference.
* src/gnome/dialog-transfer.c,h: Add interfaces to allow the
dialog-transfer to be manipulated as necessary to create the auto
interest transfer dialog.
* src/scm/prefs.scm: added new Reconcile boolean: Automatic
Interest Transfer
* src/engine/Account.c,h: Add access functions
for per-account auto interest xfer kvp
* src/engine/kvp_doc.txt: Document new kvps.
2001-06-17 James LewisMoss <jimdres@mindspring.com>
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): strip
string before setting things.
* src/engine/io-gncxml-v2.c (gnc_book_write_to_xml_file_v2): check
return of fclose.
2001-06-17 Dave Peticolas <dave@krondo.com>
* src/gnome/cursors.c (gnc_set_busy_cursor): fix warning
* src/scm/date-utilities.scm: use gnc:print-date instead of
strftime
* src/scm/report/hello-world.scm: fix docs
* src/scm/report/transaction-report.scm: fix date printing
* src/scm/report/register.scm: remove cruft
* src/register/gnome/gnucash-style.c (gnucash_font_load): new func
If gdk_fontset_load doesn't work, try gdk_font_load.
(gnucash_style_set_register_font_name): use gnucash_font_load
(gnucash_style_set_register_hint_font_name): use gnucash_font_load
* src/FileDialog.c (gncFileSave): save the window state on a save
(gncFileQuerySave): don't provide cancel option when the ui can't
* src/scm/main-window.scm (gnc:main-window-save-state): new func
don't save state when the ui can't
* src/gnome/window-main.c
(gnc_main_window_can_cancel_exit): new func
(gnc_main_window_can_save): new func
(gnc_main_window_has_apps): new func
* src/gnc-ui.h: add new api
* src/gnome/top-level.c (gnc_ui_can_cancel_exit): new func
2001-06-16 Dave Peticolas <dave@krondo.com>
* src/guile/gnc.gwp: update for api change
* src/scm/main.scm: update for api change
* src/gnome/glade/newuser.glade: new file for new user glade xml
* src/gnome/glade-support.[ch]: remove generated files
* src/gnome/new-user-*.[ch]: remove old files
* src/gnome/dialog-new-user.c: new file for new user dialog code.
* src/gnome/druid-hierarchy.c: new file for account hierarchy
creation druid code. Rename api calls to reflect the more
general use of the druid.
2001-06-16 Robert Graham Merkel <rgmerk@mira.net>
* po/POTFILES.in : remove references to deleted files.
2001-06-15 James LewisMoss <jimdres@mindspring.com>
* src/engine/gnc-book.c (gnc_book_write_to_file): remove useless
line.
(make_backup): new func for duplicate functionality
(copy_file): new func to copy file.
(gnc_book_backup_file): use make_backup
(gnc_book_write_to_file): use make_backup
2001-06-15 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-account-picker.c: use libglade
* src/gnome/dialog-print-check.c: use libglade
* src/gnome/dialog-find-transactions.c: use libglade
* src/guile/gnc.gwp: remove budgeting api
* src/gnome/dialog-budget.[ch]: remove
* src/gnome/dialog-fincalc.c: use libglade
* src/gnome/dialog-commodity.c: use libglade
* src/gnome/dialog-account.c: use libglade
* src/gnome/dialog-userpass.c: fix bloop
* src/gnome/druid-commodity.c: use libglade
2001-06-14 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-qif-import.c: use libglade
2001-06-14 Robert Graham Merkel <rgmerk@mira.net>
* src/engine/Transaction.c (get_corr_account_split): Fix
bug - lookup split values rather than balances.
2001-06-14 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-transfer.c: use libglade
* rpm/gnucash.spec.in: fix bug
2001-06-13 Dave Peticolas <dave@krondo.com>
* src/experimental/cgi-bin/Makefile.am: add .cvsignore to dist
* src/scm/report/account-summary.scm: fix string
* src/guile/gnc-helpers.c (gnc_scm_list_to_glist): fix bug
* src/scm/extensions.scm: fix bug
* src/gnome/dialog-progress.c: use libglade
* src/gnome/window-help.c: use libglade
* src/gnome/dialog-utils.c (gnc_glade_lookup_widget): new func
* src/gnome/dialog-tax-info.c: use libglade
* src/gnome/dialog-style-sheet.c: use libglade
2001-06-13 James LewisMoss <jimdres@mindspring.com>
* configure.in (CFLAGS): add test-files makefiles to list.
* src/test/Makefile.am: add SUBDIRS test-files.
* src/test/test-load-xml2.c (main): add test for file ending so we
don't get the Makefiles
* doc/sgml/de_DE/Makefile.am: remove empty SUBDIRS setting.
2001-06-13 Dave Peticolas <dave@krondo.com>
* src/gnome/glade/stocks.glade: new file for old stock split druid
* src/gnome/druid-stock-split.c: use libglade
* src/gnome/glade/userpass.glade: new file for old
username/password dialog
* src/gnome/dialog-userpass.c: use libglade
* src/gnome/dialog-column-view.c: more libglade work
2001-06-13 Bill Gribble <grib@billgribble.com>
* src/sc/qif-import/qif-guess-map.scm: fix bug in
account name guessing
2001-06-13 Herbert Thoma <herbie@hthoma.de>
* po/de.po: updated German translation for transfer dialog.
* doc/build-suse.txt: updated for gnucash 1.6 / SuSE 7.2
2001-06-12 Dave Peticolas <dave@krondo.com>
* src/gnome/glade/report.glade: new file for old report dialogs
* src/gnome/dialog-column-view.c: use libglade
2001-06-12 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-price-editor.c: fix bug
* src/gnome/glade/price.glade: new file for old price dialogs
* src/gnome/dialog-price-editor.c: use libglade
* src/gnome/reconcile-list.c: obey new option below
* src/scm/prefs.scm: add option wrt checking off cleared
transactions when reconciling
* src/register/table-allgui.[ch]: move function to .c file
* src/scm/tip-list.scm: update tip
* src/register/register-common.h: move function defs to
register-common.c
* src/register/register-common.c: new file
* src/gnome/glade/Makefile.am: new file
* src/gnome/glade/commodity.glade: new file. glade file for
commodity dialog
* src/gnome/dialog-commodities.c: use libglade
* src/gnome/dialog-utils.c (gnc_glade_xml_new): new func
(gnc_glade_xml_new_widget): new func
* rpm/gnucash.spec.in: add glade dir
* configure.in: move libglade check to glade section.
add configured glade file dir.
* src/gnome/Makefile.am: add glade flags & glade dir
* src/Makefile.am: add glade libs
* src/scm/report/account-piecharts.scm: same as below
* src/scm/report/category-barchart.scm: remove hint text
* src/engine/gnc-book.c (gnc_book_get_file_lock): some filesystems
don't support hard links. If the error code indicates this, go
ahead and grant the lock. Is there a better way?
2001-06-11 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-date-picker.c
(gnc_date_picker_key_event): fix bug
* src/scm/Makefile.am: same as below
* src/scm/price-quotes.scm: same as below
* src/scm/process.scm: re-modulize process.scm
2001-06-10 Christian Stimming <stimming@tuhh.de>
* de.po: updated German translation.
* configure.in, doc/sgml/Makefile.am, doc/sgml/de_DE/*: Added
German translation of a few manual pages, including a Whats-New
table for the translated words.
2001-06-10 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-print.sgml: fix docs
* src/engine/gnc-engine-util.c: change debug levels to warning
2001-06-10 Bill Gribble <grib@billgribble.com>
* src/scm/report/welcome-to-gnucash.scm: fix bug in "welcome to
gnucash" report
* src/gnome/dialog-column-view.c: remove printout
2001-06-09 Dave Peticolas <dave@krondo.com>
* configure.in: fix bug
* doc/sgml/C/xacc-about.sgml: update credits
* src/gnome/window-main.c (gnc_main_window_about_cb): update
credits
* AUTHORS: update credits
* src/gnome/reconcile-list.c (gnc_reconcile_list_refresh): fix
bugs
* src/gnome/dialog-utils.c (gnc_clist_add_check): fix bugs
* doc/sgml/pt_PT/Makefile.am: remove adjust balance docs
* doc/sgml/C/Makefile.am: remove adjust balance docs
* doc/sgml/de_DE/xacc-quickstart.sgml: fix docs
* doc/sgml/pt_PT/xacc-quickstart.sgml: fix docs
* doc/sgml/C/xacc-quickstart.sgml: fix docs
* src/scm/help-topics-index.scm: work on index
* src/gnome/window-help.c (gnc_help_show_topic): first check
current location for match
* src/SplitLedger.c (xaccSRDuplicateCurrent): fix bug
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): allow
group to be specified
(gnc_account_create_opening_balance): search in given account's
group
2001-06-08 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): first
search for untranslated name, then translated name.
* src/gnome/new-user-callbacks.c
(on_chooseAccountTypesPage_prepare): suspend & resume gui
refreshes while loading accounts.
add more suspend & resume calls for other big changes
* src/gnome/new-user-funs.c (gnc_create_newUserDialog): make clist
column titles passive
* src/gnome/new-user-callbacks.c
(on_chooseAccountTypesPage_prepare): use pointer<->int conversion
macros
(gnc_get_ea_locale_dir): take out debugging messages
(on_newAccountTypesList_unselect_row): fix bug
(on_newAccountTypesList_select_row): fix bug
(add_each_gea_to_clist): fix mem leak
(on_newAccountCurrencyChoosePage_prepare): use pointer<->int
conversion macros
* src/SplitLedger.c (xaccSRGetEntryHandler): handle reconcile
cell string as appropriate for translate flag.
* src/register/table-allgui.c (gnc_table_get_entry): return
translated version
(gnc_table_get_entry_internal): return untranslated version
* src/register/table-allgui.h: add 'translate' argument to
entry handler api.
2001-06-08 Christian Stimming <stimming@tuhh.de>
* configure.in, accounts/Makefile.am, accounts/de_DE/*: add
account template files for German locale.
* src/gnome/gnucash.desktop, po/de.po: updated German translation.
2001-06-08 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
* src/doc/design/gnucash-design.texinfo: update docs
2001-06-08 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-file-operations.sgml, xacc-quickstart.sgml,
xacc-regwin.sgml: updates and corrections.
2001-06-07 Dave Peticolas <dave@krondo.com>
* src/scm/price-quotes.scm: same as below
* src/scm/Makefile.am: same as below
* src/scm/process.scm: un-modulize process.scm. Let's experiment
with this after 1.6.
* src/gnome/new-user-callbacks.c (gnc_get_ea_locale_dir): if first
check fails, see if 2-letter prefix succeeds
2001-06-07 James LewisMoss <jimdres@mindspring.com>
* doc/README.translator.txt (variables): add instructions for
manual and account hierarchy files.
* src/gnome/new-user-callbacks.c: fix test for commodity added by
setting data on druid rather than a global variable (bad jim.
global variable bad).
(on_chooseAccountTypesPage_prepare): remove old comment.
(on_chooseAccountTypesPage_prepare): set object data that account
lists loaded.
(on_chooseAccountTypesPage_prepare): use new func to determine
locale dir.
(gnc_get_ea_locale_dir): new func to determine locale correct dir
to read account files from.
* src/gnome/new-user-funs.c (gnc_get_new_user_dialog): new func.
* src/gnome/new-user-callbacks.c (set_first_startup): simplify
using the global-options.h func gnc_set_boolean_option.
* src/FileDialog.c (gncFileNew): lookup pref and do or don't run
new account list druid.
* doc/sgml/C/image/Makefile.am (image_DATA): add new user images.
* src/gnome/new-user-callbacks.c
(on_newAccountCurrencyChoosePage_prepare): remove old comment.
* doc/sgml/C/xacc-quickstart.sgml: add link to
account-hierarchy-creator.
* doc/sgml/C/Makefile.am (GNUCASH_SGML_FILES): add account
hierarchy sgml file to list.
2001-06-07 Dave Peticolas <dave@krondo.com>
* src/doc/design/gnucash-design.texinfo: update docs
* src/doc/design/engine.texinfo: update docs
2001-06-06 Dave Peticolas <dave@krondo.com>
* src/scm/report-html.scm: remove unneeded (require 'printf).
This is invoked as part of testing for slib > 2c4. For slib
< 2c4, printf is loaded from slib-backup.scm.
2001-06-07 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-regwin.sgml: Chris "Wilddev" Lyttle's
register documentation update.
* doc/sgml/C/image/MakeFile.am, autosplitledger.png,
basicledger-transfer.png, basicledger.png editaccount.png,
transactionjrnl.png: Wilddev's screenshots.
* doc/sgml/C/xacc-toplevel.sgml, xacc-calculator.sgml,
xacc-file-operations.sgml: more new docs.
* doc/sgml/C/xacc-quickstart.sgml, xacc-mainwin.sgml,
xacc-reports.sgml, gnucash.sgml: updates.
* doc/examples/reg_doc_example.xac: add register doc
example file.
* AUTHORS: added Chris Lyttle.
* src/scm/help-topics-index.scm: Updates to reflect doc work.
2001-06-06 Dave Peticolas <dave@krondo.com>
* src/gnome/gnc-dialogs.glade: fix string
* src/scm/report.scm: fix i18n bug
2001-06-06 James LewisMoss <jimdres@mindspring.com>
* README.patches: remove warning at top. Up version number to
1.6.
* README: fix dependancies. Spell check.
2001-06-06 Dave Peticolas <dave@krondo.com>
* src/test/test-real-data.sh: Josh Sled's bug fix
* src/doc/design/engine.texinfo: document prices and their API
* src/doc/design/gnucash-design.texinfo: update docs
* macros/gnome.m4: Chris J (Oakton) Leach's macro patch
* AUTHORS: update credits
* doc/sgml/C/xacc-about.sgml: update credits
2001-06-05 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-fincalc.c: grey out the frequency menu
when compounding is continuous.
* src/engine/sql/Makefile.am: add checkpoint.h
2001-06-05 Christian Stimming <stimming@tuhh.de>
* src/scm/report/category-barchart.scm, average-balance.scm,
net-barchart.scm: changed price source default to
weighted-average.
* src/scm/prefs.scm: fix string.
* src/scm/options-utilities.scm: added date interval Quarter, Half
Year.
* src/scm/date-utilities.scm: added QuarterDelta, HalfYearDelta
* po/de.po: Updated German transl
2001-06-05 James LewisMoss <jimdres@mindspring.com>
* doc/sgml/C/xacc-gpl.sgml: more cleanups.
* doc/sgml/C/xacc-locatingtxns.sgml: promote sect3's to sect2's.
* doc/sgml/C/xacc-gpl.sgml: remove sect1. cleanup.
* doc/sgml/C/xacc-print.sgml: wrap content in sect1.
* doc/sgml/C/xacc-gpl.sgml: remove sect1. promote rest of
sections.
* doc/sgml/C/xacc-y2k.sgml: wrap content in sect1
* doc/sgml/C/xacc-stock-price-report.sgml: remove section title.
* doc/sgml/C/xacc-txf-export.sgml: wrap content in sect1.
* doc/sgml/C/xacc-txf-export-anomalies.sgml: wrap content in
sect1.
* doc/sgml/C/xacc-txf-categories.sgml: wrap content in sect1.
* doc/sgml/C/xacc-trans-report.sgml: wrap content in sect1.
* doc/sgml/C/xacc-tax-report.sgml: wrap content in sect1.
* doc/sgml/C/xacc-reports.sgml: remove sectionness of first section.
* doc/sgml/C/xacc-regwin-kbd.sgml: wrap content in sect1.
* doc/sgml/C/xacc-regwin.sgml: remove sectionness of first
section.
* doc/sgml/C/xacc-quickstart.sgml: remove sect1. promote sect2's
to sect1's.
* doc/sgml/C/xacc-qif-import.sgml: remove sect1. promote sect2's
and sect3's one up.
* doc/sgml/C/xacc-print-check.sgml: remove sect1. promote sect2's
to sect1's.
* doc/sgml/C/xacc-portfolio-report.sgml: remove section title.
* doc/sgml/C/xacc-pnl.sgml: wrap content in sect1.
* doc/sgml/C/xacc-net-worth-barchart.sgml: remove section title.
* doc/sgml/C/xacc-multicolumn-view-reports.sgml: remove section
title.
* doc/sgml/C/xacc-mainwin.sgml: wrap content in sect1.
* doc/sgml/C/xacc-locatingtxns.sgml: remove sect1. promote sect2's
to sect1's.
* doc/sgml/C/xacc-income-expense-piecharts.sgml: remove section
title.
* doc/sgml/C/xacc-income-expense-barcharts.sgml: remove section
title.
* doc/sgml/C/xacc-gnucash-web-browser.sgml: remove section title.
* doc/sgml/C/xacc-gnome-mdi.sgml: remove first section's
sectionness.
* doc/sgml/C/xacc-dateinput.sgml: remove section title.
* doc/sgml/C/xacc-euro.sgml: remove top level sect1 and promote
all sect2's to sect1's.
* doc/sgml/C/xacc-currencyhandling.sgml (LINKEND): remove first
section.
* doc/sgml/C/xacc-common-report-options.sgml: remove section
title.
* doc/sgml/C/xacc-commodity.sgml: insert section around
everything.
* doc/sgml/C/xacc-balancesheet.sgml: remove section title.
* doc/sgml/C/xacc-balancereport.sgml: insert section around
everything.
* doc/sgml/C/xacc-depreciation.sgml: remove sectionness of first
bit. leave para's as top level.
* doc/sgml/C/xacc-apar.sgml: remove sectionness of first bit.
leave para's as top level.
* doc/sgml/C/xacc-adjbalwin.sgml: remove section title.
* doc/sgml/C/xacc-newacctwin.sgml: remove section title.
* doc/sgml/C/xacc-asset-liability-piecharts.sgml: remove section
title.
* doc/sgml/C/xacc-asset-liability-barcharts.sgml: remove section
title.
* doc/sgml/C/xacc-accountedit.sgml: Remove title for section so
"Editing an Account" doesn't appear twice.
* doc/sgml/C/xacc-acctypes.sgml: Remove title for section so
"Account Types" doesn't appear twice.
2001-06-05 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-commodity.c: use new func
* src/gnome/new-user-funs.c: use new func
* src/gnome/druid-qif-import.c: use new func
* src/gnome/druid-utils.c (gnc_druid_set_colors): new func
* doc/sgml/C/xacc-about.sgml: update credits
* AUTHORS: update credits
2001-06-04 Dave Peticolas <dave@krondo.com>
* src/gnome/new-user.glade: tweak gui. fix strings.
* src/gnome/window-main.c: fix mem leak
* doc/sgml/C/xacc-about.sgml: update credits
* AUTHORS: update credits
* lib/srfi/srfi-19.scm: fix bug.
2001-06-04 Rob Browning <rlb@cs.utexas.edu>
* lib/srfi/srfi-19.scm: updated to include guile-core bug fixes.
Removed syncase dependency.
(priv:open-input-string): removed -- check for open-input-string
and define that if not found.
(:optional): removed - just as easy to handle by-hand -- all funcs
that called :optional have been adjusted.
(priv:read-tai-utc-data): remove priv: from open-input-string.
(string->date): remove priv: from open-input-string.
(date): change constructor name to make-date.
(priv:decode-julian-day-number): add inexact->exact after
truncate.
(time-utc->date): add inexact->exact and int-secs.
(priv:locale-reader): use reverse! on result rather than reverse.
* src/scm/Makefile.am (gnc_regular_scm_files): remove process.scm.
(gncscmmoddir): new directory for gnucash guile modules --
i.e. for files available via (use-modules (gnucash foo)).
(gncscmmod_DATA): first gnucash guile module (gnucash process).
* src/scm/price-quotes.scm: use (gnucash process) module.
* src/scm/process.scm: now a guile module (gnucash process).
(gnc:cleanup-sub-process): fix several missing waitpid pid args.
2001-06-04 James LewisMoss <jimdres@mindspring.com>
* src/test/test-xml-commodity.c (node_and_commodity_equal): use
string_to_gint64 rather than string_to_integer.
* src/engine/sixtp-utils.c: (string_to_gint64) return FALSE if the
content is NULL.
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): use
string_to_gint64 rather than string_to_integer.
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): use
string_to_gint64 rather than string_to_integer.
* src/engine/sixtp-dom-parsers.c (string_to_integer): remove
func. duplicates string_to_gint64
2001-06-04 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c: fix spelling errors
* src/register/gnome/gnucash-item-edit.c: same as below
* src/register/gnome/gnucash-sheet.c: check change confirmation
before popping up combo list.
* src/register/table-allgui.c (gnc_table_confirm_change): new func
2001-06-03 Christian Stimming <stimming@tuhh.de>
* po/de.po: Massive update of the German translation according to
the finalized glossary. Should be ready for 1.6 by now, pending a
spellcheck by other translators.
* po/gnc-glossary.txt: Four more entries added, that's it for now.
2001-06-02 Dave Peticolas <dave@krondo.com>
* src/gnome/top-level.c (gnc_ui_start_event_loop): remove
debugging comment
* src/scm/report/register.scm: fix bugs
* src/scm/html-utilities.scm: fix bugs
* src/gnome/window-register.c: fix bugs
* src/scm/report/price-scatter.scm: same as below
* src/scm/prefs.scm: same as below
* src/gnc-ui-util.c: same as below
* src/gnome/druid-qif-import.c: same as below
* src/gnome/dialog-price-editor.c: same as below
* src/gnome/dialog-fincalc.c: same as below
* src/SplitLedger.c: use gnc_default_currency instead
of gnc_locale_default_currency.
* src/scm/options-utilities.scm: use new func
* src/scm/report/transaction-report.scm: handle splits with no
account
* src/gnome/dialog-account.c: use new func
* src/gnome/window-main-summarybar.c: use new func
* src/guile/gnc.gwp: wrap new func below
* src/guile/global-options.c (gnc_default_currency): new func
to return user-set default currency
* src/engine/gnc-book.c (gnc_book_backup_file): use g_free
instead of free.
2001-06-02 Christian Stimming <stimming@tuhh.de>
* po/gnc-glossary.txt: Updated glossary, 15 new terms, and lots of
explanations. Feedback welcome.
2001-06-02 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-date-picker.c (gnc_date_picker_new):
fix bug
* src/SplitLedger.c: fix mem leak
* src/gnome/top-level.c: handle X errors ourselves
2001-06-01 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c: use new scanf macro below
* src/engine/sixtp-dom-parsers.c (string_to_integer): use new
scanf macro below
* src/engine/sixtp-utils.c: use new scanf macro below
* src/engine/gnc-numeric.c: use new scanf macro below
* src/engine/gnc-engine-util.h: define GNC_SCANF_LLD macro to use
for scanf long long int conversion. This is needed since there is
not a common solution between Linux, Solaris, and FreeBSD. Thanks
to Matthew Condell for finding the problem and to Matt and Alan
Orndorff for testing it.
* configure.in: invoke conversion test below
* acinclude.m4: add test for %lld scanf conversion
* README: update info
2001-06-01 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/commodity-utilities.scm: exchange functions
now return unchanged quantity if the two currencies are
identical.
2001-06-01 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: document commodity table API
* src/doc/design/gnucash-design.texinfo: update docs
2001-05-31 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-dom-parsers.c (string_to_binary): fix sanity
checks
(dom_tree_to_gnc_numeric): fix mem leak
* src/test/test-dom-converters1.c (test_dom_tree_to_gnc_numeric):
fix bug
* src/engine/sixtp-utils.c (string_to_gint32): use intermediate
variable in case int != gint32.
* src/test/test-dom-converters1.c: fix spelling
* src/engine/sixtp-dom-generators.c (int_to_dom_tree): cast
gint64 to long long int for %lld.
2001-05-31 James LewisMoss <jimdres@mindspring.com>
* src/scm/tip-of-the-day.scm ((gnc:current-tip-number)): reset
number if greater. tips read before config file so this number
gets reset by config file too high.
2001-05-31 Dave Peticolas <dave@krondo.com>
* src/doc/design/gnucash-design.texinfo: update docs
* src/doc/design/engine.texinfo: document commodites & their API
* doc/sgml/C/xacc-price-editor.sgml: fix warnings
2001-05-31 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-ticker.sgml: renamed xacc-price-sources.sgml
in preparation for rewriting - some material to be excised.
* doc/sgml/C/xacc-price-editor.sgml: new file.
* doc/sgml/C/gnucash.sgml: updated for new/changed file names.
* doc/sgml/C/*.sgml: change xacc-ticker references to
xacc-price-sources, or remove them entirely.
2001-05-30 Dave Peticolas <dave@krondo.com>
* src/test/Makefile.am: add missing link lib
* src/engine/sixtp.c: include sys/types.h for ssize_t under
freebsd
* src/engine/sixtp-utils.c (timespec_secs_to_given_string): use
gnc_timezone
* src/engine/date.c (gnc_timezone): new func
(gnc_iso8601_to_timespec): use gnc_timezone
(gnc_timespec_to_iso8601_buff): use gnc_timezone
2001-05-29 Dave Peticolas <dave@krondo.com>
* configure.in: call new macro below
* acinclude.m4: add macro to check for tm_gmtoff struct tm member
* src/engine/date.c: handle all uses of nl_langinfo.
2001-05-30 Robert Graham Merkel <rgmerk@mira.net>
* src/engine/date.c (printDate): Workaround for
missing nl_langinfo.
* src/engine/Query.c: moved sys/types.h before
regex.h.
* acinclude.m4 (HAVE_LANGINFO_D_FMT): add check
for working nl_langinfo(D_FMT).
* configure.in: use check for nl_langinfo(D_FMT).
2001-05-29 Robert Graham Merkel <rgmerk@mira.net>
* src/gnome/dialog-options.{ch} (gnc_options_dialog_new):
provide the ability to (optionally) set a title for
the options dialog box. API changed.
* src/gnome/dialog-column-view.c, dialog-style-sheet.c,
window-acct-tree.c :modify to use changed API.
* src/gnome/window-report.c: use new API to title report
options dialogs.
2001-05-28 Dave Peticolas <dave@krondo.com>
* doc/sgml/pt_PT/*: add Duarte Loreto's updated transations
* src/engine/gnc-pricedb.c (compare_prices_by_date): stabilize
sort using guids
* src/engine/gnc-pricedb-xml-v1.c (price_parse_xml_sub_node): fix
mem leak
2001-05-27 Christian Stimming <stimming@tuhh.de>
* src/scm/tip-list.scm: edited some tips after consultation with
Robert Graham Merkel.
* po/sv.po: by Pablo Saratxaga <pablo@mandrakesoft.com>: changed
DOS end of lines to Unix end of lines.
2001-05-26 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-fincalc.c: Kevin Foss's bug fix
* src/engine/sql/kvp-sql.h: add /* */ around #endif comment
* src/gnc-component-manager.c (gnc_cm_event_handler): ignore
price events
2001-05-26 James LewisMoss <jimdres@mindspring.com>
* src/gnome/new-user-funs.c (gnc_new_user_dialog_is_new_user): new
func to test is new user.
(gnc_ui_show_new_user_window): add arg for new user or not.
(gnc_ui_show_new_user_choice_window): call
gnc_ui_show_new_user_window with one argument saying it is a new
user call.
* src/gnome/new-user-callbacks.c (cancel_everything_out): new func
extracting out shared functionality.
(on_accountChooseDruidPage_cancel): add check to only pop up
cancel dialog for new user stuff.
* src/FileDialog.c (gncFileNew): call gnc_ui_show_new_user_window
with one argument saying it isn't new user call.
* src/gnome/new-user-callbacks.c
(on_newAccountTypesList_select_row): deal with change in the text
setting to a label rather than a gtktext.
(on_newAccountTypesList_unselect_row): same.
* Makefile.am (TAGS): ignore debian dir.
2001-05-26 Dave Peticolas <dave@krondo.com>
* src/gnome/window-acct-tree.c: fix label alignment
* src/gnome/window-report.c: fix label alignment
* src/gnome/window-main.c: put child menu after tools menu
2001-05-25 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-column-view.c (gnc_column_view_edit_size_cb):
fix bug
* src/scm/report/transaction-report.scm: default to sign-reverse
credit accounts. fix i18n bug.
* src/doc/design/engine.texinfo: update docs
* configure.in: add Norwegian to list of translations
* AUTHORS: add credits
* doc/sgml/C/xacc-about.sgml: add credits
2001-05-25 Christian Stimming <stimming@tuhh.de>
* po/no.po: Kjartan Maraas' Norwegian updated translation.
* src/gnome/gnc-html-guppi.c (gnc_has_guppi_version): generalized
this function for arbitrary Guppi versions. Tried to enable
barchart axis-labels for CVS Guppi but this gives nothing but
segfaults. Shit.
2001-05-25 Dave Peticolas <dave@krondo.com>
* src/scm/report/account-summary.scm: fix bug
* src/gnome/window-main.c: add close window button to toolbar
* doc/sgml/C/xacc-about.sgml: fix warnings
* doc/sgml/C/xacc-quickstart.sgml: fix warnings
2001-05-24 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-features.sgml: fix docs
* doc/sgml/C/xacc-account-summary.sgml: fix spelling
* src/gnome/new-user-funs.c (gnc_ui_show_new_user_choice_window):
jump to new user quickstart help when appropriate
* src/gnc-ui.h: add new help file
2001-05-25 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/average-balance.scm: catch all-zero-data
case, display warning message rather than let the graphing
code catch it.
* src/scm/html-utilities.scm: display report title
string in gnc:html-no-account-warning and
gnc:html-make-empty-data-warning. API changed.
* src/scm/report/*.scm: update to use changed
functions described above.
* src/scm/tip-list.scm: fix spelling mistake.
2001-05-24 Christian Stimming <stimming@tuhh.de>
* po/gnc-glossary.txt: added file for all our translators.
* src/scm/report/average-balance.scm: made strings more
consistent.
* src/scm/options-utilities.scm: adjusted the upper bound for plot
size.
* src/gnome/dialog-column-view.c: use menu-name in report-list.
* src/scm/report.scm (gnc:report-menu-name),
(gnc:report-template-menu-name/name): added functions.
2001-05-24 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/gnucash.sgml: add references to new files.
* doc/sgml/C/xacc-quickstart.sgml: New file, new user
documentation.
* doc/sgml/C/xacc-features.sgml: New file, describing
the features of GnuCash.
* doc/sgml/C/Makefile.am: update for new files.
* lib/srfi/srfi-19.scm: revert to older version.
* src/scm/tip-list.scm: more tips.
2001-05-23 Christian Stimming <stimming@tuhh.de>
* po/pt_PT.po: Duarte Loreto's updated translation.
* src/scm/prefs.scm, options-utilities.scm: fix string.
2001-05-23 Rob Browning <rlb@cs.utexas.edu>
* configure.in (AC_OUTPUT): remove src/scm/srfi/Makefile (again?).
* src/scm/report/transaction-report.scm: add use-modules
for syncase.
* lib/srfi/srfi-19.scm: update to new guile-core version. (Grab
my fixes).
2001-05-23 Dave Peticolas <dave@krondo.com>
* src/doc/design/gnucash-design.texinfo: update docs
* src/doc/design/engine.texinfo: update docs
* src/gnome/window-reconcile.c (startRecnWindow): fix bug
* src/scm/bootstrap.scm.in: fix test for slib
2001-05-22 Christian Stimming <stimming@tuhh.de>
* src/register/splitreg.c (configAction): fix comments for i18n.
2001-05-22 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-qif-import.c: fix scrollbar bug. raise qif
window to top
2001-05-21 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: remove cruft
* src/gnome/new-user-callbacks.c: use gncp_new_user_finish
* src/gnome/new-user-funs.c: finish new user choices dialog.
(gncp_new_user_finish): new func
* src/scm/main.scm: use new 'new user' call
* src/guile/gnc.gwp: change new user api
* src/guile/gnucash.h: change new user api
* doc/sgml/C/xacc-balancesheet.sgml: fix warning
2001-05-20 Dave Peticolas <dave@krondo.com>
* src/gnome/new-user-funs.h: add api & glade work for new
user choices dialog.
2001-05-21 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-whats-new.sgml: New file.
* doc/sgml/C/xacc-multicolumn-view-reports.sgml: preliminary
description.
* doc/sgml/C/xacc-report.sgml, xacc-balancesheet.sgml,
xacc-asset-liability-piecharts.sgml : more updates.
* src/scm/tip-list.scm: more tips.
2001-05-19 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp.c (gnc_is_our_xml_file): fix mem leak
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): fix
mem leak
* src/gnome/window-acct-tree.c: fix mem leak
* src/doc/design/engine.texinfo: update docs
* src/gnome/window-acct-tree.c: fix mem leaks
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): fix mem
leak
* src/engine/gnc-account-xml-v2.c (account_parent_handler): fix
mem leak
* src/engine/Group.c (xaccFreeAccountGroup): set parent's child
pointer to NULL
(xaccAccountRemoveGroup): set parent's child pointer to NULL
* src/engine/sixtp-dom-parsers.c (dom_tree_to_integer): fix mem
leak
2001-05-18 James LewisMoss <jimdres@mindspring.com>
* src/FileDialog.c (gncFileNew): create new user dialog on new
file new.
2001-05-18 Dave Peticolas <dave@krondo.com>
* src/engine/io-gncxml-w.c: remove
* src/engine/Group.h: fix prototype
* src/doc/design/engine.texinfo: update docs
* src/gnome/dialog-price-editor.c: add button to remove
prices before a user-entered date.
* src/gnome/file-history.c: fix for menu changes
* src/scm/report.scm: move reports menu to top-level
2001-05-17 James LewisMoss <jimdres@mindspring.com>
* src/engine/Makefile.am (libgncengine_la_SOURCES): remove
io-gncxml-w.c.
2001-05-17 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
* src/engine/Account.c (xaccAccountRecomputeBalance): include
frozen splits in reconciled balance. Fix variable names.
* accounts/C/*: tweak detailed descriptions
* doc/sgml/C/xacc-reports.sgml: fix warnings
* doc/sgml/C/xacc-net-worth-barchart.sgml: fix warnings
* doc/sgml/C/xacc-gnucash-web-browser.sgml: fix warnings
* doc/sgml/C/xacc-gnome-mdi.sgml: fix warnings
* doc/sgml/C/xacc-common-report-options.sgml: fix warnings
* doc/sgml/C/Makefile.am: add new file to Makefile.am
* src/doc/design/gnucash-design.texinfo: update docs
* src/doc/design/engine.texinfo: update docs
* src/engine/Account.c: same as below
* src/engine/Account.h: use GNCAccountType instead of 'int'
2001-05-17 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-gnucash-web-browser.sgml: New file.
* doc/sgml/C/Makefile.am: add new file.
* doc/sgml/C/gnucash.sgml, xacc-gnome-mdi.sgml,
xacc-asset-liability-piecharts.sgml: more updated/new content.
* ChangeLog: fix wrong path in (my) previous changelog
entry.
2001-05-16 Dave Peticolas <dave@krondo.com>
* src/doc/design/gnucash-design.texinfo: update docs
* src/doc/design/engine.texinfo: update docs
* src/engine/Account.c (xaccCloneAccountSimple): remove
redundant initialization
(xaccAccountGetSlots): handle NULL
* src/engine/Account.h: fix docs
* src/engine/AccountP.h: fix spelling errors in comments
2001-05-16 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/html-utilities.scm ((gnc:html-make-empty-data-warning)):
update message.
* doc/sgml/C/{gnucash.sgml, xacc-account-summary.sgml,
xacc-asset-liability-barcharts.sgml, xacc-reports.sgml}: more new
material.
* src/scm/xacc-stock-price-report.sgml: new file.
2001-05-15 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm: added another case to
gnc:case-exchange-time-fn. Needs more work.
(gnc:exchange-by-euro): new function. Added this function to all
other exchange function so that exchange of EURO currencies works
automagically in some more places. Doesn't work often enough,
though. Darn.
* src/scm/report/price-scatter.scm: Catch all cases that would
cause Guppi's scatterplot to barf.
2001-05-15 Rob Browning <rlb@cs.utexas.edu>
* doc/sgml/C/Makefile.am (GNUCASH_SGML_FILES): remove entries
listing missing files -- build was broken.
* src/scm/report/transaction-report.scm (addto!): make a
let-syntax since you apparently can't define-syntax before other
defines in a nested let.
* src/scm/report/register.scm (addto!): make a let-syntax since
you apparently can't define-syntax before other defines in a
nested let.
* src/scm/gnumeric/gnumeric-utilities.scm: use srfis as modules.
* src/scm/srfi/: moved to lib/srfi.
* src/scm/srfi/.cvsignore: moved to lib/srfi.
* src/scm/srfi/Makefile.am: moved to lib/srfi.
* src/scm/srfi/README: moved to lib/srfi.
* src/scm/srfi/srfi-1.r5rs.scm: merged to lib/srfi/srfi-1.scm.
* src/scm/srfi/srfi-1.unclear.scm: merged to lib/srfi/srfi-1.scm.
* src/scm/srfi/srfi-19.scm: moved to lib/srfi.
* src/scm/srfi/srfi-8.guile.scm: merged to lib/srfi/srfi-8.scm.
* src/scm/srfi/srfi-8.scm: merged to lib/srfi/srfi-8.scm.
* src/scm/utilities.scm (flatten): improved via grib's version.
* src/scm/text-export.scm: use srfis as modules.
* src/scm/main.scm: use srfis as modules.
* src/scm/date-utilities.scm: use srfi-19 as a module.
* src/scm/Makefile.am (SUBDIRS): remove srfi.
* src/gnome/window-main.c
(gnc_main_window_restore): fix prototype (const-wise).
* src/gnome/window-main.h
(gnc_main_window_restore): fix prototype (const-wise).
* Makefile.am (TAGS): add a msg to suggest --enable-tags.
* lib/Makefile.am (SUBDIRS): add srfi.
* configure.in: add lib/srfi/Makefile to AC_OUTPUT.
* lib/srfi/srfi-2.scm: new file.
* lib/srfi/srfi-9.scm: new file.
* lib/srfi/srfi-11.scm: new file.
* lib/srfi/srfi-8.scm: moved from src/scm/srfi/.
* lib/srfi/srfi-19.scm: moved from src/scm/srfi.
* lib/srfi/README: moved from src/scm/srfi/.
* lib/srfi/srfi-1.scm: moved from src/scm/srfi/.
2001-05-15 James LewisMoss <jimdres@mindspring.com>
* src/test/test-xml-account.c (node_and_account_equal): add equals
tests for currency and security scu.
* src/test/gnc-test-stuff.c (equals_node_val_vs_int): new func.
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler):
reorder some things: cleanup.
* src/test/test-xml-account.c (node_and_account_equal): return
strduped strings now.
(test_account): make sure to free string.
(test_real_account): free string.
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
use new func.
* src/engine/gnc-commodity-xml-v2.c
(gnc_commodity_dom_tree_create): use new func.
* src/engine/sixtp-dom-generators.c (int_to_dom_tree):new func.
2001-05-14 James LewisMoss <jimdres@mindspring.com>
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
add currency and security scus.
(account_currency_scu_handler): new func.
(account_security_scu_handler): new func.
Add refs to new funcs to parsing structure.
2001-05-15 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-reports.sgml, xacc-about.sgml,
xacc-dateinput.sgml, xacc-account-summary.sgml,
xacc-balancesheet.sgml, xacc-common-report-options.sgml
xacc-mainwin.sgml: update documentation for new features.
* doc/sgml/C/xacc-asset-liability-barcharts.sgml: new file.
Placeholder at this stage.
* doc/sgml/C/xacc-asset-liability-piecharts.sgml, xacc-gnome-mdi.sgml,
xacc-income-expense-barcharts.sgml, xacc-income-expense-piecharts.sgml,
xacc-multicolumn-view-reports.sgml: ditto.
2001-05-15 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
2001-05-15 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm, report/portfolio.scm: major
code cleanup. (gnc:pricealist-lookup-nearest-in-time) code moved
from report/portfolio.scm to commodity-utilities.scm.
2001-05-14 Christian Stimming <stimming@tuhh.de>
* src/scm/report/category-barchart.scm: fix bug.
2001-05-14 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-qif-import.c: fix bug
* src/engine/Account.c (xaccAccountGetChildren): fix bug
* src/engine/sixtp-dom-generators.c (add_kvp_value_node): use
xmlNewTextChild.
* src/scm/report/register.scm: reverse balance where appropriate.
put total in proper column.
* src/scm/report/price-scatter.scm: use a commodity option
so stocks/mutuals can be selected.
* src/engine/gnc-book.c (gnc_book_begin_file): check for missing
directory
* src/gnome/file-history.c (gnc_history_add_file): fix bug
2001-05-13 Kevin Finn <kevinfinn@mediaone.net>
* src/gnome/window-register.c: flag summarybar as NEVER_VERTICAL
2001-05-13 Christian Stimming <stimming@tuhh.de>
* src/scm/report/portfolio.scm: Added price-source option. Added
code to use prices from transactions.
* src/scm/commodity-utilities.scm: fix warnings.
2001-05-13 Dave Peticolas <dave@krondo.com>
* src/FileDialog.c (gncPostFileOpen): fix bug -- current_book
might be changed by book-opened-hook.
* src/scm/tip-list.scm: fix tip
* src/engine/Account.c (finder_help_function): fix warning
2001-05-13 Kevin Finn <kevinfinn@mediaone.net>
* src/SplitLedger.c, src/engine/Account.c, src/engine/Account.h:
moved function gnc_find_trans_in_account_by_desc from SR to become
new functions xaccAccountFindTransByDesc and
xaccAccountFindSplitByDesc so they could be used outside of the
register code.
* src/gnome/dialog-transfer.c: Added quickfill/autocomplete
functionality to the transfer dialog, based on the Description.
2001-05-13 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: write commodities with accounts
* src/engine/io-gncxml-v2.c (write_commodities): make public
* src/gnome/new-user.glade: tweak gui
* src/gnome/window-main.c: the "destroy" handler does not
return a result. add menu item & functionality for account
hierarchy export.
* src/scm/report/welcome-to-gnucash.scm: take out the ugly :)
2001-05-12 Christian Stimming <stimming@tuhh.de>
* src/scm/report/category-barchart.scm, net-barchart.scm,
average-balance.scm: Added price-source option. Uses new function
gnc:make-exchange-nearest-function to offer time-varying exchange
rates.
* src/scm/report-utilities.scm
(gnc:acccounts-get-all-subaccounts): added.
* src/scm/commodity-utilities.scm
(gnc:make-exchange-nearest-function): Added this and many more
functions to enable time-variant currency exchange.
* src/scm/report/price-scatter.scm: Add warnings if data is empty.
2001-05-12 Bill Gribble <grib@billgribble.com>
* src/gnome/dialog-options.c: fix destructor bug
* src/gnome/window-report.c: add options dialog to edited list
even if opened by a URL click.
* src/gnome/window-main.c: handle close of last window safely.
Still don't save MDI info correctly with WM close, though.
2001-05-12 Dave Peticolas <dave@krondo.com>
* src/FileDialog.c (gncFileSaveAs): don't use a default filename
* src/scm/report/hello-world.scm: put under utility menu
* src/scm/report/welcome-to-gnucash.scm: don't show in menu
* src/scm/report/iframe-url.scm: put under utility menu
* src/scm/report.scm: add 'utility reports' menu
* src/gnome/new-user-funs.c: add support for opening balances
* src/gnome/gnc-amount-edit.c (gnc_amount_edit_evaluate): allow
empty string as zero
* src/gnome/new-user-callbacks.c: add support for opening balances
* src/gnome/dialog-account.c (gnc_account_list_fill): fix warning
(gnc_account_window_destroy_cb): destroy callback has no return
(gnc_ui_to_account): reverse opening balance appropriately
* src/engine/Account.c: change return type to const
2001-05-12 Christian Stimming <stimming@tuhh.de>
* src/scm/report/pnl.scm, account-piecharts.scm,
account-summary.scm: Added price-source option. Use new function
gnc:case-exchange-fn.
* src/scm/date-utilities.scm (gnc:get-end-cur-fin-year): added
function.
* src/scm/options-utilities.scm (gnc:options-add-date-interval!):
changed the order of relative dates - which order is best?
* src/scm/report/balance-sheet.scm: use new function
gnc:case-exchange-fn.
* src/scm/commodity-utilities.scm (gnc:case-exchange-fn): add
function.
* src/scm/report/price-scatter.scm: adapted helper function name
to other reports.
* src/scm/report/price-scatter.scm: Extended option to use the
pricedb as a price source.
* src/scm/commodity-utilities.scm: Added functions for getting
sorted commodity splits, for total-average-prices of a
commodity-list, for instantaneous prices, for instantaneous prices
of a commodity-list, and for cooking your morning coffee :)
* src/scm/report-utilites.scm, html-utilities.scm: create new
function (gnc:accounts-get-commodities), use it in
html-utilities.scm.
* src/scm/html-scatter.scm: add workaround for rgba color.
2001-05-12 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/main-window.scm: create .gnucash if it doesn't exist
when saving a book config file.
2001-05-11 Dave Peticolas <dave@krondo.com>
* src/engine/Account.c (xaccCloneAccountSimple): use
xaccAccountSetCurrency -- it does more than just set the pointer!
* src/gnome/new-user-funs.c (clone_account): don't use engine
private functions.
* src/engine/io-example-account.c (add_account_local): fix up
currency & security for new example accounts
* src/engine/io-utils.c: add emacs mode comment to cancel
XML comment
* src/gnome/new-user-callbacks.c: fix compiler warning
* src/engine/gnc-book.c (gnc_book_set_group): fix bug
* src/engine/sql/Makefile.am: add files for make dist
2001-05-11 Bill Gribble <grib@billgribble.com>
* src/scm/main-window.scm: force-output when saving param files.
otherwise they don't get written until program exit, which can
cause problems. Add newlines to acct tree output.
2001-05-11 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
2001-05-11 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/account-piecharts.scm: add checks for empty
data.
2001-05-10 Dave Peticolas <dave@krondo.com>
* src/scm/main-window.scm ((gnc:main-window-book-open-handler
book-url)): restore the main window even if we can't get a
conf-file-name.
* src/scm/main.scm (gnc:load-account-file): if we have a file to
open, only run book-opened-hook if file open returns false.
* src/FileDialog.c (gncPostFileOpen): once book-closed-hook has
been run, run book-opened-hook if opening the file fails for some
reason.
* src/guile/gnc.gwp: update ui-open-file api.
* src/gnome/top-level.c (gnucash_ui_open_file): return TRUE/FALSE
for success/failure. use gboolean instead of int for boolean
returns.
2001-05-10 Bill Gribble <grib@billgribble.com>
* src/gnome/dialog-column-view.c: change handling of component
reports. now we explicitly handle the case of the column view,
which is the only report that needs to save/restore its children.
* src/gnome/gnc-html-guppi.c: add printing support for graphs.
Doesn't really work on my system ATM. I'll follow up on it.
* src/gnome/window-main.c: move save/restore forms out of gnome
MDI config string. rename some functions.
* src/gnome/window-report.c: save the initial report in a window
for special treatment. It's the one that gets saved and restored,
and whose title appears in the tab.
* src/scm/*: remove instances of report-add-child and friends.
The concept is unnecessary.
* src/scm/main-window.scm: save report and account data to a new
file named after the book in the directory ~/.gnucash/books.
* src/scm/options.scm: run option-changed callbacks in the order
they were added. Add gnc:options-touch to dirty the options
without changing anything.
* src/scm/report.scm: add new optional fields for the
define-report form: 'options-cleanup-cb and 'options-changed-cb.
'options-cleanup-cb is called before book save to allow you to
clean up any mess that you don't want saved. 'options-changed-cb
is called after any report option is changed. Both are optional.
Also get rid of the concept of 'display-lists' for reports and
let the displays update themselves with callbacks. Get rid of
parents and children for the reports.
* src/scm/report/view-column.scm: revamp to handle options
processing, saving, and rendering better.
2001-05-10 James LewisMoss <jimdres@mindspring.com>
* src/scm/main.scm ((gnc:main)): remove the main window startup
with new user startup (moved to end of new user stuff).
* src/engine/sql/PostgresBackend.c (pgendGetAllAccountKVP): same
as below.
* src/engine/rpc/RpcUtils.c (rpcend_build_gncacctlist):
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE)
(rpcend_build_gncacct_verslist): same.
* src/engine/gnc-book.c (gnc_book_set_group): free account group
when setting new one.
* src/engine/Group.c (xaccGroupForEachAccount): change from
xaccGroupForEachAccountDeeply and add argument on whether it
should do things deeply.
* src/engine/Account.c (xaccCloneAccountSimple): new func.
(xaccAccountEnumAsString): change arg to GNCAccountType.
* src/gnc-ui-util.c (gnc_ui_account_get_balance):
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE)
* src/engine/Account.c (xaccAccountGetChildren): Add children
group if ->children == NULL.
2001-05-10 Dave Peticolas <dave@krondo.com>
* src/guile/File.c (gncFindFile): handle NULL arg
(gncReadFile): use glib mem routines
* src/doc/design/engine.texinfo: update docs
* src/scm/command-line.scm: fix bugs
* src/engine/kvp_frame.c: handle NULL args
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.
* 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.
2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
* src/engine/*.[ch]: add GPL headers
2001-05-09 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: use the configurable report
title.
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
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.
2001-05-09 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/net-barchart.scm: check for empty data
and empty account lists.
* src/scm/report/category-barchart.scm: check for empty
data, print a nice error message.
* src/scm/html-piechart.scm: now produces a warning if an
empty piechart is sent to it.
* src/scm/html-barchart.scm: now checks for and warns
against empty barcharts
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.
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
2001-05-07 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm: Always use the absolute value
when building a weighted average.
2001-05-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: add options for marker shape
and color.
* src/scm/report/transaction-report.scm: fix bug.
2001-05-05 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: fix bugs
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.
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
* 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
2001-05-04 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm : Add labels
to subtotals.
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.
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
* make-gnucash-patch.in: fix bug
* README.cvs: update info
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.
2001-05-03 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm: fix bug with secondary
subheadings.
2001-05-03 Dave Peticolas <dave@krondo.com>
* many files: fix spelling errors
* src/gnome/gnc-html-guppi.c: use unsigned int for color
2001-05-02 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: set the app's mdi mode from user prefs
* README.cvs: add README about cvs write access
* src/scm/report/net-barchart.scm: same as below
* src/scm/report/category-barchart.scm: same as below
* src/scm/report/average-balance.scm: same as below
* src/scm/report/account-piecharts.scm: don't combine liabilities
& equity together.
* src/gnome/dialog-column-view.c: work on gui
* src/gnome/dialog-utils.c (gnc_clist_columns_autosize): new func
2001-05-02 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm: Fix bug with subheading
display.
2001-05-01 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-transfer.c: fix bugs
* src/guile/gnucash.c.in: update last stable version
2001-05-01 Conrad Canterford <conrad@mail.watersprite.com.au>
* make-gnucash-patch.in: add --file option to allow single file
patches to be made.
* README.patches (new file): Moved patch instructions from README
file into this new file, and added detailed descriptions of all
the options for make-gnucash-patch.
* README: see above
2001-05-01 Dave Peticolas <dave@krondo.com>
* src/scm/report/stylesheet-plain.scm: fix i18n bugs
* src/scm/report/stylesheet-fancy.scm: work on colors,
fix i18n bugs
* src/gnome/dialog-style-sheet.c: fix i18n bugs
* src/gnome/window-acct-tree.c: add popup menu to account tree
* src/gnome/mainwindow-account-tree.c
(gnc_mainwin_account_tree_attach_popup): add user_data argument
for popup menu
* src/gnome/window-register.c: same as below
* src/gnome/window-main.c: same as below
* src/gnome/window-register.c: obey gnome preferences for
menubar & toolbar detachability
2001-05-01 Christian Stimming <stimming@tuhh.de>
* src/scm/report/average-balance.scm: moved from
average-balance-2.scm. Fix bug.
2001-04-30 Dave Peticolas <dave@krondo.com>
* src/scm/report/portfolio.scm: fix bug
* src/scm/price-quotes.scm: handle 'nav' and 'price' types
* src/gnome/dialog-price-editor.c: update for nav price type
* src/quotes/finance-quote-helper.in: try 'nav' and 'price' if
'last' fails.
2001-05-01 Robert Graham Merkel <rgmerk@mira.net>
* src/engine/Query.{ch}: added date-granularity sorting functionality
to queries.
* src/engine/date.[ch] (timespecCanonicalDayTime): new function
migrated from the scheme code.
* src/guile/gnc.gwp: added wrappers for the above.
* src/scm/date-utilities.scm (gnc:timepair-canonical-day-time):
removed, replaced by new C function.
* src/scm/report/*.scm: added checks for "no-accounts-selected".
* src/scm/report/average-balance-2.scm: New (temporary) file.
The average balance report with a rewritten calculation engine.
* src/scm/report/register.scm: Modified to use global styles
* src/scm/report/transaction-report.scm: use improved sorting ability,
get report title from options.
* src/scm/html-utilities.scm (gnc:html-make-no-account-warning): new
function. (remove-last-empty-row): minor changes.
* src/scm/report-utilities.scm: added the ability to get "numitems"
out of a stats collector for debugging purposes.
2001-04-30 Christian Stimming <stimming@tuhh.de>
* src/scm/report/net-worth-timeseries.scm,
income-expense-chart.scm: removed files.
2001-04-29 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (gnc_locale_default_currency): handle no
default currency
* src/gnome/dialog-transfer.c: fix bugs
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.
2001-04-27 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Added workaround for gtkhtml
column width.
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
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.
2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm
(gnc:exchange-by-pricedb-{latest,nearest}): new functions.
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
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.
* 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.
2001-04-25 Dave Peticolas <dave@krondo.com>
* src/scm/commodity-utilities.scm: fix fixme
* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning
* src/engine/gnc-transaction-xml-v2.c: read & write split action
field
* 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
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.
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.
2001-04-24 Dave Peticolas <dave@krondo.com>
* src/gnome/window-register.c: add additional warnings when
deleting reconciled splits/transactions
2001-04-24 Christian Stimming <stimming@tuhh.de>
* src/guile/gnc.gwp: g-wrap all the euro-related functions.
2001-04-24 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-transfer.c: set price for euro currencies
automatically
* src/EuroUtils.c (gnc_euro_currency_get_rate): new func
2001-04-23 Dave Peticolas <dave@krondo.com>
* src/gnome/gnc-html-guppi.c: check for new guppi args before
passing them
2001-04-23 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Make more sanity
checks. Fix bugs.
2001-04-23 Dave Peticolas <dave@krondo.com>
* src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug
* src/engine/Account.c (xaccAccountSetPriceSrc): fix bug
2001-04-23 Kevin Finn <kevinfinn@mediaone.net>
* src/engine/Account.c src/engine/Account.h: added
xaccAccountGetBalanceAsOfDate and
xaccAccountGetShareBalanceAsOfDate, to determine the balance of an
account on a given date.
* src/gnome/window-reconcile.c: added appropriate callbacks so
that changes to the startRecnWindow date entry will update the
ending balance amount entry. Once the user manually updates the
ending balance amount, the automatic updates will no longer occur
if the date entry is changed again. Changed
gnc_get_reconcile_info to use the *AsOfDate funcs if possible.
2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: More work on subtotal
options.
* src/scm/report/net-worth-timeseries.scm: Add links to new
reports on bars.
* src/scm/options.scm, html-utilities.scm: Fix bugs with wrong
report names.
2001-04-22 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-find-transactions.c: remove tags notebook page.
2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/income-expense-graph.scm: Add links to new
reports on bars.
2001-04-22 Dave Peticolas <dave@krondo.com>
* src/scm/report/transaction-report.scm: use new api for
changing sensitivity
* src/guile/gnc.gwp: wrap new function
* src/guile/global-options.c (gnc_set_option_selectable_by_name):
new func
* src/guile/option-util.c
(gnc_option_db_set_option_selectable_by_name): new func
* src/gnome/dialog-options.c (gnc_set_option_selectable): new func
* src/gnome/dialog-account.c (gnc_type_list_unselect_cb): fix bug
* src/scm/report/register.scm: use query option to store query
* src/gnome/window-register.c (report_helper): don't copy
the query -- it's converted to scm now
* src/guile/gnc-helpers.c: more work on scm<->query
2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Added new options for
specifying whether a subtotal will be printed. Unfinished.
* src/scm/report.scm, src/scm/report/*.scm: Defined more string
constants for option names. Used them in the reports.
2001-04-21 Christian Stimming <stimming@tuhh.de>
* src/scm/options.scm (gnc:make-multichoice-callback-option):
Added multichoice option with callback functions, just like the
complex-boolean-option.
* src/scm/report/transaction-report.scm: Fixed date bug.
2001-04-21 Dave Peticolas <dave@krondo.com>
* src/guile/gnc-helpers.c: more work on scm<->query.
2001-04-20 Dave Peticolas <dave@krondo.com>
* src/gnome/window-report.c: raise app of new report to top
* src/register/recncell.c: add confirmation callback
* src/SplitLedger.c: implement reconcile confirm cb
* src/gnome/gnc-html.c: add missing include
* src/gnome/dialog-transfer.c: fix spelling
2001-04-20 Bill Gribble <grib@billgribble.com>
* src/gnome/dialog-column-view.c: maintain the report window
edited list when closing dialog. raise an existing edit dialog.
* src/gnome/gnc-html.c: make sure we know about options editors
launched from gnc-options: urls
* src/gnome/window-report.c: numerous changes to improve handling
of options dialogs.
* src/scm/report.scm: new function, gnc:report-edit-options.
2001-04-20 Dave Peticolas <dave@krondo.com>
* src/guile/gnc-helpers.c: remove cruft. work on converting
Query objects to and from a scheme representation (unfinished)
* src/guile/gnc.gwp: wrap more of the Query enums
* src/engine/Query.c (xaccQueryAddAccountGUIDMatch): new func
* src/scm/options.scm: add a query option type
* src/scm/report/report-list.scm: don't bother hiding tax report
2001-04-19 Bill Gribble <grib@billgribble.com>
* src/gnome/top-level.c: add call to skeleton "welcome" report
if user has not run 1.5/1.6 before
* src/scm/html-document.scm: changes to make sure styles are
set for component reports in multicolumn view
* src/scm/report.scm: clean up rendering with/without headers
* src/scm/report/stylesheet-plain.scm: get rid of <center> tag
on <body>
* src/scm/report/welcome-to-gnucash.scm: new report and function
to set up welcome to gnucash report
2001-04-19 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-item-edit.c (item_edit_draw_info): fix
some left-right scrolling glitches
* src/gnome/dialog-tax-info.c: implement tax info api
* src/gnome/account-tree.c: same as below
* src/gnome/window-acct-tree.c: add tax info field
* src/scm/report.scm: add an export callback for reports
* src/guile/gnc.gwp: wrap radio chooser api
* src/scm/report/taxtxf.scm: use export callback to choose
between html & txf
* src/gnome/window-report.c: implement export callback
2001-04-19 James LewisMoss <jimdres@mindspring.com>
* src/gnome/new-user-funs.c (gnc_new_user_get_clist): new func to
remove duplicate code.
2001-04-18 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c: fix for api change below
* src/gnc-ui.h: api change below
* src/gnome/query-user.c
(gnc_choose_radio_option_dialog_parented): use glist instead of
pointer array for list of strings argument
2001-04-18 Bill Gribble <grib@billgribble.com>
* src/gnome/dialog-options.c: don't destroy options dialog twice.
* src/gnome/window-main.c: hopefully last MDI fixes; rearrange
menu and replace "New Window" with "Move to New Window."
2001-04-18 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (gnc_ui_account_get_balance): use current
stock quotes to get balances for stock/mutual/currency accounts
* src/gnome/window-main.c: check for NULL toolbar parents
* src/engine/sixtp-xml-write-utils.c: use new func below
* src/engine/sixtp-dom-generators.c (timespec_sec_to_string): use
new func below.
* src/engine/sixtp-utils.c (timespec_secs_to_given_string): new
func. format timezone string by hand (solaris fix)
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): only
begin editing the account if parsing was successful
* src/test/test-xml-account.c (test_add_account): don't delete
the account, because it's referenced by the parser after the
callback.
2001-04-17 Bill Gribble <grib@billgribble.com>
* src/gnome/window-main.c: More changes for MDI. I think we
finally have toolbars handled right. Also new windows for account
trees.
2001-04-17 Rob Browning <rlb@cs.utexas.edu>
* src/scm/utilities.scm (string-split): used to be string-split-on
in qif-utils.scm
* src/scm/qif-import/qif-utils.scm: move string-split-on to
utilities.scm as string-split to better match string-join.
* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
string-split-on -> string-split.
* src/scm/qif-import/qif-dialog-utils.scm
(qif-import:get-all-accts): string-split-on -> string-split.
* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
function - retrieve lists of historical quote information.
* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
directory so we can use-modules from there.
* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
away on "make clean" in addition to "make distclean".
* src/engine/gnc-pricedb.c: minor doc updates.
* src/engine/gnc-pricedb.h: much more documentation.
* lib/guile-www: new directory - contains guile-www CVS module.
Used by new historical quote function. Several new files added.
Installed to new install directory GNC_SHAREDIR/guile-modules such
that it is available via (use-modules (www main)), etc.
* lib/Makefile.am (SUBDIRS): add guile-www
* configure.in (AC_OUTPUT): add lib/guile-www/Makefile
2001-04-17 Dave Peticolas <dave@krondo.com>
* src/gnome/file-history.c: fix bug
2001-04-17 Bill Gribble <grib@billgribble.com>
* fixes to MDI bugs: only one param editor for accounts and
reports, make sure reports reference and created children
* new report: 'Frame URL'. Give it an URL and it will display the
contents in an <iframe>... handly for putting that stock ticker
graph from yahoo or wherever in a sidebar of a multicolumn view.
2001-04-17 James LewisMoss <jimdres@mindspring.com>
* src/test/test-load-example-account.c (main): ignore the README
file.
2001-04-17 Dave Peticolas <dave@krondo.com>
* lots of files: handle NULL pointer printf problems,
fix some mem leaks
2001-04-16 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (gnc_account_get_balance_in_currency): new func
* src/gnome/dialog-price-editor.c: button for online quotes
* src/scm/price-quotes.scm: handle missing lib errors. i18n
some strings
* src/quotes/finance-quote-helper.in: return error symbol when
libraries are missing.
* src/guile/guile-util.c (gnc_book_to_scm): new func
2001-04-15 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-sheet.c: some more error checking
* src/gnome/top-level.c: check for no children when creating default
window
* src/gnome/window-main.c: Kevin Finn's patch to shutdown gnucash
when the main window is deleted. Handle remove_child events to
prevent accessing deleted windows.
* src/engine/sixtp-dom-parsers.c (string_to_integer): same as
below
* src/engine/sixtp-dom-generators.c (add_kvp_value_node): same as
below
* src/engine/sixtp-xml-write-utils.c: same as below
* src/engine/sixtp-utils.c: same as below
* src/engine/gnc-numeric.c: same as below
* src/engine/TransLog.c: same as below
* src/engine/kvp_frame.c: same as below
* src/engine/sql/kvp-sql.c: same as below
* src/engine/sql/builder.c (sqlBuild_Set_Int64): don't assume
long long int == gint64
* src/gnome/window-main.c: take out devel menu
* src/gnome/dialog-price-editor.c (price_ok_clicked): fix bug
2001-04-15 Christian Stimming <stimming@tuhh.de>
* src/scm/report.scm: Defined global identifiers for some option
names.
* src/scm/report/category-barchart.scm: Added menu tips, menu
names. Use Reportname option for report title. Added an
explanatory text (only for devel info, will be removed again in
some weeks).
* src/scm/html-barchart.scm: Fix bug.
* src/gnome/gnc-html-guppi.c (guppi_bar_1_callback): Fix bug.
2001-04-14 Dave Peticolas <dave@krondo.com>
* src/scm/path.scm: version the .gnucash/config* files.
* src/scm/: change several other files to use versioned config
* src/gnome/window-main.c: show current filename in app titles
2001-04-13 Bill Gribble <grib@billgribble.com>
* Bug fixes and a couple of new features for MDI stuff.
* src/scm/prefs.scm: new option to set MDI mode (prefs/general)
* src/gnome/{window-acct-tree.c,window-report.c,window-main.c}:
bug fixes to handle runtime MDI mode changes.
2001-04-13 Dave Peticolas <dave@krondo.com>
* src/scm/report/*: update several reports to use
the new date option api.
* src/scm/options.scm: change date options to return
the same values as they accept.
* src/guile/option-util.c: update for new date option api.
wrap scheme api for C.
* src/gnome/dialog-options.c: update for new date option api.
fix bugs.
* src/gnome/query-user.c: fixes for no toplevel window
* src/gnome/window-main.c (gnc_main_window_get_toplevel): check
for NULL
2001-04-13 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Cleanup code. Use new funcs
from html-utilities.
* src/scm/report/stylesheet-{plain,fancy}.scm: Added some styles
for table-cells.
* src/scm/html-utilities.scm (gnc:html-acct-table-cell),
(gnc:html-acct-table-row-helper!),
(gnc:html-acct-table-comm-row-helper!): Added functions i.e. moved
them out of gnc:html-build-acct-table. Use table-cell-markup
instead of direct markup-b.
* Several reports: Added option page "Account" or "Display" so
that every report has those.
2001-04-12 Bill Gribble <grib@billgribble.com>
* Lots and lots of changes to support Gnome MDI. And I thought it
would be an easy way to get that toolbar problem fixed. Short
story is lots of function prototypes changed to reflect the notion
that there is no longer a single top-level gnucash window or
account tree. 41 files changed, which is too many for me to
itemize :)
* src/gnome/window-acct-tree.{c,h}: new file; the "account tree
window" is the contents of the former main window. Now you can
have as many of them open as you want. account trees and reports
are the 2 kinds of "main window children" which MDI manages.
* src/gnome/window-main-summarybar.{c,h}: new file. I moved the
summary bar stuff out of the account tree because there's one
summary bar per top-level window but possible many account trees
per top-level window.
* src/gnome/window-main.c: this is not what it used to be at all.
the main gnucash ui element is now a 'GnomeMDI'. The only menus
and toolbar items here are ones that are always visible in any
top-level window.
* src/scm/prefs/scm: acct tree prefs are treated differently (one
options obj per acct tree) and are auto-saved and restored.
* src/scm/report.scm: report options are auto saved and restored.
* src/scm/html-style-sheet.scm: so are style sheets.
2001-04-12 James LewisMoss <jimdres@mindspring.com>
* accounts/C/Makefile.am (EXTRA_DIST): move some of the files to
the EXTRA_DIST rule for the moment (we don't want them installed
at the moment)
* accounts/C/acctchrt_*: Include Carol's documentation fixes.
2001-04-12 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-item-list.c: same as below
* src/register/gnome/combocell-gnome.c (popup_post_show): fix for
making the scrollbars appear under gtk+ 1.2.9.
* src/gnome/dialog-commodity.c: add api to edit commodities
* src/gnome/dialog-commodities.c: allow commodities to be edited
2001-04-12 Christian Stimming <stimming@tuhh.de>
* src/scm/report/account-piecharts.scm: Added menu tips, menu
names. Use Reportname option for report title. Added an explanatory
text (only for devel info, will be removed again in some weeks).
2001-04-12 Robert Graham Merkel <rgmerk@mira.net>
* src/engine/Transaction.[ch] (xaccSplitGetCorrAccountFullName): new
functions. (xaccSplitCompareAccountNames): rename
to xaccSplitCompareAccountFullNames and compare using full names.
(xaccSplitCompareOtherAccountNames): renaming as above.
* src/engine/Query.[ch]: rename sort enumeration values.
* src/guile/gnc.gwp: update to match above changes.
* src/scm/report-utilities.scm (gnc:split-get-corr-account-full-name):
new function.
* src/scm/report/transaction-report.scm: use above changes to sort
and optionally display full account names. Fix unrelated bugs with
sorting options.
2001-04-11 Dave Peticolas <dave@krondo.com>
* src/scm/report/hello-world.scm: add a menu tip as an example
* src/scm/report.scm: add menu names and menu tips to reports
2001-04-11 Christian Stimming <stimming@tuhh.de>
* src/scm/report/average-balance.scm, category-barchart.scm,
income-expense-graph.scm, net-worth-timeseries.scm, portfolio.scm:
Added menu-path for reports.
* src/scm/report/account-piecharts.scm: Report title is now
fetched from Reportname option. Slices and legend now have
different URLs.
2001-04-11 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-commodities.c: more work
* src/engine/gnc-commodity.c (gnc_commodity_table_remove): new func
* src/engine/gnc-commodity.h: add ASX namespace
* src/gnome/dialog-commodity.c (gnc_ui_edit_commodity_modal): new
func. unfinished. rename some functions to reflect that it's also
an editing dialog now.
2001-04-11 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm (render-month-subheading):
fix bug.
2001-04-11 Christian Stimming <stimming@tuhh.de>
* src/scm/report/account-piecharts.scm: Simplified anchors for
other reports by using gnc:make-report-anchor.
* src/scm/html-utilities.scm (gnc:make-report-anchor): New
function.
* src/scm/options.scm (gnc:options-copy-values): New function.
* src/scm/report/account-piecharts.scm: Added anchors to yet other
reports on the slices of the pie. Simplified creation of other
report's options.
* src/scm/report/category-barchart.scm: Simplified creation of
other report's options.
* src/scm/report/report-list.scm: Renamed file.
* src/scm/report/account-piecharts.scm: Renamed to this filename
(used to be: income-or-expense-pie.scm). Introduced some more
generality such that this file also has an asset and a liability
balance piechart.
* src/scm/report/category-barchart.scm: Introduced some
more generality such that this file also has a asset and liability
balance barchart.
2001-04-10 Christian Stimming <stimming@tuhh.de>
* src/scm/report-utilities.scm: Added function
(gnc:account-get-type-string-plural). Changed
gnc:decompose-accountlist to return AccountType symbols.
* src/scm/html-utilities.scm,
src/scm/report/net-worth-timeseries.scm, balance-sheet.scm:
Adapted to changed gnc:decompose-accountlist.
2001-04-10 Dave Peticolas <dave@krondo.com>
* src/engine/date.c (__EXTENSIONS__): add a define for solaris
* src/gnome/dialog-commodities.c: new file. commodity editor.
unfinished.
2001-04-10 Christian Stimming <stimming@tuhh.de>
* src/scm/report/net-worth-timeseries.scm: Fixed date argument
bug. Added auto label rotation.
* src/scm/date-utilities.scm: Renamed gnc:dateloop to
gnc:make-date-interval-list and gnc:dateloop-simple to
gnc:make-date-list.
* src/scm/report/category-barchart.scm, income-expense-graph.scm:
Adapt to gnc:dateloop's namechange.
2001-04-10 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/net-worth-timeseries.scm: New file. You guessed
it, a time series net worth barchart.
* src/scm/report/date-utilities.scm: add gnc:dateloop-simple to
generate simple timeseries for net worth barchart.
* src/scm/report/{Makefile.am, report-list.scm}: add new barchart.
2001-04-10 James LewisMoss <jimdres@mindspring.com>
* src/engine/io-utils.c (write_accounts): Pull out function from
io-gncxml-v2.c.
(write_account_group): same.
(write_emacs_trailer): abstract out functionality.
2001-04-09 James LewisMoss <jimdres@mindspring.com>
* src/engine/sixtp-dom-parsers.c (dom_tree_to_guid): handle new
and guid types the same for the moment.
2001-04-09 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-price-editor.c: more work
2001-04-09 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/balance-sheet.scm (balance-sheet-renderer):
use gnc:decompose-accounts to split up accounts.
* src/scm/report-utilities.scm (gnc:decompose-accountlist):
add credit accounts to the list of liability accounts.
2001-04-08 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-price-editor.c: more work
* src/gnome/account-tree.c (gnc_account_tree_insert_row): speedup
refreshing
* src/gnome/account-tree.h: remove duplicate declaration
* src/scm/report/taxtxf.scm: don't use deprecated calls
* src/guile/gnc.gwp: wrap xaccAccountGetSplitList
* src/engine/Query-xml-parser-v1.c
(qrestore_datepred_start_handler): use g_new0 instead of bzero --
more portable
2001-04-07 Dave Peticolas <dave@krondo.com>
* src/engine/md5.h: include stddef.h for size_t
* src/engine/sql/PostgresBackend.c: include ctype.h for tolower
* src/engine/guid.h: include stddef.h for size_t
* src/engine/gnc-engine-util.h: include stddef.h for size_t
* src/scm/report/taxtxf.scm: fix bug
* src/scm/text-export.scm: fix for api change
* src/scm/report-utilities.scm: fix for api change
* src/scm/engine-utilities.scm: change gnc:group-map-accounts
to gnc:group-map-all-accounts. make gnc:group-map-accounts do
only the immediate children.
* src/gnome/dialog-price-editor.c: more work
* src/engine/gnc-pricedb.c: add an error check
* ChangeLog: split changelog
2001-04-06 Rob Browning <rlb@cs.utexas.edu>
* src/scm/process.scm (gnc:run-sub-process): some process control
fixes seen on guile-devel.
2001-04-06 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-price-editor.c: new file with price db
editor. Unfinished.
* src/engine/gnc-pricedb.c: connect prices to pricedbs
2001-04-05 Dave Peticolas <dave@krondo.com>
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): fix
for files with no pricedb section
2001-04-04 Dave Peticolas <dave@krondo.com>
* src/scm/prefs.scm: add price editor geometry options
2001-04-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Major overhaul. Adapted to new
options in gnc:html-build-acct-table. Cleaned up code. Corrected
column alignment.
* src/scm/html-utilities.scm (gnc:html-table-append-ruler!): New
function.
(gnc:html-build-acct-table): Added new arguments for how to show
non-leaf accounts: with subtotal or not, with own balance or
not. Removed some empty lines in the html-table.
* src/scm/report/pnl.scm, account-summary.scm: Added support for
new gnc:html-build-acct-tree options.
* src/scm/report-utilities.scm (gnc:decompose-accountlist): Added
equity accounts.
2001-04-05 James LewisMoss <jimdres@mindspring.com>
* src/test/test-xml-transaction.c: guess what?
* src/test/test-xml-commodity.c: genericify all over.
* src/test/test-xml-account.c: genericify all over.
* src/test/gnc-test-stuff.c (test_load_file): use new generic
interface.
(test_files_in_dir): same.
* src/engine/io-gncxml-v2.h (struct sixtp_global_data_v2_struct):
remove all the stuff made uneccesary by generification.
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): same as below.
(generic_callback): new func for generic callback.
(gnc_book_load_from_xml_file_v2): use new generic callback
mechanism.
* src/engine/gnc-transaction-xml-v2.c
(gnc_transaction_end_handler): same as below.
* src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): same
as below.
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
same as below.
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler):
genericify the callback mechanism.
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): move
xaccLogDisable call.
2001-04-05 Christian Stimming <stimming@tuhh.de>
* src/scm/html-table.scm (gnc:html-table-remove-last-row!): Added
function.
* src/scm/html-utilities.scm (gnc:html-build-acct-table): Added
removal of the last empty line above the total sum.
* src/scm/html-document.scm: changed rendering of #f from one
whitespace to equally arbitrary three whitespaces. FIXME: This
should be configurable by a style-sheet.
* src/scm/report/pnl.scm: deactivated column headers.
2001-04-05 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/balance-sheet.scm: Relabel summary rows, fix
asset calculation bugs.
2001-04-04 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/balance-sheet.scm: calculate retained profits
explicitly, display (liabilities + equity) to allow people
to check balances.
2001-04-04 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-sheet.c
(gnucash_register_goto_next_trans_row): new func.
* src/gnome/window-register.c: make 'enter' toolbar button
move to next transaction
* src/gnome/dialog-tax-info.c: more work
* src/gnome/dialog-account.c: allow opening balances to come
from other accounts
* src/gnome/dialog-totd.c (totd_close_cb): don't bother with the
help dialog after disabling tips
2001-04-04 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-html-guppi.c, src/scm/html-barchart.scm: Added new
option for barchart: legend-reversed.
2001-04-04 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/balance-sheet.scm: calculate retained profits
explicitly, display (liabilities + equity) to allow people
to check balances.
2001-04-04 James LewisMoss <jimdres@mindspring.com>
* src/engine/sixtp-dom-parsers.c (dom_tree_to_timespec): use
g_free rather than free (ben's find)
(dom_tree_to_gnc_numeric): same.
2001-04-03 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-sheet.c: move cursor before showing
popup menu
* src/gnome/window-register.c: add a Transaction->Invoice item
* src/engine/Query.c: add GUID predicate
* src/gnome/dialog-commodity.c: add namespace picker getter.
Show "CURRENCY" instead of "ISO4217" when displaying.
* src/gnome/druid-commodity.c: use namespace picker getter
* src/gnome/druid-qif-import.c: use namespace picker getter
* src/scm/report/register.scm: more work
* src/engine/gnc-commodity.c (reset_printname): take the namespace
out of the printname
* src/gnome/dialog-account.c: add opening balance support
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): new func.
(gnc_account_create_opening_balance): new func.
* src/gnome/gnc-dateedit.c: add some error checking
* src/gnome/gnc-commodity-edit.c: add "changed" signal
* src/scm/report/register.scm: fix bug
2001-04-03 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/html-table.scm (gnc:html-table-prepend-row!): Fix
bug.
* src/scm/report/html-utilities.scm (gnc:build-html-acct-table): Add
show-col-headers option.
* src/scm/report/balance-sheet.scm: New file. Code for a balance
sheet report. Numbers should be correct, presentation is
rudimentary as usual.
* src/scm/report/account-summary.scm: modify for changed arguments
to gnc:build-html-acct-table.
* src/scm/report/pnl.scm: modify for changed arguments to
gnc:build-html-account-table.
2001-04-02 Dave Peticolas <dave@krondo.com>
* Makefile.am: add po/README
* src/gnome/window-main.c: hide developer menu
* src/gnome/window-register.c: add invoice menu item
* src/scm/prefs.scm: add user name & address option for invoice
report. add option for whether reports appear in main window or
open in new window
* src/scm/report.scm: open reports based on new option
* src/scm/report/transaction-report.scm: more work
* src/scm/report/register.scm: more work
2001-04-01 Dave Peticolas <dave@krondo.com>
* src/FileDialog.c: update for api change
* src/gnome/window-report.c: update for api change
* src/gnome/gnc-html.c: update for api change
* src/gnome/window-main.c: update for api change
* src/gnome/cursors.c (gnc_set_busy_cursor): add extra arg
to determine whether to update cursor immediately
* src/gnome/druid-qif-import.c: update for api change
* src/gnome/window-help.c: expand the top nodes initially
(gnc_help_show_topic): show the topic in the tree when it
can be found
* src/gnome/gnc-html.c: set busy cursor before start request
2001-03-31 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-utils.c (gnc_get_gdk_imlib_image): new func
* src/scm/report.scm: translate report name
* src/gnome/window-main.c: fix some i18n bugs
2001-03-31 Christian Stimming <stimming@tuhh.de>
* src/scm/html-utilities.scm (gnc:html-build-acct-table): fix
horizontal line width if foreign currencies are shown.
2001-03-31 James LewisMoss <jimdres@mindspring.com>
* src/test/test-xml-account.c (node_and_account_equal): fix parent
id test. duh.
* src/test/test-real-data.sh (EXIT_VALUE): check for empty FILES
return.
* src/test/test-xml-commodity.c (main): fix argc test.
* src/test/test-xml-account.c (main): fix argc test.
* src/test/test-xml-commodity.c (main): fix argc test
* src/test/test-load-xml2.c (main): call xaccLogDisable
* src/test/test-xml-transaction.c (main): call xaccLogDisable
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2):
comment out load debug info.
* src/test/test-real-data.sh (EXIT_VALUE): don't run on a
directory.
* src/test/gnc-test-stuff.c (test_files_in_dir): rename vars
file_count -> argc, files -> argv to be more accurate.
2001-03-31 Dave Peticolas <dave@krondo.com>
* src/scm/options.scm: add a text option type
* src/gnome/dialog-options.c: add support for text options
* src/gnome/window-main.c (gnc_ui_about_cb): set parent
* src/scm/report/register.scm: more work
* src/scm/html-document.scm: fix bug
2001-03-30 James LewisMoss <jimdres@mindspring.com>
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): add
stuff from file format 1 ledger data start and end handlers to
disable enable log, mark saved, and the rest.
* src/engine/gnc-book.c (gnc_book_write_to_file): clean up
writing. Write only once.
(gnc_book_write_to_file): extract out backup functionality.
(gnc_book_backup_file): new func with extracted functionality.
(gnc_book_backup_file): add more permament backup for binary
data.
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): add
begin edit so that everyhing doesn't get recomputed till end.
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): add
commit of all accounts at end.
* src/engine/gnc-book.c (gnc_book_write_to_file): use v2 write.