Commit Graph

12404 Commits

Author SHA1 Message Date
Geert Janssens
2ea78aef35 Fix doxygen markup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18643 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-12 14:15:05 +00:00
Geert Janssens
5d8a60337f Small documentation improvements for better doxygen docs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18642 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-12 11:52:04 +00:00
Geert Janssens
7278bd3da0 Move splint-defs.h to src/debug.
It's only used for debugging. Note that the current splint-defs.h causes compilation errors due to redefinition of function declarations. These should be fixed when splint is to be run again.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18640 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-11 09:08:08 +00:00
Geert Janssens
625af3b4e7 Have the Post date widget grab the focus by default when opening the post invoice dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18639 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-10 22:55:11 +00:00
Christian Stimming
fb8d635294 Bug #605802: Fix input of Japanese characters in register with SCIM, IIIMF and XIM
Patch by Yasuaki Taniguchi.

The main functions are
(1) synchronization of preedit string in the register window and sheet->entry,
(2) application to pango attributes to preedit string in the register window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18638 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-10 20:35:31 +00:00
Christian Stimming
1abc138cbc Bug #608329: Add Color to Account tabs
Patch by "Bob":
I wanted a way to select an account easily when I have several accounts open in
the main window. I decided to add a color option to the account so that the tab
can be set to a specific color and so easily identifiable. This could also be
used to link like minded accounts together.

This patch also fixes the account tooltip not being
updated when the name changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18637 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-10 20:35:11 +00:00
Christian Stimming
e804723b37 Bug #534210: Add individual check item types.
Patch by Thomas Troesch: The proposed patch does:

1.  Changes the chk file key to Blocking_Chars as described in 607522 ( this
had been dropped by mistake ).

2.  Add several fields to the Custom tab in the print check dialog.

  Locations for:
  a.  split memos fields.
  b.  split accounts ( e.g.  Expenses:Auto )
  c.  split amounts ( e.g.  GBP 21.40 )

  The splits do not include the last split in the transaction.
  The keys in the chk format file are:
  SPLITS_AMOUNT
  SPLITS_MEMO
  SPLITS_ACCOUNTS

3.  Memo was added to the custom tab.  This is the memo from the split that
matches the account from the register.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18636 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-10 20:34:51 +00:00
Christian Stimming
b217a1ca81 Win32: Fix building of libgoffice.
Required libgsf to not remove the build directory, hence part
of r18559 need to be reverted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18633 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-10 19:26:06 +00:00
John Ralls
38dfb101f3 Fix null-pointer dereference from r18612
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18632 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-09 18:24:16 +00:00
Geert Janssens
7876110efb Remove Linux Software Map description.
It's unmaintained for years now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18630 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-09 13:29:30 +00:00
Geert Janssens
ddbdf90019 Bug #609402 Add Japanese resource to Windows (inno) setup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18629 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-09 13:14:32 +00:00
Geert Janssens
53749867fe Move count.* to util
Also I made a first attempt at improving the line count.
The old script missed a number of files in the directories
it counted.

The script is still not in line with the current code base
though. A number of directories are still not counted (like
gnome, engine, ledger, ...)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18628 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 20:53:35 +00:00
Geert Janssens
9e1e1bea8a Moved svnlog2ul from contrib to util
It makes more sense in util as it is by and for the devs, not
contributed by an external user for external use.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18627 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 17:59:15 +00:00
Geert Janssens
ea5c158b76 Add svnlog2ul.sh, and accompanying xslt sheets.
svnlog2ul.sh is a script to extract the commit messages from svn
between two releases and converts them into a simple html unordered
list. This is a useful aid to create the news pages on the website.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18626 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 17:50:22 +00:00
Geert Janssens
113db6f5f5 Move valgrind suppression rules to debug subdirectory
This will require a new run of configure as some makefiles have changed

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18625 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 17:30:21 +00:00
Geert Janssens
761fe11644 Set svn:ignore on pl accounts like the other account directories
(Meaning: ignore Makefile and Makefile.in)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18624 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 10:22:29 +00:00
Geert Janssens
fd1a4be80a Remove the old, obsolete postgres backend and its tools
I also changed some of the documentation that referred to it, but there are still some
references left in the (unmaintained ?) design documents.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18623 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 10:14:30 +00:00
Christian Stimming
2c182d4133 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18622 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-07 20:51:44 +00:00
Christian Stimming
d84f5bf6a6 Update the translations with the latest string template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18621 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-07 20:49:35 +00:00
Christian Stimming
f020141d24 Win32: Hopefully fix goffice installation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18620 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-07 19:58:18 +00:00
Andreas Köhler
9d8c3fda58 Free sort_keys as allocated by g_utf8_collate_key in ExtensionInfos.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18618 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-07 02:47:15 +00:00
Geert Janssens
0c34b87720 Fix script to check for > 2.8 entries to remove
The minimal Gtk+ requirement has been set to 2.8 recently. This script still removed glade
parameters that are valid in 2.8. This patch fixes that.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18617 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-06 20:22:21 +00:00
Phil Longstaff
474f9a6e4a Update release to 2.3.9
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18615 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-06 16:01:26 +00:00
Christian Stimming
58397c5fc9 I18n improvement: The account name of the other account in multi-split transaction is extended to conform to the name in the register.
Otherwise, the string Split from here has the ambiguity with the button
labeles Split, which is the verb, whereas here we need the noun.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18614 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-05 20:32:42 +00:00
Christian Stimming
5b4100c373 I18n improvement: Add disambiguation prefix to the account code of the other account in a multi-split txn.
Without the disambiguation, the string here is identical to the button
labeled Split, but that one is for sure something different from here,
namely the old verb vs. noun issue.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18613 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-05 20:29:57 +00:00
John Ralls
e13b58646c Corrections to r18610 to permit compiling against older versions of glib
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18612 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-04 23:19:15 +00:00
Phil Longstaff
c3e2fe3ddc Add new source files to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18611 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-04 13:13:47 +00:00
Christian Stimming
d0215e6be8 Bug #608436: Add auto-clear feature
Patch by Cristian KLEIN:

= Usage scenario =
John keeps his personal accounting in GnuCash and writes all credit card
expenses therein. On weekends, we checks his Internet Banking and sees that
some transactions have been recorded. He would like to clear those transactions
in GnuCash, but it is tiresome to go through each Internet Banking transaction
and do manual comparison with GnuCash records, especially since Internet
Banking transactions might be in a different order than in GnuCash.

John would prefer having an "auto-clear" feature. Given the "current amount"
from the Internet Banking, he would like GnuCash to clear the transactions for
him, if and only if, there is a unique combination of transactions that could
achieve this. If there is no solution, or if the solution is not unique,
GnuCash should warn him and John must manually clear the transactions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18610 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 21:28:48 +00:00
Christian Stimming
7069d980f9 Bug #590332: New eguile-based Tax Invoice report
Patch by Chris Dennis.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18609 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 21:01:18 +00:00
Christian Stimming
306f7e0b59 Bug #606053: Add stylesheet with footer
Patch by edodd@billiau.net and Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18608 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 20:58:02 +00:00
Christian Stimming
e08fe2a2be Bug #608306: check amount_word should print the fraction correctly.
Patch by Thomas Troesch:

Checks printed the wrong string for the amount_words.  The utility
number_to_words had produced e.g. from 100.04 -> One Hundred and 4/100.  The
word string should be One Hundred and 04/100.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18607 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 20:54:26 +00:00
Christian Stimming
2e6e8ed5bc Bug #608874: Spelling fix for Emoluments
Patch by Adrian Bridgett.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18606 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 20:51:07 +00:00
Christian Stimming
5d43e2ce34 Remove more executable bits from data files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18605 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-03 19:19:35 +00:00
Christian Stimming
eb151975dc Remove executable flag from data files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18604 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 21:35:37 +00:00
Christian Stimming
cb3acafcbd Fix URL of ActivePerl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18603 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 21:35:04 +00:00
Geert Janssens
98fb79457d Minor changes to global project files
1. Fix spelling errors in HACKING
- appearenet -> apparent (patch by Tom Van Braeckel)
- supressions -> suppressions

2. Keep the contributer list sorted alphabetically in AUTHORS

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18602 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 16:18:23 +00:00
Geert Janssens
2991f67783 Bug #589320 Price Editor - Currency Namespace does not show up
This bug was introduced by r18062 (applying a patch from bug #580281 Entering multiple pices with price editor is tedious)
For some unknown reason, r18062 assumed exchange rates are not supposed to be edited via the Price Editor dialog.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18601 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 11:20:49 +00:00
Phil Longstaff
714ff53984 Fix "make distcheck"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18600 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 02:40:31 +00:00
Phil Longstaff
af72826cf0 Reverse r18597
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18599 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 02:20:22 +00:00
Andreas Köhler
808c3af3e4 Bug #105669: Improve error handling in gz_thread_func.
Honor errors when reading/writing from/to a compressed file or the pipe
to the main thread.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18598 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 00:04:38 +00:00
Phil Longstaff
5988a9aa7c Fix "make distcheck". Patch by Jan Arne Petersen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18597 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 23:25:56 +00:00
Andreas Köhler
bb471903d5 Bug #606728: Catch errors when opening saved-reports-2.4 for write.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18596 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 21:12:21 +00:00
Andreas Köhler
b61418df3f Use string saved-reports-2.4 in the description of the save report action.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18595 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 21:12:18 +00:00
Phil Longstaff
6ed568ab77 Create routines qof_book_get_string_option() and qof_book_set_string_option() to get/set a kvp string, respectively.
qof_book_set_string_option() also handles saving the book so that the kvp is updated in the db.

In the future, qof_book_set_<type>_option() and qof_book_get_<type>_option() should be created, where type is
boolean, int, double, ...   In addition, other places which handle options in the book should use these routines.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18594 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 20:03:23 +00:00
Andreas Köhler
ef5a742bf1 Bug #105669: Add checks to detect errors on write, especially if there no space left on the disk.
Check the return value of fprintf and use ferror where libraries as
libxml do the write.

The change may not be perfect yet and a review would be nice. Still, it
detects quite a few errors that, without it, slip through and may
destroy valuable data.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18593 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 18:37:28 +00:00
Christian Stimming
3d64201763 Updated txf.scm for 2009 US tax form changes by J. Alex Aycinena.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18592 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 11:22:24 +00:00
Andreas Köhler
2a9c2efa03 Fix crash when copying a currently edited transaction in the register.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18591 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 07:12:59 +00:00
Phil Longstaff
791bdfbd20 Create qof_book_begin_edit()/qof_book_commit_edit() routines. These need to be added around lines which set kvp
values for the book, and the dirty flag does *not* need to be set.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18590 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-30 22:59:37 +00:00
Phil Longstaff
fbdcd66a91 Revert 18490/18491/18527 - I'm not sure it's actually deleting the objects without affecting the database.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18589 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-30 22:57:55 +00:00
Cristian Marchi
3d8123287f Update of Persian translation by Mehdi Alidoost
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18588 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-29 18:34:08 +00:00