Commit Graph

12494 Commits

Author SHA1 Message Date
Geert Janssens
3c7c04d699 Bug #610051 - Crash when using GktHtml whenever a report is opened
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18702 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-21 17:23:43 +00:00
Geert Janssens
31ee1513f6 Add a starter script for gnucash under ddd (a gui frontend for gdb)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18701 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-21 15:50:13 +00:00
Geert Janssens
a858e4a48c Build fixes for EL5 after glib 2.12 requirement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18700 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-21 00:27:59 +00:00
John Ralls
8c4fa1f762 Ensure that GNC_DOT_PATH and other gnc_dotgnucash_dir() logic is
used for all cases, remove hard-coded references to /usr/etc,
    /usr/share, /usr/local/etc, and /usr/local/share while providing
    for xaccResolveFilePath to actually search the data and sysconfdir
    directories used in the build.
    
    (gnc_build_data_path): New function, just a copy of
    gnc_build_book_path. Needed for rewrite of xaccResolveFilePath.
    (xaccResolveFilePath): Cleaned out the hard-coded paths and weird
    file path contruction functions and rewrote the function to use
    gnc_path_get_foo and gnc_build_data_path without all of the silly
    indirection. Removed superfluous URI checks (which are correctly
    perfomed by xaccResolveURL()).
    (MakeHomeDir, xaccPathGenerator, xaccDataPathGenerator)
    (xaccUserPathGenerator): Deleted; their functionality is replaced
    as noted above.

    (check_file_return_if_true): Renamed check_file_return_if_valid, a
    more descriptive name.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18699 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 22:01:05 +00:00
Christian Stimming
00629d9834 Updated Slovak translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18698 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 20:01:33 +00:00
Cristian Marchi
19e20b4915 Update of Persian translation by Mehdi Alidoost
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18697 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 15:56:50 +00:00
Geert Janssens
86c7ae019c Bump glib2 minimum requirement to 2.12.
At the same time, remove all the conditional code and workarounds
that were in the code to cater for glib < 2.12.

Note: this commit will require a rerun of autogen.sh and configure.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18696 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 13:57:10 +00:00
Geert Janssens
13ce6a10ee Bug #610348 missing dependencies in windows build
Update gnome-vfs to 2.24.1
Note that this means Windows 2000 is no longer supported.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18695 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 13:26:19 +00:00
Geert Janssens
ce990807be Partial fix for bug #610321 Compile errors with gtk-2.10.4: GTK_BUTTONBOX_CENTER undeclared
GTK_BUTTONBOX_CENTER is replaced with GTK_BUTTONBOX_START

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18694 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 01:59:37 +00:00
Geert Janssens
ccf46258e5 Display the SX variables in the "Since Last Run..." dialog in ASCII order
rather than ordering by hashvalue (i.e. no order at all) as was done previously.
Patch by Jesse Weinstein.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18693 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 00:25:31 +00:00
Geert Janssens
0e00cfd225 Add bzr support to gnc-svnversion. Patch by Jesse Weinstein
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18692 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 00:17:41 +00:00
Geert Janssens
b008a11984 README referred to a non-existent file
So per a suggestion on IRC, I took the reference out. Patch by Jesse Weinstein.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18691 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 00:00:58 +00:00
Christian Stimming
8345fff2c6 Win32: Update libxslt version, but it needs its own copy of libxml2.dll.
Apparently the gnome-provided libxml2 has the DLL filename libxml2-2.dll,
but the binary from xmlsoft.org still has the filename libxml2.dll.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18690 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-19 22:12:28 +00:00
Christian Stimming
89e197771a Win32: And one more dependency upgrade (causes missing libxml2.dll complaints otherwise)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18689 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-19 21:06:50 +00:00
Christian Stimming
5485983166 More win32 dependency version updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18688 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-19 20:50:01 +00:00
Christian Stimming
e99a57f8e3 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18687 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-19 19:42:09 +00:00
Geert Janssens
3bac2105e8 Fix bug #564380 additionally for easy invoice and fancy invoice.
Patch by Mike Evans.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18686 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-19 17:03:06 +00:00
Geert Janssens
2ff0d7507d Update libpng package dependency for win32 to 1.4.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18685 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 16:22:23 +00:00
Geert Janssens
c25d050c18 Small spelling fixes in the comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18684 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 15:46:46 +00:00
Geert Janssens
043b6139c9 Bug #610047 - Dutch accounts template doesn't work
Add missing closing brackets

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18683 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 13:02:33 +00:00
Christian Stimming
a824e611e2 Re-indentation of source code, next batch.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.24 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header

Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18675 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:31:54 +00:00
Christian Stimming
28632f6638 Bug #609044: Improve UI strings for tax report options
Patch by Frank H. Ellenberger:

As we currently have a nice US income and a partial german VAT tax report, I
feel uncomfortable with the change of r18413, which renamed Edit->Tax options
to Income Tax options. So here is another approach, to clarify the tax report
and business tax menu points.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18674 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:29:28 +00:00
Christian Stimming
b5dfe33219 Bug #609043: Improve (mostly german) translation of txf
Patch by Frank H. Ellenberger:

This patch is a first extract of so an approach, which I have here, which will
probably lead to a german income tax declaration ESt-A1. But this extract is
more general and based on r18413 changes.

Changes:
1. Header Comments: adding Contributors
2. Most strings in de_DE translated to german.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18673 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:28:50 +00:00
Christian Stimming
e93496f04d Bug #608032: Handle MySQL connection timeouts with reconnect
Patch by Tom van Braeckel:

For the full discussion, see the mailing list:
https://lists.gnucash.org/pipermail/gnucash-devel/2010-February/027323.html

Rationale: When we try to open a database transaction, and the database reports
that the "server has gone away", we try to reconnect before failing hard.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18672 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:28:22 +00:00
Christian Stimming
7746357490 Bug #609005: Add recipient name on invoices
Patch by Mike E:

Having set up a client/customer including the name of a recipient when I print
an invoice the recipients name ("Account Dept" say) is not printed in the
invoice.  I think this is a bug rather than a feature.  I have attached a patch
to fix.

It still prints the company name above the recipient name however.  I could
submit an additional patch to provide an invoice option to toggle printing of
the company name if users/developers feel they want this option, as I do.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18671 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:27:55 +00:00
Christian Stimming
320906c277 Bug #609603: Windows packing/win32/install.sh PATH fix
Patch by Yasuaki Taniguchi:

When I run /c/soft/gnucash/inst/bin/gnucash or gnucash.cmd after I finish
building win32 binary, DLL missing dialog boxes pop up.

Missing DLLs are
 - libgcrypto.dll,
 - libPQ.dll,
 - mysql.dll, and
 - ssleay32.dll.

This patch add search path to them to fix this problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18670 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-18 05:27:17 +00:00
Geert Janssens
d30a59b46e Bug #564380 Payment on bills doubles bill
Patch by Mike Evans

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18666 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-17 10:51:10 +00:00
Christian Stimming
4e99711ef8 Update gnome package versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18664 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-16 21:45:34 +00:00
Christian Stimming
45e058580c Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18663 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-16 21:21:16 +00:00
Geert Janssens
268a378641 Update release to 2.3.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18661 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-16 15:07:46 +00:00
Geert Janssens
a16cbf087f Revert r18654.
Current GtkHtml implementation crashes the windows build whenever a report is opened.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18660 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-16 14:39:40 +00:00
Geert Janssens
ff9d28017c Better fix for segfault at startup caused by bug 608329's patch and a renamed Accounts tab.
Patch by Tom Van Braeckel

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18659 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-16 10:18:03 +00:00
Christian Stimming
193a4d843e Fix crash at startup on renamed Accounts tab, bug#608329.
Patch by Tom Van Braeckel.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18658 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-15 19:40:20 +00:00
Geert Janssens
87af0d8007 Reverting r18428 as per multiple user requests. This patch needs some more work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18655 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-14 10:17:51 +00:00
Geert Janssens
f03c101929 Use gtkhtml as html render in the Windows build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18654 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-13 15:56:43 +00:00
Christian Stimming
83ab0dfb4f Revert r18638, "Bug #605802: Fix input of Japanese characters..."
Unfortunately this changes the behaviour in the amount entry cell
of the register significantly: The string seems to be evaluated into
a number right after each keypress, which means one cannot enter
arithmetic expressions anymore as they will cause immediate error
messages as long as they are not complete. Hence, the patch needs
more work.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18651 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-13 10:30:13 +00:00
Christian Stimming
2e2bc83822 [Patch] Corrections to taxtxf.scm
Patch by J. Alex Aycinena:

I attach a patchfile that corrects two problems with taxtxf.scm: the
report would not gracefully handle the cases where, 1, a datafile from
an earlier version of gnucash might have tax codes assigned to
accounts and no tax-entity-type code assigned to the file, and, 2,
some cases where accounts had no tax code assigned and the tax-related
flag not set.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18650 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-13 10:20:57 +00:00
Christian Stimming
d147d0ae86 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18649 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-13 10:19:08 +00:00
Phil Longstaff
7f7c15536d Remove gnucash.lsm from EXTRA_DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18645 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-12 17:46:40 +00:00
Phil Longstaff
e22101bf03 Fix comment close
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18644 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-12 17:45:59 +00:00
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