Commit Graph
100 Commits
Author SHA1 Message Date
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
Derek Atkins 3366829dc2 Move the GLIB26 compatibility checks to configure.in.
Just modify GLIB_LIBS and GLIB_CFLAGS so everyone properly
	  links against the glib26 compatibility library when necessary.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14330 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 03:39:54 +00:00
Derek Atkins fd31b7caa7 swap the #includes so it builds on FC3 w/ glib-2.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14323 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 22:25:59 +00:00
Derek Atkins 4abbcdee4e Properly round values when setting the Base Value. Fixes #337505.
(also fix a string, but the fixed string is already translated so
shouldn't be a problem).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14317 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 05:15:08 +00:00
Derek Atkins acba90be80 Refactor the file backend into a shared library and a loadable module.
This should let us build on both Win32 AND MacOS, and means we don't
need to compile the file-backend sources multiple times.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14296 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-02 01:50:02 +00:00
Derek Atkins 5b46825ad2 * po/nb.po: updated Norwegian Bokmål translation by Sigve Indregard
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14289 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 23:06:01 +00:00
Derek Atkins ecf8603602 * configure.in: Don't need to patch libtool for darwin anymore.
Patch by David Reiser.
	* src/gnome-utils/dialog-preferences.c: fix non-C99 construct so
	  the file builds again.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 21:02:42 +00:00
Derek Atkins f71c7f04e0 remove some duplicated code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 20:30:43 +00:00
Derek Atkins 96a6c21df7 Updated Spanish Translation from Eneko Lacunza
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14258 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 20:26:02 +00:00
Derek Atkins 63dfe823fd QOF should load its own backend libraries.
It shouldn't depend on apps to load QOF libraries.
	  Make sure app-defined backends are used first.
	  Fix a memory leak in qofsession.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14208 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 21:45:10 +00:00
Derek Atkins 5d1ee59cfa force-exit gnucash if a required library can't be loaded.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14206 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 19:45:26 +00:00
Derek Atkins 177b31b397 load the qsf backend from the right place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 15:41:38 +00:00
Derek Atkins 1e9a1f874d Re-enable window sensitivity if the report fails. Fixes #341610
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14178 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 15:53:50 +00:00
Derek Atkins 38d01019bc re-add the test-druid menu item but leave it commented out
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14157 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-23 14:41:00 +00:00
Derek Atkins 4f88bb6db8 remove hook to test druid for 2.0 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14151 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-22 18:26:02 +00:00
Derek Atkins 4ea3753242 Get the RPM SPEC to build properly (should built from future tarballs)
* lib/libgsl/Makefile.am:
	  don't distribute the gsl specfiles
	* packaging/gnucash.spec.in:
	  fix for change of location of files.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14084 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-16 23:22:27 +00:00
Derek Atkins dfc22ebcb9 revert r14081 because we always have localtime_r.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14083 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-16 16:18:49 +00:00
Derek Atkins 2810b01eb6 need to link against gnome-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14080 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-15 22:21:06 +00:00
Derek Atkins 91f5ce9e92 * po/el.po: Updated Greek translation by Nikos Charonitakis
<nikosx@gmail.com>



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14065 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 23:22:30 +00:00
Derek Atkins 504f781c19 Fix the documentation of qof_query_merge for degenerate cases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14042 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 16:59:31 +00:00
Derek Atkins 953d77f0ef Disable the use of external QOF and make sure we can co-exist.
* lib/libqof/qof/Makefile.am:
	  change the name of our qof library
	* lib/libqof/backend/file/Makefile.am:
	  change the name of our qsf library
	* lib/libqof/qof/qof.h:
	  point to the newly named qsf library
	* configure.in:
	  Error out if the user calls --enable-qof
	  Change the name of the internal qof library and directories
	  so that our qof can co-exist with a "native" qof



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14032 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 16:23:00 +00:00
Derek Atkins b2c7e1a016 Use QSF #defines instead of hard-coding the library name and init-fcn
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14031 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 16:18:23 +00:00
Derek Atkins 528ceb0ad4 Make sure to properly define _GNU_SOURCE in sub-config files.
The build was broken without this.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14030 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 15:35:07 +00:00
Derek Atkins 8cc53fa2ae * configure.in: add $GUILE_INCS when testing g-wrap
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14019 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-11 03:04:32 +00:00
Derek Atkins ca2e68c145 Add some extra "don't shoot yourself in the foot" text to autogen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13992 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 20:42:00 +00:00
Derek Atkins d37b5e526d Same patch as qif-import/qif-parse.scm for guile-1.8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13989 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 13:11:30 +00:00
Derek Atkins 120a76c8d8 Bill Nottingham's patch to fix a guile parser problem during build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13980 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-09 22:44:07 +00:00
Derek Atkins 58d55d0822 Two string fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13800 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-18 18:05:14 +00:00
Derek Atkins 4921f27c79 Add new files to make the string freeze that define the
interface to choose a customer or vendor for a hand-entered
	  transaction.  Hopefully we can simplify the input by allowing
	  users to enter a transaction directly and assigning it to a
	  customer/vendor by hand (rather than going through the business
	  interfaces).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13793 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-16 22:25:39 +00:00
Derek Atkins cf565e278c need to #include gmodule.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13791 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 23:21:37 +00:00
Derek Atkins d9c78bd0fe Fix a bunch of 64-bit compile issues.
* src/engine/Transaction.c:
	* src/engine/test/test-date.c:
	* src/backend/file/test/test-dom-converters1.c:
	  Fix 64-bit compile: Use G_GUINT64_FORMAT instead of %llu or lld
	  for Timespec seconds.
	* src/app-utils/gnc-ui-util.c:
	  Fix 64-bit compile issues:
	  - Use QOF_SCANF_LLD instead of GNC_SCANF_LLD.
	  - Use QOF_SCANF_LLD and G_GINT64_FORMAT properly.
	  - replace %lld with G_GINT64_FORMAT



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13780 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 16:45:10 +00:00
Derek Atkins dd321449ce * lib/libqof/qof/qofbookmerge.c: fix a few memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13768 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 15:20:04 +00:00
Derek Atkins 422bf34bfe Get gnucash to build properly with the new QOF changes (0.6.4+)
* src/backend/file/sixtp-utils.c:
	  use QOF_SCANF_LLD to read 64-bit numbers.
	* src/gnome-utils/QuickFill.c:
	* src/engine/gnc-pricedb.c:
	* src/engine/Transaction.c:
	* src/engine/gnc-commodity.c:
	  convert gnc_string_cache* APIs to CACHE_* APIs.
	* src/engine/Account.c:
	  Properly convert usage of SAFE_STRCMP() to safe_strcmp()
	* src/engine/kvp-scm.c:
	  #include <qof.h> instead of <kvp_frame.h>
	* src/engine/gnc-engine.c:
	  Update the method used to shutdown QOF.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13765 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:20:12 +00:00
Derek Atkins f9d1f3e42f Create a QOF_SCANF_LLD (because we cannot use the printf version).
Keep the deprecated GNC_SCANF_LLD defined in terms of the new
QOF_SCANF_LLD.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13764 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:13:46 +00:00
Derek Atkins 5028d178ea Revert r13749. Wedon't need to explicitly #include glib.h
because qof.h includes it for us.  Also, this changeset contains
lots of other stuff that has nothing to do with glib.h.  Note
that this revision wont build, but I'll fix that shortly.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13763 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:49:44 +00:00
Derek Atkins 18700492c5 Back out r13752. We don't need to explicitly #include glib.h
because qof.h includes it for us.  Besides, it doesn't fix
the whole problem.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13762 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:14:34 +00:00
Derek Atkins aaa13ff290 * lib/libqof/qof/qof.h: QOF requires <glib.h>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13753 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 19:46:36 +00:00
Derek Atkins 1ce73dada8 link against GUILE_LIBS when building the test-link test app (#336007)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13700 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-25 21:03:46 +00:00
Derek Atkins 06fb33e72c open the bills due reminder at BOOK_OPENED instead of UI_START.
This gets us the bills-due reminder on File->Open as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13690 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 20:42:54 +00:00
Derek Atkins c7c57f38ae Missed a backslash. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13643 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:59:52 +00:00
Derek Atkins f8b67bd3f2 move file-backend dependency from core to core/file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13642 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:33:49 +00:00
Derek Atkins 2edfa44813 Move sources to remove the libgw-engine dependency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13640 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:29:09 +00:00
Derek Atkins dde1437f81 * lib/libqof/backend/file/qsf-backend.c: add <locale.h>
Note:  it think it's probably wrong to set the locale here.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13639 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:08:08 +00:00
Derek Atkins fe14d8341c fix the build-order (and install order) of the engine libs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13605 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 21:52:31 +00:00
Derek Atkins 3c37fe7edd translate "Thank you.." string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13602 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 19:43:21 +00:00
Derek Atkins 470625b385 Make sure we translate the button label string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13600 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 18:10:19 +00:00
Derek Atkins f3cbe0ce05 put ".links" into lib so rm -rf works properly from the top-level
of the source tree.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13593 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 23:32:53 +00:00
Derek Atkins ec2d9622e7 gnc:get-account-from-full-name requires two args, not three (#334170)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13590 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 22:16:15 +00:00
Derek Atkins 45403651c5 Define and emit two new events when splits are added/removed from accounts.
* src/engine/gnc-event.h:
	  Add GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED event definitions
	* src/engine/Split.c:
	  Emit GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED events
	  when a split is added or removed from an account.
	* configure.in: depend on QOF 0.6.3 for proper event handling.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13548 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:58:00 +00:00
Derek Atkins db890792bb Fix the definition of QOF_EVENT_BASE; use QOF_EVENT__LAST for tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13546 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:33:00 +00:00
Derek Atkins 9d84d59f97 gstdio.h and g_mkdir are in glib-2.6 -- use old APIs with glib-2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13543 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 21:22:40 +00:00
Derek Atkins 2e658ee940 properly ignore the return value of fgets(). Fixes an FC4 error.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13514 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 15:19:19 +00:00
Derek Atkins 7f4c6402e0 Don't suggest that users use --enable-error-on-warning
We turn it on by default, and the auto-check is "better".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13496 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-05 20:24:04 +00:00
Derek Atkins db865d6047 A different tact to test enable-error-on-warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13495 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-05 19:57:37 +00:00
Derek Atkins 708e9ed990 * configure.in: change the g-wrap 1.3 + GCC4 behavior.
only warn the user (not blow out) if they explicitly request
	  --enable-error-on-warning.   But still blow out if they
	  didn't specifically request it and we turned it on by default.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13493 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-05 19:33:00 +00:00
Derek Atkins c284683b36 Fix a compiler warning so the code builds properly:
- warning: suggest parentheses around assignment used as truth value



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13489 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-05 15:40:33 +00:00
Derek Atkins 516b99efd8 error out on g-wrap-1.3, gcc4, and error-on-warning. Fixes #330615.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13454 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-03 15:57:51 +00:00
Derek Atkins 6400f24335 Andrew Sackville-West's patch to add transaction links.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13431 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 19:14:57 +00:00
Derek Atkins 35d4341b1c Bill Nottingham's spelling fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13430 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 06:18:57 +00:00
Derek Atkins b67d5a7e99 Don't need to translate placeholder labels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13412 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 15:16:58 +00:00
Derek Atkins ac4ae4e58e Rework of Titi Ala'ilima's patch to apply payments directly to invoices. (#121420)
Apply a re-work of Titi Ala'ilima's patch to apply payments
	directly to invoices.  This fixes bug #121420.
	* src/business/business-core/gncInvoice.[ch]:
	  Add argument to the ProcessPayment API to allow the caller
	  to specify an invoice to post to first.
	* src/business/business-gnome/business-gnome-utils.[ch]:
	  Create an invoice-select API that lets you select an invoice
	  based on an owner (or not).  I.e., you can limit the invoice
	  search based on a selected owner.  If you change the owner
	  it invalidates the invoice search.
	* src/business/business-gnome/dialog-payment.[ch]:
	  Change the API from ..new_with_value() to ..new_with_invoice().
	  Pull the default amount from the invoice (if one exists).
	  Allow the user to select an invoice and apply payments there.
	  If the user changes the owner, invalidate the invoice.
	* src/business/business-gnome/business-options-gnome.c:
	  use the new invoice-select API instead of calling general_search
	  API directly.
	* src/business/business-gnome/dialog-invoice.c:
	  call the new dialog-payment API.  No need to compute the initial
	  value here; the payment dialog will compute it from the invoice
	  (instead of computing it from the invoice here).
	* src/business/business-gnome/glade/payment.glade:
	  Add invoice-selector label and box.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13411 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 05:42:45 +00:00
Derek Atkins 15cb6d2214 add QOF_LIBS to link line because debian libtool is broken.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13367 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 17:16:11 +00:00
Derek Atkins eb29ffd9f8 force a build from svn to have access to svn version info.
this might break the broken ebuild that forcibly removes the
	  .svn directories, but the ebuild is broken and shouldn't do that.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13366 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:39:05 +00:00
Derek Atkins 5cd8bdf5a1 include gtk-compat.h so we build against gtk-2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13365 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:35:25 +00:00
Derek Atkins b5713ba30c * configure.in: fix the qof configure test for OSX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13332 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:45:11 +00:00
Derek Atkins e4bca4ad0b Allow nested begin/commit in xaccTransSetTxnType(). Fixes #331771.
The old code wouldn't let you set the value if you were already
	  within a BeginEdit/CommitEdit block.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13316 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 04:40:06 +00:00
Derek Atkins 9606f87741 Phil Longstaff's patch to make the GUID length a magic number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13309 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 23:41:53 +00:00
Derek Atkins 4908c23154 Don't let users post negative invoices. (#166864)
Pop up an error dialog and prevent the post.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13304 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:43:28 +00:00
Derek Atkins ead7057358 A few tests to improve get_random_query() and fix a couple test bugs.
- Prefer QUERY_AND and QUERY_OR over NAND, NOR, XOR
	  - Don't randomly generate a gnc_numeric with a 0 denominator.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13300 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 19:29:51 +00:00
Derek Atkins 7d0228fa58 Use glib's gi18n.h instead of redefining gettext.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13299 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 19:28:28 +00:00
Derek Atkins 584f16aa36 Remember the last-used account when processing payment (#329725)
* src/business/business-core/gncOwner.[ch]: Add api to get owner
	  kvp-slots abstractly.
	* src/business/business-gnome/dialog-payment.c: Load/save the
	  last-used transfer account whenever the owner changes or
	  the dialog completes.
	  Fixes #329725.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13298 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 18:20:18 +00:00
Derek Atkins 3684d8a444 Brian's patch to add company-id to the company address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13296 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 16:32:49 +00:00
Derek Atkins 57115770d6 Pop up a warning dialog if the user has no valid post-to accounts. Fixes #331730.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13295 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 16:22:21 +00:00
Derek Atkins 33133b87f0 Make sure we use tabs, not spaces, in the transaction log (#331620)
* src/engine/TransLog.c:  use TABS not SPACES for column separators
	* src/import-export/log-replay/gnc-log-replay.c: use printf
	  so we don't have a tab->space conversion problem like we
	  did in TransLog.c
	  Fixes #331620.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13294 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 15:23:15 +00:00
Derek Atkins 2b266cac25 Also report an error dialog if the fopen() fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13293 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 16:53:45 +00:00
Derek Atkins 46b1c64d77 display an error dialog when we fail to parse a log file
due to EOF or a bad header parsing.  Fixes #331620 based
on the test-case.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13292 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 16:45:50 +00:00
Derek Atkins d6b618a92d * intl-scm/xgettext.scm: remove the absolute path from filenames
* intl-scm/Makefile.am: pass the absolute path to xgettext.scm



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13291 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 14:39:21 +00:00
Derek Atkins d13a38cf25 * configure.in: autodetect OFX and use it if we find it.
the --enable/disable-ofx will make the check fatal on failure
	  or skip it altogether if you want to ignore an existing libofx.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13286 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 02:49:47 +00:00
Derek Atkins a55a6b3ae5 * configure.in: remove un-needed/wanted gsf/goffice configure options
* macros/g-wrap.m4: fix the help text spacing.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:32:16 +00:00
Derek Atkins d2221209ac Fix a double-set of CLEANFILES.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13284 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:31:09 +00:00
Derek Atkins 6d15e9e2ca scrub the transaction for a currency after we replay. (#143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13283 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:47:13 +00:00
Derek Atkins 6aec7f5a94 Don't pass NULL to ferror() (from bug #143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13282 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:31:29 +00:00
Derek Atkins 3fcedbca8e Make the build work if the build directory is not the source
directory.  Also symlink .scm files into the build directory
          so it's possible to run from it.
	  Also fix "fin.scm installed twice", bug #168629.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13281 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 20:22:54 +00:00
Derek Atkins 8f98e8a109 * lib/libqof/qof/Makefile.am: add qofla-dir.h to DISTCLEANFILES
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13279 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 06:07:17 +00:00
Derek Atkins ba4a80579a need g_type_init() because we don't actually "load" the file backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13278 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 06:06:25 +00:00
Derek Atkins b481174d1f move jsled's g-type initialization into the module init
this way we don't need to worry about it in every test app.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:50:37 +00:00
Derek Atkins bb9dbe25e7 combine XML_{CFLAGS,LIBS} into LIBXML2_{CLFLAGS,LIBS}
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13276 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:31:37 +00:00
Derek Atkins 0c2cc63b56 get --disable-gui configure switch to actually do what we want.
- Move a bunch of configure code around in the file.
	  - Don't look for goffice/gsf if we ask for --disable-gui
	  - add a few more comments
	  - no need to check for libxml2 twice  (more work to do here).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13275 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:07:31 +00:00
Derek Atkins 22e48923c7 set the document title properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13270 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 16:42:29 +00:00
Derek Atkins 25bb23b8d0 Small QOF build fix for dist and non-srcdir builds:
* lib/libqof/qof/Makefile.am: keep qofla-dir.h out of the dist
	* configure.in: look in builddir for qof includes.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13269 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 16:19:17 +00:00
Derek Atkins f53542a337 Fix a typo; forgot one procedure name-change instance.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13268 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 15:16:45 +00:00
Derek Atkins 1ae86e7c23 Mention libtool-ltdl-devel for FC4 if ltdl.h is missing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13265 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 01:33:07 +00:00
Derek Atkins b9525a269e Andrew Sackville-West's patch to add display options and fix
the multicurrency patch.  Fixes #314554 and #330577.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13264 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-14 23:48:52 +00:00
Derek Atkins b4e25ac2e4 use glib macro instead of cast to convert pointer to int. Fixes #330581.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13257 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 16:23:30 +00:00
Derek Atkins effc0e7a9c Revert advanced-portfolio.scm r13244 because it breaks the report.
* src/report/standard-reports/advanced-portfolio.scm:
	  revert r13244 in this file because it's badly formed and
	  breaks the report.  Reopened bug #314554.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13252 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 05:05:55 +00:00
Derek Atkins f06a206c07 Error out of autogen if one of the programs fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13251 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 03:32:10 +00:00
Derek Atkins 61562b683a depend on autoconf 2.59 and automake 1.9
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13250 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 03:28:50 +00:00