Commit Graph

13789 Commits

Author SHA1 Message Date
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
Geert Janssens
5d2fe89c2b [PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances
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
2011-03-21 15:09:43 +00:00
Geert Janssens
7f70514f7e Add some convenience getter functions to gncOwner.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20433 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-20 19:33:55 +00:00
Geert Janssens
105cf24222 Whitespace and spelling corrections
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20432 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-20 19:17:11 +00:00
Frank H. Ellenberger
0a3651e5ab Bug #642176: Add four decimals to CLF (Chilean Unidades de fomento)
Oops, I forgot 1 digit

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20431 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-19 04:41:51 +00:00
Frank H. Ellenberger
e46c795ff0 Bug #642176: Add four decimals to CLF (Chilean Unidades de fomento)
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
2011-03-19 04:09:09 +00:00
Geert Janssens
262f690e5f Bug #645173 - [PATCH] Configure check uses hardcoded webkit library
name

Patch by Andy Clayton.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20429 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-18 19:40:00 +00:00
Cristian Marchi
1476d069c6 Updated Dutch translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20427 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-17 04:57:44 +00:00
Geert Janssens
6d6d5782d3 Bug #641645 - Support ActivePerl 5.12 for Finance:Quote on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20426 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-15 17:17:14 +00:00
John Ralls
d8fd93fc3a Bug #644688: Account edit fails to detect that no changes have been made and marks the account 'dirty'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20425 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-15 14:24:58 +00:00
Christian Stimming
d7dc1e271c Note last stable version number
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20424 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-15 10:08:01 +00:00
Christian Stimming
7e950fd2e3 Make error message on missing <dbi/dbi.h> more verbose.
Also mention the infamous dbi database drivers here,
https://lists.gnucash.org/pipermail/gnucash-devel/2011-February/031171.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20420 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-14 05:39:49 +00:00
Cristian Marchi
00b67f967a Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20419 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 17:47:00 +00:00
Phil Longstaff
ded11a213b Update rev to 2.4.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20417 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 16:47:58 +00:00
Phil Longstaff
8186309fc3 Update POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20416 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 16:47:28 +00:00
Christian Stimming
0c79141584 Implement automatic creation of stock account for newly imported OFX stocks.
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
2011-03-13 11:28:37 +00:00
Christian Stimming
d0907cc17e Add some more sanity checking in common importer module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20412 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 11:14:22 +00:00
Christian Stimming
4fda8dcedb Refactor KVP-related functions of OFX into separate file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20411 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 09:58:55 +00:00
Christian Stimming
9c8e3d0f3f Revert r20405, "Correct memory leaks..." - does not compile with guile-1.6
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
2011-03-13 09:54:27 +00:00
Christian Stimming
00784622aa Code cleanup in ofx importer; refactoring to get away from the single giant long function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20409 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 00:03:04 +00:00
Christian Stimming
756e8df4b7 Add some more const-correctness.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20408 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 00:02:53 +00:00
Christian Stimming
9ca9eb5462 Configure simplification: Use pkg-config for libofx. Remove obsolete external qof detection.
(Somehow the argument --with-qt3-wizard-package was writting right
inside the qof code stuff. This has been moved to the aqbanking section now.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20407 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 00:02:38 +00:00
Christian Stimming
7a006b4818 Win32: Tweak cross compiling script for webkit so that is seems to almost compile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20406 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 00:02:27 +00:00
J. Alex Aycinena
556a70b9a8 Correct memory leaks found with valgrind
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20405 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 21:48:16 +00:00
Christian Stimming
a59cf2759e Bug #570042: Better default for book-closing entries in Income Statement Report Options
Patch by Tristan Faujour:

Proposed patch: make reports ignore book-closing entries

I chose to:
- Change the reports' default behavior to have them ignore the book-closing
entries.
- Do not change anything in reports that deal explicitly with them.

Here is the content of this patch (everything is under gnucash/src/report):
- In function gnc:account-get-trans-type-balance-interval, depending on an
argument, closing entries can be ignored (they are identified by
xaccTransGetIsClosingTxn).
- Some report utility functions are duplicated (with a "-with closing" suffix)
to provide the legacy feature.
- Equity statement and Profit & Loss reports are modified to call the
*-with-closing functions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20404 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 15:52:20 +00:00
Christian Stimming
8cf578b069 Bug #644556: Running the test as root happened to remove /dev/null. Check for this and also fix the respective test.
Additionally, it turned out the log system never gave notice about
a log output file that was unwritable. Added an appropriate CRITICAL
error message.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20403 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 15:47:15 +00:00
Christian Stimming
ecfb762807 Remove unused functions for wall clock timing.
Facilities such as this should be used from external expert libraries.
Also, this is in the way when cleaning up some log system problems
in subsequent commits.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20402 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 15:47:02 +00:00
Geert Janssens
42c02af50b Bug #644557 - gnucash-2.4.3: downstream patches to fix tests linking
Patches kindly provided by Gilles Dartiguelongue <eva@gentoo.org> of
the Gentoo project.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20401 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 15:44:51 +00:00