Commit Graph

12245 Commits

Author SHA1 Message Date
Christian Stimming
308e2a4390 Win32 build: Add patch for gwenhywfar-3.11.0 so that this compiles correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18336 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:31:49 +00:00
Christian Stimming
8c8278889e Fix forgotten i18n includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18335 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:27:58 +00:00
Christian Stimming
401effd9d9 Clarify documentation: Preference tab names must be translated everywhere.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18334 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:15:05 +00:00
Christian Stimming
cb9d84e691 I18n fix: Markup preference tab name "Online Banking" for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18333 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-23 08:14:54 +00:00
Christian Stimming
95021bcfcf Win32 installer: Really fix path of qt3-wizard.exe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18332 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 21:38:31 +00:00
Christian Stimming
28782604d3 Bug #595920: Fix missing ca-bundle.crt in windows installer.
Also, fix the plugin number path of qt3-wizard.exe.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18331 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 21:23:59 +00:00
Christian Stimming
f26fc24690 Minor version update for online banking packages.
The libofx patch was originally intended to be committed to the libofx CVS
so that the code would be included in a potential 0.9.2 release sometime in
the future, only until I discovered that I'm a developer there but
without CVS write access. Duh!

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18330 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 20:33:59 +00:00
Cristian Marchi
3059179273 Update of Polish translation by Jacek Baszkiewicz
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18329 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-22 17:12:56 +00:00
Phil Longstaff
eb5b4f7bb4 Add "file://" URL type to images in invoices. On win32, this at least allows the exported
invoice html to load in firefox.  It still doesn't fix it in webkit, for some reason.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18328 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-21 00:51:20 +00:00
Christian Stimming
41042912b1 Merge latest pot template into all .po translation files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18327 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:24:16 +00:00
Christian Stimming
6d25869147 Update German translation with latest string changes: 10 new strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18326 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:23:46 +00:00
Christian Stimming
8eeb08b4cf Bug #107929: Register window with running balance including all subaccounts
Adds a balance column to the "Open Subaccounts" register with the running
balance.

This patch adds a Balance column (similar to the single account register) which
provides a total running balance of the parent account and all subaccounts.

Patch by Tim M, modified by cstim to take r18320 / Bug#585784 into account:
We need to should use gnc_account_print_info() instead of the removed
gnc_split_register_print_info().

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18325 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-20 20:03:20 +00:00
Cristian Marchi
ad1c481aed Update of Lithuanian translation by Tadas Masiulionis
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18323 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-19 08:10:20 +00:00
Christian Stimming
90f23afec6 Bug #589804: Additions to register transactions Action pulldown list
Register transaction Action pulldown lists are currently oriented to stock
transactions.  Expense Action options, for example, are Buy and Sell.  The
enclosed patch adds a small number of items for those using Gnucash for
personal checking accounts.  Also, ATM is split into ATM Deposit and ATM Draw
(withdrawal).

This patch adds actions to the register transaction Action pulldown lists

Patch by James Raehl.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18322 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:57:52 +00:00
Christian Stimming
6cc28474be Bug #572938: Fix OFX Mutual fund buys that are imported as sells
When I try to import a downloaded OFX from Fidelity NetBenefits, my mutual fund
purchases become sales. I looked at the code and it seemed like a pretty simple
fix, it seems as if it was treading all non-income investing transactions as sales.
I wrote and tested this patch to fix the problem.

Patch by Matt Lavin, signed-off by Benoit Grégoire.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18321 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:51:43 +00:00
Christian Stimming
03585ce69e Bug #585784: Fix wrong fractional precision in stock/mutual fund registers Bug 585784 - Wrong fractional precision displayed in stock/mutual fund registers
The original patch attempted to fix bug #529494 by replacing the
gnc_split_value_print_info function with gnc_split_register_print_info, which
instead of using the print info of the transaction's commodity, used the print
info of the commodity of the register's account.  However, this was not the
correct behavior in all cases either.  This patch eliminates the
gnc_split_register_print_info and instead puts the logic for selecting the
appropriate print info into the functions which previously called it.

* In gnc_split_register_get_balance_entry, the print info of the account of
the split is used (xaccSplitGetAccount); if the split doesn't have an account,
the print info of the register's default account
(gnc_split_register_get_default_account) is used

* In gnc_split_register_get_debcred_entry, if there is no split, the account
info of the register's default account (gnc_split_register_get_default_account)
is used.  Otherwise, if the register is a Stock/Mutual Fund register or an
(obsolete) Currency register, the print info of the transaction's currency is
used (xaccTransGetCurrency).  Finally in all other cases, the print info of the
register's default account (gnc_split_register_get_default_account) is used.

* In gnc_template_register_get_debcred_entry, there is no account to reference,
so the default print info (gnc_default_print_info) is used.

Patch by Daniel Harding.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18320 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:50:48 +00:00
Christian Stimming
c5077e259f Re-indentation of source code, first try, only in the libqof directory so far.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18319 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-18 19:40:57 +00:00
Phil Longstaff
49d62ad506 Add GNC_DBD_DIR definition for libdbi on mac
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18318 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-16 00:24:04 +00:00
Phil Longstaff
1df9789ef1 Fix bug 590386 - Always use today for reconciliation statement date
Patch by Simon Arlott


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18317 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:58:07 +00:00
Phil Longstaff
da8ef1797b Fix bug 591117 - Cash Flow Report's "Depth: All" Option is Broken
Patch by David Eisner


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18316 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:52:56 +00:00
Phil Longstaff
64677e9b90 Fix bug 595014 - MacOSX 10.6 (Snow Leopard) fails configure.in check
Patch by David Reiser


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18315 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:44:49 +00:00
Phil Longstaff
41950b6070 Fix bug 595015 - compiler warnings for missing printf format specs, gcc 4.2.1
Patch by David Reiser


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18314 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:38:56 +00:00
Phil Longstaff
dcd5d8253e Fix bug 595017 - compiler complaints about incompatible pointer types in gnc-gwen-gui.c
Patch by David Reiser


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18313 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 23:28:12 +00:00
Phil Longstaff
166a48c12d Fix bug 589673 - need to patch libdbi source for win32 problem.
The patch exists in libdbi source, but not in 0.8.3.  The problem is that "errno" is used
as a routine parameter name.  The parameters are accessed incorrectly leading to a segmentation
violation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18312 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-14 01:00:47 +00:00
Phil Longstaff
3cb697a9eb Fix bug 594048 - gnucash will not compile with most recent goffice versions
Patch by Jean Brefort


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18311 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-11 23:18:38 +00:00
Christian Stimming
358bf9fe89 Remove trailing whitespace from lines. Patch by Geert Janssens.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18310 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-11 16:48:13 +00:00
Phil Longstaff
f85972c85f Move gnc_account_get_full_name() from app-utils to engine and remove xaccAccountGetFullName
in engine.  The old routine in app-utils just called the one in engine.  There isn't even the
excuse that the one in app-utils was just there for SCM, because there were SCM calls to
xaccAccountGetFullName.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18309 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-11 02:11:38 +00:00
Phil Longstaff
f110ce2c68 If an object is loaded with a reference to an invoice, order, tax table or bill term which
has not been loaded yet, print a warning message into the trace file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18308 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-11 02:09:08 +00:00
Phil Longstaff
ca6a78b89d If an object is being loaded that has a reference to a transaction, and the transaction
hasn't been loaded yet, load it.

If an object has a reference to an account, commodity, budget or lot that hasn't been loaded
yet, print a warning message in the trace file.  The difference in handling is that these
object types are always loaded at init time, whereas transactions are not.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18307 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-11 02:08:09 +00:00
Phil Longstaff
2bc336a874 Replace some calls to (deprecated) xaccAccountGetGUID() with calls to qof_entity_get_guid()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18306 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-10 01:52:42 +00:00
Phil Longstaff
bdd957950a Fix svn:ignore property to ignore Makefile/Makefile.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18305 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-10 00:27:13 +00:00
Christian Stimming
c8432fac4c Minor updates to HACKING, by Geert Janssens.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18304 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-09 18:33:06 +00:00
Phil Longstaff
b4f040a6ce Use SWIG properly to wrap functions to free strings which need to be freed by the caller.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18303 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-08 23:48:42 +00:00
Phil Longstaff
294390b54e Fix Bug 590458 - Invoices are incomplete or miss specifications
Replace call to gncEntrySetInvoice() with gncInvoiceAddEntry() which is the real function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18302 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-07 20:16:35 +00:00
Phil Longstaff
bc1aa534df Fix Bug 590900 - "Unable to save to DB" dialog from Business -> Customer -> New Job
Allow owner id to be NULL


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18301 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-07 16:48:27 +00:00
Phil Longstaff
1dbcb0dada Fix bug 593865 - Unable to save to database error when scheduling transactions
Allow scheduled transaction to have NULL start date.  Will require db to be deleted
and recreated.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18300 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-07 16:25:11 +00:00
Phil Longstaff
989a1e4631 Fix index-out-of-range compilation error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18299 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-07 14:16:20 +00:00
Christian Stimming
ad1deff3f5 Updated Danish glossary by Joe Hansen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18298 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-06 18:42:43 +00:00
Christian Stimming
8a60147936 Updated Danish translation by Joe Hansen, copied from the TP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18297 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-06 07:44:35 +00:00
Christian Stimming
e3a20e4499 Fix typo in message as pointed out by Joe Dalton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18296 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-06 07:43:21 +00:00
Phil Longstaff
47ef48b8dd Fix more valgrind problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18295 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 20:53:50 +00:00
Phil Longstaff
f2612dea85 Fix bug 587891: Memory leak - results of gnc-build-url
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18294 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 13:16:20 +00:00
Phil Longstaff
27965d9484 Add some dbi backend tests to test db save/load.
In order to test the mysql backend, the --with-test-mysql-url=URL option must be supplied to
configure where URL is the full url (mysql://host[:port]:db:user:password) to access a mysql db.
The same is true for postgres, with the --with-test-pgsql-url=URL option.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18293 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 00:35:40 +00:00
Phil Longstaff
82fe7a2f57 Forgot to add new file (python patches)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18292 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 00:33:37 +00:00
Phil Longstaff
f229f9ac8e Python bindings patches by Mark Jenkins.
python_GetNthChild_remove.patch
remove the redundant GetNthChild code, gnc_account_nth_child supported

python_more_GUID.patch
Improve support for GUID


python_better_commodity.patch
* Removed custom __init__ from GncCommodity, not only is it wrong but 
the one
from GnuCashCoreClass is just fine.

* Supported the get_table method For Book

* Removed support for direct instantiation of GncCommodityTable. (via
gnc_commodity_table_new() ). Only methods and not the constructor
function are added to the class now. Python binding users can access a
GncCommodityTable instance via Book.get_table() and have no need to use
gnc_commodity_table_new(), which the apis advise is for internal use
only.


python_GncLot.patch
* included gnc-lot.h in gnucash_core.i again

* Made GncLot class use superclass __init__, it doesn't need its own.


python_more_documentation.patch
Documentation strings for many classes, which can be viewed in source 
and with python's help() mechanism.


python_business_module_load.patch
load the business module, not the business module specific backend


python_example_scripts.py
example scripts improved, new one added.  This new script originally 
came from this post:
http://lists.gnucash.org/pipermail/gnucash-devel/2008-July/023618.html


python_authors_update.patch
added Legal Aid Manitoba to credit line for Mark Jenkins


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18291 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 00:11:31 +00:00
Phil Longstaff
26fc11909f Use "float8" instead of "real" for double field in slots table so that we get an 8 byte float
rather than only 4 byte.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18290 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-04 01:34:28 +00:00
Phil Longstaff
866c80af75 Doubles weren't being loaded properly from sqlite3. Fix that problem by examine more closely
the type information returned by libdbi.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18288 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-02 01:47:20 +00:00
Christian Stimming
748f119308 Updated Dutch translation by Erwin Poeze, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18287 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-01 19:19:42 +00:00
Christian Stimming
da144e61ba Updated Danish translation by Joe Hansen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18285 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-29 08:04:25 +00:00
Phil Longstaff
e0f54bc356 Fix bug where NULL dates on sqlite cause sigsegv
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18283 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-29 00:00:16 +00:00