Fixes crashes and also improves error message when no budgets exists (for all
budget reports).
Patch by Forest Bond.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17851 57a11ea4-9604-0410-9ed3-97b8803252fd
If the price DB contains the reciprocal of the exchange rate which
gnc_pricedb_convert_balance_nearest_price,
gnc_pricedb_convert_balance_latest_price, and
gnc_pricedb_convert_balance_latest_before need to do their conversion they
don't find it and return zero.
Patch by Mike Alexander.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17850 57a11ea4-9604-0410-9ed3-97b8803252fd
In Hungary the smallest Forint (HUF) coin is 5 forints, but formally we had 1,2
forint coins, and dividing FILLER coins (like cents for US, EUR, ...). They are
simply not circulated in cash usage, but the banking system still using it.
Such as the smallest transferable amount is 0.01 FORINTs (1 FILLER), and with
business it is normal to use it (as result of foreign exchange, incoming
interest rate, or many other reason).
Patch by Frank H. Ellenberger.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17849 57a11ea4-9604-0410-9ed3-97b8803252fd
The contributer, Chad V, writes:
My reason being that if you like to keep track of different
"virtual" accounts within one bank account, it is nice to see the cleared
balance for the whole bank account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17848 57a11ea4-9604-0410-9ed3-97b8803252fd
Not for back-port because it would break existing translations and the fix
isn't really important.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17831 57a11ea4-9604-0410-9ed3-97b8803252fd
* Moves budget-related reports to a "Budget" sub-menu.
* Implements a Budget Balance Sheet report. This is a projected future balance
sheet using budget data.
* Adds Budget Income Statement and Budget Profit & Loss reports. These are
projected future IS/PNL reports using budget data.
Patch by Forest Bond.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17829 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch adds an additional label statement date to the box below the Credits
section.
Patch by C. Ernst
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17820 57a11ea4-9604-0410-9ed3-97b8803252fd
Report names are passed through the _() macro before they are stored to the
tree list.
Patch by C. Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17819 57a11ea4-9604-0410-9ed3-97b8803252fd
gnucash-2.2.7 doesn't (IMHO) log enough (any?) information about failures to
load optional modules. It was a bit of work to debug a recent problem (#564033)
and I ended up tweaking gnc_module_load_common() a bit to coax the error
messages out. I slightly reorganized the code in this function to accomplish
two things:
1. Make the logic clearer to someone new to the code (i.e., me)
2. If an optional module is found, log any errors in loading it
I tried to maintain the original spirit of not squawking too much about unfound
optional modules while still generating messages about legitimate problems.
Patch by G. Paul Ziemba.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17818 57a11ea4-9604-0410-9ed3-97b8803252fd
.scm files must be copied on windows because linking won't work.
Note: existing build directories will be fixed only after make clean.
Patch by C. Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17817 57a11ea4-9604-0410-9ed3-97b8803252fd
New versions: gwenhywfar 3.6.0, ktoblzcheck 1.20, aqbanking 3.8.1. Fix path to
xmlmerge. Fix aqbanking backend list when compiling without qt (untested
though).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17815 57a11ea4-9604-0410-9ed3-97b8803252fd
While loading an xml file, do not look up an internal commodity and modify that,
but rather work on a copy. When inserting the commodity, apply the same
replacements as in gnc_commodity_table_lookup().
This change should not be necessary on branches/2.2 but it might not do any
harm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17814 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids a crash when the log configuration is not valid.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17813 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that mnemonics are not copied on branches/2.2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17812 57a11ea4-9604-0410-9ed3-97b8803252fd
* Relinking is really fast now, no need for a hack anymore
* Move the fix of the gnucash script into make_install()
* GnuCash does not install into lib/locale/ anymore
* Remove invalid LIBXML2_DIR from PATH
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17810 57a11ea4-9604-0410-9ed3-97b8803252fd
Re-add a removed space character, no need for regressions ;-)
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17807 57a11ea4-9604-0410-9ed3-97b8803252fd
* MinGW tools
* Autotools (ac 2.60, am 1.10.2, lt 2.2.6a)
- libtool feels faster, needs confirmation
- compiling ac needs a newer m4 version, add that
* Gnome
- intltool needs a newer perl, so upgrade to activeperl 5.10
- new libpng, separated into libpng and libpng-dev
- newly packaged zlib (zlib-dev as well), no dlltool'ing anymore
- remove libgnomeprint (cf. goffice), gtkprint finally seems to work
-> goodbye mirrored printouts
* libxslt
- not the newest because that will be moved to oldreleases/ soon
* openssl
- watch for libeay32.dll in your Windows folder, it might be too old,
better you remove it completely
* gmp
- untested, no BP needed (yet)
* gnutls
- untested, no BP needed (yet)
* swig
* pcre
* libgsf, goffice
- goffice does not use libgnomeprint anymore, new patch necessary,
grab gtk-doc.m4 from gtk-doc tarball instead of patching goffice
- install htmlhelp earlier and add flags to link to it
* svn
- includes an own libeay32.dll, may conflict with openssl/bin/libeay32.dll
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17806 57a11ea4-9604-0410-9ed3-97b8803252fd
Those commas will be interpreted as commands and warnings printed out. Also,
put square brackets around the strings describing the corresponding autoconf
definitions to save them from possible substitions.
Noticed by Kevin HaleBoyes.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17803 57a11ea4-9604-0410-9ed3-97b8803252fd
Both variables are only evaluated once away. Even worse, when used as
simply-expanded variables, the gnc-test-env script is called multiple times,
because of make re-reading the Makefile when called by make in the check-am
target. Those variable definitions are not portable and thus automake spit
warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17797 57a11ea4-9604-0410-9ed3-97b8803252fd
Automake-1.10 also supports dist-lzma but adding it to AM_INIT_AUTOMAKE
would require us to assume Automake 1.10 which might not yet be
available on each developer os. When dist'ing I will probably add a
short line to the dist target to tar up the same directory instead of
running dist-lzma manually.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17788 57a11ea4-9604-0410-9ed3-97b8803252fd
* Remove gnucash_core.i from _SOURCES, because automake probably does not use it
anyway.
* Put flags into separate lines.
* Add gnucash_core.c to maintainer-clean target and wrap it in
BUILDING_FROM_SVN, so that timestamps in tarballs do not try to regenerate it.
* Add example_scripts/*.py, tests/*.py and *.i to EXTRA_DIST.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17787 57a11ea4-9604-0410-9ed3-97b8803252fd