Commit Graph

13147 Commits

Author SHA1 Message Date
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
Cristian Marchi
7a4178bb5d Updated Latvian translation of business account chart by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19439 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 12:02:00 +00:00
Cristian Marchi
3aedfb1109 Updated Latvian translation by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19438 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 11:57:23 +00:00
Phil Longstaff
ffa7f72dbc Update release number to 2.3.15
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19436 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 18:27:06 +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
Phil Longstaff
d1af4c3091 Get library from correct directory - fixes "make check"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19433 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 00:03:13 +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
Geert Janssens
fee5739d3d Dummy commit to test mailing list hooks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19426 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 16:02:53 +00:00
Geert Janssens
ccb3635820 Fix typo in comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19425 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 09:30:10 +00:00
Geert Janssens
1575bb6cde Allow negative tax percentages.
This allows to model some tax rules for trade between European countries.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19424 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 09:29:30 +00:00
Geert Janssens
cf899c042c Convert glade files to gtk+2.10, last batch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19423 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-13 14:37:56 +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
Christian Stimming
0197ca7d42 Copy OpenOffice.org python macro for import of the gnucash file to here because its original download location is hard to reach.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19420 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 19:59:57 +00:00
Cristian Marchi
449708bf1c Updated Italian translation by Cristian Marchi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19416 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-10 13:34:37 +00:00
Geert Janssens
64efd1f35c Fix compiler warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19415 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-08 14:58:00 +00:00
Cristian Marchi
f03c70d4d6 Updated Japanese translation by Yasuaki Taniguchi, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19414 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-08 09:01:25 +00:00
Phil Longstaff
bbe16a6853 Bug #625697: Prior patch, Changeset 19376, broke reports for non-default stylesheets
Patch by Frank Ellenberger


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19413 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-07 16:47:50 +00:00
Geert Janssens
0adcc00ad9 Fix compiler error reported by Herbert Thoma
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19410 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-06 14:22:37 +00:00
Geert Janssens
2c3c4bc0cb Replace a gkt+2.18 function to be gtk+2.10 compatible
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19409 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-06 08:28:23 +00:00
Geert Janssens
749fdbe0a8 Bug 616612 - Remember last location of File Open/Save dialog, partial solution
This commit remembers the last directory for
* Open
* Save
* Export chart of accounts
* Save Report
This only stores file based paths, not db based paths.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19408 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-05 21:27:45 +00:00
Geert Janssens
0f35cc18be Bug 623801 - gnucash file is not saved
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19407 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-05 21:10:51 +00:00
Geert Janssens
58cc0fc913 Fix gtk critical warning, patch by Bob.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19406 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-05 19:39:10 +00:00
Geert Janssens
5cafe09b14 Bug 625845 - Exporting Accounts results in 0 byte file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19405 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-05 19:22:29 +00:00
Cristian Marchi
eef628127d Updated Latvian translation by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19403 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-05 05:52:04 +00:00
Geert Janssens
6b297762ce Bug 625977 - Python Bindings, enhanced examples showing the use of Transaction.BeginEdit(), patch by Mark Jenkins
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19402 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-04 21:14:33 +00:00
Geert Janssens
fe928cda93 Bug 625976 - Python Bindings Patch for Transaction.GetImbalance(), patch by Mark Jenkins
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19401 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-04 21:11:11 +00:00
John Ralls
bd033d20a6 New Latvian translation of the business account chart, thanks to Valdis Vītoliņš <valdis.vitolins@odo.lv>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19394 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-04 00:36:16 +00:00
John Ralls
e8e6c2537c Modify the osx_accel_map to reflect the different keybinding in Gtk+-2.20
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19393 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-04 00:33:35 +00:00
Cristian Marchi
03d87652d8 Updated Latvian translation by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19392 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-03 18:59:39 +00:00
Phil Longstaff
01e3ed7b31 Fix problem with "t" unbound in cond expression. Use "else" instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19390 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-02 19:54:26 +00:00
Cristian Marchi
0f9e5ae921 Updated simplified Chinese translation by Tao Wang.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19389 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-31 05:54:55 +00:00
Cristian Marchi
9ab31e546e Updated Dutch translation by Mark Haanen, copied from the TP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19388 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-30 17:09:29 +00:00
Christian Stimming
9b5261641e Updated German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19385 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:42:17 +00:00
Christian Stimming
b5cabba4eb Updated Dutch translation by Mark Haanen, copied from the TP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19384 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:24:47 +00:00
Christian Stimming
1fcdfe70d2 Add missing return value specification of lookup_by_code() in python bindings.
Patch by Daniele Varrazzo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19383 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:16:08 +00:00
Christian Stimming
bc16634061 Add initial Bulgarian translation, by Rosi Dimova, by Bulgarian Gnome translation team.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19382 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:09:24 +00:00