Commit Graph

13365 Commits

Author SHA1 Message Date
Cristian Marchi
9b9cdb5cbc Updated Japanese translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19892 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-28 12:53:14 +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
Geert Janssens
641de9593b Fix GtkSpinButton with page-size deprecated warning in gnucash.trace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19881 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-24 18:45:33 +00:00
Frank H. Ellenberger
0882ec4722 Add "discount" to all glossary files because some languages use different translations in billing terms and invoices.
Additional the german translation is added to glossary/de.po.
This change does not break the string freeze as it is not user visible.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19874 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-24 02:52:06 +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
Mike Evans
5c7784abf1 Bug #635439: Patch to autoset owner in the payment dialog
Patch by Matthijs Kooijman <matthijs@stdin.nl>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19861 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 15:13:26 +00:00
Mike Evans
bc3f36698f Revert "Bug #635439: Patch to autoset owner in the payment dialog"
This reverts commit 232ae4064952cb65e9703d61778cb1531d2e4f56.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19860 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 13:45:43 +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
Phil Longstaff
789f42e134 Update release to 2.3.17
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19851 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 02:14:21 +00:00
John Ralls
a608c337ce Correct patch submission instructions to direct patches to bugzilla rather than the mailing list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19849 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-20 18:28:38 +00:00
Cristian Marchi
a3d344cb92 Updated Italian Translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19848 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-20 13:56:59 +00:00
John Ralls
88e16264dd Bug #589954: No blank split after creating a new account "on the fly" while editing a transaction.
Cause was that gnc_split_register_get_account_by_name() turned of "full_refresh" if the account didn't already exist and turned it back on only if the name of the account actually created in the new account dialog box differed from the one originally entered in the transaction.

Since "full_refresh" isn't manipulated much, that effectively shut down the ledger for further editing. Probably not what the original author intended!



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19847 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-19 22:22:01 +00:00
John Ralls
89a3d07b20 Fix error in r19822 which prevented creation of postgres databases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19832 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-18 21:21:57 +00:00
Geert Janssens
29414038fe Splash screen: minor code cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19831 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-18 20:39:57 +00:00
Geert Janssens
c3effeb228 Bug #634906 - Re-enable splash screen preference option
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19828 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-18 17:17:32 +00:00
Geert Janssens
ac654c607b Bug #633550 - Help and concepts guide are missing from the prebuilt binary (because xsltproc chokes on undefined entities)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19827 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-18 15:33:53 +00:00
Geert Janssens
5b180dec10 Bug #609581 - Gnucash 2.3.8 offers to create db and then fails to do so
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19824 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-17 21:38:28 +00:00
John Ralls
fb53d8a463 Bug 628409: SQL coerces identifiers to lowercase, but postgres's C interface is case sensitive.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19822 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-17 02:14:13 +00:00
John Ralls
115e0aeaa6 Bug 592643: Set standard_conforming_strings on postgresql databases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19821 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-17 01:31:37 +00:00
John Ralls
24b4493e2b Bug 634964: Crash in pgsql_error_fn. The dbi_conn isn't set if the server refuses the connection, so protect dereferences from null pointers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19820 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-17 00:10:16 +00:00
John Ralls
1b26fa2bcb Fix python samples to work with reordered Session.__init__() args
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19819 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-16 22:07:58 +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
Geert Janssens
45b97d6fdf Disable Italian docs generation I just accidentally enabled. It
wasn't enabled before the xsltproc issue popped up, so it shouldn't
be enabled now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19817 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-16 09:06:36 +00:00
Geert Janssens
6ec1a4ee93 Reactivate English docs generation in Windows build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19816 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-16 09:06:25 +00:00
Geert Janssens
4e0cedc096 Bug #634357 followup: convert New and Open submenus into plain menus
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19815 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-15 22:53:18 +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
John Ralls
c5821ef5fa Fix misplaced comment in gnome-utls/gnome-file.c from 19798
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19813 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-15 19:29:18 +00:00
John Ralls
0e9049458c Make arguments to Session.__init__() have the same order as to qof_session_begin() to reduce potential confusion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19812 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-15 19:10:19 +00:00
Cristian Marchi
17005a6dde Updated dutch translation, copied from Translation Project
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19811 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-15 13:02:09 +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
John Ralls
2a8afe8a3c Bug 634673: Add dependency information & fix typo in python-bindings Makefile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19802 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-12 19:02:09 +00:00
John Ralls
72a014d5c9 Add force_new parameter to GnuCashCoreClass.__init__, reflecting change to qof_session_begin() in r19798
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19801 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-12 18:37:59 +00:00