* src/test/test-xml-account.c (delete_random_account): new func to
cleanup commodities not generally freed at xaccAccountDestroy.
(node_and_account_equal): complete func to compare account and the
dom tree created. Looks good except for some warnings from
dom_tree_to_text.
* src/test/test-stuff.c (equals_node_val_vs_commodity): new func.
(equals_node_val_vs_guid): New func.
(equals_node_val_vs_string): new func.
* src/engine/gnc-account-xml-v2.c (account_code_handler): Add func.
(account_description_handler): Add func. Oops forgot a couple.
(gnc_account_dom_tree_create): Move all string tags in file to
const gchar*s.
(account_slots_handler): Complete func.
* make-gnucash-patch.in: Test to see if makepatch exists.
* src/engine/sixtp-dom-parsers.c (dom_tree_to_text): same as
below. Add NULL tests for arguments. Affected many functions in
this file.
* src/engine/gnc-pricedb-xml-v1.c (price_parse_xml_sub_node): Same
as below.
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): Convert
dom_tree_to_text to act as rest looking at children on it's own.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3718 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-07 James LewisMoss <dres@phoenixdsl.com>
* make-gnucash-patch.in: Add a file ending that is ignored.
* src/doc/xml/types.dtd: Change currency-type -> commodity-type.
Add defs for cmd:space and cmd:id.
* src/doc/xml/io-gncxml-version1.dtd: Change currency-type ->
commodity-type.
* src/doc/xml/account-v2.dtd: Change currency-type ->
commodity-type.
2001-02-06 James LewisMoss <dres@phoenixdsl.com>
* src/engine/sixtp.c: Use frame creator.
Move sixtp_handle_catastrophe to here. Add functions
sixtp_context_new, sixtp_context_destroy. And change and move
sixtp_parse_file and sixtp_parse_buffer here from io-gncxml-r.c
Add concept of a parsing context to hold data.
* src/engine/sixtp-stack.h: Add creator. Add headers.
* src/engine/sixtp-stack.c: Add creator.
* src/engine/sixtp-parsers.h: add needed headers.
Add func from sixtp-to-dom-parser.c
* src/engine/io-gncxml.h: Fix name.
* src/engine/io-gncxml-w.c: Fix name.
* src/engine/io-gncxml-r.c: Fix name. Create stack frame creator
function and use here.
2001-02-05 James LewisMoss <dres@phoenixdsl.com>
* src/engine/sixtp-stack.h: Add glib.h include (needed for GSList)
* src/engine/sixtp.c: Add catchall tag for parsing handlers. Use
name instead of next_parser_tag since that can now contain a magic
value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3618 57a11ea4-9604-0410-9ed3-97b8803252fd
Build info updates, .cvsignore update, check for popt
in configure.in, more stuff for make-gnucash-patch, and
a dtd for the xml save format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3355 57a11ea4-9604-0410-9ed3-97b8803252fd
1) More meta data updates (.cvsignore updates, debian/* updates,
gnucash.lsm)
2) Changes to make-gnucash-patch.in. I like the changes, but I don't
know whether they would be universally liked, so pay attention to
this one. Changes include:
a) check out compared source from cvs
b) use .cvsignore files to get a large part of the --exclude list.
c) Keep track of past patches by not automatically overwriting old
patches and put the patches in a directory to keep things neat.
3) Refactoring in src/engine/Transaction.c to remove the redundant
code setting dates in transactions.
4) remove all the #if 0 blocks in src/engine/io-gnc{bin,xml}* (helped
my see things more clearly when looking at the code. Again ignore
it if this is inappropriate.)
5) append emacs local variable settings stuff to save file so it's
known as an xml file.
6) Patch to cleanup startup some more.
a) src/gnome/top-level.c: don't run load-account-file, split up
startup into a couple of functions.
b) src/gnome/window-main.h; src/gulie/gnc.gwp: add the new functions
c) src/scm/main.scm: do the new startup sequence.
d) All this so in a batch environment you can start up the gui
system without bringing up the default window.
7) src/scm/report/budget-report.scm: some refactoring/cleanup done
while looking at the code. Nothing functional different (at least
there shouldn't be.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3320 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a gnc-commodity-edit widget for editing commodities and use it
in the account dialog.
A few bug fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3083 57a11ea4-9604-0410-9ed3-97b8803252fd
Bill Gribble's commodity and numerics code and new qif importer druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3065 57a11ea4-9604-0410-9ed3-97b8803252fd
Add a GnuCash-specific interface to the src/calculation
expression parser.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2736 57a11ea4-9604-0410-9ed3-97b8803252fd