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
Dave Peticolas
c5af00805e
* src/backend/postgres/test/test-db.c: work on tests
...
* src/backend/postgres/test/.cvsignore: ignore database dirs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6400 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:02:40 +00:00
Dave Peticolas
2e76108b23
* src/backend/postgres/txn.c: fix spelling
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6399 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:01:52 +00:00
Dave Peticolas
aa5229d387
* src/app-utils/gncmod-app-utils.c: perform component manager
...
initialization and shutdown here
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6398 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:00:58 +00:00
Dave Peticolas
3ddf61ef35
* src/app-file/gnc-file.c: suspend engine events when
...
creating new session
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6397 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:00:37 +00:00
Dave Peticolas
558133fb79
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6396 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 10:57:24 +00:00
Dave Peticolas
94d024ff09
add app-utils to g-wrap path
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6395 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 23:41:54 +00:00
Dave Peticolas
a209d16f69
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6394 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:41:06 +00:00
Dave Peticolas
bf0bc57a5a
* src/engine/gw-engine-spec.scm: g-wrap event types enum
...
* src/engine/gnc-session.c: set book backend to NULL before
destroying old book in gnc_session_load
* src/engine/Transaction.c: do checks & events when setting
slots for transactions and splits.
* src/engine/GNCId.h: add a const typedef for GNCIdType
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6393 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:40:37 +00:00
Dave Peticolas
e9bc21cf28
* src/backend/postgres/test/test-db.c: add a test for backend
...
transaction rollback due to stale data in the engine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6392 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:40:10 +00:00
Dave Peticolas
ee1d594ca4
* src/backend/postgres/txn.c: fix bugs restoring one transaction
...
from database.
* src/backend/postgres/putil.h: add EXEC_QUERY
* src/backend/postgres/price.h: add pgendGetCommodity
* src/backend/postgres/price.c: add pgendGetCommodity
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6391 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:39:57 +00:00
Dave Peticolas
5b18193b14
* src/app-utils/test/test-component-manager: test g-wrapped
...
component manager
* src/app-utils/test/Makefile.am: add test-component-manager
* src/app-utils/gw-app-utils-spec.scm: g-wrap component manager
* src/app-utils/gnc-component-manager.h: add some SCM api
* src/app-utils/gnc-component-manager.c : add some SCM api
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6390 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:39:31 +00:00
Linas Vepstas
1a01c0c43c
add documentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6389 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-18 14:51:50 +00:00
Dave Peticolas
15161dabf3
start g-wrapping register-core
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6388 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-18 10:47:31 +00:00
Dave Peticolas
465fa68ee6
* src/gnome-utils/gw-gnome-utils-spec.scm: add wrapping for widgets
...
and other api
* src/backend/postgres/test/test-db.c: add check for initial
account balances
* src/backend/postgres/PostgresBackend.c: fix bug. begin/commit
account group when loading intitial balances
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6386 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-18 01:11:30 +00:00
Derek Atkins
596dd309c3
Reorder libraries to build properly with separate GTKHTML and GUILE
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6383 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-17 04:36:56 +00:00
Dave Peticolas
a54f80d6da
fix bug
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6378 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-15 09:49:49 +00:00
Dave Peticolas
a5640c4109
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6376 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 09:50:49 +00:00
Dave Peticolas
686111874d
* src/report/report-gnome/test/test-load-module: add
...
* src/report/report-gnome/test/test-link-module.c: add
* src/report/report-gnome/test/Makefile.am: add
* src/report/report-gnome/test/.cvsignore: add
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6375 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 09:50:20 +00:00
Dave Peticolas
65263d8b67
* src/report/report-gnome/Makefile.am: add test dir
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6374 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 09:50:07 +00:00
Dave Peticolas
15d1dacf76
* configure.in: configure report-gnome/test directory
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6373 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 09:49:54 +00:00
Dave Peticolas
ccbdc243b9
fix bug in gnc:find-localized-file
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6372 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 08:38:35 +00:00
Dave Peticolas
5e5d981a21
Jose Carlos Nascimento's Brazilian Portuguese translation.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6371 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 00:58:55 +00:00
Dave Peticolas
fbe55cafd8
Remove extra report link.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6369 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 00:46:21 +00:00
Rob Browning
f8374bd942
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6368 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:52:25 +00:00
Rob Browning
a15ae2a3fc
* src/scm/command-line.scm: reorganize a little to remove some of
...
the top-level actions.
(gnc:initialize-config-vars): new function -- initialize config
vars to defaults, respecting any relevant envt variable
overrides.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6367 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:52:00 +00:00
Rob Browning
d0191d501e
* src/scm/doc.scm (gnc:find-doc-file): use
...
gnc:find-localized-file, not gnc:find-file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6366 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:49:37 +00:00
Rob Browning
bc40ff84f1
* src/scm/main-window.scm: fix hooks usage to be idempotent --
...
file should (re)load safely now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6365 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:48:52 +00:00
Rob Browning
aff3ad685a
* src/scm/main.scm: migrate some loads to the top level - though
...
to really do this right, we're going to need more explicit
use-modules and gnc:module-load deps expressed everywhere.
(gnc:find-file): new exported function.
(gnc:find-localized-file): new exported function.
(gnc:*config-path*): new export.
(gnc:*share-path*): new export.
(gnc:*doc-path*): new export.
(gnc:flatten): new function.
(build-path): simplify.
(gnc:print-unstable-message): simplify.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6364 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:48:01 +00:00
Rob Browning
97a6deee86
* src/scm/path.scm: rework doc-path handling completely, migrating
...
much of the code to command-line.scm.
(gnc:expand-path): new function.
(gnc:load-system-config-if-needed): use gnc:*config-path*, not
gnc:*config-dir*.
(gnc:locale-prefixes): removed.
(gnc:default-doc-dirs): removed.
(gnc:_expand-doc-path_): removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6363 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:40:19 +00:00
Rob Browning
2659b8bdcf
* src/scm/price-quotes.scm
...
(gnc:*finance-quote-helper*): use gnc:*share-path*, not
gnc:*share-dir*.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6362 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:36:56 +00:00
Rob Browning
675be91ad0
* src/scm/tip-of-the-day.scm: rewrite to be re-loadable -- you now
...
need to call an init function after loading the file. In the long
run, this should still become a module (guile or gnc).
(gnc:initialize-tip-of-the-day): new function.
(gnc:tip-of-the-day-startup-func): new function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6361 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:36:04 +00:00
Rob Browning
68181e3824
* src/scm/build-config.scm.in: rename -dir_ variables to -path_
...
and remove help-dir in favor of doc-path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6360 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:33:51 +00:00