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
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
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
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
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
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