Commit Graph

5329 Commits

Author SHA1 Message Date
Linas Vepstas
3115d83d79 "refactor"/simplify dead-ugly code, change API to match backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6459 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-01 02:16:25 +00:00
Linas Vepstas
3cab59040e change backend API to fix book-bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6458 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-01 02:14:25 +00:00
Dave Peticolas
37d4cf0ae8 Add 'today' as a starting date option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6457 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-01 00:20:26 +00:00
Linas Vepstas
e82222d5b2 continue roughing in support for books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6456 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 23:02:37 +00:00
Dave Peticolas
af4740e50c David Hampton's compile patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6455 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 23:01:36 +00:00
Linas Vepstas
0751c23a4b add/modify debug statements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6454 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 23:01:07 +00:00
Dave Peticolas
9902d195b3 David Hampton's automake 1.5 patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6453 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 22:50:34 +00:00
Linas Vepstas
e9a31cdf8f remove un-needed field
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6452 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 21:14:56 +00:00
Linas Vepstas
99be951dbe bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6451 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 21:14:28 +00:00
Linas Vepstas
96ea181d97 more rough-in for handling of books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6450 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 19:51:54 +00:00
Linas Vepstas
568a7c3a7e new files for handling books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6449 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 19:13:17 +00:00
Linas Vepstas
c35d82e8a8 check book guid before setting it
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6448 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 18:51:53 +00:00
Linas Vepstas
ce95a89635 more book-support fixes, additions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6447 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 18:27:13 +00:00
Linas Vepstas
44d54c3637 add state management flags
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6446 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 18:17:26 +00:00
Linas Vepstas
fcabb48530 remove un-needed include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6445 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 18:16:41 +00:00
Linas Vepstas
43aaa1d7ac start scratching in support for multiple books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6444 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 17:21:25 +00:00
Linas Vepstas
50d07c4a17 turn on book support in the file backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6441 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 01:40:47 +00:00
Linas Vepstas
6b2a678e53 update debug statements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6440 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 01:16:04 +00:00
Linas Vepstas
f2aeb91f76 make it easier to grep for usage of child parsers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6439 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 23:13:41 +00:00
Linas Vepstas
546694b975 add debug messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6438 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 22:36:47 +00:00
Linas Vepstas
58bbb21a93 add diagnostic warning messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6436 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 22:09:50 +00:00
Linas Vepstas
77829f9487 gratuitous rearrangement of parenthesis.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6429 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 21:17:47 +00:00
Linas Vepstas
2bba2f9126 a few bug fixes; add a utility routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6428 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 19:39:42 +00:00
Linas Vepstas
de87c4c937 cosmetic fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6427 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 19:01:30 +00:00
Linas Vepstas
71b50e0dc1 buglet fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6426 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 18:19:03 +00:00
Linas Vepstas
a83bda50a9 first pass at integrating book into file backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6425 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 17:38:01 +00:00
Linas Vepstas
77764be767 change printf -> PWARN or PERR
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6424 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 17:25:30 +00:00
Linas Vepstas
21593a3f51 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6423 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 17:11:00 +00:00
Linas Vepstas
c073376abb g_warning -> PWARN
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6422 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 17:09:52 +00:00
Linas Vepstas
f8d85c21f1 g_warning -> PWARN
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6421 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 17:02:56 +00:00
Linas Vepstas
4f4c394a76 gratuitous cleanup; add gnc_book_set_guid()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6420 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 16:24:47 +00:00
Linas Vepstas
51b10b6384 take a shot at implementing books ...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6419 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 15:48:09 +00:00
Linas Vepstas
562bf958ea clean up the documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6418 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-30 15:29:41 +00:00
Linas Vepstas
0bfd17442e initial checkin -- error reporting architecture
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6417 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-29 17:53:51 +00:00
Dave Peticolas
da601a847d work on tests and sql backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6416 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-29 12:14:20 +00:00
Dave Peticolas
e0f2c1d3e4 work on tests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6415 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-28 10:49:59 +00:00
Dave Peticolas
cdf8dd0fa1 * src/backend/postgres/test/test-db.c: expand testing
* src/engine/Transaction.c: fix bugs. keep positive editlevel
while committing and rolling back transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6414 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-27 09:03:32 +00:00
Dave Peticolas
a02f6e3f4d * src/backend/postgres/test/test-db.c: test rollback
* src/engine/Transaction.c: fix bug in transaction rollback

* src/engine/test-core/test-engine-stuff.h: add test routine

* src/engine/test-core/test-engine-stuff.c: add test routine


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6413 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-26 07:14:44 +00:00
Dave Peticolas
24256e6257 Add app-util to g-wrap path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6412 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 11:49:43 +00:00
Dave Peticolas
afa35f1124 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6411 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:46:13 +00:00
Dave Peticolas
5b18b8ed54 * src/scm/main.scm: update for api changes
* src/scm/main.scm: remove some report menu setup functionality


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6410 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:45:32 +00:00
Dave Peticolas
dd5b116a07 * src/report/report-gnome/window-report.h: add new init api
* src/report/report-gnome/window-report.c: move some report
initialization here from top-level.c

* src/report/report-gnome/gncmod-report-gnome.c: call new report
initialization function

* src/report/report-gnome/Makefile.am: add app-utils dependency


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6409 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:45:18 +00:00
Dave Peticolas
ea689586de * src/gnome/top-level.h: update for api changes
* src/gnome/top-level.c: remove some gnome initialization &
shutdown. change ui init api.

* src/gnome/gw-gnc-spec.scm: update for api changes

* src/gnome/argv-list-converters.h: remove

* src/gnome/argv-list-converters.c: remove

* src/gnome/Makefile.am: remove argv-list-converters.[ch]

* src/gnome/top-level.c: take out component manager initialization
and shutdown


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6408 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:43:12 +00:00
Dave Peticolas
318a1dd55f * src/gnome-utils/gw-gnome-utils-spec.scm: g-wrap new funcs
* src/gnome-utils/gncmod-gnome-utils.c: remove #include cruft

* src/gnome-utils/gnc-html.c: remove #include cruft

* src/gnome-utils/gnc-gnome-utils.h: new file

* src/gnome-utils/gnc-gnome-utils.c: new file -- init and shutdown
functions

* src/gnome-utils/argv-list-converters.h: add

* src/gnome-utils/argv-list-converters.c: add

* src/gnome-utils/Makefile.am: add new files


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6407 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:41:54 +00:00
Dave Peticolas
9bebd787bd * src/gnc-ui.h: remove cruft
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6406 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:40:14 +00:00
Dave Peticolas
6286c3a56e *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6405 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:05:25 +00:00
Dave Peticolas
2225ff5d72 * src/scm/main.scm: remove some report menu setup functionality
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6404 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:04:44 +00:00
Dave Peticolas
2b2e9ab4b7 * src/report/report-gnome/report-gnome.scm: move some report
menu setup functionality here


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6403 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:04:20 +00:00
Dave Peticolas
cdb59aa5db * src/gnome/top-level.c: take out component manager initialization
and shutdown


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6402 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:03:55 +00:00
Dave Peticolas
5b717264ea * src/engine/Transaction.c: fix spelling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6401 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:03:40 +00:00