Commit Graph
100 Commits
Author SHA1 Message Date
Derek Atkins 0d45c24a03 Don't need to test for NULL. (#460924)
dnow,dent,dpost always exist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16365 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-27 14:12:57 +00:00
Derek Atkins c052ac4078 limit SVK version information to 5 revisions/copies.
Otherwise the svk version info just continues to grow ad nausium


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16362 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:54 +00:00
Derek Atkins 5ccebc9d76 Don't crash running the Account/Account Txn Reports from A/R (#460432)
Two fixes here:

* make sure to call the correct report.  The C code calls into scheme
  with a #f, not '(), so check for both cases in standard-reports.scm.

* In the owner-report, don't return #f or '() but rather return -1
  when the user tries to run the Account Transaction Report on A/R or
  A/P when they don't have a transaction selected.  This will at least
  stop gnucash from crashing, but it will appear that gnucash isn't
  doing anything.  A step in the right direction but still not the
  best solution.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16361 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:43 +00:00
Derek Atkins d4be2606ee Overpayment for bills records wrong amount (#447269)
Patch by Mark Jenkins to improve the sign checking and not improperly
reverse the sign of the amount.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16249 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-04 19:10:03 +00:00
Derek Atkins b378cd8898 Fix space->tab issue in a Makefile (need tabs, not spaces)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16113 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 20:56:19 +00:00
Derek Atkins f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
Derek Atkins e5c59face3 Extend the stack size when pulling price quotes (#428133)
Patch from Mike Alexander.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15966 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 19:43:11 +00:00
Derek Atkins 167feed527 Make sure that each GNCModule has a unique set of symbols.
Change gnc-module.c to load the unique symbols based on the module filename.
Change gnc-module-api.h to declare the functions based on a provided filename.
Change ALL the modules to use the new symbol names.

This change should allow the code to build cleanly on the MacIntel platform.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15928 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:23:04 +00:00
Derek Atkins 85785f0789 Actually load the correct module to test invalid dependencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15927 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:22:52 +00:00
Derek Atkins 0db8a768b4 Phil Longstaff's patch for begin/commit edit in price quotes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15860 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-10 14:17:11 +00:00
Derek Atkins b15d6171c7 Phil Longstaff's patch to enable gnc_numeric to be a GValue
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15854 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:47 +00:00
Derek Atkins 7990568f9b Phil Longstaff's patch to fix a kvp_frame bug.
Save the current frame so we know where to build the new one.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15853 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:33 +00:00
Derek Atkins 18c4cbf122 First step of QOF/Object GObjectification.
- Merge QofEntity into QofInstance
- Derive QofInstance from GObject
- Convert all QofInstance-derived objects to use GObject framework
- renamed qof_instance_init() to qof_instance_init_data()
- removed qof_instance_release() because it's no longer needed

Merge from branches/gobject-engine-dev-warlord  (r15827)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15846 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-07 16:02:27 +00:00
Derek Atkins 8c6e7b8394 Add hooks for the gobject dispose() function so that we can
migrate each object's "free()" function to a combination of
dispose() and finalize().
(and yes, "make check" still passes all its tests)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15827 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 03:10:26 +00:00
Derek Atkins b4323dbfcf Get "make check" to work with the gobjectified objects.
- 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
2007-04-05 02:44:47 +00:00
Derek Atkins 4c64b3e9a0 convert GncVendor to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15825 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:36 +00:00
Derek Atkins aca8de8037 convert GncTaxTable to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15824 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:25 +00:00
Derek Atkins 1b897fd18f convert GncOrder to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15823 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:17 +00:00
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
Derek Atkins 6c8bebc34c Use Glib GINT64 printf format.
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
2007-03-13 21:00:37 +00:00
Derek Atkins 6eb4fef9b9 The New Turkish Lira changes from TRL to TRY in 2005.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15581 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-15 20:22:49 +00:00
Derek Atkins e87a6014f7 Fix the configure tests.. Need a comma instead of a period. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15525 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:25:54 +00:00
Derek Atkins 513bccca0d If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:03:24 +00:00
Derek Atkins 266595a208 The engine shouldn't depend on business.
remove the references to the business-core includes directory


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15488 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 15:48:21 +00:00
Derek Atkins b6be683d93 Fix the gnc-numeric test because using EXACT means we don't know
what the denominator is going to be, so if it gets ints a state
where it's NOT overflowing then you won't get a denominator of 1
like the tests assumed.  So use gnc_numeric_equal() in the few
tests where that's an issue.  This should fix the test on Win32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15473 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 00:13:48 +00:00
Derek Atkins 9160a39948 Make sure we properly add the glib28 sources to EXTRA_DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15450 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 14:13:27 +00:00
Derek Atkins af93db5b7a Remove hardcoded /tmp paths.
They don't really work with the new file chooser anyways.
Patch by Bill Nottingham <notting@redhat.com>



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15436 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 03:16:57 +00:00
Derek Atkins a929bcdf33 /tmp/qof.trace or /tmp/gnucash.trace is opened for writing directly.
This could be a security issue if someone else, say, makes a symlink
to somewhere else.  Instead, create a tempfile and then rename it
into place which is safe against the symlink attack.
Patch by Bill Nottingham <notting@redhat.com>
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15435 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 03:16:39 +00:00
Derek Atkins 85fb534953 gnucash-env needs DYLD_LIBRARY_PATH for MacOS-X
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15415 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 00:05:10 +00:00
Derek Atkins 860276bc63 "string-match" uses regexp which can error out if a GNC Account has a
paren in it, or any other regexp special character.  Use
"string-contains" from srfi-13 instead.  Bug reported by Melinda Savoy:
http://lists.gnucash.org/pipermail/gnucash-user/2007-January/019028.html

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15414 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 00:04:45 +00:00
Derek Atkins 71837060b8 gtk_html_save needs an API with size_t instead of guint (#395553)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15395 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-17 15:54:47 +00:00
Derek Atkins ba16b67925 Fix a gnc:warning-dialog -> gnc-warning-dialog from swigification. #393596
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15318 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 17:42:17 +00:00
Derek Atkins 7a763898d3 Use G_GINT64_MODIFIER for qofmath test.
Fixes the problem Andreas noticed on amd64.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15304 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 00:12:19 +00:00
Derek Atkins d122eddbb6 Fix the printf routines in the qofmath tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15303 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:37:16 +00:00
Derek Atkins 078d3d0cd8 Uncomment the test-qofmath to make it easier to use.
Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:00:13 +00:00
Derek Atkins b7ddce32b3 Change around the test helper routines so we get the real test lineno.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 23:24:02 +00:00
Derek Atkins d930873b9b A few more changes for "make check" to succeed on MacOS-X.
It now does.  :)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15262 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 14:51:37 +00:00
Derek Atkins 088536f15b MacOS X needs core-utils in the library load path for "make check" to work.
While we're at it, might as well pull in libcore-utils.la, just in case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15261 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 13:54:25 +00:00
Derek Atkins 16496b9f74 Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-26 16:47:42 +00:00
Derek Atkins d622980bda lack of swig should be a fatal error (if building from SVN).
Fix AC_MSG_WARN -> AC_MSG_ERROR


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15256 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:53:05 +00:00
Derek Atkins c19e0cf151 MacOSX installed libtoolize as glibtoolize. Handle that in autogen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15255 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:38:10 +00:00
Derek Atkins 498d9d905b guile 1.8's SCM_EXACTP() throws an error when passed a non-number.
So make sure we test SCM_NUMBERP() before SCM_EXACTP()
This causes gnucash to crash on e.g. FC6 from the File Properties Menu.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15252 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 21:10:47 +00:00
Derek Atkins cf2c12f366 Update for 2.0.3 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15222 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-16 17:50:25 +00:00
Derek Atkins a70c7c4b88 Load and store a commodity's KVP-frame (IFF it's non-empty).
This would let us store something like an Asset Class.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 02:51:37 +00:00
Derek Atkins e838b75c64 Print out more information about "broken" splits.
Extends r15179 which should fix the crash of bug #379625
NOTE: it now prints zeros, which could confuse the user...
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15180 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-04 03:09:24 +00:00
Derek Atkins b4ca5382d8 Don't have aktzu in the "case" twice. Fixes #377519.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15128 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-21 14:56:24 +00:00
Derek Atkins a263c35be0 Remove the goffice tmpdir before rebuilding it
remove tmpdir when you reset the build.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 18:57:04 +00:00
Derek Atkins d5c54ea9ec fix a small syntax bug in the reset script.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 17:53:17 +00:00
Derek Atkins 066b651357 Use "passive FTP" with wget, to allow building behind a firewall
Create a 'reset' script to allow resetting the win32 build environment.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15048 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 17:51:02 +00:00
Derek Atkins d4aa5a2113 Don't wrap the GncOwner structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15034 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 21:46:25 +00:00
Derek Atkins c44823149a r13496@cliodev: warlord | 2006-10-16 22:29:43 -0400
Update for 2.0.2 release.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15027 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 02:31:45 +00:00
Derek Atkins 57cc5debe9 Don't pass a pointer to a pointer. It's just expecting the pointer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14908 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 20:36:56 +00:00
Derek Atkins 21f2f4e93e Missed one patch hunk in r14903.
We need stdlib.h for strtol().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14904 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:46:50 +00:00
Derek Atkins c7c9199800 Add the ability to override the default sort (#150799).
Override the Transaction Number to sort numerically.
	* lib/libqof/qof/qofclass.h:
	* lib/libqof/qof/qofquery.c:
	* lib/libqof/qof/qofquerycore-p.h:
	* lib/libqof/qof/qofquerycore.[ch]:
	  - Publish the QofCompareFunc prototype.
	  - Add a new QofParam param_compfcn parameter
	  - Change QofQuery to use the param_compfcn over the
	    default type compare function.
	  - create (and publish) a qof API to compare strings
	    as numbers:  qof_string_number_compare_func()
	* src/engine/Transaction.c:
	  Assign TRANS_NUM to use qof_string_numer_compare_func()



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14903 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:39:32 +00:00
Derek Atkins 8bf369217a Revert r14892 in order to try a different approach.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14902 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:30:05 +00:00
Derek Atkins f82c369b0e Implement SubQuery functionality in QOF: qof_query_run_subquery()
Now you can run one query off of the results of another query.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14901 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 23:47:09 +00:00
Derek Atkins 2bb357def4 Add a new QOF_TYPE_NUMSTRING to add numeric sorts. (#150799).
This new type is like QOF_TYPE_STRING but it sorts numerically
	  (first) and then sorts alphanumerically (by the tail of the
	  number).  Added the QOF Type, the gnome-search support, and
	  modified TRANS_NUM to use the new type.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 00:36:30 +00:00
Derek Atkins bb5646f42c disable lot scrubbing during Check & Repair (#357370).
Lots are supposed to be disabled in the 2.0 release until we
	  get the cap-gains code working.  IMHO the cap-gains code should
	  deal with extra txn splits instead of creating additional txns.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14888 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:51:29 +00:00
Derek Atkins b72c587350 suspend events around the Commit(). Fixes #347089 when combined with r14495.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14887 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:31:45 +00:00
Derek Atkins 5331629e4c Add pixmaps to RPM. Fixes #355695.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14839 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 05:17:41 +00:00
Derek Atkins 2c68876adf We don't have a mime-info. Fixes #355676.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14838 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 00:12:45 +00:00
Derek Atkins ddedcd6c79 RPM Build Requires libtool-ltdl-devel. Fixes #355656.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14837 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-12 22:36:39 +00:00
Derek Atkins e16fdddd01 and one more file needs strptime.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14751 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 16:31:35 +00:00
Derek Atkins 27f50aa954 need to include strptime.h so we get the declaration.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14750 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 16:20:12 +00:00
Derek Atkins 352d39d412 libqof/backend/file needs lib/libc for the missing libc functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14749 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 16:05:56 +00:00
Derek Atkins 877fdb9dca re-add gnc:gui-refresh-all, needed by a test, removed by r14619
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14748 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 15:42:30 +00:00
Derek Atkins 5520f3ade7 Patch goffice to deal properly with goffice.def
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14737 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-27 01:17:01 +00:00
Derek Atkins 08fe15b91d modify the goffice.def later in the build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14736 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-27 01:16:52 +00:00
Derek Atkins bed743aa1b Don't arbitrarily change configure.in.
This changeset lets us run this script multiple times
and it wont break configure.in.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14734 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 23:11:15 +00:00
Derek Atkins aa52b5aaea revert back to checking for libgoffice-0.3.pc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14733 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 23:06:35 +00:00
Derek Atkins f314229927 Check for libgoffice-0.3 before libgoffice-1.
(So we find "native" goffice-0.3.x on win32


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14732 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 22:59:23 +00:00
Derek Atkins 80146b4f58 Get goffice building properly.
- make sure it will build dynamically
- remove unknown symbols
- fix the intltool-merge problem by replacing intltool-merge


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14731 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 21:22:58 +00:00
Derek Atkins 2a4fa596bc msys sed doesn't understand "-i". Work around that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14727 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 06:03:02 +00:00
Derek Atkins 564086d1df More updates to the win32 build script.
- We need autotools before libgsf
- update the goffice build rule (but still not enabled)
- add the goffice patch.   Expand the patch.
- turn off the INTLTOOL_XML_RULE in the goffice makefiles.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14726 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 05:31:02 +00:00
Derek Atkins c66943e338 Add script code to build libgsf -- tested and works for me.
Add script code to build goffice (not enabled, yet).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14725 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 03:30:13 +00:00
Derek Atkins c9cb405d61 Be smarter about handling partially completed builds.
- Don't die when wget has already downloaded the file.
- add some more output during the auto-tools


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14724 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 01:48:48 +00:00
Derek Atkins 576b456485 use WORKING set +/-e construct.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14723 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 01:23:45 +00:00