Commit Graph

13922 Commits

Author SHA1 Message Date
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
Geert Janssens
7e95b8635a Bug #642739 - Translog files being created in Gnucash program
installation directory

Translog files for databases are now created in a directory "translog"
inside the .gnucash dir. The files will be named following this
scheme:
<dbtype>_<hostname>_<user>_<dbname>.<timestamp>.log

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20400 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 15:44:39 +00:00
Christian Stimming
8306612eeb When setting the report print name, check whether this exact name has been used before.
Append an increasing number if that was the case.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20399 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-12 09:36:38 +00:00
Cristian Marchi
84fcc01b04 Updated Dutch translation copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20398 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-11 20:07:53 +00:00
Cristian Marchi
ff2a158638 Updated Ukranian translation copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20397 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-11 18:46:01 +00:00
Christian Stimming
b38f9908c2 Fix r20394: Output string clean-up was missing the date part.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20396 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-11 14:25:55 +00:00
Cristian Marchi
bd62c8e774 Updated Traditional Chinese translation, glossary and win32 txt.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20395 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-11 12:53:52 +00:00
Christian Stimming
1c0422c0d7 When setting a printer job name, remove slashes because they are not allowes in filenames.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20394 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-11 07:21:02 +00:00
Christian Stimming
059403e423 Add the invoice number in the output printer job name, if an invoice report is printed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20393 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-10 22:23:55 +00:00
Christian Stimming
1a51ab3e5e Move business-options.[hc] from business-utils to app-utils.
As "business-core" has been dissolved, the "business-utils" code
has no more requirements than app-utils and can be moved there because of this.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20392 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-10 22:23:44 +00:00
Christian Stimming
8516d828ea Add ChangeLog.2010.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20391 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-10 20:12:44 +00:00
Geert Janssens
94091b57d6 Fix missing timestamp in trace files on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20388 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-08 13:21:54 +00:00
Geert Janssens
edfe40d23a Additional svn:ignore settings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20385 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-08 13:16:55 +00:00
Christian Stimming
3a8d1f6884 Add yet more gitignores.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20384 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-08 12:54:06 +00:00
Christian Stimming
13c87855dd Add more gitignore entries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20383 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-08 11:16:19 +00:00
Christian Stimming
4506326daf Bug #644036: Counter format validation fails on Windows because the number format is I64i there.
Note: Users will run into a problem when copying a windows file to linux
and vice versa because the counter format will have to be changed on the
other operating system each time.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20382 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-08 11:15:07 +00:00
Geert Janssens
c8a5b4f0e4 Add comments to warn about lack of Windows support in the guid_init
function.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20381 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-07 19:23:26 +00:00
Geert Janssens
d0f0cc9ec7 Bug #521817 - Guid_init causes very long startup delay if Novell
Network active

P_tmpdir is set to "\" by mingw. The way P_tmpdir is used by
GnuCash, this seems to trigger unwanted network activity. So on
Windows, I'm replacing it with "C:/temp" for now, based on suggestions
found on the internet regarding this issue.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20380 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-07 18:42:16 +00:00