- fix a bunch of tests to use the new gobject defs
- make sure we initialize g_type_init() in qof_init()
- fix qofbook's destruction sequence (I broke it earlier)
- use dispose() in QofInstance
- use qof_init() for the business tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15826 57a11ea4-9604-0410-9ed3-97b8803252fd
rename gnc_price_{get,set}_type() to _typestr() so it doesn't
conflict with the GType gnc_price_get_type() API.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15812 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that this object is never freed here, so it's a potential memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15806 57a11ea4-9604-0410-9ed3-97b8803252fd
- migrate QofBook to GObject
- move around some typedef to get libqof to build again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15784 57a11ea4-9604-0410-9ed3-97b8803252fd
note that this breaks the build of this branch, and that the
build will remain broken until each of the objects is converted
over to basic GObject support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15781 57a11ea4-9604-0410-9ed3-97b8803252fd
Granted, it's not used, yet. But it's there.
Also add some helpful macros for instances.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15778 57a11ea4-9604-0410-9ed3-97b8803252fd
- Convert (QofEntity*)x to QOF_ENTITY(x)
- Move qof_entity_init() and friends into qof_instance and rename
- Move QofEntity contents into QofInstance
(note: this doesn't compile)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15772 57a11ea4-9604-0410-9ed3-97b8803252fd
environment variable or via a command line option. Based on a patch
from James Radley. Implements #328762.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15760 57a11ea4-9604-0410-9ed3-97b8803252fd
to move to the tab immediately to the left, or to move to the most
recently viewed tab. Implements #346314.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15759 57a11ea4-9604-0410-9ed3-97b8803252fd
the date (GtkPrint only), and for setting the font used by the check
printing code (GnomePrint and GtkPrint). The fonts actually used by
GnomePrint seem very limited compared to those used by GtkPrint, but
the font size specification always seems to be honored.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15753 57a11ea4-9604-0410-9ed3-97b8803252fd
Update glib, cairo, pango, gtk+ and gtkhtml. Drop libgnomeprintui, but
keep libgnomeprint because goffice depends on it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15750 57a11ea4-9604-0410-9ed3-97b8803252fd
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