Commit Graph
100 Commits
Author SHA1 Message Date
Christian Stimming 573e3a8f13 Bug #635355: Implement the correct "DTAUS import and send" feature again.
Patch by Manfred Usselmann: Improved version: Only transactions which have
been successfully imported into GC are transmitted to the bank.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20016 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:29:09 +00:00
Christian Stimming e224205e11 Bug #95635: QIF import: Mark matched transactions as cleared
Patch by Tristan Faujour:

Please describe the problem:
My bank allows me to download bank statement files in the QIF format. They
contain paid transactions, but there is no status ("C") line, so all
transactions are left in the "not cleared" status.
I wish it would be possible to define the default status in user preferences.

Steps to reproduce:
- Import a QIF file with no "C" line.

Actual results:
- Transactions are not cleared.

Expected results:
- The "near split" of the imported transactions should be set to a default
status 'defined in user preferences).

Does this happen every time?
- Yes

Other information:
- I developed a patch. See attachment. It allows defining another status that
will be applied to the transactions that are imported as "not cleared".
- It is my first contribution, it should be taken with all due prudence.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20015 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:25:30 +00:00
Christian Stimming 039c603bf8 Bug #636988: Tip about "New default date" by Tarlika Elisabeth Schmitz and Derek Atkins
Contributed at gnucash-user@gnucash.org 2010-09-16

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20014 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:25:18 +00:00
Christian Stimming d91e927158 Bug #628444: String improvements after string freeze is lifted
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20012 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:07:01 +00:00
Christian Stimming e6e8cdf852 Bug #565348: Patch to include subaccounts in the all columns in the account page
Patch by James Duerr:

Patch to include subaccounts in all columns, not just present column, and also
to sort including sub-account totals, rather than without.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20011 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:06:49 +00:00
Christian Stimming 6cbd67d180 Follow-up to r19999: Refactor guile version-safe scm_to_locale_string into gnc function.
(Yay, I made r20000 :-)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20000 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 11:41:33 +00:00
Christian Stimming 6af446e0d7 Fix r19985, r19986 for guile-1.6.8.
The return value of guile-1.6's SCM_STRING_CHARS must not be freed, as
opposed to the return value of guile-1.8's scm_to_locale_string. So we
must wrap the free() into a macro that is defined appropriately (or maybe
we should refactor this into a function returning a g_malloc'd g_char anyway.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19999 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 11:33:31 +00:00
Christian Stimming ddfa713ab3 Fully implement auto-completion in the invoice entries on the description field, separately for bills or invoices.
The quickfill is obtained from the global cache of the GncEntry's
descriptions, one for invoices, one for the rest.
The auto-completion is a simple query to get the newest entry with the
same description, but limited to invoices or bills, respectively.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19998 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 11:02:13 +00:00
Christian Stimming 82a37347ea Re-apply r19993: Add a new report: Customer Summary.
This report shows a table of all customers and the sales, profit, and markup
in that table.

(The crash at startup wasn't caused by this patch.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19997 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 11:00:27 +00:00
Christian Stimming bfc3c0b484 Revert r19993, "Add a new report..." - not yet working due to errors in the loading process.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19994 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 21:41:51 +00:00
Christian Stimming 6d44330b71 Add a new report: Customer Summary.
This report shows a table of all customers and the sales, profit, and markup
in that table.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19993 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 21:40:21 +00:00
Christian Stimming 0a156be0ce Add a new report: Future Scheduled Transaction Summary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19992 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 21:31:40 +00:00
Christian Stimming 15db554a3f Bug #637346: A second step towards doxygen python-bindings docs; add file missing in r19981
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19991 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 20:54:22 +00:00
Christian Stimming 81eea9dded Improve GncEntry quickfill to create separate quickfills for invoices and bills
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19983 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-27 21:07:58 +00:00
Christian Stimming e0e8300c54 Bug #637346: A second step towards doxygen python-bindings docs
Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19981 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-27 15:36:15 +00:00
Christian Stimming a0e8430b3e Improve the cached quickfill for GncEntry description lines of r19941.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19958 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 21:31:22 +00:00
Christian Stimming 6accd9a09a Add debug helper function qofeventid_to_string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19957 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 21:31:11 +00:00
Christian Stimming 7c76425cbf Bug #637346: Adding python-bindings to doxygen documentation
Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19956 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 20:36:40 +00:00
Christian Stimming 300284f8e5 Follow-up to r19928: Include gnc-version.h with directory path to avoid picking the wrong file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19952 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 22:01:48 +00:00
Christian Stimming c94ee4dd31 Bug #637041: Revert r19861 as the patch from bug#635439 causes a crash.
The patch can be re-applied after the 2.4.0 release is out, but for now
I prefer to defer it until after the release.

To be precise, this patch reverts all parts of bug#635439: r19861, r19860,
r19854, r19853.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19951 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 21:43:21 +00:00
Christian Stimming 71f53a5940 Implement prerequisites for full auto-completion in the entry ledger.
Added a cached quickfill for GncEntry description lines. Extend QuickFillCell
interface to be able to use a common cached quickfill.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19941 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 21:25:52 +00:00
Christian Stimming 0ede4fcda9 Remove doubled include files.
(Also, QuickFill.h doesn't depend on gdk.h)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19940 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 20:32:56 +00:00
Christian Stimming 88cb0b1b20 Replace more obsolete #define'd function names by their current names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19939 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 20:22:48 +00:00
Christian Stimming 50d6165239 Mark erroneous translation as fuzzy because it doesn't have the correct c-format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19938 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 19:50:17 +00:00
Christian Stimming d773789dd8 Add gitignore for backup files from make check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19937 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 21:00:40 +00:00
Christian Stimming febe74e6c0 Replace more obsolete #define'd function names by their current names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19936 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 21:00:23 +00:00
Christian Stimming c8a1ebb93a Replace obsolete <QueryNew.h> #defines by the current <qof.h> function names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19932 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 21:30:59 +00:00
Christian Stimming d9b311efb1 Implement (but currently deactivated) auto-completion in the invoice ledger using all entries from the current book.
Eventually, this will enable drawing the auto-completion from all entries in
the previous invoices (i.e. book-wide), but in order to give the user a
good enough feedback during typing we additionally need a quick-fill object
over those book-wide entries. Currently, the user cannot see whether the
current description would result in an auto-completion from another invoice,
and that's not yet enough.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19931 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 21:30:40 +00:00
Christian Stimming 906672a40d Cutecash: Add generation of dummy gnc-version.h file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19930 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 12:04:00 +00:00
Christian Stimming 5465b72489 Add missing newline at end of file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19929 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 11:58:42 +00:00
Christian Stimming 5c8663189a Remove obsolete gnc-prices man page
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19921 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 10:25:33 +00:00
Christian Stimming d33ac38371 Bug #629446: TRY is now called plain Turkish Lira.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19919 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-09 10:16:02 +00:00
Christian Stimming 83a23d7986 Bug #454109: Online banking: grey out online actions when there is no online account
Patch by Manfred Usselmann:
Online actions are disabled for accounts which have no bankcode and account id
assigned

This fix does not require initialization of the AB_BANKING object.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19914 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 10:26:04 +00:00
Christian Stimming b734b2ac41 Bug #635355: Partly implement the correct "DTAUS import and send" feature again.
Patch by Manfred Usselmann.

The main part of the feature is delayed until the string freeze is lifted.
This part (without adding strings) implements the infrastructure for sending
only the correctly imported transactions to the bank later.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19909 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-05 13:27:02 +00:00
Christian Stimming 6dfd0f28f4 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@19907 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-04 21:09:57 +00:00
Christian Stimming 9cdbe69e0f Bug #609472: Fix translation of displayed style sheet names in the style sheet editor.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19903 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-03 21:14:54 +00:00
Christian Stimming 8b43258ac6 When creating a new style sheet, make sure the name for it is non-empty.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19902 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-03 21:14:39 +00:00
Christian Stimming 2eec10f6c2 Bug #635469: Add a (typemap for a) QofQueryParamList typedef.
Patch by Matthijs Kooijman:

This is a typedef for a GSList, that is used to identify the path from
an object to one of its parameters in search queries and sorting.

This typedef replaces GSList everywhere where it's applicable. This
relieves the need to special case a few functions in the swig bindings
and makes the bindings for a bunch of other functions work as well.

Note this is (still) only an in typemap, since no useful functions that
return a QofQueryParamList are exposed in the bindings right now anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19890 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-27 21:57:00 +00:00
Christian Stimming c7cba6884e Bug #635632: Update existing eguile reports to use new for syntax.
Patch by Matthijs Kooijman <matthijs@stdin.nl>:

    This makes use of the new for syntax introduced in the previous
    commit, making these reports and templates a bit easier to read and
    modify.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19889 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-27 21:54:29 +00:00
Christian Stimming 626f8dfe7a Bug #635632: Add custom for loop syntax for eguile templates
Patch by Matthijs Kooijman <matthijs@stdin.nl>:

    The built-in for-each loop construct is a bit cumbersome: It always
    requires an explicit lambda and the list to loop over is the last
    argument. Especially the latter makes it very hard to read when the
    lambda is big and multiple for-each'es are nested.

    For hashes, this prevents the need of the cumbersome hash-fold and
    slightly better hash-for-each (which still suffers from the same
    problems as for-each and is not available in guile 1.6).

    This new syntax allows for three distinct syntaxes:

     * Looping over a single list:
	 (for a in lst do (display a))
     * Looping over multiple lists:
	 (for (a b) in (lsta lstb) do (display (+ a b)))
     * Looping over a hash:
	 (for key => value in hash do (display (* key value)))

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19888 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-27 21:54:18 +00:00
Christian Stimming 578e9e2f55 Implement auto-completion in the invoice/bill entry ledger.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19887 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-27 21:01:15 +00:00
Christian Stimming 2bf78f0e8e Take a first shot at adding auto-completion in the business ledger, but currently it doesn't do anything yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19884 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-25 21:34:36 +00:00
Christian Stimming 88356f97d2 Make prototype for gnc_entry_ledger_get_entry public. Add documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19883 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-25 21:34:25 +00:00
Christian Stimming 32416a5d15 Bug #635469: Add bindings for running a qofquery on invoices.
This adds a new typedef "GncInvoiceList" with the corresponding typemap,
and adds two new functions qof_query_create_for_invoices and
qof_query_run_for_invoices, which are trivial wrappers around
qof_query_create_for and qof_query_run respectively.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19863 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 20:17:18 +00:00
Christian Stimming d9a658ed4b Bug #635355: Add public declaration of gnc_info_dialog.
Patch by Manfred Usselmann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19862 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 19:42:16 +00:00
Christian Stimming 8f69e17094 Update German translation.
(This includes the 14 new strings which are already there but not yet being used.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19858 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:44:58 +00:00
Christian Stimming 2d8e27ad6a Merge German translation with latest pot template.
This is merged using msgmerge --no-location de.po gnucash.pot -o de.new.po
and we use "--no-location" to make the updates actually readable.
(Unfortunately this doesn't prevent the strings from changing ordering anyway. Oh well.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19857 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:44:38 +00:00
Christian Stimming 5cad4d5a19 Remove superfluous whitespace at end of string. Incidentally, this way the string already exists and no broken translation results.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19856 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:37:57 +00:00
Christian Stimming 1643a19f72 When extracting the translation strings from the scheme files, sort the scheme files to obtain a stable ordering of the output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19855 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:37:43 +00:00
Christian Stimming 8f7e2aeb39 Bug #635439: Fix "Pay invoice" while the invoice dialog is open.
Patch by Matthijs Kooijman <matthijs@stdin.nl>:

    If you use "Pay invoice", normally a new payment dialog is opened which
    is completely filled in. However, when there was already a dialog open,
    it was reused but only the owner would be filled in. This patch makes
    sure that the invoice and amount are filled in as well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19854 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:17:41 +00:00
Christian Stimming 8129860609 Bug #635439: Patch to autoset owner in the payment dialog
Patch by Matthijs Kooijman <matthijs@stdin.nl>:

    In the payment dialog, set the owner when an invoice is selected

    Before, you would always need to select an owner manually. If you would
    just select an invoice (which was possible, since the invoice selection
    is not disabled when no owner has been selected yet), pressing OK would
    error out because no owner was selected.

    This patch makes sure that when an invoice is selected, but no owner is
    selected yet, the right owner is filled into the owner selection box
    automatically.

    This also happens when the wrong owner is selected, which can happen
    because the invoice autocompletion is not limited to invoices from the
    selected owner, but always completes all invoices. This could cause
    weird behaviour: Select an owner, then use completion to select an
    invoice by another owner and press ok. This would cause the amount for
    the invoice by the other owner to be charged against the first owner.
    This patch prevents that by replacing the first owner by the other owner
    in the dialog.

    This patch also changes gnc_invoice_set_owner to no longer reset the
    invoice selection to NULL. Instead, this is now handled by

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19853 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 20:17:29 +00:00
Christian Stimming 150c3dae48 Fixed aqbanking transaction type on importing DTAUS online transfers.
Patch by Manfred Usselmann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19818 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-16 20:55:50 +00:00
Christian Stimming a12cc790b1 When preparing imported DTAUS jobs, check their availability as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19814 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-15 19:37:24 +00:00
Christian Stimming cb0c64dee6 Fix typo in AUTHORS, as pointed out by Mike himself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19810 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 21:14:46 +00:00
Christian Stimming 080f38072a Add Mike Evans to AUTHORS as he has been providing patches regularly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19809 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 19:29:43 +00:00
Christian Stimming 807d195242 Bug #634812: Improve backend error reporting for Session begin
Patch by Mike E:

The current error feedback to a python scrpt/user looks something like:

call to begin resulted in the following errors, (7,)

This change in gnucash_core.py makes the feedback similar to:

call to begin resulted in the following errors, ERR_BACKEND_LOCKED

This is less cryptic and aid debugging of user python scripts.  My only
issue though is whether this would break existing user scripts where checking
of this error code is used for flow control.  Although since the ERR_ codes are
imported with gnucash_core_c it *should* have no effect.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19808 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 13:30:16 +00:00
Christian Stimming 5816a971ce Cutecash: Adapt to changed session_begin in r19798.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19807 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 13:16:31 +00:00
Christian Stimming ec6412f3c9 Bug #634357: Further menu ui cleanup: Reserve File New/Open menu only the file-related items anymore.
The menu items under "File" should relate only to the file (database),
not to anything within a file. The open/new for all other things (budget,
invoice, account) have been moved somewhere else.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19806 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 13:05:43 +00:00
Christian Stimming 530802c999 Win32 build: Update versions of libktoblzcheck, gwenhywfar4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19805 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-13 21:32:18 +00:00
Christian Stimming 3888ebac16 Fix crash when using the function "Import DTAUS and send". The actual function is still implemented, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19804 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-13 21:23:06 +00:00
Christian Stimming 0b0deee99f Minor fix of r19802, bug#634673: config.h is in builddir, not srcdir; add last .i file dependency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19803 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-13 21:22:55 +00:00
Christian Stimming 76da42522e Bug #634165: Better dealing with a locked database in python
Patch by Christoph Holtermann:

For the second enhancement proposal i have attached a simple patch which adds
the argument ignore_lock to Session.__init__() which is passed through to
qof_session_begin.

This patch extends the function Session.__init__() with ignore_lock

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19795 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-10 19:49:21 +00:00
Christian Stimming 98b42582ca Bug #634357: Move the Budget Open/New menu items to Actions -> Budget -> New Budget / Open Budget because they have nothing to do with the file menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19794 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-10 19:49:09 +00:00
Christian Stimming 74bc164f73 Bug #633942: Fix "nil" column header on single account report
When I open a report window (barchart in the example) and select only one
account, I get a column header saying "nil" near the only data column.

Someone accidentally wrote "nil" instead of the empty list '().

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19783 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-08 20:46:28 +00:00
Christian Stimming 632637c2e9 Minor update of German translation.
In the "bills due" dialog we use Bill -> Rechnung, not Lieferantenrechnung.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19782 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-08 20:31:42 +00:00
Christian Stimming 75f38a3d91 Bug #634252: Re-enable the splash screen if the user selects open anyway
If during startup a file or database turns out to beeing locked the user is
presented a dialog with the options to open anyway, create a new file or abort.
This dialog, however, closes the splash screen. This may cause confusion,
because file loading and report generation may still take quite some time.

Patch by Herbert Thoma.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19781 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-08 19:45:43 +00:00
Christian Stimming 861713c0be Increase gnutls version to 2.8.6 (might fix bug#632158)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19780 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-08 19:40:23 +00:00
Christian Stimming 28a1e01373 Really fix error in sx_get_num_occur for SX which are limited by num_occur.
Follow-up to r19757 which was incomplete. Hopefully I now really got everything.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19758 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-05 21:49:17 +00:00
Christian Stimming 93137a0cb9 Fix error in sx_get_num_occur for SX which are limited by num_occur.
The last occurrence wasn't counted because it was still valid
but turned num_occur_rem to zero, hence the counting stopped one too early.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19757 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-05 21:36:58 +00:00
Christian Stimming f55706ecaf Fix error in dense-cal widget where the last occurrence of a SX wasn't displayed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19756 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-05 21:36:41 +00:00
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