Dave Peticolas
86c55a3e22
Fix query<->scm for new kvp queries.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5772 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-06 00:49:46 +00:00
Dave Peticolas
d2c12c2e9c
Add test-query.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5771 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-05 09:18:31 +00:00
Dave Peticolas
2176d53e99
Work on adding kvp queries.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5770 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-05 09:18:07 +00:00
Dave Peticolas
84c723d74b
Configure scm module directory.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5757 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-01 10:32:01 +00:00
Dave Peticolas
4401b44ed1
Use new gnc:guid-new api.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5756 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-01 10:31:46 +00:00
Dave Peticolas
4b2d9dd401
Don't g-wrap engine private functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5755 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-01 10:31:25 +00:00
Dave Peticolas
e4f9271735
Add GTKHTML_CFLAGS.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5754 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-31 23:55:58 +00:00
Dave Peticolas
c3d795b2ae
Update file list.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5753 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-31 23:53:34 +00:00
Dave Peticolas
b9f6eb414d
Fix bug in is_trans_empty - check kvp data.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5750 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-31 08:33:34 +00:00
Dave Peticolas
64af176379
Add guile libs to link line.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5749 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-30 21:01:12 +00:00
Dave Peticolas
52f7d4ddcc
Allow alternate binaries than guile.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5746 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-30 01:30:16 +00:00
Dave Peticolas
9aac6d6fd0
Add kvp data to sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5745 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-29 23:23:54 +00:00
Dave Peticolas
b67097586a
Reformat.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5744 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-29 23:23:26 +00:00
Dave Peticolas
0622d2bc06
Untable app-file and app-file-gnome dependencies.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5738 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-29 08:14:42 +00:00
Dave Peticolas
f2ca55fc3f
Fix for make dist.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5736 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-28 00:44:26 +00:00
Dave Peticolas
9acb9971e3
Keld J�rn Simonsen's Danish glossary.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5734 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-28 00:40:28 +00:00
Dave Peticolas
dc0e2a563a
Keld J�rn Simonsen's Danish da.po.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5732 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-28 00:38:16 +00:00
Dave Peticolas
4a7387398b
Don't put regular lib directory into module search path.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5730 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-27 08:13:48 +00:00
Dave Peticolas
03ae286b49
Use AM_CFLAGS instead of CFLAGS in Makefile.am.
...
Fix some includes as a result.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5729 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-26 12:10:06 +00:00
Dave Peticolas
89754aed65
Include gnc-gettext-util.h.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5728 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-26 10:17:41 +00:00
Dave Peticolas
ed898efa55
Change LD_LIBRARY_PATH for link test.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5727 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-26 07:27:15 +00:00
Dave Peticolas
cf4d0fec3e
Fix quoting bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5726 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-26 00:09:13 +00:00
Dave Peticolas
65d5050968
Create gnucash-config with configure instead of Makefile.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5725 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 23:31:44 +00:00
Dave Peticolas
d7e666acf0
Configure gnucash-run-script location.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5724 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 22:24:55 +00:00
Dave Peticolas
7eefddba95
2001-10-25 Dave Peticolas <dave@krondo.com>
...
* src/scm/Makefile.am: remove slib-backup.scm and startup.scm
* src/scm/bootstrap.scm.in: remove out-of-date docs
* src/scm/main.scm: load printing/print-check.scm
* src/import-export/qif-import/Makefile.am: remove simple-obj.scm
* src/import-export/qif-import/qif-import.scm: don't load
simple-obj.scm
* src/guile/gw-gnc-spec.scm: remove printing g-wraps
* src/gnome-utils/gw-gnome-utils-spec.scm: add printing g-wraps
* src/engine/Account.c (xaccAccountSetSlots_nc): set core_dirty
* src/app-utils/Makefile.am: add simple-obj.scm
* src/app-utils/app-utils.scm: export simple-obj api
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5723 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 08:10:51 +00:00
Dave Peticolas
33cb44bfc9
Fix resizing bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5722 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 06:01:44 +00:00
Dave Peticolas
c2f199c910
Ignore new generated files.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5721 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 00:10:04 +00:00
Dave Peticolas
d37d5d1e04
Move mdi g-wrapping into gnome-utils module.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5720 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 00:09:04 +00:00
Dave Peticolas
e9e50593aa
Install public headers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5719 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 22:03:33 +00:00
Dave Peticolas
fe7af9eaab
Don't install tests.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5718 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:43:27 +00:00
Dave Peticolas
8328f0c8fe
Allow new guile to be specified through GNC_GUILE env var.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5717 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:39:08 +00:00
Dave Peticolas
1c34e80fda
Don't install tests.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5716 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:36:35 +00:00
Dave Peticolas
285e76d882
Update file list.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5714 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 05:48:45 +00:00
Dave Peticolas
41bd71c4ad
Check balances in account & split compare functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5713 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-23 23:57:18 +00:00
Dave Peticolas
d9ed89be9a
Work on multi-user mode test.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5709 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 09:08:02 +00:00
Dave Peticolas
8098a8eacb
Fix bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5708 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 09:01:04 +00:00
Dave Peticolas
b4c8d16c16
Zdenko Podobn�'s Sloval account hierarchies.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5705 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 06:56:25 +00:00
Dave Peticolas
c9fa81578c
Use 'k' as objtype in audit trail when delete kvp frames.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5703 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 22:13:54 +00:00
Dave Peticolas
0c42ebaa20
Enable kvp fetch for queries. Fix bug restoring transaction iguid.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5698 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:37:53 +00:00
Dave Peticolas
df790e9422
Fix escaping bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5697 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:37:04 +00:00
Dave Peticolas
7192f9b6ca
Add CLEARED_VOIDED term.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5696 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:36:30 +00:00
Dave Peticolas
fc36b8e1c6
Cleanup.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5695 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:34:58 +00:00
Dave Peticolas
59c326e2e7
Start on valid initial location.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5694 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 06:32:31 +00:00
Dave Peticolas
fd8252f261
Add missing price ref/unref.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5693 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 00:01:12 +00:00
Dave Peticolas
59e09a47db
Don't insert account into itself.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5692 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 22:45:59 +00:00
Dave Peticolas
c714e54bb0
Bring in gw-glib and gw-kvp definitions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5691 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 21:48:17 +00:00
Dave Peticolas
e992807d6e
Fix bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5685 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 10:50:35 +00:00
Dave Peticolas
d3b6891061
Make random changes to prices & commodities.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5684 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:33:01 +00:00
Dave Peticolas
682cd1faf9
Hash commodities using their unique names, not their pointer values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5683 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:31:29 +00:00
Dave Peticolas
9feb646750
Always invoke sync_price and sync_group if defined.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5682 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:30:42 +00:00
Dave Peticolas
4f7908c49c
Add -module arg to lib flags.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5681 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 06:43:42 +00:00
Dave Peticolas
93ab70466c
Fix include.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5680 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 00:18:13 +00:00
Dave Peticolas
e362863787
Test adding new transactions & rolling back changed transactions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5679 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 23:35:52 +00:00
Dave Peticolas
66ba034150
When rolling back transactions, adjust editlevel to prevent further begin edits.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5678 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 23:17:18 +00:00
Dave Peticolas
7fdfb02778
Work on single-update test.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5674 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 10:48:57 +00:00
Dave Peticolas
9d6304462a
Add missing account begin/commit edit.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5673 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 10:48:13 +00:00
Dave Peticolas
27ddcdf45e
Only use valid account types when creating random accounts.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5672 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:56:07 +00:00
Dave Peticolas
b6584fe42d
Wait for shutdown & start.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5671 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:31:01 +00:00
Dave Peticolas
77e5220e67
Remove cruft.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5670 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:30:00 +00:00
Dave Peticolas
2078b93fda
Delete split & trans kvps before writing them.
...
Store trans common currencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5669 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:27:08 +00:00
Dave Peticolas
8b3a990979
Copy common currency when cloning and rolling back.
...
Add some NULL value and do_free checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5668 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:25:10 +00:00
Dave Peticolas
62ccab8d33
Stabilize account sort order. Keep accounts sorted when they are changed.
...
Don't set split accounts to NULL before deleting them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5667 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:24:16 +00:00
Dave Peticolas
cc9e4d94da
Use 'char' instead of 'char *' for objtype argument.
...
Delete account kvp data before storing new data -- otherwise
deleted kvp elements are not deleted from db.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5666 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:32:01 +00:00
Dave Peticolas
98f83b3fd8
More SplitEqual warnings.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5665 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:30:57 +00:00
Dave Peticolas
ae4a6fe07a
Add missing trans begin/commit calls.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5664 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:30:20 +00:00
Dave Peticolas
0f43b340f3
Remove warning.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5663 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:29:42 +00:00
Dave Peticolas
edca675eaa
Fix bug -- need objtype field in kvp audit trail.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5662 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 23:16:32 +00:00
Dave Peticolas
9afc2fc598
2001-10-16 Dave Peticolas <dave@krondo.com>
...
* src/engine/test-core/test-engine-stuff.c: work on test
infrastructure for making changes to existing data
* src/engine/gnc-book.c: keep backends up to date
* src/engine/gnc-session.c: keep backends up to date
* src/backend/postgres/test/db-control.sh: bring down postmaster
on database create and destroy
* src/backend/postgres/test/test-db.c: work on single-update
test
* src/backend/postgres/txn.c: fix bug -- when deleting splits
from the database that aren't in the engine, can't use
xaccSplitLookup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5661 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 09:13:07 +00:00
Dave Peticolas
b066e9cd63
Fix bug -- gdk_window_raise takes a gdk window, not a gtk window.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5660 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 06:59:56 +00:00
Dave Peticolas
bcae323c49
Work on test infrastructure.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5658 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:50:01 +00:00
Dave Peticolas
995e7d7d27
Fix string literal.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5657 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:40:22 +00:00
Dave Peticolas
1cceb39a7f
Update potfile list.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5656 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:37:18 +00:00
Dave Peticolas
6fe7f08a51
Test locking. Start test for single-update mode.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5655 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:34:12 +00:00
Dave Peticolas
27f6b35365
Add 'status' argument.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5654 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:33:40 +00:00
Dave Peticolas
2202cf2c09
Fix bug -- store unescaped values in the path cache.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5653 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:33:19 +00:00
Dave Peticolas
05c14bbdfe
Fix for make check.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5652 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 06:54:44 +00:00
Dave Peticolas
4d915c5e8c
2001-10-13 Dave Peticolas <dave@krondo.com>
...
* src/guile/Makefile.am (libgncguile_la_LIBADD): remove gncgnome.la
dependency
* src/engine/test-core/test-engine-stuff.c (get_random_timespec):
add flag to always set nsec to 0.
(get_random_transaction_with_currency): new func
(add_random_transactions_to_session): new func
* src/backend/postgres/test/db-control.sh: add 'connect' argument
to start psql connection
* src/backend/postgres/test/test-db.c: add random transactions
to the mix
* src/backend/postgres/account.c (pgendStoreAccountNoLock): expound
on commodity table comment
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5596 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-13 08:09:30 +00:00
Dave Peticolas
df8bb66f5d
Fix for older libtools.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5595 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-12 23:47:59 +00:00
Dave Peticolas
1506523cf6
2001-10-12 Dave Peticolas <dave@krondo.com>
...
* src/test-core/test-stuff.c (get_random_string_without): new func
* src/engine/test-core/test-engine-stuff.c
(get_random_kvp_frame_depth): fix bug
(get_random_session): new func
* src/engine/Account.c (xaccAccountEqual): more warnings, use
gnc_commodity_equal
* src/engine/Group.c (xaccGroupEqual): more warnings
* src/engine/Transaction.c: use gnc_commodity_equal
* src/engine/gnc-book.c (gnc_book_equal): compare commodity tables
* src/engine/gnc-commodity.c (gnc_commodity_equal): new func
(gnc_commodity_table_equal): new func
* src/engine/gnc-session.c (gnc_session_begin): destroy old backend
* src/backend/postgres/test/.cvsignore: ignore test files
* src/backend/postgres/test/Makefile.am: add file backend .la
to get symbols for gdb
* src/backend/postgres/test/run-tests.sh: remove test files
before starting test
* src/backend/postgres/test/test-db.c: when books differ, write
out xml files
* src/backend/file/test/test-xml-account.c (test_add_account):
fix for strong commodity equal test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5581 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-12 10:50:35 +00:00
Dave Peticolas
2efd973550
2001-10-11 Dave Peticolas <dave@krondo.com>
...
* src/register/register-core/table-allgui.c
(gnc_table_traverse_update): remove assert
* src/import-export/binary-import/druid-commodity.c: use g_assert
* src/guile/gnucash.c.in (gnc_main): use g_assert
* src/gnome-utils/gnc-account-tree.c: remove asserts
* src/gnome/dialog-fincalc.c (normalize_period): remove asserts
* src/gnome/dialog-find-transactions.c: remove asserts
* src/gnome/dialog-scheduledxaction.c: remove asserts
* src/gnome/reconcile-list.c: remove asserts
* src/gnome/window-register.c: remove asserts
* src/engine/Account.c: remove asserts
* src/engine/Group.c: remove asserts
* src/engine/Query.c:remove asserts
* src/engine/TransLog.c: remove asserts
* src/engine/Transaction.c: remove asserts
* src/engine/gnc-engine-util.h: don't include assert.h
* src/engine/gnc-engine.c: remove asserts
* src/engine/gnc-numeric.c: remove asserts
* src/engine/gnc-pricedb.c (gnc_price_unref): remove asserts
* src/engine/messages.c: remove asserts
* src/backend/file/test/test-xml-account.c: fix text handling
* src/backend/file/test/test-xml-commodity.c: fix text handling
* src/backend/file/test/test-xml-transaction.c: fix text handling
* src/backend/file/gnc-freqspec-xml-v2.c: fix text handling
* src/backend/file/gnc-pricedb-xml-v2.c: fix text handling
* src/backend/file/gnc-schedxaction-xml-v2.c: fix text handling
* src/backend/file/gnc-transaction-xml-v2.c: fix text handling
* src/backend/file/io-gncxml-v1.c: fix text handling
* src/backend/file/sixtp-dom-parsers.c: fix text handling
* src/backend/file/sixtp-to-dom-parser.c (dom_chars_handler): don't
ignore whitespace. This fixes text handling for strings like "< <"
* src/app-utils/gnc-ui-util.c: remove asserts
* src/app-utils/option-util.c: remove asserts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5576 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-11 11:35:50 +00:00
Dave Peticolas
3a4d567892
2001-10-11 Dave Peticolas <dave@krondo.com>
...
* src/test-core/test-stuff.c: allow option of including funky
characters in random strings
* src/engine/Transaction.c (xaccTransEqual): add warning strings
* src/backend/postgres/test/.cvsignore: ignore test-escape
* src/backend/postgres/test/test-escape: test string escaping
* src/backend/postgres/test/Makefile.am: add test-escape
* src/backend/postgres/builder.c (sqlBuild_Where_Str): don't
escape string twice
* src/backend/postgres/escape.c (sqlEscapeString): check for
already-escaped string
* src/backend/postgres/kvp-sql.c: escape path strings
* src/backend/file/test/test-xml-transaction.c (test_add_transaction):
test in reverse order, first orig, then new.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5574 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-11 08:22:44 +00:00
Dave Peticolas
cc09c00a11
Use AM_PROG_LIBTOOL for automake 1.4.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5573 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-11 01:31:20 +00:00
Dave Peticolas
df3be03bd4
2001-10-10 Dave Peticolas <dave@krondo.com>
...
* src/engine/test-core/test-engine-stuff.c
(get_random_kvp_frame_depth): use set kvp max elements number
* src/engine/Account.c (xaccAccountEqual): add warning strings
* src/engine/Group.c (xaccGroupEqual): add warning strings
* src/engine/gnc-book.c (gnc_book_equal): add warning strings
* src/engine/kvp_frame.c: treat empty frames as NULL
* src/backend/postgres/test/run-tests.sh: enable test
* src/backend/postgres/test/test-db.c (main): enable test
* src/backend/file/test/test-kvp-frames.c (test_kvp_xml_stuff):
print more debugging output
* src/backend/file/sixtp-dom-generators.c (add_kvp_value_node):
fix bug generating kvp string values (they weren't being escaped)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5490 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 09:17:56 +00:00
Dave Peticolas
ecc9f2e4ce
Work on adding namespace declarations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5487 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 07:11:08 +00:00
Dave Peticolas
d10d7a7d38
Move pt_PT.po to pt.po.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5486 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 06:29:20 +00:00
Dave Peticolas
654c4cb31e
Move entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5483 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 00:21:34 +00:00
Dave Peticolas
ba19fb2327
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5482 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-09 22:27:58 +00:00
Dave Peticolas
33d0d777cd
Fix bug getting trans void date.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5477 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-09 08:43:38 +00:00
Dave Peticolas
7317297b6a
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5476 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-09 08:26:03 +00:00
Dave Peticolas
48ac2e2dcb
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5475 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-09 06:56:26 +00:00
Dave Peticolas
d384066697
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5473 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 22:48:37 +00:00
Dave Peticolas
b8d2150e4b
Work on moving entity table into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5472 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 07:14:58 +00:00
Dave Peticolas
834c6fea7b
Add new test.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5471 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 06:31:10 +00:00
Dave Peticolas
4a0c3de711
Include string.h.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5470 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 06:30:38 +00:00
Dave Peticolas
2408e0f983
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5468 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-06 08:12:55 +00:00
Dave Peticolas
c672e1960c
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5467 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-05 09:54:41 +00:00
Dave Peticolas
97b19d1878
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5466 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-05 08:35:04 +00:00
Dave Peticolas
114b5af306
Work on moving entity tables into sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5464 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-04 08:17:14 +00:00
Dave Peticolas
2813e46549
Work on moving entity tables to sessions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5463 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-04 00:36:28 +00:00
Dave Peticolas
891ac0e2b6
Fix bug loading example accounts into gui.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5462 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-03 22:11:06 +00:00