* 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
* 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
* 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
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
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
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
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
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
(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
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
(hello-world-renderer): modify to reflect switch from share-dir to
share-path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6358 57a11ea4-9604-0410-9ed3-97b8803252fd
more, migrate the guile flags from "BASE" to the regular vars.
(GNUCASH_ENGINE_BASE_LIBS): remove guile bits.
(GNUCASH_ENGINE_LIBS): add guile bits.
(GNUCASH_ENGINE_BASE_CFLAGS): remove guile bits.
(GNUCASH_ENGINE_CFLAGS): add guile bits.
* configure.in (error-on-warning): make this the default. I'm
tired of having to fix missing #includes, mismatched types,
etc. after an update so I can get back to work, but if anyone has
a real problem with this, I'd be happy to reconsider.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6356 57a11ea4-9604-0410-9ed3-97b8803252fd