Commit Graph

12205 Commits

Author SHA1 Message Date
Phil Longstaff
f693c0e8bc When creating an account selector and a commodity list if provider, just duplicate
the list rather than making a copy of each commodity.  When a copy is made, this
copy is stored in the db, but is never deleted.  This causes problems (loss of
reference from account/tx to commodity) when the file is reloaded.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18407 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-08 18:59:39 +00:00
Phil Longstaff
5d95e03573 Bug 599324 - Patch: Add double click behaviour to account list in payment dialog
Patch by Geert Janssens


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18406 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-01 22:16:30 +00:00
Phil Longstaff
e405df93be Bug 599322 - Patch: Minor gui tweak for invoice window
Fix widget spacing.

Patch by Geert Janssens


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18405 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-01 21:49:00 +00:00
Christian Stimming
4b9981e127 Bug #599953: Let gnc:make-[complex|simple]-boolean-option store its value as a string
Patch by Mike Alexander (plus documentation comment by me):

Neither gnc:make-complex-boolean-option nor gnc:make-simple-boolean-option
(which calls it) correctly stores its result in the KVP that it is using.
This is because it calls kvp-frame-get-slot-path-gslist and
kvp-frame-set-slot-path-gslist to get and set the value.  Both of these are
implemented in C and the code in kvp-scm.c can't convert a Scheme boolean value
to or from a KvpValue since there is no boolean type in KvpValue.  There are
already a few places that have comments suggesting that there should be a
KVP_TYPE_BOOLEAN type, but adding this would be non-trivial.  For now I'll
supply a patch that will store the boolean value as a string (which is what
code in xaccAccountSetAutoInterestXfer in Account.c does).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18404 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-31 21:03:40 +00:00
Christian Stimming
189b1186bd Remove forgotten printf in r18402 which shouldn't have been committed to SVN.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18403 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-31 21:03:25 +00:00
Christian Stimming
06eeaebb2a Fix amount sign of imported bank transfers (e.g. from DTAUS file).
Usually an imported DTAUS file describes debit notes, which means "our
account" is credited (and the other debited). But DTAUS can also contain
transfers, which means "our account" is debited. In the DTAUS case, the
value would still be positive, so we have to query the transaction type
for this case as well. This is now fixed. (Needs aqbanking-4.1.10 though
because the earlier versions forgot to set the TypeTransfer.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18402 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-31 19:58:49 +00:00
Christian Stimming
eac59d32d1 Fix GCC pointer strictness compiler errors/warnings and remove duplicate code
Patch by Matt Lavin <matt.lavin@gmail.com> (with const added by myself).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18401 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-30 20:07:25 +00:00
Christian Stimming
c2111f45f5 Revert r18396, "Bug #593906: Fix crash at account report"
This change will crash the Windows version at startup, unfortunately
with unknown reason.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18400 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-30 19:50:59 +00:00
Cristian Marchi
470150ae29 Update of Japanese translation by KUSANO Takayuki
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18399 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-28 17:21:28 +00:00
Christian Stimming
e49ee473e8 Add polish account templates, contributed by Jacek Baszkiewicz <jbaszkiewicz@o2.pl>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18398 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-27 21:12:10 +00:00
Christian Stimming
0376d434a2 Fix compile error related to uninitialized value.
Patch by Matt Lavin <matt.lavin@gmail.com>.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18397 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-26 20:36:43 +00:00
Christian Stimming
9f31693c7e Bug #593906: Fix crash at account report
Patch by Mike Alexander.

This is the fixed version of r18352 which was reverted in r18360.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18396 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-26 20:15:47 +00:00
Christian Stimming
750d8af4cc Bug #582985, #585022: Add missing currencies Armenian Dram (AMD) and RSD.
Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18395 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-26 20:15:34 +00:00
Christian Stimming
bfc432b050 Bug #593070: Budget Report: Omit accounts with no budget and zero balance
Patch contributed by Luke Duncan:

I would like to have an option for the budget report that allows it to omit
accounts that have zero balance and no budget value specified over the entire
budget term. This avoids showing entire rows of blank cells without the user
having to manually select which accounts have a budget value or balance for the
term of the budget. The user can select all expense and income accounts and it
only shows the accounts that have actual (nonzero) data to display.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18394 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-26 20:15:18 +00:00
Christian Stimming
990592d496 Bug #567090: Fix erroneous password length comparison.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18393 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-26 19:30:32 +00:00
Christian Stimming
7f486984a9 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18392 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-25 21:02:17 +00:00
Christian Stimming
dea9fb98fe Introduce disambiguation prefix for "Deposit" action to distinguish it from the noun.
The Dutch translator wrote:
Would it be possible to differentiate between the instance of the _verb_
"Deposit" in src/register/ledger-core/split-register.c:2184 (the verb) and
the occurrances of the _noun_ "Deposit" in src/app-utils/prefs.scm (via
intl-scm/guile-strings.c:6732) and
src/import-export/csv/gnc-csv-model.c:37? This would help me
tremendously with my efforts.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18391 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-25 20:34:27 +00:00
Christian Stimming
eb18d3d8f5 Make one register function more const correct to avoid compiler warnings when passing const strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18390 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-25 20:34:14 +00:00
Christian Stimming
14a9b7e562 Update Dutch translation by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18389 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-25 20:06:49 +00:00
Phil Longstaff
564903ca9d Fix typo: scm_catch_body_t -> scm_t_catch_body
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18386 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-18 23:48:37 +00:00
Phil Longstaff
acdecdedb8 Allow m4 1.4.11 and 1.4.13 as well as 1.4.7. Should really parse the version
number to ensure it is higher than some minimum value.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18385 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-18 21:57:19 +00:00
Phil Longstaff
9d61ff898a Fix 598491: Remove use of guile's deprecated GH interface
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18384 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-17 17:47:56 +00:00
Christian Stimming
5f7d71dbdc Updated Dutch translation by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18383 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-16 20:15:11 +00:00
Christian Stimming
ad35fcdb2b Win32: Assert there is only one aqbanking plugin directory before accessing the qt3-wizard.exe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18381 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-16 19:53:57 +00:00
Christian Stimming
f599184b62 Updated Dutch translation by Erwin Poeze, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18380 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-16 19:06:26 +00:00
Phil Longstaff
0b2cfbdc35 gnc-module doesn't need to compile/link with guile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18379 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-15 23:21:23 +00:00
Christian Stimming
78d68b9f61 Win32: Minor version update of aqbanking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18378 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-13 19:37:18 +00:00
Christian Stimming
8ca1487a21 Add new option in register "Tab order includes Transfer field".
Patch by Colin Law:
Patch that provides a new option in the Register preferences to
specify whether, when tab is hit after entering the description for a
memorised transaction in Basic Ledger view, that the cursor skips to
the value field (as at present) or just tabs to the Transfer field.
The option defaults to include the Transfer field so gnucash operation
is unaffected unless user modifies the option.

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

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18377 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-08 21:04:14 +00:00
Christian Stimming
018c467160 Partly fix broken data file backward compatibility where SX recurrence would disappear.
In r17725 and r17751, I introduced the extra XML child element
<recurrence:weekend_adj>, but this means a gnucash-2.2.x cannot read
the SX recurrence of a >=2.3.x file anymore, which is bad. In order
to improve this broken backward compatibility for at least the common
case, we don't write out this XML element as long as it is only "none".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18376 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-07 20:45:00 +00:00
Phil Longstaff
0ed35e5489 Change version number to 2.3.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18371 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-06 00:03:06 +00:00
Phil Longstaff
d026fe291a Retrieve new packaged pgsql binary which has msvcr71.dll included. Also, win32
packaged webkit is retrieved from sourceforge.net, not gnucash.org.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18370 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-04 23:31:37 +00:00
Christian Stimming
03ee117b5e Revert r18366, "Bug #596248: Disable pgsql in libdbi build"
The current build doesn't even start. We revert this change so that
we go back to the previous behaviour where we at least started the
main window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18369 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-04 20:25:43 +00:00
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