Commit Graph

11769 Commits

Author SHA1 Message Date
Christian Stimming
2d851151df Bug #568653: Add German account template SKR49 for non-profit organizations
By Michael Braun and Frank H. Ellenberger.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17852 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-28 21:05:44 +00:00
Christian Stimming
71c0fe98d9 Bug #568327: Budget reports without a budget will crash
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
2009-01-28 20:59:57 +00:00
Christian Stimming
feacb16b54 Bug #568945: gnc_pricedb_convert_balance_* should look for the reciprocal of the exchange rate
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
2009-01-28 20:55:11 +00:00
Christian Stimming
0a5b20fdc8 Bug #564450: HUF currency can be divided into 100 "fillers" even though there are no coins for it
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
2009-01-28 20:55:05 +00:00
Christian Stimming
04b1d97e5f Bug #459493: "Cleared" column in account overview should also sum up values of sub-accounts
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
2009-01-28 20:54:56 +00:00
Charles Day
375be2acaf Register: Add doxygen documentation for some register functions. Fix and reorganize of some of the existing documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17844 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-24 12:16:00 +00:00
Charles Day
53c47c1ad6 Register: Adjust some debugging messages to be more clear.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17843 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-24 12:12:41 +00:00
Charles Day
a0a034f2ce Documentation: Fix a wide range of small mistakes in doxygen comments, including a few spots where .c and .h function declarations didn't agree on parameter names.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17841 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-22 21:14:08 +00:00
Charles Day
47aee550b3 Register: Add additional debugging output during register cleanup. Also rename a variable for clarity and to match typical usage in the rest of the ledger code.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17840 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-21 18:58:21 +00:00
Charles Day
d9ef69a973 Register: Add a few more debugging lines to the gnome code.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17838 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-21 10:53:22 +00:00
Charles Day
74e3640504 Register: Add additional debugging output to several ledger modules.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17837 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-20 23:15:30 +00:00
Andreas Köhler
526ee85f93 Bug #566352: Remove printf("%s", NULL) in xaccTransSetDateInternal() when val=={-1,0}.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17836 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 23:43:02 +00:00
Andreas Köhler
5e77b501b4 Do not determine and waste memory for {base,dir}name when sqlite3 driver cannot be loaded.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17835 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 22:57:34 +00:00
Andreas Köhler
575645f032 Bail out when opening a non-existing file as sqlite3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17834 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 22:51:32 +00:00
Andreas Köhler
3f05768191 Bug #526775: Remove printf("%s", NULL) in generic importer as called from ofx.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17832 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 21:50:03 +00:00
Christian Stimming
a071ca3038 Remove obsolete mentioning of Guppi.
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
2009-01-18 20:17:22 +00:00
Andreas Köhler
3558853ed5 Budget report improvements.
* 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
2009-01-18 17:19:08 +00:00
Andreas Köhler
d56a868a42 Fix line endings in README-it.win32-bin.txt.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17827 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 16:31:10 +00:00
Andreas Köhler
495d9c9d00 Correct the encoding of README-it.win32-bin.txt.
Patch by Cristian Marchi
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17826 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 16:09:13 +00:00
Andreas Köhler
91bd0663a3 Remove a unused import and struct.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17825 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 16:09:05 +00:00
Christian Stimming
e23c2ebc25 Bug #339027: Reconcile window displays the date, too
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
2009-01-14 19:59:59 +00:00
Christian Stimming
0368e6fdda Bug #565721: Fix untranslated report names in multicolumn report
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
2009-01-14 19:59:53 +00:00
Christian Stimming
8cad2f514e Bug #564209: Improved debuggability for module loading
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
2009-01-14 19:59:46 +00:00
Christian Stimming
3fe13a6733 Bug #566567: [Win32] Do not touch .scm-links on windows - always copy scm files
.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
2009-01-14 19:59:38 +00:00
Andreas Köhler
90b9c43266 [Win32] Update online banking libraries.
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
2009-01-13 02:14:00 +00:00
Andreas Köhler
73992d8cc9 Fix currency replacements.
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
2009-01-11 21:00:54 +00:00
Andreas Köhler
cda274944e Initialize GError in qof_log_parse_log_config().
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
2009-01-11 20:23:12 +00:00
Andreas Köhler
e6ebfd4e13 Do not lookup private data twice when copying commodity mnemonic.
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
2009-01-11 19:25:41 +00:00
Andreas Köhler
3382092929 [Win32] Provide a bare variant of make_install.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17811 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-11 18:47:34 +00:00
Andreas Köhler
c6237d13fb [Win32] Minor cleanup.
* 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
2009-01-11 18:38:40 +00:00
Andreas Köhler
bd5834cff0 [Win32] Remove a few obsolete comments.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17809 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-11 15:55:33 +00:00
Andreas Köhler
20df0c9a02 SVN-Ignore Eclipse CDT metadata files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17808 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-11 15:49:57 +00:00
Andreas Köhler
64f0fae322 [Win32] Whitespace change.
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
2009-01-11 15:45:31 +00:00
Andreas Köhler
43b5ae90f1 [Win32] Update a whole bunch of packages.
* 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
2009-01-11 15:37:26 +00:00
Andreas Köhler
fccd8b189f Bug #567174: Restrict commodity mnemonic updates (like NIS to ILS) to iso currencies only.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17805 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-11 12:46:57 +00:00
Andreas Köhler
435ddd4fa5 Remove trailing commas in --enable-{debug,ref-counts-dump}.
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
2009-01-06 18:37:48 +00:00
Phil Longstaff
3614a48858 1) Fix bug where deleting an account wouldn't delete the account in the db
2) Remove unused local variable


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17802 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-05 15:36:31 +00:00
Andreas Köhler
8c648d911b Add Italian translation of Win32 installer by Cristian Marchi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17800 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-05 10:40:33 +00:00
Andreas Köhler
a5a43acb1c Sort translations in gnucash.iss.in by language code.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17798 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-05 10:18:03 +00:00
Andreas Köhler
7506663f91 Use = instead of := for GNC_TEST_DEPS and TESTS_ENVIRONMENT.
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
2009-01-05 09:51:33 +00:00
Phil Longstaff
a6f9a6381c Add check that account != NULL when inserting lot
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17796 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-04 03:14:46 +00:00
Andreas Köhler
f61fca01d1 Add ChangeLog.2008.
Used branches:
- aqbanking3
- csv-import
- reshuffle-modules
- deprecated-cleanup
- gobject-engine-dev-warlord
- remove-group2
- sx-cleanup


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17794 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-02 10:46:27 +00:00
Andreas Köhler
ce1b5d7b44 Bug #566198: Add Slovak koruna to EURO support.
Patch from Herbert Thoma.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17792 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-02 10:32:47 +00:00
Phil Longstaff
333c9a68ec When loading a budget, set the recurrence so that it has the correct date info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17791 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-01 23:12:38 +00:00
Andreas Köhler
4d80cc8d03 Svn-Ignore *.tar.bz2 and *.tar.lzma files in the top-level directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17790 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-01 18:17:56 +00:00
Andreas Köhler
e4cd1cdd60 Add a make rule for gnucash_core_c.py.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17789 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-12-31 20:42:29 +00:00
Andreas Köhler
45e652f1f2 Add dist-bzip2 to dist.
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
2008-12-31 20:41:15 +00:00
Andreas Köhler
ded37fbe7e Beautify python-bindings/Makefile.am.
* 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
2008-12-31 20:06:14 +00:00
Andreas Köhler
a8b49ec984 Add python-bindings/gnucash_core.c to po/POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17786 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-12-31 19:13:50 +00:00
Andreas Köhler
bfd2260d51 Ignore some generated files in accounts/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17785 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-12-31 18:53:15 +00:00