Commit Graph

3042 Commits

Author SHA1 Message Date
Dave Peticolas
6df78be645 Store un-commafied urls in the file history.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3719 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 10:21:03 +00:00
Dave Peticolas
ce80ff48a2 James LewisMoss's patch.
* 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-28 08:06:50 +00:00
Dave Peticolas
93ba986b30 * src/register/gnome/gnucash-scrolled-window.c: subclass of
gtk_scrolled_window for use in register.

	* src/register/gnome/gnucash-item-list.c: use scrolled window
	for really long account names.

	* doc/sgml/es/Makefile.am (GNUCASH_SGML_FILES): fix list of sgml
	files

	* src/gnc-ui.h: use gncUIWidget not GtkWidget* in non-gnome
	directories.

	* src/engine/sql/PostgresBackend.c (pgendSyncTransaction): add
	missing call to gnc_engine_resume_events ().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3717 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 07:04:44 +00:00
Dave Peticolas
0bb8113418 Minor cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3716 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 06:49:16 +00:00
Dave Peticolas
af05f3af60 Robert Graham Merkel's reporting patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3715 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 06:31:49 +00:00
Linas Vepstas
d60244ffad fix the 'date-entered' bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3714 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 05:10:44 +00:00
Linas Vepstas
fcb5a854f8 run it through the smelling checker
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3713 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-28 05:10:21 +00:00
Dave Peticolas
5494d6ad07 James LewisMoss's patch with some xml and testing stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3712 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 20:15:11 +00:00
Linas Vepstas
1f0b3f280c add reminder
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3711 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 16:14:53 +00:00
Linas Vepstas
b2431fa215 remove stale FIXME comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3710 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 15:47:24 +00:00
Dave Peticolas
cd024af6f5 Add username/password dialog & api.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3709 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 11:20:30 +00:00
Dave Peticolas
578ced8a82 Forgot to take out extra debugging code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3708 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 06:49:04 +00:00
Dave Peticolas
4dce05e4f7 Don't evaluate debug macro args unless they are going to be printed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3707 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 06:43:19 +00:00
Dave Peticolas
791b2b4e24 Cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3706 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 06:10:01 +00:00
Dave Peticolas
e49e51923c Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3705 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 06:09:33 +00:00
Dave Peticolas
5bd3867fef Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3704 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 03:09:36 +00:00
Dave Peticolas
807e2b207a Fix spelling errors.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3703 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 03:08:36 +00:00
Dave Peticolas
bf5192f809 Remove old makefile.
Remove 'const' for commodities.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3702 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 00:10:52 +00:00
Dave Peticolas
517797e2e9 Handle missing backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3701 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-27 00:05:12 +00:00
Dave Peticolas
b82a184849 Load sub-topic if main topic is blank.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3700 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 23:49:22 +00:00
Dave Peticolas
00e2ba294b Forgot one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3699 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 23:04:04 +00:00
Dave Peticolas
d41dcf9dbf Miquel Jordana's Spanish translation of the manual.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3698 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 23:03:07 +00:00
Dave Peticolas
6bf35bce0f Re-enable tips on startup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3695 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 07:27:42 +00:00
Dave Peticolas
283d436ab9 Prepare for 1.5.3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3694 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 06:49:24 +00:00
Linas Vepstas
d82930c38a minor typos & one minor bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3693 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-26 04:30:33 +00:00
Dave Peticolas
92052c5433 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3692 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 11:36:35 +00:00
Dave Peticolas
9813ecece0 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3691 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 10:32:55 +00:00
Dave Peticolas
a02ec5568d Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3690 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 07:54:34 +00:00
Dave Peticolas
18184e1e22 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3689 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 07:28:17 +00:00
Dave Peticolas
875b8e7cb6 Add missing .h file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3688 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 06:30:37 +00:00
Dave Peticolas
72c761879c Fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3687 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 03:26:51 +00:00
Dave Peticolas
84cbba8ec2 Robert Graham Merkel's reimplementation of the transaction report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3686 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 03:21:39 +00:00
Dave Peticolas
c8a7adb87c Ignore TAGS.stamp.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3685 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 00:43:29 +00:00
Dave Peticolas
e30a8bc509 Rob Browning's patch with price db & miscellany.
* first iteration of pricedb: we should preserve quotes from old
    binfiles now (rather than throwing it away during the conversion),
    and we can read/write the pricedb as XML.

  * added configure --enable-error-on-warning -- developers, please
    use this.

  * add fancier TAGS handling -- we now track file additions/deletions
    dynamically.

  * add g_hash_table_key_value_pairs: returns a GSList of all the key
    value pairs in a given hash table so you can manipulate them.

    add g_hash_table_kv_pair_free_gfunc: g_slist_foreach helper for
    deleting key value hash pairs when you're finished with the
    results from g_hash_table_key_value_pairs.  You'll still need to
    call g_slist_free as well to delete the spine of the list.

  * continue migration to using backend for all IO and switching from
    top-level Group to top level GNCBook.

  * switch from const gnc_commodity to gnc_commodity in many places,
    after consultation with Bill.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3684 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-25 00:42:44 +00:00
Dave Peticolas
ce532a2a86 Bill Gribble's update to the qif importer.
* src/scm/qif-import/qif-dialog-utils.scm: Be more flexible
	about account types on QIF import

	* src/scm/qif-import/qif-objects.scm: make sure the list of
	allowed types is in the right order

	* src/scm/qif-import/qif-to-gnc.scm: be more flexible about type;
	check on parent type after creating child; don't set security on
	non-{stock,mutual} accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3683 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-23 22:20:36 +00:00
Dave Peticolas
7e20ed1642 Christian Stimming's patch for xaccSplitGetShareAmount -> xaccSplitGetAmount.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3682 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-23 07:19:37 +00:00
Dave Peticolas
6073e9bf31 Christian Stimming's update to the currency documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3681 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-23 06:39:42 +00:00
Dave Peticolas
92f1175b9b Add missing include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3680 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 07:48:07 +00:00
Dave Peticolas
c2b1deadc6 Temp fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3679 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 07:44:56 +00:00
Dave Peticolas
5b7f9b4631 James LewisMoss's big big patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3678 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 07:29:05 +00:00
Dave Peticolas
eff510bd09 Fix typo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3677 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:21:38 +00:00
Dave Peticolas
e7292ffab9 Derek Atkins' patch to the qif importer druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3676 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:16:06 +00:00
Dave Peticolas
46c2ce47c4 Derek Atkins' patch to the qif importer druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3675 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:12:26 +00:00
Dave Peticolas
fab6bbc56a Bill Gribble's qif importing patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3674 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:09:50 +00:00
Dave Peticolas
4dcfa2947c Keep going on 'install' even if the search db wasn't created.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3673 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:08:18 +00:00
Dave Peticolas
c90465c569 Fix docs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3672 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-22 06:07:24 +00:00
Linas Vepstas
b64b8eabb6 add username/password support
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3671 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-21 07:49:57 +00:00
Linas Vepstas
9f09ab589d add version numbers: these allow multi-user updates to be distinguished
properly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3670 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-19 08:38:54 +00:00
Linas Vepstas
c9a40649ec add version numbers to account and transaction.
These are used by the backend to track multi-user updates


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3669 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-19 08:35:17 +00:00
Linas Vepstas
8772aad11a fix order of initialization bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3668 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-18 15:05:38 +00:00