Commit Graph

13816 Commits

Author SHA1 Message Date
Christian Stimming
5a313a82c2 Rename qofmath128.h header to qofmath128-p.h because those functions are only private to libqof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20511 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:58:45 +00:00
Christian Stimming
29fce2c21c Minor code documentation update: Add explanatory comment w.r.t. MSVC.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20510 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:32 +00:00
Christian Stimming
cb7c59d79b Rename header <qof/qofreference.h> into <qofreference-p.h> because it is used only internally in the libqof module (in qofsession.c)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20509 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:21 +00:00
Christian Stimming
aaa2410309 Remove completely unused and code from libqof which also doesn't get compiled for years by now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20508 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:05 +00:00
Geert Janssens
683b7a6bbb Various spelling fixes in comments and translatable strings.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20507 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-01 18:08:17 +00:00
Christian Stimming
1921c342f0 Note webkit dependency in README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20505 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-30 07:13:54 +00:00
Phil Longstaff
4e4fbf1933 During win32 build, if a component is already installed, print the installation path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20501 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-29 01:17:00 +00:00
Christian Stimming
c6ec7e1039 Slightly lower the requirements from r20489 again so that the windows build builds.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20500 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-28 18:51:22 +00:00
Derek Atkins
95358ed1d9 Several people reporting that swig-runtime.h wasn't being created.
That's because '.' wasn't in the front of the SUBDIRS, so the Makefile
wasn't building the local targets.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20499 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-28 15:58:00 +00:00
Christian Stimming
ffa95c6c03 Bug #645518: Partly revert r20378, "Correct memory leaks found with valgrind"
The original author (Alex) asked to have this part reverted as it seems
to cause the crash explained in the bugreport, but he doesn't have time
to investigate this in detail right now.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20496 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-27 19:18:10 +00:00
Christian Stimming
f2028cf5c8 Fix glade message with unintended whitespaces.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20491 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:58:26 +00:00
Christian Stimming
0ab7e1762f Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20490 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:58:13 +00:00
Christian Stimming
7d46b5fc0e Bump required gtk version to 2.16 as discussed on gnucash-devel.
This requirement will be increased to 2.18.1 once our win32 build
is upgraded.

Following the gtk version, I increased also all the other related libraries
according to what I found here: ftp://ftp.gnome.org/pub/gnome/platform/2.26/2.26.3/sources/

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20489 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:50:06 +00:00
Geert Janssens
245212e514 Windows nightly build: fix webserver directory creation hack
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20487 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 10:50:18 +00:00
Christian Stimming
a5ceef49c5 Bump gnucash version to 2.4.99 to distinguish this from stable ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20484 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 09:23:56 +00:00
Christian Stimming
8298177be7 Remove gtkhtml-related sources completely.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20483 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 09:23:45 +00:00
Christian Stimming
51e95d1840 Disable gtkhtml choice from gnucash as we now require the CSS/javascript features of webkit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20482 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 08:59:07 +00:00
Christian Stimming
de7fec3b0e Bug #645640: Online transfer must not allow to change amount in second window
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20481 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-25 21:19:01 +00:00
Christian Stimming
2a380b3f78 Bug #645352: Customer and Vendor Reports should have separate income and expense subtotals per period; error if 'Amount' is not selected
Patch by Chris Curtis:

Add 'Credit' and 'Debit' columns and options; fix error if 'Amount' is not
selected.

For tax purposes it would be helpful if the customer and vendor reports
included the totals for the amounts earned, received, or billed for a given
time period.

The reports currently give a total, which is (if you're lucky) zero because the
credits cancel out the debits.  But for verifying or providing the amounts of a
1099-MISC, for instance, the report should show just the amounts credited or
debited depending on your business' accounting method.


Secondarily, if the 'Amount' column is deselected the report fails with an
error.

The attached patch both corrects this problem and adds the requested features.


The new columns are labeled simply 'Credit' and 'Debit' and do not attempt
context-aware naming ("Paid", "Billed", etc.) for simplicity and applicability
(cash versus accrual accounting).  The columns contain a running total, and the
final totals appear in a line above the Amount (running) total.

If the beginning period splits an invoice/payment pair an opening balance
appears and is accounted for in the Amount total as before, but is not included
in the Credit/Debit totals as it is outside the reporting period.  If the
Amount column is not selected for display then neither is the opening balance,
even if it otherwise would have been.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20480 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-25 19:57:20 +00:00
Christian Stimming
0c0297bcb3 Bug #644762: Deprecated __new__() call in function_class.py
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
2011-03-25 19:57:07 +00:00
Christian Stimming
39030f8a73 Bug #645406: Make transaction matching on memo and description case-insensitive
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
2011-03-25 19:56:51 +00:00
Christian Stimming
6e987e23f0 Correctly disable python unless --enable-python was given
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20477 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-25 07:57:15 +00:00
Geert Janssens
9d1ce4f716 Windows build: fix weekly 2.4 build and move log files into separate directory
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20475 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 21:50:01 +00:00
Christian Stimming
0775d8d8c2 Shared code between the various jqplot charts
From: Andy Clayton <q3aiml@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20474 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 21:30:24 +00:00
Christian Stimming
b6258d7a7a Add javascript jqplot 0.9.7r635 module so that it can be used in reports.
From: Andy Clayton <q3aiml@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20473 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 21:30:09 +00:00
Christian Stimming
4e4f194df2 Add needed python linker flags to app-utils-python.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20472 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 20:10:57 +00:00
Christian Stimming
a3443e4f90 Add code to start up a Python console during Py module init, but disabled by default.
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
2011-03-24 20:10:45 +00:00
Christian Stimming
1874219672 A somewhat rough start to a gnucash python module
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
2011-03-24 19:47:47 +00:00
Christian Stimming
5cbf6cbdb1 Enclose building of app-utils-python in AM_CONDITIONAL so that it isn't build on a non-python build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20469 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 19:47:32 +00:00
Geert Janssens
373c161dc6 Windows build: allow reset.sh to remove mingw
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20461 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-24 19:25:08 +00:00
Geert Janssens
003c73794a Windows build: fix upload code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20460 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-23 21:38:21 +00:00
Christian Stimming
566887f20e Build Python swig wrappers for app-utils
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
2011-03-23 21:37:03 +00:00
Geert Janssens
78c662518a Fix windows build:
- Add missing patch for guile 1.8.8
- Add missing mingwrt dev package

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20458 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-23 17:48:57 +00:00
Geert Janssens
480f37c9bb Improve message printed on screen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20457 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-23 17:28:24 +00:00
Geert Janssens
712a3ecba3 Some additional Windows nightly build fixes:
- 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
2011-03-22 21:46:13 +00:00
Geert Janssens
14458f4a3a Build server: automatically create directories on webserver for new branches
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20455 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-22 21:03:22 +00:00
Geert Janssens
117a73e700 Rework the Windows weekly 2.4 build to avoid parallel builds (which would fail
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
2011-03-22 20:24:13 +00:00
Geert Janssens
ec6b423148 Adapt the windows build system to deal with swapping mingw installations on one build machine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20452 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-22 19:43:05 +00:00
John Ralls
0880482649 Allow AQBanking & Gwenhywfar log-level environment variables to override the gnucash preferences settings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20447 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-21 21:37:23 +00:00
Geert Janssens
f5300b2ddb Windows build: update dist script for guile 1.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20446 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-21 15:11:25 +00:00
Geert Janssens
0cd80e8508 Windows build: fix libstdc++-6 DLL error
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
2011-03-21 15:11:16 +00:00
Geert Janssens
133ce7638f Windows build: update guile to 1.8.8 and remove slib
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
2011-03-21 15:11:08 +00:00
Geert Janssens
688cb8a228 Windows build: patch libofx to build with mingw gcc 4.5.2
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
2011-03-21 15:10:58 +00:00
Geert Janssens
7c5874fe57 Windows build: update gcc to 4.5.2
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
2011-03-21 15:10:48 +00:00
Geert Janssens
14891d2849 Require guile 1.8.5 and remove all 1.6.x specific conditions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20441 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-21 15:10:40 +00:00
Geert Janssens
b3b2368af3 Bug #615168: N_ in the root module
Fix variable not found crasher.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20440 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-21 15:10:30 +00:00
Geert Janssens
9abaf13225 Windows: avoid GROUP_NAME redefined error with mingw gcc 4.5.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20439 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-21 15:10:21 +00:00
Geert Janssens
2df3d3dee8 [PATCH 4/4] Bug #615168: N_ in the root module
* 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
2011-03-21 15:10:12 +00:00
Geert Janssens
86ccf6ed54 [PATCH 3/4] Bug #615168: Remove configure.in check for slib
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
2011-03-21 15:10:03 +00:00
Geert Janssens
3ce4d4b71e [PATCH 2/4] Bug #615168: Remove instances of (use-modules (ice-9 slib))
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
2011-03-21 15:09:54 +00:00