Patch by Sara Arenson:
Patch to fix the deprecated __new__() call in function_class.py
When you create an object of type ClassFromFunctions (a subclass of object),
you get the following warning:
/opt/gnucash-2.4.0/lib/python2.6/site-packages/gnucash/function_class.py:55:
DeprecationWarning: object.__new__() takes no parameters
return super(ClassFromFunctions, cls).__new__(cls, *args, **kargs)
As per Python docs (http://docs.python.org/reference/datamodel.html), __new__()
accepts class name and a list of arguments for the object's constructor. Since
ClassFromFunctions's superclass's constructor has no arguments, we should not
be passing *args and **kargs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20479 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by gnemas:
The function split_find_match() in import-backend.c scores
transactions according to comparisons of amount, date, description,
etc.
I noticed that the comparison of the description and memo fields is
case-sensitive.
This means that my supermarket entries that have descriptions "Giant
Food" do not match the downloaded descriptions "GIANT FOOD".
This applies to both the exact and the 50% match cases, and for both
the memo and the description fields.
The attached patch should fix this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20478 57a11ea4-9604-0410-9ed3-97b8803252fd
If a python console is wanted, change the last section
of src/python/init.py to "if True:".
From: Andy Clayton <q3aiml@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20471 57a11ea4-9604-0410-9ed3-97b8803252fd
This also renames the configure option to --enable-python.
From: Andy Clayton <q3aiml@gmail.com>
(with minor modifications by myself)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20470 57a11ea4-9604-0410-9ed3-97b8803252fd
From Andy Clayton <q3aiml@gmail.com> (modified by me a little bit)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20459 57a11ea4-9604-0410-9ed3-97b8803252fd
- restore the original mingw/msys link, even when the build script abort (due to a die command)
- only restore the mingw/msys link if it was saved before
- weekly builds should be on Monday, not Tuesday
- upload tag rebuilds to a directory named 'releases' instead of 'tags'
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20456 57a11ea4-9604-0410-9ed3-97b8803252fd
BP (note that r20452 should be backported first, though I forgot to add the BP marker)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20454 57a11ea4-9604-0410-9ed3-97b8803252fd
This may be a hack, but I have no clue how to fix it otherwise...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20445 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: The Windows GnuCash build will still fail as GnuCash still
depends on slib...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20444 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: the complete gnucash build is still broken and will be fixed
with following patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20443 57a11ea4-9604-0410-9ed3-97b8803252fd
Note this breaks the build as some other parts still need
tweaking before this works.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20442 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/app-utils.scm:
* src/app-utils/c-interface.scm: Make N_ available to all of Gnucash. A
hack, but a correct hack that permits the Scheme code to be compiled.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20438 57a11ea4-9604-0410-9ed3-97b8803252fd
Gnucash no longer requires slib.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20437 57a11ea4-9604-0410-9ed3-97b8803252fd
There are no more instances of (require ...), so Guile's slib support is
no longer needed.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20436 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Andy Wingo.
There is nothing that the slib hash-table module provides that was used
in any of these files; they all used Guile's stock hash tables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20435 57a11ea4-9604-0410-9ed3-97b8803252fd
While we could not find a document, which defines the decimals,
they are indispensable for the conversion of payments in "real" CLP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20430 57a11ea4-9604-0410-9ed3-97b8803252fd
Only active if "auto-create commodity" is switched on in the preferences
from r20376.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20413 57a11ea4-9604-0410-9ed3-97b8803252fd
The patch will be re-applied once trunk requires guile-1.8, which will be done
right after the oncoming branching.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20410 57a11ea4-9604-0410-9ed3-97b8803252fd