Commit Graph

12378 Commits

Author SHA1 Message Date
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
Phil Longstaff
05a3bfd31b Change release # to 2.3.5
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18280 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-28 01:50:49 +00:00
Charles Day
11dbaf1c87 Bug 575778: QIF Import: Fix crash when a security list omits the "T" (type) line.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18279 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-25 21:01:46 +00:00
Phil Longstaff
dc394c0030 Add win32 version of gmtime_r.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18277 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-24 02:00:39 +00:00
Christian Stimming
5de097a754 Merge latest pot template into all .po translation files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18276 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-23 20:45:34 +00:00
Christian Stimming
8caa53f8e9 Updated German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18275 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-23 20:39:32 +00:00
Christian Stimming
4a8ceb4e44 Fix minor i18n issues.
* Don't translate gtk stock button labels
 * Don't split sentences when translating
 * Exclude formatting from translatable messages when possible

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18274 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-23 20:36:13 +00:00
Phil Longstaff
e724acd97b Fix bug 592719 - postgres backend aborts with date problems on transactions
Store invalid dates as NULL in the database, and when loading a NULL, that date doesn't need
to be set.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18273 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-23 00:54:23 +00:00
Phil Longstaff
a3804f6129 Fix bug 592021: Budget Report: Options to show actual, budgeted, and difference columns
doesn't work correctly.

Patch by Luke Duncan


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18272 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-22 21:10:42 +00:00
Phil Longstaff
f4998e9186 Fix bug 392357: Allow port specification for a database connection. For both mysql and pgsql,
the port number can be specified after the host, separated by a colon.  The URI spec is:

    mysql://hostname[:port]:dbname:username:password

where [:port] indicates that it is optional.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18271 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-22 20:17:37 +00:00
Phil Longstaff
5ea1310b7e Fix compilation problem - add GPOINTER_TO_UINT() cast
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18270 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-22 19:09:39 +00:00
Phil Longstaff
36ca18b274 Avoid CRIT message when loading root account which has NULL commodity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18269 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-22 18:56:23 +00:00
Christian Stimming
eb1796ea7b Partly reverting r18246: Disable writing of "hidden" and "placeholder" flags as XML tags.
Don't write new XML tags in version 2.3.x and 2.4.x because it
would mean 2.2.x cannot read those files again. But we can
enable writing these tags in 2.5.x or late in 2.4.x.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18268 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-21 20:39:54 +00:00
Cristian Marchi
c1679a1b1a Updated Japanese translation by KUSANO Takayuki
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18264 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-18 17:50:15 +00:00
Phil Longstaff
cf8b473d0a Fix win32 report directory startup problem on win32.
In order to help keep the various places run-time environment is created in sync, add a
comment to each place suggesting that environment changes should be reflected in all 4
places.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18263 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-18 16:49:40 +00:00
Phil Longstaff
513a610d0b Fix win32 gnucash.cmd creation to handle ability for reports to be dropped into the
installed report\standard-reports folder.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18260 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-18 00:11:03 +00:00
Phil Longstaff
deb37b99d1 Update release number to 2.3.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18258 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 22:56:08 +00:00
Phil Longstaff
f7b36d6821 Fix tests so that 'make check' will pass
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18257 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 22:17:23 +00:00