Commit Graph

13467 Commits

Author SHA1 Message Date
Mike Evans
c33270221d A plugin to import CSV data as a new invoice or bill. Based on code written by Sebastian Held.
Also includes a python script to massage a downloaded order form into the correct format for import.  See contrib/rapid2gnucash.py
This works with Rapid Electronics (UK) and can be used as a basis for other vendors.  Users need to add a line in their  ~/.gnucash/config.user
for the module to be loaded:
(gnc:module-load "gnucash/plugins/bi_import" 0)
See bug #624911 for more details.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20034 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 14:04:55 +00:00
Phil Longstaff
e8d8c4be42 Add "copy budget" command to menu. Works like "open budget" except that a copy of the budget is made with the name "Copy of "+name of old budget.
This command will allow you to easily create a copy of your 2010 budget and change its name to "2011".  I also plan to add UI capabilities to more easily manipulate budget numbers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20033 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 01:48:17 +00:00
Christian Stimming
c6fa015dad Bug #636402: Add test case for DBI error: 1: table sqlite_sequence may not be dropped
Patch by Mark Jenkins:

The attached patch adds a test program demonstrating the problem in C, built in
src/optional/python-bindings
It pretty much shows the same calls that are being made to the C by the python
bindings (including initialization) and the example sqlite3 python script.
Running this small C program produces the same result.

(The program is built in check_PROGRAMS, not bin_PROGRAMS, to avoid having it installed.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20023 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 21:04:31 +00:00
Christian Stimming
e43e3e490f Bug #454109: Online banking: grey out online action menu items when there is no online account
Patch by Manfred Usselmann:

Show error message, if assigned online account is not valid or cannot be found
or if the selected online action is not valid for this account. Improved
checking if online job has been successfully executed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20022 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 20:57:33 +00:00
Christian Stimming
9ad21c7337 Bug #373415: Replace existing transaction fields by imported transaction marked as reconcile
Patch by Manfred Usselmann:

This patch adds an additional update action to the import matcher as described
above. It can be activated with the online banking preferences dialog.

(Patch changed because of one function name adaption after r19936)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20021 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 20:57:22 +00:00
Phil Longstaff
1a53e1494a Revert part of r20018 - Freeing the guid returned from g_object_get() sometimes tried to free unmalloced memory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20020 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 18:25:43 +00:00
Phil Longstaff
d10099b79c More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20019 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:55:33 +00:00
Phil Longstaff
3e3beb86b6 Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20018 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:53:18 +00:00
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
Phil Longstaff
516175b9e2 When book is being closed, destroy objects to free their memory. Doesn't matter too much when closing gnucash,
but when closing one book to open another, all memory from the old book should be freed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20010 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 01:42:39 +00:00
Phil Longstaff
920f5ab815 Plug memory leak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20009 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 01:38:37 +00:00
Phil Longstaff
050fc0cffd More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20008 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:57:14 +00:00
Phil Longstaff
d1679027d1 More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20007 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:56:02 +00:00
Phil Longstaff
932513727a More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20006 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:55:33 +00:00
Phil Longstaff
0909e1617e Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20005 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:54:45 +00:00
Phil Longstaff
613038acab Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20004 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:54:06 +00:00
Phil Longstaff
a183a07906 Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20003 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:53:07 +00:00
Phil Longstaff
e89563f4ea Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20002 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:51:32 +00:00
Cristian Marchi
5e29727ba5 Updated Dutch translation, copied from the TP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20001 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 14:00: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
Micha Lenk
6e71c239d9 Add facility to force BUILDING_FROM_SVN=no from outside the Gnucash build system
Needed by packagers that maintain the packaging code in svn, svk or git too


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19990 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 13:54:58 +00:00
Mike Evans
2fcc850c98 Adds percentages to piecharts. See bug #343449 for details. Patch is derived from a patch submitted by Alexander Weiss
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19989 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 12:30:13 +00:00
Phil Longstaff
e8a6ef4673 Fix earlier checkins to ensure that strings returned from routines or whose addresses are kept have been allocated from g_malloc(.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19988 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 03:03:10 +00:00
Phil Longstaff
af2e6b3fa4 When a book is closed, all of the memory for the objects should be freed.
Free budgets and invoices.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19987 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:43:28 +00:00
Phil Longstaff
c42190fb11 Fix more memory leaks. scm_to_locale_string() returns a string which must be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19986 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:39:49 +00:00
Phil Longstaff
4295b043f7 Patch some memory leaks. scm_to_locale_string() returns a string which must be freed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19985 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:36:26 +00:00
Phil Longstaff
b171a32cc8 Plug some memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19984 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-28 20:44:25 +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
John Ralls
67f2798d17 Revert r19965: It wasn't the problem after all.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19974 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-21 20:05:10 +00:00
Cristian Marchi
a75f8d6cae Complete the translation of a string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19973 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-21 20:03:06 +00:00
Cristian Marchi
cbdebe69d4 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19972 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-21 19:41:30 +00:00
Phil Longstaff
4eb66e27cc Update configure.ac to 2.4.0
Update gnucash-bin.c to indicate stable version is 2.4.0, next stable version 2.6

Here we go...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19970 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:59:25 +00:00
Phil Longstaff
bb26bf6577 Updated POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19969 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:57:29 +00:00
Phil Longstaff
c86cdf6d12 Update copyright notice dates to include 2010
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19968 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:54:17 +00:00
Phil Longstaff
4c8de43cd7 Add gnc-backend-dbi-priv.h to list of header files so that 'make distcheck' passes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19967 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:53:15 +00:00
John Ralls
1f65a1dfe9 Bug #637331: Cancelling quit crashes on OSX Leopard. Turns off handling shortcuts by OSX, everything goes through Gtk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19965 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 00:48:06 +00:00
John Ralls
64d245d365 Fixed date problem in MySql backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19964 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 00:26:16 +00:00
Mike Evans
36f60b88b3 Removed accidentally created directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19963 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-19 21:26:43 +00:00