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
iso-4217-currencies.scm to iso-4217-currencies.c. Amazingly
easily. Woohoo for languages with built in self-parsers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6354 57a11ea4-9604-0410-9ed3-97b8803252fd
(gnc_commodity_table_add_default_data): new function -- populate a
commodity table with the "default" commodities/namespaces.
#includes the automatically generated code from
iso-4217-currencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6351 57a11ea4-9604-0410-9ed3-97b8803252fd
construction to be C-only.
(gnc:load-iso-4217-currencies): removed.
(gnc:setup-default-namespaces): removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6349 57a11ea4-9604-0410-9ed3-97b8803252fd
test-env. Change envt vars to reflect new scheme:
GNC_CONFIG_PATH, GNC_SHARE_PATH, and GNC_DOC_PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6341 57a11ea4-9604-0410-9ed3-97b8803252fd
(db_file_url): find the postgres communication socket directory
via envt var TEST_DB_SOCKET_DIR.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6340 57a11ea4-9604-0410-9ed3-97b8803252fd
with postgres through a filesystem socket rather than a TCP
connection so tests will work even on machines that don't allow
TCP. This was a little tricky because shell substitutions were
fighting the PG_CTL "-o '-k x -p y'" syntax.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6339 57a11ea4-9604-0410-9ed3-97b8803252fd
export handling gui here instead of in reports
* src/report/report-gnome/report-gnome.scm: don't use gw-gnc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6325 57a11ea4-9604-0410-9ed3-97b8803252fd