Commit Graph
100 Commits
Author SHA1 Message Date
Derek Atkins 52514db6fa Some gnc-numeric fixes (more to come).
- Fixes for handling reciprocal values.
	  - Mark a lot of places where potential overflow bugs
	    are not handled.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13107 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 01:41:27 +00:00
Derek Atkins 3c92b8702f Specify the output xml encoding as utf8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13078 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 15:55:16 +00:00
Derek Atkins 01d822475c Copy the mt940 UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13077 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:39:09 +00:00
Derek Atkins 0fe77b9c0e Copy the HBCI UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13076 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:35:41 +00:00
Derek Atkins 8317f2a72b Copy the OFX UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13075 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:34:43 +00:00
Derek Atkins eb7c14d20b No need for the blank SUBDIRS +=
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13074 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 04:12:19 +00:00
Derek Atkins 06824ca8f5 Disable testing of the (not finished) qif import re-write.
(the tests fail on amd64).  Since this code isn't used,
yet, there's no need to actually run these tests.  But let's
distribute the code anyways....



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13073 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 01:22:23 +00:00
Derek Atkins 7ecd0df390 Allow specification of invoice sub-type when creating search dialog (#117354)
* src/gnome-search/dialog-search.c:
	* src/gnome-search/dialog-search.h:
	  Modify the gnc_search_dialog_create() API to add an optional
	  "type label" parameter, so you can manually set the string
	  presented to the user for what they are searching for...
	* src/business/business-gnome/dialog-order.c:
	* src/business/business-gnome/dialog-vendor.c:
	* src/business/business-gnome/dialog-customer.c:
	* src/business/business-gnome/dialog-job.c:
	* src/business/business-gnome/dialog-employee.c:
	* src/gnome/dialog-find-transactions.c:
	  Pass NULL into new search API parameter
	* src/business/business-gnome/dialog-invoice.c:
	  Modify how we call the search dialog.  Send in different
	  sets of parameters depending on whether we're searching for
	  a Customer Invoice, Vendor Bill, or Employee Expense Voucher.
	  Pass in a type_label as well so the dialog can properly label
	  the "new" button.  This fixes the UI Bug #117354.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13071 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 22:57:30 +00:00
Derek Atkins 757ab689ca Re-sort an invoice entry list when an entry date changes (#320566)
* src/business/business-core/gncInvoice.[ch]:
	  Add new API: gncInvoiceSortEntries()
	* src/business/business-core/gncEntry.c:
	  re-sort the parent when the entry date changes.
	  Only re-sort when the existing date is non-zero (i.e.
	  don't re-sort on the initial setting of the date).
	  Fixes #320566.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13069 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:49:06 +00:00
Derek Atkins 5c94f54a4b Need to put the new split into the txn as well as the acct
before we call xaccSplitSetBaseValue().  Fixes #325890.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13068 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:23:54 +00:00
Derek Atkins 1adcc37a8a Get libqof to link against glib and gmodule.
* configure.in: include gmodule in GLIB_LIBS
	* lib/libqof/qof/Makefile.am: link libqof against glib.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13058 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 16:29:01 +00:00
Derek Atkins da38b024da Need to insert splits into accounts before called xaccSplitSetBaseValue().
* src/business/business-core/gncInvoice.c:
	  Make sure to insert new splits into an account before we
	  set the Base Value..  Otherwise it will fail to set the
	  value properly.  Closer to fixing 325890, but it's still
	  not completely fixed.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13053 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 17:17:33 +00:00
Derek Atkins ff3e769845 Um, there is no "PDEBUG()", only "DEBUG()". Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 06:43:41 +00:00
Derek Atkins 8a0f2cf7e3 Clear up the billterm data lossage (due to a broken enum definition).
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
	* src/business/business-core/file/gnc-bill-term-xml-v2.h:
	  Add a new API to "find-or-create" a billterm so all the
	  code is collated in one location.
	  Add more debugging during the scrub phases.
	* src/business/business-core/file/gnc-invoice-xml-v2.c:
	* src/business/business-core/file/gnc-vendor-xml-v2.c:
	* src/business/business-core/file/gnc-customer-xml-v2.c:
	  Use the new bill-term find-or-create API
	* src/business/business-core/gncBillTerm.c:
	  add some additional debugging
	* src/business/business-core/gncBillTerm.h:
	  The Billterm Type ENUM must start at 1, not zero.  The data file
	  now appears to properly save itself without destroying data.
	  Fixes rest of #328790.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 05:57:08 +00:00
Derek Atkins 3ab99cab85 Properly save the guid of owners (partial fix for 328790).
* src/business/business-core/file/gnc-owner-xml-v2.c:
	  GncOwner is not a QOF_INSTANCE.  Get the GUID correctly.
	  Fixes part of #328790 (but not all of it).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13000 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 17:23:47 +00:00
Derek Atkins ed2263acdb Get "make distcheck" to work....
* src/import-export/test/Makefile.am:
	  Added src/scm directory to test environment
	* lib/goffice-0.0.4/Makefile.am:
	  Don't install libgoffice-1.pc, but distribute it
	* lib/libgsf-1.12.3/tests/Makefile.am:
	  Link to the proper location of libgsf-1.la
	* lib/libgsf-1.12.3/Makefile.am:
	  Don't install the gsf .pc files, but distribute them.
	* lib/Makefile.am:
	  Use DIST_SUBDIRS to distribute qof, gsf, and goffice
	* configure.in:
	  fix QOF_LIBS to use builddir, not srcdir
	* Makefile.am:
	  add po/POTFILES.in to the dist
	  link gsf into the srcdir, not the builddir
	* src/report/report-system/Makefile.am:
	  make sure we distribute gw-report-system.h
	* src/bin/Makefile.am:
	  clean i18n.h in distclean



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12992 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 21:49:03 +00:00
Derek Atkins ce1cddaf6a Commit the msgmerge to reduce the time a clean-checkout "distcheck" takes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12991 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 18:09:33 +00:00
Derek Atkins 8277d869c7 * configure.in: fail if we find libgsf >= 1.12.2 but not libgsf-gnome.
This is instead of configure succeeding and then failing the
	  build later.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12983 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 19:01:16 +00:00
Derek Atkins ba731b6fbd * src/engine/test/Makefile.am: add explicit libdep on libcore-utils.la
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12971 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 01:20:03 +00:00
Derek Atkins 28f2785c9e Need to add a PATH for the tests to succeed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12929 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-22 00:32:08 +00:00
Derek Atkins 36f92f2d23 Thomas Klausner's NetBSD patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12928 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-22 00:27:11 +00:00
Derek Atkins 15ac05406c And don't forget to export the API.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12927 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-21 21:23:02 +00:00
Derek Atkins 67df833829 Replace missing API for config-file loading.
* src/app-utils/prefs.scm: replace an API needed by old scheme
	  config files.  It was removed in r11565.  Replace it now.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12926 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-21 21:20:44 +00:00
Derek Atkins 90b28bb880 * src/bin/gnucash-bin.c: update splash screen while loading modules.
Granted, this has no effect because the splash screen isn't
	  /UP/ when we're loading the modules.  But still, once we
	  initialize the gnome application earlier this will let us
	  update the splash screen.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12925 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-21 19:57:51 +00:00
Derek Atkins dffd616761 Continue to load config.auto even if we find config.user.
* src/bin/gnucash-bin.c: Load config.auto AND config.user files.
	  Load the .user file first, and then load the .auto.
	* src/scm/Makefile.am:  paths.scm was removed.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12913 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-21 04:12:31 +00:00
Derek Atkins f53d3b3151 Fix a fencepost error.
Fixes a crash trying to reload a file with empty windows.
(there's still another bug which is that we should ignore empty windows)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12903 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 19:34:23 +00:00
Derek Atkins 7bbe9277ba Get the code to compile against glib-2.4 again.
* src/business/business-gnome/dialog-invoice.c:
	  need to #include gkeyfile.h for glib24 systems
	* src/business/business-gnome/Makefile.am:
	  link against glib26 compatibility library.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12896 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 17:15:46 +00:00
Derek Atkins 02153f897e Print SVN version information more often.
* src/bin/gnucash-bin.c:
	* src/gnome-utils/gnc-splash.c:
	  Always print the SVN version and build date.
	  Make "development version" based on GNUCASH_SVN
	* src/gnome-utils/Makefile.am:
	  Define GNUCASH_SVN whenever the source is not a dist tarball.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:54:37 +00:00
Derek Atkins d9a99b743f Get gnucash-bin to compile...
- Need to #include "config.h" first.
- Need to make gnucash_command_line static.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12840 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 15:57:09 +00:00
Derek Atkins 5bc3898c4d Fix the build so Chris' command-line processing works.
* src/bin/Makefile.am:  Fix some srcdir/builddir issues
	  with #includes and libraries.
	* src/Makefile.am:  Move 'bin' last so that it's built
	  after gnome-utils so Chris' change works.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12839 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 15:49:17 +00:00
Derek Atkins d78854a3a3 * configure.in: us AM_PATH_GWRAP properly. Exit configure on failure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12369 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 16:50:57 +00:00
Derek Atkins 0775cdbe6d * src/gnome/dialog-new-user.c: some fixes to get file to compile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12361 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 00:24:17 +00:00
Derek Atkins 5c311d702a * lib/libqof/qof/Makefile.am: qofla-dir.h depends on Makefile.
Make sure you rebuild qofla-dir.h when the Makefile changes,
	  which would imply re-configuration.  You never know, the
	  user might have changed --prefix which means you want to
	  rebuild the header.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12349 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-14 02:01:30 +00:00
Derek Atkins cc0f0b205c * configure.in: Properly set QOF_LIB_DIR et. al. for internal qof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12348 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-14 01:53:47 +00:00
Derek Atkins 5d932d635a Don't install goffice and gsf headers.
* goffice/*/Makefile.am:
	* libgsf/*/Makefile.am:
	  don't install goffice and gsf headers.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12347 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 23:57:36 +00:00
Derek Atkins fe153377d4 Fix a typo. Need a backslash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12346 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 22:18:31 +00:00
Derek Atkins 9dd9d3a8f8 Remove old gnucash and gnucash-valgrind override scripts.
* src/bin/overrides/gnucash
	* src/bin/overrides/gnucash-valgrind
	* src/bin/overrides/Makefile.am:
	  remove unnecessary override files that are no longer useful.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12345 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 21:57:06 +00:00
Derek Atkins 0d571c1848 Revert 12296 -- provide a better fix for gentoo ebuild.
* src/gnome-utils/Makefile.am: revert 12296 and handle the
	  case of an svn checkout without .svn subdirs (gentoo ebuild).
	  In particular, we want to use $(srcdir)/gnc-svninfo.h
	  so that a build from a dist tarball has the svn version.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12344 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 21:50:36 +00:00
Derek Atkins 63a0e08289 Get GnuCash to run out of the build tree again.
At least, --version works now.

	* src/bin/overrides/gnucash-build-env.in:
	  Change core-utils to a gnc-module-dir so it loads both
	  the .scm and the .so properly.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12340 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 17:41:53 +00:00
Derek Atkins 3cd6b337ea * configure.in: fixes to make configure more quiet
- move PKG_CONFIG check early in the process
	  - use --silence-errors more
	* macros/pkg.m4: work around a pkg-config bug that outputs
	  errors to stderr even when you tell it to output to stdout.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12332 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 22:47:08 +00:00
Derek Atkins 49a17f3425 * configure.in: add --enable-qof so build defaults to internal qof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12331 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 21:44:08 +00:00
Derek Atkins efe7f9c4e6 ignore dangling symlinks when building po/POTFILES.in
* make-gnucash-potfiles.in: ignore dangling symlinks when
	  building po/POTFILES.in



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12312 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 22:10:22 +00:00
Derek Atkins bc7964de49 * Makefile.am: fix the dist-hook macro for po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12302 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:29:47 +00:00
Derek Atkins 98f3494c27 need to #include gkeyfile.h if we don't have glib26.
* src/gnome-utils/gnc-tree-view-account.c:
	* src/gnome/gnc-plugin-page-budget.c:
	  need to #include gkeyfile.h if we don't have glib26.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-02 22:32:18 +00:00
Derek Atkins e9149d926a raname internal fmin() to gogi_fmin().
* lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c:
	  rename 'fmin()' to 'gogi_fmin()' to prevent double
	  declaration on MacOS.  It's an internal (static) function
	  so we can safely rename the function.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12184 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-27 15:41:07 +00:00
Derek Atkins e72d156c03 Some changes to get code to compile on Solaris.
* configure.in: g-wrap 1.9.6 can define the module-dir as
	  share/guile/site -- we want to make sure to get rid of
	  the /site when computing the libdir from this.  Otherwise
	  the runtime will fail to find the g-wrap runtime libraries.
	* src/gnome-utils/gnc-currency-edit.c:
	* src/business/business-gnome/business-urls.c:
	  include <strings.h> to compile on Solaris.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12154 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-09 18:28:42 +00:00
Derek Atkins d0206f3217 Remove dependency on gtk-doc from private libgsf build.
* configure.in:
	  - remove libgsf/doc*
	  - remove GTK_DOC checks
	* lib/libgsf/Makefile.am: remove 'doc' from SUBDIRS and
	  remove distcheck extra flags.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12137 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-06 19:24:42 +00:00
Derek Atkins bb34345b6a remove gsf and goffice po dir from configure script.
* configure.in: remove libgsf/po/Makefile and goffice/po/Makefile
	  because we never build these directories.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12136 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-06 19:02:07 +00:00
Derek Atkins e16e517092 Update svn version grabbing code.
* src/gnome-utils/Makefile.am: Grab svn version using
	  svnversion instead of parsing "svn info".  Also make it
	  so that it doesn't force a rebuild if the version does
	  not change.
	* src/gnome-utils/gnc-splash.c: changed svn version
	  from an integer into a string.  Handle that in the
	  splash screen.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12098 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 22:21:43 +00:00
Derek Atkins eb88bd88f9 Get goffice merge to build on FC3 again.
* configure.in: fix some of the output strings
	* lib/libgsf-1.12.3/gsf/glib24_26-compat.c:
	  make g_get_filename_charsets static because it's not
	  needed outside this file.
	* lib/goffice-0.0.4/goffice/glib24_26-compat.c:
	  make _g_compute_locale_variants static because it's
	  not needed outside this file.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12097 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 22:11:34 +00:00
Derek Atkins 4ea2948c1f * macros/autogen.sh: don't warn the user about running
configure with zero arguments.  Autogen doesn't run
	  configure anymore.  This confused a user.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12091 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 15:27:20 +00:00
Derek Atkins 51dbc58b59 use LANG=C instead of LANG=en_US
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12010 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 00:27:20 +00:00
Derek Atkins dfb0f29121 run "svn info" in en_US locale
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12009 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 00:19:06 +00:00
Derek Atkins d9d3520ea5 * src/gnome-utils/Makefile.am: exit if "svn info" fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12008 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-21 23:53:57 +00:00
Derek Atkins d1303d7fdd Update patch to explain which versions of gtkhtml are required.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11977 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-19 06:36:08 +00:00
Derek Atkins 9ee2e12585 Derrick Hudson's patch to tell users that they need gtkhtml-3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11973 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-18 18:44:52 +00:00
Derek Atkins a4b084d8c2 Remove Andreas Köhler test.
(final test for commit email)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11951 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 23:19:38 +00:00
Derek Atkins bf99c7bbe7 Test for Andreas Köhler.
( testing commit script)



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11949 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 23:08:24 +00:00
Derek Atkins c0c7a80840 Test for Andreas Köhler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11948 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 22:58:22 +00:00
Derek Atkins 3c4f5ff429 Test for Andreas Köhler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11947 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 22:54:31 +00:00
Derek Atkins 04eb0593b5 Fix David Reiser's compile problem on OSX with gcc-3.3.
* src/core-utils/gnc-gkeyfile-utils.c: cast the
	  printf so we don't warn when sizeof(ssize_t) !=
	  sizeof(int).  In this case the cast is safe because
	  we can only write an int-size of data.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11925 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-14 01:49:52 +00:00
Derek Atkins 35e7ebec71 Use the svn info for the splash screen info.
* configure.in: don't need GNUCASH_CVS anymore
	* src/gnome-utils/Makefile.am:
	  build gnc-version.h and gnc-svninfo.h.  add the
	  latter to EXTRA_DIST.  Only build svninfo if
	  $(srcdir)/.svn exists.  #define GNUCASH_SVN
	  when that directory exists (at buildtime).
	* src/gnome-utils/gnc-splash.h: use new SVN info.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11787 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 18:14:48 +00:00
Derek Atkins 02dbf6e134 Yet another cvs-acl test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11559 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-10-31 19:31:01 +00:00
Derek Atkins 6c05541b63 Testing commit. This should fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11558 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-10-31 18:59:52 +00:00
Derek Atkins e5ab6b7529 Fix recursion in gnc:owner-get-owner-id (reported by Chase James).
* src/business/business-core/business-core.scm:  need to
	  properly recurse in gnc:owner-get-owner-id.  there is no
	  gnc:owner-get-id API.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11263 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-08-15 12:54:21 +00:00
Derek Atkins 9f9ce9c60a * acinclude.m4: Add mips, mipsel, arm, and m68k for Debian.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10901 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-17 03:25:29 +00:00
Derek Atkins 833abd9e0e Fix to find glade symbols on some *BSD systems.
* src/gnome-utils/dialog-utils.c: When trying to load the symbol
	  from a glade file, Fall back to dlsym() if g_module_symbol()
	  fails.  This is necessary to find the symbols on on certain *BSD
	  systems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10899 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-16 22:27:00 +00:00
Derek Atkins 321d3e2473 Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10454 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Derek Atkins d84d59488e Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10453 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Derek Atkins 0221866afe Make sure us.scm is distributed.
* src/report/locale-specific/us/Makefile.am: make sure the
	  scheme reports are part of the DIST.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10449 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 04:08:23 +00:00
Derek Atkins ca6e053320 Add extra debugging (#165571).
* src/engine/Scrub.c:
	* src/engine/Transaction.c:
	  Add the transaction guid to some error warning messages.
	  Fixes #165571.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10445 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-31 01:20:52 +00:00
Derek Atkins 408f77d8b8 * src/engine/Account.c:
- updated implementation of qofAccountSetParent().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10443 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 22:45:25 +00:00
Derek Atkins a8102f258b Neil Williams' QOF sync patch.
* This patch updates the QOF merge code to current QOF to bring
	  the HEAD branch into sync. This update also makes
	  qof_book_merge_param_as_string output strings that are
	  compatible with QSF: using false instead of FALSE in string
	  output and using the QSF_XSD_TIME for the datestrings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10440 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 21:06:20 +00:00
Derek Atkins 46cac7318c Fix ACCOUNT_NSCU Qof Param getter.
* src/engine/Account.c:
	  This patch fixes: (QofAccessFunc)xaccAccountSetNonStdSCU in
	  src/engine/Account.c - that's a Set routine allocated as a
	  QofAccessFunc - the patch changes it to the appropriate Get
	  routine - the QofSetterFunc is OK.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10439 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 16:16:35 +00:00
Derek Atkins fd5ffd6e1d Thomas Bushnell's patch to protect non-backup pruning (#164875).
* src/backend/file/gnc-backend-file.c:
	  When working on the file foo.xac, backups are named
	  foo.DATE.xac.  But the backup file pruner will prune any old
	  file named foo.DATE.anything.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10435 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 19:03:28 +00:00
Derek Atkins c7c41453ca David Montenegro's patch for bugs #95551, #124367.
* src/report/standard-reports/account-summary.scm:
	  Rewrote account summary report. Now has fields for
	  more account metadata. Properly handles mixed
	  asset/liability subaccounts.
	* src/report/standard-reports/html-acct-table.scm:
	  Added functionality (account-type &c) and bug fixes
	  (lone zb subtotals, spurious 'recursive-bal, typos)
	  needed to make the new account-summary.scm work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10434 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 18:54:12 +00:00
Derek Atkins b2390c772e Properly accumulate splits (bug #165053).
* src/business/business-core/gncInvoice.c: Properly accumulate
	  splits (bug #165053).  Also fixes a (related) memory leak
	  (caused by the same lack-of-reference to accumulated splits).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10424 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-24 04:33:29 +00:00
Derek Atkins 3227f56daf * Neil William's patch to remove static mergeData context.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10414 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-15 20:16:09 +00:00
Derek Atkins d5c24533d7 Chris Shoemaker's typo-fix patch.
* src/engine/qofbook.h:
	* src/engine/qofid.h:
	  general fixed typos and comments


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10399 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:52:53 +00:00
Derek Atkins c04bbaf639 Chris Shoemaker's gnc-trace patch.
* src/engine/gnc-trace.[ch]:
	  - Recent use of malloc in gnc-trace breaks my compile, use g_malloc
	  - Fix leak of filename mem
	  - add indenting of trace file according to ENTER/LEAVE stack depth
	  - have ENTER report file name of function along with function name


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10398 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:50:37 +00:00
Derek Atkins 8d2cb86f8b John Ellson's patch to fix some gcc4 warnings (bug #162582).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10396 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 18:38:03 +00:00
Derek Atkins 4417e511a9 Rich Johnson's patch to include private structures in the doxygen docs.
* src/doc/doxygen.cfg.in:
	  extract local classes = yes
	  don't exclude *P.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10378 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-17 15:56:30 +00:00
Derek Atkins b4bf5cb9b8 Neil Williams' patch to fix the book-merge test.
* src/engine/test/test-book-merge.c: targetEnt is always NULL
	  during MERGE_NEW so don't test it in that case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10362 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 15:35:52 +00:00
Derek Atkins 5f1900daa3 Get test-numeric working.
* src/engine/test/test-numeric.c:
	  Make sure we use gint64 instead of gint when trying to test
	  values > 2^32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10361 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 00:34:37 +00:00
Derek Atkins e131c27fc2 Include libxml headers during compile (#121026).
* src/backend/file/Makefile.am:
	* src/backend/file/test/Makefile.am:
	* src/business/business-core/file/Makefile.am:
	  Need to include GNOME_XML_CFLAGS to make sure the libxml includes
	  are found during the compile.  Fixes #121026.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10360 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 23:01:42 +00:00
Derek Atkins 8d05aae712 Increase the max dup-trans number to 1Bill (#152772).
* src/gnome/glade/register.glade:
	  Increase "number" spin box to a maximum of 1billion.  Fixes #152772.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10358 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 22:32:37 +00:00
Derek Atkins 6bd18fe4f1 Send an 'invoice modified' event when a payment is applied (#139092).
* src/business/business-core/gncInvoice.c:
	  send an event when a payment is processed so the invoice gets
	  updated as "paid" in the search window.
	  Fixes #139092.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10356 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:56:41 +00:00
Derek Atkins 62783cc63d Set the query search type in the vendor dialog (#141526).
* src/business/business-gnome/dialog-vendor.c:
	  Make sure we set the proper search-type when we create the
	  query, otherwise the search will fail later.
	  Fixes #141526.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10353 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:25:21 +00:00
Derek Atkins d34a56a548 Stephen Evanchik's trace crash patch.
* src/engine/gnc-trace.c: Try a few different filenames for
	  the trace log and if all else fails fall back to stderr.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10347 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:20:08 +00:00
Derek Atkins 5ac580b06f * src/business/business-ledger/Makefile.am: add explicit
dependency on business-utils.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10346 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:18:17 +00:00
Derek Atkins a6ee03383b Fix parameter order to match C file (thanks for Erwin Rieger).
* src/engine/gw-engine-spec.scm:
	  Fix parameter order to match C file (thanks for Erwin Rieger).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10318 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:17:52 +00:00
Derek Atkins 1a43c812b0 James Strandboge's "Easy Invoice" patch.
* src/business/business-reports/Makefile.am:
	* src/business/business-reports/business-reports.scm:
	* src/business/business-reports/easy-invoice.scm:
	  add "easy invoice" code.
	* src/business/business-utils/business-prefs.scm:
	* src/business/business-utils/business-utils.scm:
	  add preferences for the business ID, used in the easy invoice.
	* src/report/stylesheets/Makefile.am:
	* src/report/stylesheets/stylesheets.scm:
	* src/report/stylesheets/stylesheet-easy.scm:
	  add "easy stylesheet" code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10317 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:10:05 +00:00
Derek Atkins c5857de175 Heath Martin's x86_64 patch.
* macros/autogen.sh:
	  change "head -1" to "head -n 1"
	* src/engine/gnc-numeric.[ch]:
	  change string_to_gnc_numeric() to return gboolean.
	* src/app-utils/gnc-exp-parser.c:
	* src/backend/file/sixtp-dom-parsers.c:
	  use new string_to_gnc_numeric() API
	* src/engine/gnc-lot.c:
	  64-bit safe for x86_64
	* src/gnome/dialog-scheduledxaction.c:
	* src/gnome/dialog-sxsincelast.c:
	* src/gnome/druid-loan.c:
	* src/gnome-utils/dialog-account.c:
	* src/gnome-utils/gnc-query-list.c:
	* src/import-export/import-match-map.c:
	  use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10315 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 01:37:10 +00:00
Derek Atkins 2dbd253dba Phil Longstaff's patch to prevent duplicate pricedb entries.
* src/engine/gnc-pricedb.c:
	  Phil Longstaff's patch to prevent duplicate pricedb entries.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10313 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 00:45:44 +00:00
Derek Atkins 41de6f5c74 Neil Williams' QOF Book Merge Patch #2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10311 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-31 19:19:44 +00:00
Derek Atkins 1b1f0cced3 Neil Williams' QOF book merge patch #1.
Includes
	  qof_book_merge.c
	  qof_book_merge.h
	  test-book-merge.c test routine
	  New Account Hierarchy druid
	  Sundry adjustments to QOF support.
	  Tweaks to several Makefile.am files to support new files.
	  Tweaks to window-main.c to support new menu item
	  Changes to druid-hierarchy.c to support the merge druid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10306 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 15:51:26 +00:00
Derek Atkins a7fa3e05a4 Daniel Lindenaar's patch for posting invoices.
* src/business/business-core/gncInvoice.[ch]
	* src/business/business-gnome/dialog-date-close.[ch]
	* src/business/business-gnome/dialog-invoice.c
	* src/business/business-gnome/glade/date-close.glade
	* src/business/business-utils/business-prefs.scm
	  Daniel Lindenaar's patch to implement a check-box in the Invoice Post
	  Dialog (with a default in the File Preferences) to choose to accumulate
	  splits when posting an invoice, or post a 1:1 mapping.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10305 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 02:49:29 +00:00
Derek Atkins 11b5192d23 Don't crash when someone imports a broken QIF (#155244).
* src/import-export/qif-import/qif-object.scm:
	  provide a default account name so we don't crash when someone
	  imports a broken QIF that has a !Account without an account name.
	  Fixes bug #155244.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10303 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-13 15:13:21 +00:00
Derek Atkins e005e91255 Forgot to commit ChangeLog last night.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10300 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-09 17:05:10 +00:00
Derek Atkins 0794bd0815 Andreas Rottmann's patch to support g-wrap 1.9.
* engine/gw-engine-spec.scm:
	* gnome-search/dialog-search.h:
	* report/report-gnome/dialog-column-view.h:
	  Andreas Rottmann's patch to support g-wrap 1.9.
	  - don't wrap non-existent objects
	  - protect headers from multiple inclusion
	  - include gtk.h header when we use gtk objects.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10298 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-08 23:21:18 +00:00