Commit Graph

12365 Commits

Author SHA1 Message Date
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
Phil Longstaff
3d09267a28 Rename functions from "file" to "xml" (e.g. xml_begin_session()) since this is the xml backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18256 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 19:43:37 +00:00
Christian Stimming
6c742233bf Updated Dutch translation by Erwin Poeze, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18255 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 19:10:41 +00:00
Phil Longstaff
3c716e5c18 Fix CRIT messages when loading budgets
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18254 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 17:09:28 +00:00
Phil Longstaff
7405f2485d Reports are now automatically picked up at startup time. Each file in the directory
share/gnucash/guile-modules/gnucash/report/standard-reports is assumed to be an SCM file which
defines a module which generates a report.

The business reports have not yet been converted.  A new element 'standard-reports' needs to be
added to the module definition.  I assume the business-reports.scm file sets up some resources
that the business reports use (e.g. the Business submenu under Reports).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18253 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-16 00:50:33 +00:00
Phil Longstaff
b83d32f83f Fix bug 591614: Saving to postgresql causes zombie scheduled transactions.
SX end date was not being stored.  It is now stored.

NOTE: This is a change in the db table schema.  You need to save your data to XML, then resave
to the database.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18252 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-15 21:09:47 +00:00
Phil Longstaff
f4d7272312 Ensure template root account is stored even if no scheduled transactions. Otherwise, when it
comes time to store the template account before the root, the account has a dangling parent guid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18251 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-15 21:08:39 +00:00
Phil Longstaff
5f6813ed1e Add budget amounts table. This table contains 1 record per budget per account per period which
has an amount set.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18250 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-15 19:02:27 +00:00
Christian Stimming
afbe529777 Updated Danish translation, by Joe Hansen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18249 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-15 08:56:19 +00:00
Phil Longstaff
a4ae2b6609 Save timespec values into 'timestamp' in mysql and pgsql.
NOTE: with this change, the format of the tables has changed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18248 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-14 01:58:36 +00:00
Phil Longstaff
ae4199adfc 1) Use 'date' type on pgsql/mysql to save date values.
2) When loading from db, don't make template root account child of main root account

NOTE: This change will invalidate any db files stored in sqlite3/mysql/pgsql.  Save your file to
XML, rebuild, load from XML and save in new format.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18247 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-14 00:29:52 +00:00
Phil Longstaff
e1318e0c1e Store account "hidden" and "placeholder" flags as booleans in the account record and with new
<hidden> and <placeholder> tags in the XML file.  The values are still stored in the slots as
well for backward compatibility.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18246 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-13 00:05:37 +00:00
Phil Longstaff
7998d0571d Placeholder was defined as a property but not properly registered with glib. Add it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18245 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-12 00:06:27 +00:00
Phil Longstaff
c1488da872 Add autoincrementing int primary column 'id' to recurrences, slots and taxtable_entries tables.
THIS REQUIRES THAT YOUR DATABASE BE DELETED AND RECREATED - You can back it up to an XML file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18244 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-08-11 23:51:37 +00:00