Commit Graph

5264 Commits

Author SHA1 Message Date
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
Rob Browning
6125478c81 * src/scm/Makefile.am (build-config.scm): remove
GNC_PKGLIB_INSTALLDIR.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6359 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:33:06 +00:00
Rob Browning
367f3da61f * src/report/utility-reports/hello-world.scm
(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
2001-12-11 16:31:58 +00:00
Rob Browning
5607da97de * src/report/report-gnome/.cvsignore: add missing bits.
* src/report/report-gnome/.cvsignore: add *.lo and *.la.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6357 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:28:28 +00:00
Rob Browning
6b1a8be026 * configure.in: now that libgnc-engine doesn't depend on guile any
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
2001-12-11 16:27:44 +00:00
Rob Browning
f92e733090 * src/engine/.cvsignore: add a few missing bits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6355 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:20:52 +00:00
Rob Browning
9a156c71f9 * src/engine/iso-currencies-to-c: new file -- convert
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
2001-12-11 16:20:28 +00:00
Rob Browning
1df3571b4c * src/engine/Makefile.am: accomodate new automatically generated C
code for default commodity table initialization.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6353 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:19:00 +00:00
Rob Browning
33b223a6d0 * src/engine/gnc-commodity.h
(gnc_commodity_table_add_default_data): new prototype.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6352 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:17:51 +00:00
Rob Browning
d3ee5ee7d2 * src/engine/gnc-commodity.c
(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
2001-12-11 16:15:08 +00:00
Rob Browning
13db328284 * src/engine/engine-helpers.c
(gnc_engine_commodity_table_new): removed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6350 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:13:50 +00:00
Rob Browning
72081c01f3 * src/engine/commodity-table.scm: migrate commodity table
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
2001-12-11 16:07:04 +00:00
Rob Browning
69b2f8bf32 * src/engine/gnc-book.c (gnc_book_init): switch to use non-guile
based gnc_commodity_table_add_default_data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6348 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:05:24 +00:00
Rob Browning
74825580fb * src/engine/engine-helpers.h: remove
gnc_engine_commodity_table_new.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6347 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:04:24 +00:00
Rob Browning
4997570363 * src/engine/engine.scm: don't export deleted
gnc:engine-commodity-table-construct.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6346 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:03:45 +00:00
Rob Browning
84751e94ea * src/engine/iso-4217-currencies.scm: fix some typos.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6345 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:02:31 +00:00
Rob Browning
cf2c640378 * src/report/report-gnome/Makefile.am
(AM_CFLAGS): add GLADE_CFLAGS.
(.scm-links): add report link.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6344 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:02:01 +00:00
Rob Browning
9d87ec2a4b * src/optional/.cvsignore: add *.lo and *.la.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6343 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:00:20 +00:00
Rob Browning
1f9e166f44 * src/gnome/dialog-sxsincelast.c: #include gnc-gui-query.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6342 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 15:29:27 +00:00
Rob Browning
04fee1c96e * src/bin/overrides/gnucash-build-env.in: add report-gnome to
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
2001-12-11 15:25:40 +00:00
Rob Browning
6cb8f2e8ba * src/backend/postgres/test/test-db.c
(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
2001-12-11 15:23:50 +00:00
Rob Browning
cf02d77d89 * src/backend/postgres/test/db-control.sh: rework to communicate
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
2001-12-11 15:22:40 +00:00
Rob Browning
8eee1e4d9d * src/backend/postgres/test/Makefile.am
(AM_CFLAGS): add GUILE_INCS.
(TESTS_ENVIRONMENT): add TEST_DB_SOCKET_DIR.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6338 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 15:20:23 +00:00
Rob Browning
aa8ffddd14 * intl-scm/Makefile.am (guile-strings.c): add top_srcdir.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6337 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 15:17:52 +00:00
Dave Peticolas
f11914bd61 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6336 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:53:12 +00:00
Dave Peticolas
17d924f826 * src/tax/us/test/Makefile.am: remove report-gnome from dirs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6335 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:52:42 +00:00
Dave Peticolas
94f7c2d3ce * src/tax/us/us.scm: don't use gw-gnc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6334 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:52:28 +00:00
Dave Peticolas
89faa0d7c2 * src/report/utility-reports/test/Makefile.am: remove report-gnome
from dirs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6333 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:52:18 +00:00
Dave Peticolas
d3e295d449 * src/report/utility-reports/welcome-to-gnucash.scm: don't use gw-gnc
* src/report/utility-reports/view-column.scm: don't use gw-gnc

* src/report/utility-reports/utility-reports.scm: don't use gw-gnc

* src/report/utility-reports/iframe-url.scm: don't use gw-gnc

* src/report/utility-reports/hello-world.scm: don't use gw-gnc


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6332 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:52:04 +00:00
Dave Peticolas
b323bf730f * src/report/stylesheets/test/Makefile.am: remove report-gnome
from dirs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6331 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:51:48 +00:00
Dave Peticolas
d20bcace07 * src/report/stylesheets/stylesheets.scm: don't use gw-gnc
* src/report/stylesheets/stylesheet-plain.scm: don't use gw-gnc

* src/report/stylesheets/stylesheet-fancy.scm: don't use gw-gnc


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6330 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:51:35 +00:00
Dave Peticolas
c5633f388c * src/report/standard-reports/test/Makefile.am: remove report-gnome
from dirs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6329 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:51:16 +00:00
Dave Peticolas
84314f6b19 * src/report/standard-reports/transaction.scm: don't use gw-gnc
* src/report/standard-reports/standard-reports.scm: don't use gw-gnc

* src/report/standard-reports/register.scm: don't use gw-gnc

* src/report/standard-reports/price-scatter.scm: don't use gw-gnc

* src/report/standard-reports/portfolio.scm: don't use gw-gnc

* src/report/standard-reports/pnl.scm: don't use gw-gnc

* src/report/standard-reports/net-barchart.scm: don't use gw-gnc

* src/report/standard-reports/category-barchart.scm: don't use gw-gnc

* src/report/standard-reports/balance-sheet.scm: don't use gw-gnc

* src/report/standard-reports/account-summary.scm: don't use gw-gnc

* src/report/standard-reports/account-piecharts.scm: don't use gw-gnc


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6328 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:51:01 +00:00
Dave Peticolas
d7b848532b * src/report/report-system/test/Makefile.am: remove report-gnome
dir


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6327 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:50:23 +00:00