Commit Graph

13424 Commits

Author SHA1 Message Date
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
John Ralls
c05e35f9a1 Add enumeration of indexes in sql backends.
This is a first step to rewriting databases in a safe way. Indexes are 
named entities in sql databases and so need to be renamed along with the 
tables before creating and populating a new set.

This change also introduces a unit test of the new enumeration, and that 
test has to be able to see data structures which are private to 
gnc-backend-dbi.c, so those data structures are moved to a new file, 
gnc-backend-dbi-priv.h, which both gnc-backend-dbi.c and 
tests/test-stuff.c can include.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19959 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 23:50:25 +00:00
Christian Stimming
a0e8430b3e Improve the cached quickfill for GncEntry description lines of r19941.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19958 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 21:31:22 +00:00
Christian Stimming
6accd9a09a Add debug helper function qofeventid_to_string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19957 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 21:31:11 +00:00
Christian Stimming
7c76425cbf Bug #637346: Adding python-bindings to doxygen documentation
Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19956 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 20:36:40 +00:00
Mike Evans
81a4a8108c Support for GncCommodityNamespace, better support for GncCommodity, and example
enhancements.
Patch supplied my Mark Jenkins.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19955 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 14:00:52 +00:00
Mike Evans
94c55fef95 Changes to example Script to include added namespace functionality
This patch changes the example script to reflect the capability of reading all
namespaces.
Patch provided by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19954 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 13:39:49 +00:00
Christian Stimming
300284f8e5 Follow-up to r19928: Include gnc-version.h with directory path to avoid picking the wrong file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19952 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 22:01:48 +00:00
Christian Stimming
c94ee4dd31 Bug #637041: Revert r19861 as the patch from bug#635439 causes a crash.
The patch can be re-applied after the 2.4.0 release is out, but for now
I prefer to defer it until after the release.

To be precise, this patch reverts all parts of bug#635439: r19861, r19860,
r19854, r19853.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19951 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 21:43:21 +00:00
Derek Atkins
3f70c99002 Add APIs to get/set a flag signifying that a transaction is a book-closing txn.
This is necessary for Bug #570042 but doesn't completely solve it until
the reports are updated to use the new API.  This is backwards-compatible
with the slot data inserted by the book closing since 2010-03-02.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19945 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 02:11:53 +00:00
Mike Evans
5d1e22bf92 Adds checking of gnc_commodity_namespace in glists
In src/base-typemaps.i check for return type gnc_commodity_namespace is added
so that it is returned instead of gnc_type_monetary.
Thanks to Christoph Holtermann for the patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19944 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 15:17:59 +00:00
Mike Evans
22089df099 Move price_database_example.py to the correct place and remove incorrect path/file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19943 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 12:07:41 +00:00
Mike Evans
a44d515bbb Change indent to 4 sp
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19942 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 12:07:14 +00:00
Christian Stimming
71f53a5940 Implement prerequisites for full auto-completion in the entry ledger.
Added a cached quickfill for GncEntry description lines. Extend QuickFillCell
interface to be able to use a common cached quickfill.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19941 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 21:25:52 +00:00
Christian Stimming
0ede4fcda9 Remove doubled include files.
(Also, QuickFill.h doesn't depend on gdk.h)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19940 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 20:32:56 +00:00
Christian Stimming
88cb0b1b20 Replace more obsolete #define'd function names by their current names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19939 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 20:22:48 +00:00
Christian Stimming
50d6165239 Mark erroneous translation as fuzzy because it doesn't have the correct c-format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19938 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-14 19:50:17 +00:00
Christian Stimming
d773789dd8 Add gitignore for backup files from make check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19937 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 21:00:40 +00:00
Christian Stimming
febe74e6c0 Replace more obsolete #define'd function names by their current names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19936 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 21:00:23 +00:00
Mike Alexander
75d71c93a3 Make "make check" work when run from "make distcheck".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19935 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 17:08:41 +00:00
Geert Janssens
111554e6f7 Use proper decimal separator for monetary amounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19934 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 16:05:29 +00:00
John Ralls
7036b9267d Add messages to backend errors, ensuring that qof_session_backend_get_message() will actually get a useful message, or that there will be a descriptive warning immediately before in the trace file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19933 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-13 00:44:57 +00:00
Christian Stimming
c8a1ebb93a Replace obsolete <QueryNew.h> #defines by the current <qof.h> function names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19932 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 21:30:59 +00:00
Christian Stimming
d9b311efb1 Implement (but currently deactivated) auto-completion in the invoice ledger using all entries from the current book.
Eventually, this will enable drawing the auto-completion from all entries in
the previous invoices (i.e. book-wide), but in order to give the user a
good enough feedback during typing we additionally need a quick-fill object
over those book-wide entries. Currently, the user cannot see whether the
current description would result in an auto-completion from another invoice,
and that's not yet enough.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19931 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 21:30:40 +00:00
Christian Stimming
906672a40d Cutecash: Add generation of dummy gnc-version.h file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19930 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 12:04:00 +00:00
Christian Stimming
5465b72489 Add missing newline at end of file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19929 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 11:58:42 +00:00
Mike Alexander
8adaf9d132 Move gnc-version.h and gnc-svninfo.h from gnome-utils to core-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19928 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 06:48:20 +00:00
Mike Alexander
0288b5f69b If the build directory is not the source directory and the source directory
is read only, the build fails.  Fix by only making guile-strings.c if 
building from SVN.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19927 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 06:45:37 +00:00
Mike Alexander
6eb32d9d50 Get rid of the rest of the gnc-prices man page, r19921 is incomplete
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19926 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 06:33:50 +00:00
Mike Alexander
40bcdca2ca If you have a parent account with a subaccount whose commodity allows more
decimal places in the amount field than the parent account does things
don't work right if you open a register for the parent account and all
subaccounts.  This situation can occur if you have a broker account with
subaccounts for the securities held in that broker account. If you open a
register for the top account and all subaccounts, it is impossible to enter
a transaction to buy or sell a fractional share of the security where there
are more digits after the decimal point than the parent account allows.
This change fixes this if the subaccount allows no more than six digits
after the decimal point.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19925 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-12 04:26:56 +00:00
Mike Evans
356d51060d Remove variable names that conflict with Python keywords. Relevent when using SWIG autodoc feature for python bindings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19924 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 13:09:50 +00:00
Mike Evans
3879292cc6 Add %feature("autodoc", "1"); to gnucash_core.i to pass C documentation through to python interface.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19923 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 13:09:46 +00:00
Mike Evans
26b16be5ba New example script for prices dababase. Thanks to Christoph Holtermann for contributing to this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19922 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 12:53:21 +00:00
Christian Stimming
5c8663189a Remove obsolete gnc-prices man page
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19921 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 10:25:33 +00:00
John Ralls
ccba29be5e Add Gnucash svn version to sql versions table.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19920 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 00:05:30 +00:00
Christian Stimming
d33ac38371 Bug #629446: TRY is now called plain Turkish Lira.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19919 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-09 10:16:02 +00:00
Mike Evans
56fe25cb63 Insert missing space
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19918 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-09 08:16:51 +00:00
Mike Evans
30bb2d28fa Re-enable -Werror in Makefile.am and remove %feature("autodoc", "1"); from gnucash_core.i
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19917 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 14:56:07 +00:00
Mike Evans
e1fcfe0269 Add commodity price functions to bindings.
See Bug 636457 for more details.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19916 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 11:52:22 +00:00
Mike Evans
0607593792 Add PriceList to typemap for Python bindings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19915 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 11:52:18 +00:00
Christian Stimming
83a23d7986 Bug #454109: Online banking: grey out online actions when there is no online account
Patch by Manfred Usselmann:
Online actions are disabled for accounts which have no bankcode and account id
assigned

This fix does not require initialization of the AB_BANKING object.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19914 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 10:26:04 +00:00
John Ralls
7354518d3d Patch by Matthijs Kooijman.
In r19863, some qofquery bindings were added. For those to compile,
business-core.i now includes qofquery.h. However, this causes the
bindings for qofquery.h to be generated twice: Once through engine.i and
once through business-core.i. The latter generated broken versions of
the bindings, breaking (at least) the receivable aging report.

This commit changes the %include to an %import, so the new bindings
still compile but the query bindings don't get generated twice.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19913 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 00:33:29 +00:00
John Ralls
0ebb92e19e Bug #635926: Lower-case the name of the lock table to avoid confusing Postgres. Also abstract it to a static variable instead of repeating the string everywhere.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19912 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-07 23:49:19 +00:00
John Ralls
a1d2172eff Bug #635967: Slots didn't correctly read the path semantics stored by
2.3.15 and earlier.

Corrected, but note that 2.3.15 and earlier didn't write lists to the
database, so users should re-save from XML using 2.3.17 or later.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19911 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-07 21:41:17 +00:00