Commit Graph

12566 Commits

Author SHA1 Message Date
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
Geert Janssens
5ebf260a77 Change 'Int' to 'Interest' and 'Div' to 'Dividend' in action strings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18587 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-29 16:36:32 +00:00
Christian Stimming
0325d8247a Fix missing header information about Farsi plural forms in fa.po, according to what has been explained to me.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18585 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-26 21:10:39 +00:00
Christian Stimming
c3617043a4 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18584 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-26 20:47:25 +00:00
Christian Stimming
c7e1984cd7 Add disambiguation prefix to the word Split where it is the action of a Stock Split.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18582 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-25 20:13:40 +00:00
Christian Stimming
88e0cfe783 Bug #607522: Add ADDRESS to check printing
Patch by Thomas Troesch: The patch does three things:

1.  Adds the ability to print an address on checks.  The Print Check dialog is
changed to have 5 address lines.
The first field is filled in with the same data as the PAYEE check item.  The
other lines are blank.  The check format keys
have a new check-item type 'ADDRESS'.  It behaves like other text check-item
types.  The address fields on the dialog are set 'not-sensitive'
if the current format does not have an ADDRESS check item defined.  The Custom
Field tab has a new line for the address
location.

2.  Added new check format key - Blocking_Chars.  This is to put the blocking
character feature into the check format file.  It is currently
only in the preferences dialog in the printing tab, and therefore currently
applies (or not) to all text fields in th_e check format.  By
adding the key Blocking_Chars_n to the check format, the blocking characters
can be applied to text type check-items individually.  Its
really useful when printing stubs and so on.  (NOTE:  blocking characters are
printed around a field to protect against alteration
e.g.  ***$100.00***  vs     $100.00)

3. Included a Voucher check template.  This is a full page check with the check
on top and which has two stubs below.  There
are other voucher formats ( middle and bottom ) , but the check printing
functionality would require separate templates for
the different formats.  Also changed the Quicken/Quickbooks US-Letter check
format to include the ADDRESS check item and blocking
around the AMOUNT_NUMBER field.  I made a change to the Quicken-wallet check to
add blocking characters around the
AMOUNT_NUMBER field, and I added a clipping rectangle definition to the NOTES
and PAYEE fields the were placed in the
check stub area ( if the fields were too long, they would print into the check
area ).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18581 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-23 21:39:21 +00:00
Phil Longstaff
cc08f7f39b Use correct routine to add a newly loaded entry to the correct bill. r18302 fixed the entry
loading problem for invoices, this extends it to bills.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18580 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-22 01:02:49 +00:00
Andreas Köhler
ca7a2b4bc7 Bug #607517: Migrate print.glade from glade-2 to glade-3 format.
Patch by Thomas Troesch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18579 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-22 00:08:55 +00:00
Andreas Köhler
d9bb98bef8 Bug #607246: In qof_string_number_compare_func, use base 10 and do not allow octals to sneak in.
Otherwise, transaction number 0108 (octal 010=8) will sort before 0107 (octal 0107=71).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18578 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-21 22:52:56 +00:00
Andreas Köhler
fa81ae0808 Update german translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18577 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-21 22:13:09 +00:00
Andreas Köhler
0e7fb6ab9b Bug #607255: Repair Hungarian report main menu, by Attila Nagy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18576 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-20 23:39:32 +00:00
Christian Stimming
a881c3edf4 Bug #607185: Add f-q workaround for missing date.
Patch by "meo":

If for whatever reason finance-quote is unable to get a date for a quote or to
convert it to the standardized form, gnucash is unable to use the otherwise
correct quote. With web pages being updated definitively more frequently than
finance-quote, this is quite a nuisance.
Up to now, gnc-fq-helper emits an error message + the quote, a combination
gnucash is unable to process. This patch presents a workaround.

I would prefer using the current date + 12 hours rather than current date +
time, but this is open for discussion.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18575 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-17 21:26:48 +00:00
Christian Stimming
f6195c389b Updated Persian (Farsi) translation by Mehdi Alidoost
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18574 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-16 20:38:02 +00:00
Christian Stimming
e102dfa917 Add ChangeLog.2009 for the last year.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18573 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-15 20:49:10 +00:00
Christian Stimming
a2b3b35227 Bug #606077: Fix uncommon configure option --program-suffix.
Patch by Peter Selinger:

OK, the attached patch fixes part of this problem. Specifically, it applies the
specified transform (from ./configure option --program-suffix,
--program-prefix, or --program-transform-name) to the files

src/bin/gnucash-valgrind
src/bin/gnucash-gdb
src/bin/gnucash

This is done in the Makefile at compile time.

In the end, I am not sure why the GnuCash configure.in provides the
--program-suffix mechanism at all, since apparently it hasn't been used in 10
years. According to info autoconf, these are supposed to be enabled by the
macro AC_ARG_PROGRAM, but I don't see this in configure.in. So perhaps it has
been enabled by accident and shouldn't really be there.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18572 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-15 20:43:00 +00:00
Christian Stimming
53dd0f605a Bug #511606: Fix ipmt() and ppmt() functions in scheduled transactions.
Patch by Jean-Baptiste: " The instance counter is now incremented into increment_sx_state function."

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18571 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-15 20:38:33 +00:00
Christian Stimming
c259408efe Bug #538902: Moves the "New Accounts Page" menu option to the "View" menu
Patch by Steven N. Severinghaus.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18570 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-15 20:38:13 +00:00
Christian Stimming
0df835b5df Update Chinese (simplified) translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18569 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-13 19:21:32 +00:00
Geert Janssens
e9e773fe7b Fix translation issues caused by r18474.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18568 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-13 00:00:03 +00:00
Christian Stimming
52ee855678 Update British English translation by Mike E.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18567 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-12 21:25:04 +00:00
Christian Stimming
35d0cbfbca Remove de_CH translation because it ceased to be maintained. The normal German translation will appear for de_CH locales, just as in 2.2.x.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18566 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-12 21:19:47 +00:00
Christian Stimming
bd415b5d56 Updated Persian (Farsi) translation by Mehdi Alidoost
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18565 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-12 20:29:09 +00:00
Geert Janssens
4398d35577 Fix typo: accouting -> accounting
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18564 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-12 19:40:07 +00:00
Geert Janssens
2ae9f8697c Bug #348701 Wrong currency symbol when currency is set to DKK
This fix reverts changeset r7200, which caused some currency symbols to be replaced with the EURO sign.
This replacement was a workaround for gtkhtml1 and no longer needed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18563 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-12 18:08:17 +00:00
Christian Stimming
bcec4ce194 Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18561 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-11 21:36:36 +00:00
Christian Stimming
cc7f71bb3e Bug #606626: Change wording from Druid to Assistant
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18560 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-11 21:32:13 +00:00
Christian Stimming
767a90ae47 Remove build directories of dependencies after their successful installation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18559 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-11 20:50:18 +00:00
Christian Stimming
7ae3909d00 Add initial Persian translation (Farsi) by Mehdi Alidoost.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18558 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-11 20:25:04 +00:00
Christian Stimming
fc397e16b4 Fix translation error in r18550, bug#602051.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18557 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-10 19:45:08 +00:00
Christian Stimming
2778d769a8 Update Japanese translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18556 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-10 19:22:05 +00:00
Mike Alexander
dff335dd3e Speed up the balance sheet report by a factor of 5 or so by using C functions instead
of Scheme functions to get account commodity balances.  This idea is borrowed 
from the EGuile version of the balance sheet report.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18555 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-09 05:52:05 +00:00
Mike Alexander
9d725a6aef Remove a couple of unused local variables left over from a previous iteration of
the trading account changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18554 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-09 05:48:48 +00:00
Mike Alexander
5f07987bb2 Avoid a bunch of assertion failures when the general ledger is open. The general ledger has no
account so attempts to get the balance of the register's account pass a null account pointer
to functions that won't accept that.  Also stop leaking a GList in the functions that get account
balances.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18553 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-09 05:47:54 +00:00
Mike Alexander
6085758a8b Remove the "Compute unrealized gains and losses" option from the balance sheet
report.  Instead compute unrealized gains and losses only if the current book
does not use trading accounts.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18552 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-09 04:54:02 +00:00
Christian Stimming
56e67d882e Bug #589032: Replace some strcmp() by safe_strcmp() to fix crashes on NULL strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18551 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-05 22:37:30 +00:00
Christian Stimming
be3f045fb4 Minor updates to British English translation by Mike Evans.
Copied from bug#602051.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18550 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-05 22:09:45 +00:00
Christian Stimming
2f998bed01 Bug #602051: Replace the word "string" in GUI messages by non-developer wordings.
Same for dialog -> window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18549 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-05 22:09:25 +00:00
Christian Stimming
869c30a007 Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18548 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-04 21:21:54 +00:00
Christian Stimming
80971f866b I18n improvement: Translate plural-dependent string correctly by ngettext().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18547 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-04 21:07:16 +00:00