Commit Graph
143 Commits
Author SHA1 Message Date
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
Neil Williams fd4960d0cf Improved reference handling for recursive copying of entities - relocate disparate functions to a single new file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13306 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:54:39 +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
David Hampton 0ea6ebe253 Prepare for gtk change that will issue warnings if the return value of
the gtk_tree_model iter functions are not used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13287 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 03:02:32 +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 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 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
Neil Williams 80b8819625 Improve QOF_TYPE_COLLECT handling and recursive copies
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:28:56 +00:00
Neil Williams 87c16f98cb Check that files can be opened before
trying to work out their type. Use new QofBackendError value

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13235 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:25:23 +00:00
Neil Williams 1853bee97c New QofBackendError code if files cannot be read
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13234 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:24:59 +00:00
Derek Atkins 11a9890323 Better handling of event removal. This allows us to actually
clean up, but also makes sure we don't destroy the handler
list out from under us as we're processing events.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13196 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 22:43:19 +00:00
Chris Shoemaker 943532c8cd Don't allow the event handler list to shrink while we're traversing it.
This change isn't ideal in the sense that the handler list is now a 
   monotonically increasing resource, but it's better than crashing when the
   handler in node N+1 happens to be deleted while servicing the handler in
   node N.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13152 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 06:04:51 +00:00
Neil Williams c31f9f6e66 Deprecating qof_log_set_level_global in favour of qof_log_set_level_registered.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13117 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 12:25:45 +00:00
Neil Williams 325d74fd90 Improve documentation of QofBackendProvider
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13116 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:38 +00:00
Neil Williams bd4211ad2e support logging of qofchoice by default
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13115 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:13 +00:00
Neil Williams 9a66ebdf0b line-wrapping tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13114 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:57:28 +00:00
Neil Williams baeb72b172 reverting change to qofsession.c from r13084, already replaced in r13097
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13112 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:48:12 +00:00
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
Joshua Sled 0324351b44 Fix overall and ".log"-specific file-retention issues: Bug#329670 (++).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13084 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 02:09:29 +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 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
Neil Williams f0d89dbfda reverting r12999 and implementing a set of default log modules
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13027 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 17:49:35 +00:00
Joshua Sled a3f4252965 Change libgsf/goffice libraries and paths to be gnucash-specific.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13003 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 18:57:29 +00:00
Chris Shoemaker f46c5dadb9 Re-enable logging for GnuCash modules that haven't explicitly set their
own levels.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12999 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 17:17:49 +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
Neil Williams d51aacf100 bug fix: prevent bad time values from being passed to entity - already in QOF CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12955 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 14:30:37 +00:00
Neil Williams 1cb5500bcf bug fix: book merge handling of QOF_TYPE_CHAR - already in QOF CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12954 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 14:24:56 +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
Joshua Sled 17ad304770 Remove unused 'thumbnailer' directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12374 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 20:30:00 +00:00
Chris Shoemaker 15533c3a3d Allow a libgsf test to pass even with glib 2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12366 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 14:24:57 +00:00
Chris Shoemaker 6769817250 Specify that LIBADD libraries are for libqof_backend_qsf.la.
Solves:
      libqof-backend-qsf.so: undefined symbol: xmlNodeGetContent

      error during `make check'


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12362 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 02:43:56 +00:00
Chris Shoemaker fc02baaa87 Add 'Makefile' as a dependency for targets that are generated
from scriptlets in Makefile.  That way, if the generating scriptlet is
changed, (or the Makefile is regenerated) the target will also be remade.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12350 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-14 03:56:53 +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 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
Chris Shoemaker f2f05295a2 Various fixes to allow make dist and building from tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12339 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-13 05:13:05 +00:00
Joshua Sled 302accdb10 Remove (b0rk) cairo support
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12334 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 23:40:45 +00:00
Chris Shoemaker 32a5612d4c Add CACHE_REPLACE(dst, src) macro for common case in string setters.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12319 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:27:02 +00:00
Chris Shoemaker eb729c2073 Add const to gnc_string_cache_insert argument.
Handle NULL values gracefully.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12315 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 02:56:02 +00:00
David Hampton 7853ce804d Fix a couple of compiler version issues.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12303 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:31:40 +00:00
Neil Williams 1de3fe86d2 QOF 0.6.1 release update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12299 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 17:51:29 +00:00
David Hampton a624c9fef4 A couple of performance tweaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12261 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-05 03:10:27 +00:00
Chris Shoemaker a6dcdd8438 spelling fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12196 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-29 05:18:07 +00:00
David Hampton 47e14c3c73 Update to compile cleanly on a glib 2.9 system without using
deprecated functions.  Change the default so that glib deprecated
functions are not allowed with glib <= 2.10.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12185 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-27 17:20:19 +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
David Hampton b809e86dc0 Comment out function that does nothing except generate a compiler
warning.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12141 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-07 02:14:20 +00:00
Joshua Sled 72eafc8413 Don't misuse the Quark storage for pointers, especially because they're not integer-sized on a 64-bit platform.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12140 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-07 01:34:44 +00:00
Joshua Sled e10c938b27 fix uninitialized-variable warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12139 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-06 22:06:22 +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 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