Use GThreading system when available, but depend on it on Windows.
Gzipped data files are still loaded by libxml2. On write, again create
a pipe p and a thread t that gzwrites bytes read from p to a given file.
After the other thread has finished writing to p, it waits for t to
return to avoid loss of data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15748 57a11ea4-9604-0410-9ed3-97b8803252fd
pexports somestimes crashes in a new MSYS shell if a path, like the one
to a header file, contains "..".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15747 57a11ea4-9604-0410-9ed3-97b8803252fd
Read environment variable GNC_DOT_DIR and, if available, use this
instead of `g_get_home_dir`/.gnucash. This allows one develop without
impacting an existing stable installation, excepting shared GConf
keys. Setting HOME does not help, because g_get_home_dir prefers
passwd entries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15746 57a11ea4-9604-0410-9ed3-97b8803252fd
GNUCASH_{APP_UTILS,GNOME_UTILS,REGISTER_CORE}_{CFLAGS,LIBS} and
GNC_FALSE have been completely unused. GNUCASH_ENGINE_{,BASE}_* could be
moved to its only user engine/Makefile.am.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15745 57a11ea4-9604-0410-9ed3-97b8803252fd
The HTML Help Workshop includes htmlhelp.lib, but we cannot use it for
creating DLLs---it is a static thingy. So test with -shared in
install.sh. It would be nice to have a similar test improvement in
configure.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15744 57a11ea4-9604-0410-9ed3-97b8803252fd
If GtkHTML uses GtkPrint, reports and checks will use it, so GnomePrint
is not needed. Also, remove some spurious GNOME_PRINT_{CFLAGS,LIBS} from
Makefile.am files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15742 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove gnc_{save,restore}_print_settings, revert part of r15733.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15735 57a11ea4-9604-0410-9ed3-97b8803252fd
files (by guid) and show a warning dialog to the user. Remember the
users selected check format by GUID and not by index. Add text
clipping when using GnomePrint.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15734 57a11ea4-9604-0410-9ed3-97b8803252fd
Also add gnc_{save,restore}_print_settings so that those are shared
between report and check prints.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15733 57a11ea4-9604-0410-9ed3-97b8803252fd
Merge the two gnc_build_gui=true blocks, only move regex adjustments to
the windows specific part. Test for gtkhtml later than before and allow
libgtkhtml-3.14 iff gtk+-2.0 >= 2.10 and gog-renderer-cairo.h is
available. To actually print with GtkPrint further code is needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15730 57a11ea4-9604-0410-9ed3-97b8803252fd
Check both, in install.sh and configure.in, whether we can link a test
source for HtmlHelpW against the html help import library, instead of
just testing for htmlhelp.h or some htmlhelp library thing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15727 57a11ea4-9604-0410-9ed3-97b8803252fd
data from the "Custom Format" page to a check format file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15724 57a11ea4-9604-0410-9ed3-97b8803252fd
called the memo field. This fix corrects that misnaming.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15717 57a11ea4-9604-0410-9ed3-97b8803252fd
Find the correct CHM file according to the active locale and call
gnc_show_help in src/app-utils/gnc-help-utils.[ch]. These new files
were necessary because <windows.h> does not like things like GUID. If
no htmlhelp.h was found, spawn hh to show the chm file. Otherwise parse
the GKeyFile ending on .hhmap to determine a numeric ID for the given
anchor and use HtmlHelpW.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15713 57a11ea4-9604-0410-9ed3-97b8803252fd
* add html help workspace, make an import library for hhctrl.ocx
* add libxslt for xsltproc and htmlhelp xsl stylesheets
* run xsltproc on guide and help, C and de_DE; enrich the resulting hhp
files with anchor/map/alias information, compile them with hhc, save
to $INST_DIR/share/gnucash/$lang/gnucash-$type.chm
* create GKeyFiles *.hhmap that can be parsed to open specific topics
* also, obsolete pexports by mingw-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15712 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: This probably isn't good for inside a translated string..
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15711 57a11ea4-9604-0410-9ed3-97b8803252fd
using the GtkPrint API when compiled against gtk+ 2.10 or later. Add
support for reading check description files instead of hard coding
check descriptions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15709 57a11ea4-9604-0410-9ed3-97b8803252fd
* add pcre which is a hard dependency of goffice now
* use the same patch for goffice 0.3.7 as for 0.3.2 (was not in use)
* make inst.sh'ed gnucash and gnucash.bat scripts work again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15705 57a11ea4-9604-0410-9ed3-97b8803252fd
Check whether we find gog-renderer-cairo.h with the help of
GOFFICE_CFLAGS. If it is found, use GogRendererCairo instead of
GogRendererPixbuf. Newer goffice releases do not ship the latter any
more.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15704 57a11ea4-9604-0410-9ed3-97b8803252fd
Targeted distributions should have goffice packages by now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15701 57a11ea4-9604-0410-9ed3-97b8803252fd