Patch by Yasuaki Taniguchi. Revised and extended version of r18638.
The main functions are as follows:
(1) synchronization of preedit string between the register window and
sheet->entry,
(2) application to pango attributes to preedit string in the register window,
(3) include scroll offset patch (id=153514),
(4) include preedit string rollback patch (id=153518),
(5) fix formula and account cells input problem which Christian pointed out,
(6) surpress quick-fill when preedit string exists,
(7) fix Windows IME problem.
(8) Fix quick-fill problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18713 57a11ea4-9604-0410-9ed3-97b8803252fd
However, we still download the erroneous binary and unpack it into $GNOME_DIR
because libgnomeui depends on libbonoboui which in turn depends on libgnome.
Hence, libbonoboui cannot be compiled before libgnome-dev is unpacked, but
libgnomeui won't report to be installed correctly before libbonoboui is
available as well. Theoretically, we would have to split the inst_gnome step
so that it first unpacks libgnome et al., then we run the inst_libbonoboui
step, then we run the second part of inst_gnome which would be something like
inst_gnomeui. I'm lazy, so I silently overwrite the libbonoboui DLL with
our hand-compiled version and that's it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18711 57a11ea4-9604-0410-9ed3-97b8803252fd
Reading file is technically only correct for files not for databases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18707 57a11ea4-9604-0410-9ed3-97b8803252fd
This version builds on Phil's implementation of the dbi error callback
functions to test for a timeout and to do the reconnect.
The same error handling is equally implemented for postgres and sqlite.
Unlike MySQL these two database types don't actually generate timeouts, but the
functionality can be used later on for other error types as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18706 57a11ea4-9604-0410-9ed3-97b8803252fd
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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