Commit Graph
100 Commits
Author SHA1 Message Date
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
Derek Atkins f76c3bb344 Fix some typos. Deal with constructs that don't work with "set -e"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14722 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 01:19:44 +00:00
Derek Atkins 199617fa83 Update win32 script to be better about failing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14721 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 01:03:00 +00:00
Derek Atkins e71180c16a * move gnc-gtk-utils from core-utils to gnome-utils because
core-utils should not depend on gtk.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14626 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-09 17:48:00 +00:00
Derek Atkins e914708cc3 Adjust the "development version" message for the 2.0.1 release.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14587 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-31 13:22:31 +00:00
Derek Atkins 3ad22b5eb5 Allow proper compile/install from tarball using separate builddir.
- Don't distribute (most) generated files.
  - Be (more) consistent about when generated files are cleaned.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14555 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-25 13:25:26 +00:00
Derek Atkins 5fc3adca37 Now that we distribute the SX schema properly, don't skip it
in the POTFILES.skip file.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14554 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-25 13:25:16 +00:00
Derek Atkins 43dbf78b80 check for SLIB. (#347922)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14551 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-22 15:47:46 +00:00
Derek Atkins c9b30b2cf9 Compute the commodity scu from the ledger invoice (#300042).
This way the SCU is no longer hard-coded into the business ledger.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14545 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-20 01:14:55 +00:00
Derek Atkins 416596dabe Properly round invoice entries and totals. Fixes #300042.
Perform internal computations to LCD, but then export rounded values.
Now, using the test case in Bug #300042 I get the same values
in the invoice window, in the printable invoice report, and
in the CoA Registers.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14531 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-17 02:04:59 +00:00
Derek Atkins e20663cbd8 Allow comma-radix numbers without a radix. Fixes #142424.
I.e., allow "17.500" to be parsed either as "seventeen and a half"
or as "seventeen thousand five hundred".  Note that numbers STILL
default to decimal-radix instead of asking the user to choose.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14523 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 23:01:00 +00:00
Derek Atkins e7e959f54f Ignore any unknown !Option specification. Fixes #160735.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14522 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 23:00:52 +00:00
Derek Atkins 10e122f19e check for (g-wrap) module (#347680)
Apparently some distributions ship g-wrap-config separately
 from the g-wrap.scm guile module.
 BP
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14518 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 16:17:58 +00:00
Derek Atkins bdd43b708f Set the summary bar values when the window is first opened (#345978).
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14516 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 05:58:07 +00:00
Derek Atkins 76202b1b33 Make GncAddress more QOF compliant. (#343726)
Adds BeginEdit/CommitEdit calls.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14515 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 05:16:52 +00:00
Derek Atkins 37bfd1de1c check for (g-wrap gw-glib-spec) instead of (g-wrap) #347404.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14501 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 04:02:02 +00:00
Derek Atkins 0863f9d7ae make sure that po/POTFILES.in exists so configure doens't complain.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14500 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 01:33:53 +00:00
Derek Atkins 68400b50f6 Handle the case of a user who has svk but hasn't configured it. (#347403)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14489 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-12 19:50:44 +00:00
Derek Atkins 4ecc011749 Allow account-separator character in account names (#347321).
Revert to previous behavior of xaccGetAccountFromFullName()
 	  which was changed in r13467 when the function was restructured.
 	  This patch returns to the old behavior (but uses the new
 	  function structure).
 r12825@cliodev:  warlord | 2006-07-12 14:16:29 -0400
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14488 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-12 18:17:02 +00:00
Derek Atkins 5ec9378dc0 Check for g-wrap compile-time system and bomb out if it's not found (#347404).
r12822@cliodev:  warlord | 2006-07-11 01:05:15 -0400


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14484 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-11 05:07:45 +00:00
Derek Atkins a8fe56f887 The trunk is still a development branch. Make it say so.
r12820@cliodev:  warlord | 2006-07-10 19:42:41 -0400


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14483 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-10 23:43:00 +00:00
Derek Atkins a50040835c Consider certain control character as invalid UTF-8. Fixes #346535.
* src/core-utils/gnc-glib-utils.h
	* src/core-utils/gw-core-utils-spec.scm:
	  Remove the gnc_utf8_validate() API. It's not used anywhere.
	* src/core-utils/gnc-glib-utils.c:
	  Rework gnc_utf8_validate() as a copy-and-paste of g_utf8_validate
	  but ignore certain control characters between 0x00 and 0x20
	  that are not valid XML characters.  Fixes #346535.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14466 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-05 16:04:36 +00:00
Derek Atkins 4af13ca7c6 Use gnc-svnversion to detect development version or tarball version
Fix a case of a missing variable, missed from the last changeset.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14429 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 19:03:21 +00:00
Derek Atkins d069382f5d Remove warning messages from configure script used for testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14428 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:42:58 +00:00
Derek Atkins d86d61e227 Allow building from either SVN or SVK
- create gnc-svnversion script that builds the revision number
  from either SVN or SVK.  The script should fail gracefully if
  you don't have SVK installed
- convert the configure script to use the new gnc-svnversion script
- convert the splash-screen Makefile to use the gnc-svnversions script

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14427 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:34:35 +00:00
Derek Atkins b3a7e34a1e * configure.in: force-enable hbci if the user enables mt940
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14360 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-14 00:34:16 +00:00