Commit Graph

12173 Commits

Author SHA1 Message Date
Christian Stimming
952632d89f Partly revert r18363, "Minor windows version updates: Newer gmp, newer slib."
The newest build doesn't even start the gnucash main window (only the
splash screen). Hence, we revert the changed slib version because this might
affect that behaviour.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18368 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-04 20:25:32 +00:00
Christian Stimming
19503887fc Win32: Build gwenhyfar without openssl because it doesn't need it anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18367 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 20:11:46 +00:00
Christian Stimming
664ae299b9 Bug #596248: Disable pgsql in libdbi build because the available pgsql binaries depend on Visual Studio C runtime.
This can be enabled again as soon as we pgsql binaries available
which do not depend on MSVCR71.DLL anymore.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18366 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 14:06:28 +00:00
Christian Stimming
06f89503cc Follow-up to r18354: Patch for balance column displayed in template register
Patch by Tim M: The attached patch is an improvement to the original patch
which supplies the correct number of columns to gnucash for the
general_ledger register view if the register is a template.

Signed-off-by: Christian Stimming <stimming@tuhh.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18365 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 14:01:28 +00:00
Christian Stimming
52fdf3ea53 I18n: Fix forgotten string markup for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18364 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 13:59:15 +00:00
Christian Stimming
43cb79ca27 Minor windows version updates: Newer gmp, newer slib.
(Note: The newer slib version doesn't yet fix the issue which caused r18360)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18363 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 11:48:32 +00:00
Christian Stimming
0e21cecfd8 Updated Polish translation by Jacek Baszkiewicz.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18362 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 11:43:00 +00:00
Christian Stimming
19e02f6dea Fix compiler warnings.
Patch by Colin Law: Attached is a patch to fix compiler warnings in
split-register-model.c.  In fact for me they prevent compilation,
possibly because I have specified --enable-compile-warnings.  I have
inspected the code and it appears that the warnings are unfounded, the
code appears to be safe, though I can see why the warnings were
generated.

Signed-off-by: Christian Stimming <stimming@tuhh.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18361 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 11:37:52 +00:00
Christian Stimming
8292c87e1a Revert r18352, "Bug #593906: Fix crash at creating account report"
The bugfix was using the guile function "@" which apparently isn't available
on quite a number of platforms, including the Windows guile-1.6.8 which
we're shipping in our windows binary. So we need to fix the original bug
in a different way without the "@" function.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18360 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-03 11:33:31 +00:00
Phil Longstaff
3a86d497c8 Update revision number to 2.3.6
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18356 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-29 01:05:11 +00:00
Christian Stimming
7e9642aa88 Improve original register running balance implementation.
Patch by Tim M:

The attached patch is an enhancement to the original reg_run_balance patch
that was implemented.  This patch has been created off of a recent trunk (in
the last week).  It makes the following changes:

1. Add a gboolean to the argument list of the gnc_split_register_get_rbaln()
function.  If the new boolean value is set to TRUE, then the function will
return the running balance for the parent account and all subaccounts.  If
set to FALSE, the function will only return the running balance of the
parent account and will not include the subaccounts.  The function has been
modified also to accomodate this change.

2. Update existing calls to the function to add the boolean value.

This patch does not actually implement a runtime balance for single account
register view or normal balance column because of potential issues that will
need to be addressed, but it opens up the possibility for easy
implementation of such a change.

Signed-off-by: Christian Stimming <stimming@tuhh.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18355 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-28 20:32:05 +00:00
Christian Stimming
6bcb76e93a Fix bug when register running balance column appears in template transaction.
Patch by Tim M:

I noticed yesterday a bug in the reg run balance patch that was applied,
there is now a "Balance" column displayed in the template transaction
register.  If you open the scheduled transaction editor, then open a
scheduled transaction and go to the "Template Transaction" tab, there is a
"Balance" column displayed on the far right side of the register.

The attached patch fixes this defect so that the RBALN column is not
displayed in template registers.

Signed-off-by: Christian Stimming <stimming@tuhh.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18354 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-28 20:31:42 +00:00
Christian Stimming
3a01c28043 Bug #593906: Fix crash at creating account report
Patch by Mike Alexander: I tracked it down to the set of changes made in
r18253 to automatically load all the reports in the standard-reports directory.
This changed standard-reports.scm to use resolve-module instead of use-modules
to load reports.  One difference between these two is that resolve-module
doesn't make the interface for the loaded module available to the module
containing the call to resolve-module.  This causes a crash when
gnc:register-report-create in standard-reports.scm tries to call
gnc:register-report-create-internal which is located in register.scm (one of
the modules loaded using resolve-module).  I fixed it by explicitly defining
that interface using the "@" guile function after the modules are loaded.  You
could also probably just add back a call to use-module for that module, but
this seems to work and makes it explicit what interface is needed.

Signed-off-by: Christian Stimming <stimming@tuhh.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18352 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-28 17:32:04 +00:00
Christian Stimming
b2ee808ba6 Updated Slovak translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18351 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-28 17:28:27 +00:00
Phil Longstaff
e73288c91f If webkit chosen as html engine, don't bother looking for gtkhtml.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18350 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-26 02:21:05 +00:00
Phil Longstaff
d5a4c757ff Fix enhancement bug 101456 - 'Find' dialog cumbersome for Business functions
When opening an invoice search dialog from a specific company, list is populated by all invoices.

Patch by Geert Janssens


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18349 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-26 00:07:49 +00:00
Phil Longstaff
5ee9dcade2 Enhancement bug 589787 - Multi-line up/down scroll for register transaction Notes field text
Patch by James Raehl


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18348 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-25 23:36:56 +00:00
Christian Stimming
2e3290c1f8 Win32 build: Add forgotten dist_ktoblzcheck step to dist creation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18347 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-25 19:43:22 +00:00
Phil Longstaff
f0036b8a12 Use GtkFunction instead of obsolete GtkDestroyNotify for argument type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18346 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-25 01:32:27 +00:00
Christian Stimming
2b6e0f5f8d Win32 build: gwenhywfar needs another patch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18345 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-24 20:45:21 +00:00
Christian Stimming
19962e096c Win32 build: Fix stupid typo in aclocal call (also it is not needed ATM)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18344 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-24 20:12:41 +00:00
Christian Stimming
f4090dcfc3 Gwenhywfar-3.11.1 also needs a patch to not crash at startup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18343 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-24 20:06:58 +00:00
Christian Stimming
4fe14d413b Updated Danish translation by Joe Hansen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18342 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-24 18:49:10 +00:00
Christian Stimming
12cf585b45 Updated German translation, inspired by Raffael Luthiger's contribution on 2008-12-31.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18341 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 20:19:21 +00:00
Christian Stimming
911b43fae5 Win32 build: Update file names with newer aqbanking version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18340 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 10:32:22 +00:00
Christian Stimming
9936b8662c Update gwenhywfar+aqbanking packages - Martin has just released new versions including our patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18339 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 09:37:17 +00:00
Christian Stimming
51b10820b1 Fix another forgotten i18n include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18338 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 09:37:03 +00:00
Christian Stimming
6f9d1350aa Win32 build: Remove gwenhywfar configure option which has been removed before gwenhywfar-3.8.2.
Also, add aclocal call because the patch has modified configure.ac.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18337 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 09:26:51 +00:00
Christian Stimming
308e2a4390 Win32 build: Add patch for gwenhywfar-3.11.0 so that this compiles correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18336 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:31:49 +00:00
Christian Stimming
8c8278889e Fix forgotten i18n includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18335 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:27:58 +00:00
Christian Stimming
401effd9d9 Clarify documentation: Preference tab names must be translated everywhere.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18334 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:15:05 +00:00
Christian Stimming
cb9d84e691 I18n fix: Markup preference tab name "Online Banking" for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18333 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:14:54 +00:00
Christian Stimming
95021bcfcf Win32 installer: Really fix path of qt3-wizard.exe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18332 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 21:38:31 +00:00
Christian Stimming
28782604d3 Bug #595920: Fix missing ca-bundle.crt in windows installer.
Also, fix the plugin number path of qt3-wizard.exe.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18331 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 21:23:59 +00:00
Christian Stimming
f26fc24690 Minor version update for online banking packages.
The libofx patch was originally intended to be committed to the libofx CVS
so that the code would be included in a potential 0.9.2 release sometime in
the future, only until I discovered that I'm a developer there but
without CVS write access. Duh!

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18330 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 20:33:59 +00:00
Cristian Marchi
3059179273 Update of Polish translation by Jacek Baszkiewicz
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18329 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 17:12:56 +00:00
Phil Longstaff
eb5b4f7bb4 Add "file://" URL type to images in invoices. On win32, this at least allows the exported
invoice html to load in firefox.  It still doesn't fix it in webkit, for some reason.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18328 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-21 00:51:20 +00:00
Christian Stimming
41042912b1 Merge latest pot template into all .po translation files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18327 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:24:16 +00:00
Christian Stimming
6d25869147 Update German translation with latest string changes: 10 new strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18326 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:23:46 +00:00
Christian Stimming
8eeb08b4cf Bug #107929: Register window with running balance including all subaccounts
Adds a balance column to the "Open Subaccounts" register with the running
balance.

This patch adds a Balance column (similar to the single account register) which
provides a total running balance of the parent account and all subaccounts.

Patch by Tim M, modified by cstim to take r18320 / Bug#585784 into account:
We need to should use gnc_account_print_info() instead of the removed
gnc_split_register_print_info().

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18325 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:03:20 +00:00
Cristian Marchi
ad1c481aed Update of Lithuanian translation by Tadas Masiulionis
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18323 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-19 08:10:20 +00:00
Christian Stimming
90f23afec6 Bug #589804: Additions to register transactions Action pulldown list
Register transaction Action pulldown lists are currently oriented to stock
transactions.  Expense Action options, for example, are Buy and Sell.  The
enclosed patch adds a small number of items for those using Gnucash for
personal checking accounts.  Also, ATM is split into ATM Deposit and ATM Draw
(withdrawal).

This patch adds actions to the register transaction Action pulldown lists

Patch by James Raehl.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18322 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:57:52 +00:00
Christian Stimming
6cc28474be Bug #572938: Fix OFX Mutual fund buys that are imported as sells
When I try to import a downloaded OFX from Fidelity NetBenefits, my mutual fund
purchases become sales. I looked at the code and it seemed like a pretty simple
fix, it seems as if it was treading all non-income investing transactions as sales.
I wrote and tested this patch to fix the problem.

Patch by Matt Lavin, signed-off by Benoit Grégoire.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18321 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:51:43 +00:00
Christian Stimming
03585ce69e Bug #585784: Fix wrong fractional precision in stock/mutual fund registers Bug 585784 - Wrong fractional precision displayed in stock/mutual fund registers
The original patch attempted to fix bug #529494 by replacing the
gnc_split_value_print_info function with gnc_split_register_print_info, which
instead of using the print info of the transaction's commodity, used the print
info of the commodity of the register's account.  However, this was not the
correct behavior in all cases either.  This patch eliminates the
gnc_split_register_print_info and instead puts the logic for selecting the
appropriate print info into the functions which previously called it.

* In gnc_split_register_get_balance_entry, the print info of the account of
the split is used (xaccSplitGetAccount); if the split doesn't have an account,
the print info of the register's default account
(gnc_split_register_get_default_account) is used

* In gnc_split_register_get_debcred_entry, if there is no split, the account
info of the register's default account (gnc_split_register_get_default_account)
is used.  Otherwise, if the register is a Stock/Mutual Fund register or an
(obsolete) Currency register, the print info of the transaction's currency is
used (xaccTransGetCurrency).  Finally in all other cases, the print info of the
register's default account (gnc_split_register_get_default_account) is used.

* In gnc_template_register_get_debcred_entry, there is no account to reference,
so the default print info (gnc_default_print_info) is used.

Patch by Daniel Harding.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18320 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:50:48 +00:00
Christian Stimming
c5077e259f Re-indentation of source code, first try, only in the libqof directory so far.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18319 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:40:57 +00:00
Phil Longstaff
49d62ad506 Add GNC_DBD_DIR definition for libdbi on mac
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18318 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-16 00:24:04 +00:00
Phil Longstaff
1df9789ef1 Fix bug 590386 - Always use today for reconciliation statement date
Patch by Simon Arlott


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18317 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:58:07 +00:00
Phil Longstaff
da8ef1797b Fix bug 591117 - Cash Flow Report's "Depth: All" Option is Broken
Patch by David Eisner


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18316 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:52:56 +00:00
Phil Longstaff
64677e9b90 Fix bug 595014 - MacOSX 10.6 (Snow Leopard) fails configure.in check
Patch by David Reiser


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18315 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:44:49 +00:00
Phil Longstaff
41950b6070 Fix bug 595015 - compiler warnings for missing printf format specs, gcc 4.2.1
Patch by David Reiser


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18314 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:38:56 +00:00