Commit Graph
10579 Commits
Author SHA1 Message Date
Derek Atkins e38adf311d convert GncJob to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15822 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:08 +00:00
Derek Atkins 7f007696f9 Convert GncInvoice to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15821 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:01 +00:00
Derek Atkins 4c1ba72597 convert gncEntry to gobject init.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15820 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:45 +00:00
Derek Atkins 1449cd97d1 convert GncEmployee to GObject initialzation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15819 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:38 +00:00
Derek Atkins 292cf31279 convert GncCustomer to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15818 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:31 +00:00
Derek Atkins d93599d8f4 convert billterm to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15817 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:26 +00:00
Derek Atkins 4271ca4e17 convert gncAddress to GObject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15816 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:18 +00:00
Derek Atkins 49c4d834e3 convert price/pricedb objects to GObject initialization
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
2007-04-05 00:24:38 +00:00
Derek Atkins 01d677ddb8 convert gnc-lot object to GObject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15811 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:28 +00:00
Derek Atkins c7d7b9621f Convert gnc_commodity objects to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15810 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:18 +00:00
Derek Atkins d71de524f8 Convert GncBudget object to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15809 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:09 +00:00
Derek Atkins e097404f0b Convert the Transaction object to GObject Initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15808 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:58 +00:00
Derek Atkins cb8f58790c Convert Split objects to GObject intiialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15807 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:50 +00:00
Derek Atkins 39d9258d19 Convert SX-book (SchedXactions) to GObject initialization.
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
2007-04-05 00:23:42 +00:00
Derek Atkins f1e6425dce Convert SchedXaction to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15805 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:32 +00:00
Derek Atkins 1cbf8b848c Convert FreqSpec to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15804 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:11 +00:00
Derek Atkins 1bea96024f Convert Account object to GObject
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15785 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 22:58:42 +00:00
Derek Atkins 5bee77e41a get libqof to build using GObject
- 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
2007-04-03 22:30:58 +00:00
Derek Atkins 44103fd12f convert QofInstance to using GObject
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
2007-04-03 13:51:35 +00:00
Derek Atkins ab60ce2a6a Um, the branch should live under branches. oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15779 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 02:15:45 +00:00
Derek Atkins 06ec94e59c Hey, look! QofInstance has a GObject.
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
2007-04-03 02:14:13 +00:00
Derek Atkins 12461c5b30 * Merge QofEntity into QofInstance
- QofEntity -> QofInstance
  - qof_entity -> qof_instance
  - QOF_ENTITY -> QOF_INSTANCE
* remove references to instance.entity
* keep qof_entity_init() and qof_entity_release() for now


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15773 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-01 22:18:50 +00:00
Derek Atkins 4e43ae10f3 Preparation for QofEntity -> QofInstance:
- 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
2007-04-01 22:18:30 +00:00
Derek Atkins 4b0ca6b26c Build a branch for my own gobject dev work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15762 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-30 14:02:33 +00:00
Andreas Köhler 57b1a827ae Remove libgnomeprintui from dist.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15761 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-28 08:59:36 +00:00
David Hampton e6e85a13ec Allow the base gconf path to be specified at run time, either via an
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
2007-03-27 03:06:09 +00:00
David Hampton 5edeb504e2 Add an option to change the tab closing behavior. The two choices are
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
2007-03-27 01:55:38 +00:00
David Hampton 9ca73549ce Add a preference for printing "***" immediately before and after all
text fields on checks.  Implements enhancement request #420224.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15758 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-27 01:10:09 +00:00
Andreas Köhler b86e5fa33c Use gncOwnerGetOwnerFromLot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15757 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 21:28:48 +00:00
David Hampton 498c193a63 Record a couple of user suggestions for things to do with gnucash's
gtkrc file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15756 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 03:02:55 +00:00
David Hampton eab98d53f8 Don't crash if an example account file has no root account. Also
filter the file names (*xea) when reading accounts directories.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15755 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 02:58:23 +00:00
Andreas Köhler 1f8c3dc9f6 Use TXN-TYPE-{INVOICE,PAYMENT} in customer report. Observed by Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15754 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-25 23:05:47 +00:00
David Hampton 72b00e4027 Add preferences support for printing the date format immediately below
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
2007-03-24 18:17:38 +00:00
David Hampton 2c8690b5d8 Add preferences support for a GtkFontButton widget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15752 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 18:14:08 +00:00
Andreas Köhler 191e977fd1 Use gtk_print_operation_set_{use_full_page,unit} for reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15751 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 15:30:27 +00:00
Andreas Köhler 62ff5bab3c Install.sh: Some package updates, including GtkHTML 3.14.0.
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
2007-03-24 15:28:37 +00:00
Andreas Köhler e3a47d52b1 On Windows, convert filename parameter for xml parser to system codepage.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15749 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-23 19:40:32 +00:00
Andreas Köhler 656306e6dc Add support for (de)compressing in a thread instead of fork.
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
2007-03-23 19:38:08 +00:00
Andreas Köhler 12392fcb44 Install.sh: Do not mix pexports and ".." as noted by Nathan Buchanan.
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
2007-03-22 08:15:01 +00:00
Andreas Köhler bed4c1a087 Patch from James Radley to allow override of the dotfile location.
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
2007-03-21 22:50:12 +00:00
Andreas Köhler 4e579ba100 Remove almost unused configure output variables.
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
2007-03-21 20:03:47 +00:00
Andreas Köhler bc2969282c In install.sh test for htmlhelp, try to build DLL.
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
2007-03-21 09:46:01 +00:00
Andreas Köhler 58f17fe7a4 Fix a typo in gnome-utils/Makefile.am, garbling _SOURCES.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15743 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 23:42:49 +00:00
Andreas Köhler b3edcbca48 Do not check for and link against gnomeprint if gtkhtml uses gtkprint.
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
2007-03-20 16:37:46 +00:00
David Hampton f506b75fdb If the specified check format guid can't be found then select the
first check format in the list.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15741 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 05:19:20 +00:00
David Hampton 13f1be4d84 Use a single key for check position names instead of a series of
manufactured key names, one key per name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15739 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 01:08:12 +00:00
Andreas Köhler f04508e009 Do not printf %s if the param is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15738 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 22:45:08 +00:00
Joshua Sled ed9661c8b4 Add list of "interesting" libraries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15737 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 19:39:15 +00:00
Joshua Sled d2139a28b8 Update "starting gnucash from the build tree info."
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15736 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 19:39:12 +00:00
Andreas Köhler 3fe6b64c95 Uncouple print settings for reports and checks again.
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
2007-03-18 17:58:58 +00:00