Commit Graph
100 Commits
Author SHA1 Message Date
Christian Stimming 3cb14e1eb9 Win32 build: Update ktoblzcheck version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19734 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-30 19:01:22 +00:00
Christian Stimming 986061d8f9 Fix gtk warnings when erroneously setting the fixed-width property to zero.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19708 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-25 18:50:11 +00:00
Christian Stimming 22bd33afd2 Bug #629524: Fix redundant string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19707 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-25 18:16:14 +00:00
Christian Stimming feba4d6907 Update POTFILES.in with recent file addition.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19698 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-24 09:36:23 +00:00
Christian Stimming 50d5551266 Fix cmake declaration of BINDIR variable, needed because of r19651.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19697 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-24 09:17:23 +00:00
Christian Stimming 83322e1ab1 Partly revert r19550, "Bug #370331: Store the numeric values of SX..."
This caused the numbers in the "SX from txn" to appear as "220/100" ratios,
which we do not want.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19659 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-15 20:25:22 +00:00
Christian Stimming 66692aea57 Make qof_query_run_subquery() available to scheme as well, and also the gnc_numeric options.
Needed to remove an unimplemented function from <gnc-numeric.h>
header.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19653 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:16:17 +00:00
Christian Stimming 67c6a3d0cf Replace some renamed functions by their real new names, removing the annoying #defines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19652 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:16:04 +00:00
Christian Stimming aba704a59a Make the INVOICE-BILLTO query predicate available to scheme also.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19644 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-07 20:04:26 +00:00
Christian Stimming 7f018ba293 Fix erroneous extra package that I forgot to remove in r19641.
It doesn't have to be reverted because libjpeg-7 shouldn't be needed
with a clean webkit rebuild anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19643 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-07 20:04:14 +00:00
Christian Stimming 6388e8172c Minor update of German translation.
"xy anlegen" -> "Neue xy"
bill -> "Lieferantenrechnung" to distinguish from invoice -> "Rechnung".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19642 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 19:54:54 +00:00
Christian Stimming eb7a0126a4 Revert r19576, r19590, r19593, r19601: "Update gtk versions..."
It's been 3 weeks without a working windows build. Apparently this
has to wait until we have an updated webkit again. Revert this back once
we have a working webkit with gtk-2.20.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19641 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 19:29:09 +00:00
Christian Stimming d8cc052875 Bug #631058: Add future date period choices to be available in the date options
Patch by Chris Leach:

This patch provides date utilities to calculate future dates. This
allows easy selection of common future periods.

cstim adds: This patch adds new strings, but they are not used anywhere so
far, i.e. they will not be user-visible. Hence, I agree those scheme functions
may be useful for external report writers and for this reason they are
already added.

Note: The original submission would have added those options to the standard
relative-date chooser report option, but I (cstim) do not support adding those
extra option for all reports as standard setting. Hence, the usage of this
additional choices has to be added by the report writer explicitly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19639 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 18:19:57 +00:00
Christian Stimming ab0dd2cca7 Bug #593479: Ensure not to accidentally delete our main account file.
Original patch by Tim Retout who writes:

strptime is passed (name + pathlen + 1) as the string to search.  However, when
looking at the main account file, strlen(name) == pathlen, so strptime is
looking at the point just past the end of name.

Sometimes this will be parseable by strptime, and this leads to the account
file being unlinked.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19638 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 18:07:38 +00:00
Christian Stimming a57ed88ee0 Re-indentation of source code.
This re-indentation was done using astyle-1.24 using the following options:

 astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19627 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-03 12:27:44 +00:00
Christian Stimming 752b94a8b9 Minor update of German translation.
Kontenbaum (urgh) -> Kontenplan
Kontenrahmen -> Kontenplan

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19626 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-03 12:23:19 +00:00
Christian Stimming 1f2994b1d3 Add wrapper for obtaining a list of business objects as list of owners, and add SWIG wrappers so that scheme can use it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19625 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:33 +00:00
Christian Stimming 382d6733d7 Add a function gncBusinessGetList() that existed previously until r6680 so that a list of all customers can be obtained.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19624 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:21 +00:00
Christian Stimming e205c3fad5 Decrease number of test iterations in old engine tests - they take just way too long otherwise.
Also, nobody can actually give any reason as for why a higher number
of iterations would really cover more of our test cases. My suspicion
is that 2-3 iterations would be sufficient anyway, and only more
clever test case construction would give a larger test coverage.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19623 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:05 +00:00
Christian Stimming 046c7cf461 Minor update of German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19622 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:58:51 +00:00
Christian Stimming 62c4a0e781 Add word wrapping to very long label in dialog-tax-info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19620 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-28 20:35:16 +00:00
Christian Stimming ff709cf863 Bug #554396: Implement a partial TXF output for capital gains
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19611 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:48:02 +00:00
Christian Stimming 4c8b4870fb Bug #620663: Fix French spelling mistake in preferences window
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19610 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:38:46 +00:00
Christian Stimming a497c15355 Remove file locations from de.po file by running
msgcat --no-location de.po > tmp ; mv tmp de.po

This way, the text diff of translation updates suddenly becomes readable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19609 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:36:19 +00:00
Christian Stimming ec3660ccb4 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19608 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:34:58 +00:00
Christian Stimming fdcb4f03de Win32 build: Temporarily disable the english (C) help compiling because it crashes the hhc.exe compiler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19607 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:28:46 +00:00
Christian Stimming 2a5d192904 Win32 build: Needs libjpeg-7 in dist as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19602 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:51:58 +00:00
Christian Stimming ccf1d14e95 Win32 build: The existing webkit binary needs libjpeg-7, so we install that one, too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19601 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:48:54 +00:00
Christian Stimming 334744d70f Enclose book kvp manipulation in begin/commit_edit in aqbanking plugin.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19600 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:26:49 +00:00
Christian Stimming 59820c823e Win32 build: Is running again. Some debug output of r19595 can be removed again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19599 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:46:17 +00:00
Christian Stimming 9238e82989 Bug #629641: Fixes WARN messages.
Bug in gncIDSearch.c causes "WARN <qof.class> [qof_class_get_parameter()] no
object of type string" to be emitted to error log.

Currently only affects Python bindings; InvoiceLookupByID(ID_STRING).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19598 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:31:53 +00:00
Christian Stimming 1cad336aae Bug #118391: Put isocodes in README.dependencies to inform packet maintainers
Additional changes in that file:
1. Link to more up to date http://wiki.gnucash.org/wiki/Dependencies
2. Introduce Structure:
required, alternatives, optional, at runtime suggested
3. Add webkit

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19597 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:31:40 +00:00
Christian Stimming f4d1e8ae91 Win32 build: Fix libxslt installation. Improve its calling arguments. Download inno before processing the docs (if the latter fails, we at least have inno).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19595 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:09:42 +00:00
Christian Stimming 41b7edbd3b Win32 build: Switch back gettext to 0.17 because 0.18 require libc++ which we don't want to have.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19593 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:34:41 +00:00
Christian Stimming 09e6fd507a Win32 build: xsltproc needs its suitable iconv and zlib, so install it there.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19592 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:34:13 +00:00
Christian Stimming 31bb57bae3 Win32 build: Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19591 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:11:58 +00:00
Christian Stimming f017dfb2b7 Win32: Fix missing gettext-tools (is packaged in gettext-tools-dev)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19590 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:08:42 +00:00
Christian Stimming 75e9463b0a Fix addition of gnc_numeric that was wrong in r19511.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19588 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 18:08:21 +00:00
Christian Stimming 0f6bf968d2 Fix 2 nonfatal syntax errors in german SKR49
1 missing Namespace
1 forgotten replacing of the last closing tag

This is now also updated in http://wiki.gnucash.org/wiki/AccountHierarchyTemplate

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19583 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-19 18:53:38 +00:00
Christian Stimming 77e2bb9478 Win32: Fix function attributes when using gwenhywfar-4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19582 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-16 16:13:24 +00:00
Christian Stimming 6edca6fa20 Win32 build: Remove installation directory before installing the new version. Require exact gwen/aqbanking version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19581 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-16 16:13:10 +00:00
Christian Stimming 239219f981 Win32: Try to fix the nightly build errors. (Directory went away?)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19580 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-15 20:18:18 +00:00
Christian Stimming d4236f543d Fix erroneous translation of strings with context prefix. The msgstr must not contain the prefix anymore.
http://lists.gnucash.org/pipermail/gnucash-devel/2010-September/029481.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19579 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-15 20:12:08 +00:00
Christian Stimming 6a5b9153a6 Minor update of German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19578 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-15 19:56:47 +00:00
Christian Stimming 2567793641 Win32: Fix checking for goffice installation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19577 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-14 20:45:04 +00:00
Christian Stimming 1577b486c2 Win32 build: Update gtk to 2.20; let pkg-config check for the versions, hence triggering the update automatically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19576 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-14 20:28:23 +00:00
Christian Stimming 292f166008 Win32 build: Add version number checks for gtk and gconf so that updating them should work more easily.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19575 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-14 19:26:30 +00:00
Christian Stimming 6032dac42c Win32 build: Remove commented-out gtkhtml references.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19574 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-14 19:26:17 +00:00
Christian Stimming 1a90b586b1 Win32 build: Set gwen/aqbanking version numbers in defaults.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19573 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-14 19:26:04 +00:00
Christian Stimming 10faafc574 Updates for German account templates, by Frank H. Ellenberger.
He writes:
Im beiliegenden Patch habe ich ziemlich mechanisch (grep, recode, sed) die
folgenden Anpassungen vorgenommen:
* encoding="ISO-8859-1" -> utf-8
* <cmdty:id>USD -> EUR, respektive CHF
** dies betraf auch de_DE/*[brokerage|full]*
*: interessanterweise wandelt der Druide die aber anscheinend in die default
currency um.
* Passiva -> Fremdkapital

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19570 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-11 20:10:04 +00:00
Christian Stimming 81a9dc1885 Add some disabled testing code that uses the stock gwenhywfar-gtk2 gui for online banking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19558 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-06 19:50:50 +00:00
Christian Stimming cac4456e75 De-activate aqbanking5 by default again because it requires gtk-2.18 or higher, which we don't have. Sigh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19557 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-06 19:25:48 +00:00
Christian Stimming 0871866c38 Bug #137017: Save the transaction date as a GDate directly, additionally.
This way, the date that was entered by the user is now at least saved
in the kvp and can later be retrieved in case we really fix the
timezone dependence of our txn's dates.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19555 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 20:21:00 +00:00
Christian Stimming 0b863f9c54 Add getter function for the date in a datecell as a GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19554 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 20:20:47 +00:00
Christian Stimming 848b93fb7e Win32: Add gtk's cflags to gwenhywfar configure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19553 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 19:19:32 +00:00
Christian Stimming 03a0075369 Relax configure test for svnversion of BUILDING_FROM_SVN was set beforehand. Helpful when building from git.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19552 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 19:15:33 +00:00
Christian Stimming 907c538905 I18n: Add German translation for new installer texts.
Suggested by Frank H. Ellenberger and edited by myself.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19551 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 19:14:54 +00:00
Christian Stimming 4ea1ea0208 Bug #370331: Store the numeric values of SX in their kvp as well, if possible.
For SX whose values do not depend on any variables, we now store
the numeric value as well. This way, we get rid of locale-dependent
parsing errors due to changing decimal separators in changing
locales - at least for SX which do not use variables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19550 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 21:48:22 +00:00
Christian Stimming 56623986c7 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19549 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 21:06:06 +00:00
Christian Stimming 818ba713cd Merge most recent pot template into all language po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19548 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 21:04:09 +00:00
Christian Stimming cee42d59e5 Fix counting of occurrence number w.r.t. the first valid date in the SX state.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19547 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 20:44:59 +00:00
Christian Stimming a4bb22b23c Clarify Derek's code to be licensed "GPL v2 or later" as he has confirmed in private email.
All of his other code has been licensed this way all along anyway.

After this change, all source code files are licensed under both
GPL version 2 and GPL version 3, which gives us enough flexibility in case any
requirements might switch to GPL v3-only. But currently we are for sure both.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19546 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 20:00:15 +00:00
Christian Stimming ee9f654f0f Win32: Add gtk include path to gwenhywfar configure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19543 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 08:52:04 +00:00
Christian Stimming 2aac56acb3 Win32: Add pkg-config version check for aqbanking so that the new version is installed without removing the old one manually.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19540 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-03 16:18:58 +00:00
Christian Stimming e6b7066fd7 Win32: Update aqbanking packages. Enable building with aqbanking5.
In r19532 I accidentally already removed the Qt DLLs from the installer. Of
course those can only be removed if indeed aqbanking5 is used, otherwise
they must still be in the installer.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19539 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-03 16:08:20 +00:00
Christian Stimming 687685616f Remove aqbanking2 from windows build scripts. Add optional aqbanking5 instead, which works without QT.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19532 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 16:24:02 +00:00
Christian Stimming 4e7014e48a Add scheme wrapper for SX cashflow calculation, including a typemap for the resulting GHashTable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19531 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 16:23:50 +00:00
Christian Stimming 4b3ef0786d Add scheme/swig typemap for GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19530 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 16:23:21 +00:00
Christian Stimming b1c5eb1477 Implement the evaluation of SX cashflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19511 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:20 +00:00
Christian Stimming d09d6a572e More const correctness and refactoring in gnc-sx-instance-model.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19510 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:05 +00:00
Christian Stimming 9eba06e5f5 Update license after Josh Sled's relicensing of his code under GPL v2 and/or v3.
He wrote to gnucash-devel on 2010-08-28:

Much of the last batch code I contributed to gnucash was licensed
without the "or any later version" clause of the GPL boilerplate, and
thus specifically and only under version 2 of the GPL.

I hereby extend that to version 2 and/or version 3.

Any contribution I've made to gnucash which was under the GPLv2 only may
be considered to be under both v2 and v3.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19507 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:43:19 +00:00
Christian Stimming f8432c0cb6 I18n: Fix last remaining user-visible mention of the abbreviation "SX".
This should have never appeared in a user message. However, in order
not to make this single string untranslated, we add the correct form
but don't use it yet so that it can be translated, and we will be
using it once 2.4.0 is out and the string freeze lifted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19506 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:43:05 +00:00
Christian Stimming 64c0790c29 Replace misleading "Passiva" in accounts/de_DE/* by "Fremdkapital" with description "alle Verbindlichkeiten"
Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19471 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-25 12:24:59 +00:00
Christian Stimming e0e1fba675 Add functions to calculate the cash-flow numbers that will be generated by a Scheduled Transaction. Unfinished, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19470 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-24 20:23:27 +00:00
Christian Stimming dfee800c87 I18n: Replace untranslatable sub-strings by the correct full strings.
The implementation is a hacky workaround, but at least better than
having weird translations as in the current state. Note: Even
though new strings are introduced, they are not yet used in order
not to break the string freeze here. The new strings need to
be activated once the 2.4.0 string freeze is lifted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19469 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-24 20:23:12 +00:00
Christian Stimming fd2bbf47c4 Add aqbanking5 extensions of GWEN_GUI object.
We need to locally store a reference to that particular GWEN_GUI
object that was used in Extend because we have more than one such
object in use inside gnucash (currently). If accidentally the wrong
one would be used in Unextend, a crash occurs.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19465 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 20:48:55 +00:00
Christian Stimming 238086f863 Fix erroneous place of "Bildung" account in hierarchy: Was moved to top-level due to double parent tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19464 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 19:13:00 +00:00
Christian Stimming 3553df6441 Add new function gnc_sx_get_num_occur_daterange and unittests for this in test-sx.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19463 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 11:10:25 +00:00
Christian Stimming de83edb352 And more const-correctnes in SchedXaction.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19462 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 11:10:12 +00:00
Christian Stimming f3dfae15c9 Make sx-instance-model more const-correct. Improve documentation.
Fix minor memory leak in gnc_sx_get_current_instances(void) - was not
free'ing the GDate of now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19459 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 20:57:31 +00:00
Christian Stimming 5cacefebc2 Impove const-correctness of SchedXaction.h functions; improve documentation.
Also, replace "void *" by pointers to the actual type.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19458 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 20:57:19 +00:00
Christian Stimming 492c69f070 Unify label with src/gnome/gnc-plugin-page-register.c:379.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19456 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 19:30:06 +00:00
Christian Stimming 1a557bcff5 Aqbanking: Enable gwengui-gtk2 implementation and fix setup wizard.
Setup wizard was missing OnlineInit/OnlineFini calls around it; with
them and the newest gwenhywfar, the setup wizard is now working again
in a gtk2 implementation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19447 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-18 20:32:42 +00:00
Christian Stimming 0af1c605c2 Add lookup of linker flags of libgwenhyfar-gui-gtk2.
It is still disabled until more testing has been done, though.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19446 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 21:30:17 +00:00
Christian Stimming 0f7bed2537 Add instantiation of gwengui-gtk2 object in gnucash, which enables the setup wizard again, but it doesn't fully work yet.
In particular, a quick test runs into significant UI work which is
still needed, and also occasional crashes might occur. Hence, the
gwengui-gtk2 parts have to be enabled manually by un-commenting
USING_GWENHYWFAR_GTK2_GUI.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19445 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 21:05:40 +00:00
Christian Stimming 61c0f6d15a Minor simplification of aqbanking version number check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19444 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 20:16:32 +00:00
Christian Stimming 95e41e1235 Check for upgrading an older aqbanking configuration to its current version.
This way, an older configuration is now updated automatically.

Patch by Bill Nottingham, confirmed by Martin Preuss, adapted to aqbanking5 by myself.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19443 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 20:16:18 +00:00
Christian Stimming 5e68bc0093 Bug #625193: Move newly introduced search-by-id functions into src/engine.
Patch by Mike Evans.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19442 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 19:52:24 +00:00
Christian Stimming 864311e8a3 update po/de.po after r19435 msgmerge
1. 2 dirty and 2 new strings
2. partial spell verification
 entity -> Entität
 small typos

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19441 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 19:50:13 +00:00
Christian Stimming eee03f03c9 correct syntax error in po/glossary/de.po
" must be quoted in strings.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19440 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 19:49:59 +00:00
Christian Stimming 9d7b03615f Update po files with up-to-date pot template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19435 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 09:20:18 +00:00
Christian Stimming 35ba93ed48 Remove unused file from both SVN and POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19434 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 09:05:05 +00:00
Christian Stimming ef26cb58ea Bug #626459: Change Transaction Report default account selection to none
I think in the specific case of the
"Transaction Report" this is the better choice. The error message
will be clear enough ("No accounts selected. Click here to Edit report
options"), and it will probably meet the user expectation that some account
needs to be selected anyway before something can be seen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19432 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:57:26 +00:00
Christian Stimming 5fbfa23dbb Bug #625193: Added 'search by ID' in python binding for invoices, customers and bills.
Patch by Mike E and Mark Jenkins:

When creating or appending to invoices, customers and bills, searching by ID is
likely more useful than by GUID.  I've added this functionality to the Python
bindings.

Search by ID using the python code:
tmp = gnucash.gnucash_core_c.search_invoice_on_id(ID,book.instance)
if tmp:
  invoice =  gnucash.gnucash_business.Invoice(instance=tmp)

Use the invoice object as in sample_scripts/simple_invoice_insert.py

I support this patch, but I've made a few improvments of my own.

I switched up the arguments in search_customer_on_id, search_invoice_on_id,
search_bill_on_id to have Book first and ID second. The reason for this was to
make these functions more consistent with the other functions where a search is
done through a book on a particular attribute.

Also added some specific python bindings support to allow this to be used as
methods of Book: Book.CustomerLookupByID, Book.InvoiceLookupByID,
Book.BillLoookupByID.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19431 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:48:18 +00:00
Christian Stimming f8df02cdb4 Bug #624721: Show backtrace for errors in eguile templates
Patch by Matthijs Kooijman:

The current eguile template implementation catches errors that occur while
evaluating an eguile template. However, only the error is shown, not a
backtrace (so no location of the error either).

The attached patch modifies the error handling to also capture the stack
backtrace, using a lazy exception handler (e.g., capture the stack before
unwinding the stack to the real exception handler).

To extract only the relevant part of the stack (e.g., the part inside the
eguile template, not the tens of stack frames leading up to the report
rendering), a stack dump is made just before evaluating the eguile template (so
a sort of "diff" can be made).

For more details, see the extensive comments in the patch itself.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19430 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:48:05 +00:00
Christian Stimming 044873ee08 Bug #616613: Automatically append the extension if user forgot append them.
Patch by "Bob":

The enclosed patch simply tests for a period in the file name,
if one exists it leaves it alone,
if not, it adds one plus a default extension.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19429 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:47:53 +00:00
Christian Stimming 0d9917127f Bug #626403: Fix inconsistent formatting between stylesheets (Webkit vs. gtkhtml)
Patch by Alex Aycinena:

The 'default' stylesheet formats the balance sheet, cash flow, income statement
and transaction reports properly under webkit but not under gtkhtml.

The 'easy', 'footer', and 'technicolor' stylesheets are the reverse; that is,
they format the balance sheet, cash flow, income statement and transaction
reports properly under gtkhtml but not under webkit, except that the 'footer'
stylesheet also has some formatting problems with gtkhtml as well.

The attached patch file corrects these problems. Specifically:

- styles that are missing in the 'footer' stylesheet (compared to 'easy') are
added

- the function 'gnc-html-engine-supports-css' is used in the 'default', 'easy',
'footer' and 'technicolor' stylesheets to provide styles for either webkit or
gtkhtml

- the taxtxf.scm report file is simplified to take advantage of these changes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19428 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:14:37 +00:00
Christian Stimming 0c41000c7a de.po: correction of "Income Tax Identity"
This term is used in the first dialog of "Ta_x Report Options".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19427 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:11:23 +00:00
Christian Stimming 100ba4a4e7 Fix stupid compiler error.
(Should compile first, then commit, not the other way round.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19422 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 20:20:10 +00:00
Christian Stimming d743401986 Add error message if the unimplemented aqbanking setup button is pressed.
Please see http://lists.gnucash.org/pipermail/gnucash-devel/2010-August/029188.html
and http://lists.gnucash.org/pipermail/gnucash-devel/2010-August/029189.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19421 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 20:18:44 +00:00