Commit Graph

369 Commits

Author SHA1 Message Date
Christian Stimming
44ddca68cd Add REGEX_LIBS linker flag that is needed on win32 platform
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14743 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 09:31:29 +00:00
Christian Stimming
2648783526 Replace : as sed's replacement command delimiter by # because on Windows, fully qualified filenames might contain the colon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14711 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-22 19:41:18 +00:00
David Hampton
e0244824a0 Add some 'const' declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14690 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-18 04:48:18 +00:00
Christian Stimming
337bb207d4 Move #include "qofla-dir.h" into qofsession.c because this is the only place where it is used.
Removes an often regenerated dependency from qof.h.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14688 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-17 10:43:19 +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
Chris Shoemaker
f0d64c1185 Avoid SIGFPE due to modulo-by-zero is the requested number of significant
figures is greater than log10(2^63).
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14512 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 19:47:02 +00:00
Andreas Köhler
4762dbf429 String fixes that have been delayed due to the string freeze.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14493 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-13 22:58:55 +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
Chris Shoemaker
564958f000 Add -avoid-version to LDFLAGS of gmodule backends.
Hopefully this will solve the problem Macs are having dlopen'ing them.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14210 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-27 14:19:48 +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
Chris Shoemaker
97062a3b81 Merge 'misc-backend' -r 14160:14184 into trunk.
This includes the now semi-functional postgres backend.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14198 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 00:10:35 +00:00
Chris Shoemaker
882d453105 Consistently pad date formats with zeros instead of spaces.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14180 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 22:54:03 +00:00
Chris Shoemaker
22ce233d1b Fix Bug#342736 by replacing "make-shared-substring" with "substring".
Guile 1.8 automatically shares strings as copy-on-write and no longer
   provides the "make-shared-substring" procedure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14159 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 01:25:30 +00:00
Chris Shoemaker
998edefcc8 Fix Bug#342546 by using the pref date format instead of locale.
Also prefix-pad fixed-width date formats with '0'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14158 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 00:49:10 +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
Christian Stimming
b33f376ad2 Use localtime_r only when HAVE_LOCALTIME_R is defined. Might be undefined on some weird systems out there, e.g. windows/mingw32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14081 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-16 09:32:47 +00:00
Joshua Sled
845932adda Convert localtime to localtime_r, after seeing localtime fail (strange as it is...).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14079 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-15 21:03:22 +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
Chris Shoemaker
b49877472e Factor out #define _GNU_SOURCE from various .c files into an AC_GNU_SOURCE
check in configure.in.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14002 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-11 01:14:12 +00:00
Chris Shoemaker
de0c1edcb5 Add a flag, 'infant', to QofInstance to note that the instance has been
committed at least once in its lifecycle.  Then, we can mark the collection
   dirty whenever an object is committed, except for the special case of an 
   QofInstance that has never been committed before and is now being deleted.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13957 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 04:47:04 +00:00
Chris Shoemaker
6b925724e7 Fix off-by-one error when checking editlevel in qof_commit_edit() (and
macro version), in case we ever want qof_commit_edit() to actually do 
   something with a backend.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13956 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 03:04:49 +00:00
Chris Shoemaker
57636f50e4 Make qof_commit_edit() (and macro version) call qof_backend_run_commit()
instead of qof_backend_run_begin().
   Minor cleanups of qof_commit_edit() and qof_begin_edit().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13955 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 03:02:15 +00:00
David Hampton
fad343b4e2 Add support for directly marking the book dirty, for recording the
time that the book transitioned from clean to dirty, and for calling
back a registered function when the book transitions from clean to
dirty.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13931 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 21:09:59 +00:00
David Hampton
9323c1405d Add an alternate mode for handling the dirty state of instances and
collections.  In this mode, marking an instance as dirty does not
immediately mark the collection as dirty.  The collection is only
dirtied when a dirty instance is actually committed to the collection.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13926 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 06:01:14 +00:00
Chris Shoemaker
76f16c91d2 Avoid buffer overrun in qoflog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13825 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 01:25:35 +00:00
Chris Shoemaker
227f515afc Revert r13797 so that it can be recommited as logical, documented changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13811 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-20 01:37:50 +00:00
Neil Williams
293e60d88f Final changes for QOF 0.6.4 - Improvements in map handling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13797 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-17 13:06:33 +00:00
David Hampton
dc28af130f The kvp_frame_get_string() function returns a pointer to an internal
string.  Mark it 'const' to prevent callers from trying to free it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13786 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 16:40:03 +00:00
Andreas Köhler
14ce276877 Initial support to decode old, ambiguous data files, missing an encoding declaration, with the help of the user.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13781 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 17:38:57 +00:00
Andreas Köhler
8b4f3a1570 Fix leakage of old books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13769 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 20:49:35 +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
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
Neil Williams
ed58ab94a7 typo - erroneous &
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13757 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-08 22:50:08 +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
Neil Williams
68ac06b219 Standardise on gint and gchar. libqof 0.6.4 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13747 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:50:08 +00:00
Neil Williams
8edd35d84d Add encoding support and fix compression option handling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13746 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:49:40 +00:00
Neil Williams
960e545a8f Replace gnc-engine-util with qofutil
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13745 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:49:12 +00:00
Andreas Köhler
3e41f8d965 Add a call to gnc_tm_set_day_end to correct initial ending balance in reconcile windows. Tiny comment typo in qof/gnc-date.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13641 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:16:13 +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
Neil Williams
41671fe8a9 Synchronise with QOF 0.6.3. Correct map handling to allow reverse operations and iteration over hierarchical objects. Improving debug messages and preventing a crash when loading a map directly. Standardise QSF backend on gint and gchar. Add new map file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13621 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 22:52:02 +00:00
Christian Stimming
93bee8172a Fix linker flags for gsf-win32 sublibrary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13585 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 14:28:56 +00:00
Christian Stimming
0b79b4ea3d Add include/linker flags for using the lib/libc substitutions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13584 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 12:08:14 +00:00
David Hampton
d331aa8f18 Finish removing deprecated QOF functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13573 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 21:57:42 +00:00
Neil Williams
2db3d294b4 Remove deprecated
glib function g_strncasecmp in favour of g_ascii_strncasecmp

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13570 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:04:24 +00:00
Neil Williams
91642e8fb7 Doxygen tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13569 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:57 +00:00
Neil Williams
26d6675b26 Update status; this
file will not exist in libqof2


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13568 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:40 +00:00
Neil Williams
abb2bd5473 Move qof_book_merge to new naming convention and deprecate old code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13567 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:01 +00:00
Christian Stimming
47c9948cd3 Clean up unused gettimeofday argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13562 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:43:02 +00:00
Christian Stimming
df1f9b6306 Add substitution code for unavailable functions gettimeofday and gmtime_r.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13560 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:26:02 +00:00
Christian Stimming
3934e34aeb Add more linker flags, necessary for some platforms (windows)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13557 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 15:48:23 +00:00
Christian Stimming
e993e7256a Replace "ln -sf" by "$(LN_S) -f" for
systems that don't have symbolic links available.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13556 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 14:28:54 +00:00
David Hampton
59056ce619 Remove more functions to be deprecated in libqof2. (Pass Three - more
trivial substitutions and simple translations.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13550 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 06:08:02 +00:00
David Hampton
4b04137e7d Never include "config.h" from a header file. Doing so makes it nigh
impossible to override configuration settings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13549 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 05:51:07 +00:00
David Hampton
61a12b2715 Remove more functions to be deprecated in libqof2. (Pass Two - more
trivial substitutions, some simple translations.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13547 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:48:49 +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
Andreas Köhler
e278c02ea0 Add configure test for sys/times.h and corrected guid.c to check for that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13527 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 23:15:04 +00:00
Christian Stimming
3006050069 Make seed collection parts that depend on particular functions
#ifdef'd on that to enable easier windows/mingw32 porting.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13525 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 22:01:35 +00:00
Christian Stimming
96dea8f6b7 Fix old libc substitution files, now needed for windows/mingw32
porting.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13524 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 22:00:44 +00:00
Christian Stimming
0651fed036 Minor header include cleanups to enable easier windows/mingw32 porting
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13523 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 21:59:15 +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
David Hampton
2ff71abfda Make g_strv_length available outside of the gkeyfile compatability
library.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13477 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-04 19:09:31 +00:00
Neil Williams
9dd917ecf3 simplify creation of new application events
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13397 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 19:03:37 +00:00
Neil Williams
8fffaf8c7a using new events with object argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13396 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 18:59:38 +00:00
Neil Williams
082212a7eb replacing the macro to restore programme flow
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13394 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 18:06:52 +00:00
Chris Shoemaker
dd8ce0e090 Keep track of exactly how many bytes we've sent to md5_process_bytes().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13391 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 05:00:52 +00:00
Chris Shoemaker
6a8404df1d Implement QOF_COMMIT_EDIT_PART2 as a function instead of a macro.
Any of the callbacks passed to this function may be NULL to decline the 
   use of that callback.  Also, the three callbacks are now called in three
   mutually exclusive cases, corresponding to: 
      1) a failed commit, ('on_error')
      2) a successful commit where the object remains valid, ('on_done'), and 
      3) a successful commit where the object has been destroyed, ('on_free').


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13390 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 04:56:47 +00:00
Joshua Sled
81bf512533 Fix "default limit" QOF eventing stuff; thanks Andi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13352 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 23:10:33 +00:00
Chris Shoemaker
d3fc3ba57e Mark the QofCollection as dirty when a new QofEntity is added or removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13351 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 21:46:07 +00:00
Joshua Sled
0e4ac8952a slightly better values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13342 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 15:42:19 +00:00
Joshua Sled
c868ca663f Fix GNC_EVENT_* values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13341 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 15:37:12 +00:00
Neil Williams
8bf6b9769a moderating the deprecated handler log entry
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13335 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:29:23 +00:00
David Hampton
b575dc47af Compile cleanly with when _FORTIFY_SOURCE is defined. This definition
is forced when building RPMs on FC4.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13333 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:00:38 +00:00
David Hampton
cc44d065bb Don't reference uninitialized memory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13331 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:06:32 +00:00
Neil Williams
625a4cd05e replacing gnc-event with qofevent
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13325 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:54:03 +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
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
Joshua Sled
94e9fe5e6f Fold branches/goffice-update/ back into trunk/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12096 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 21:27:17 +00:00
David Hampton
0289273f91 Don't ignore the return value of glib list functions. This will
likely become a warning in future version of glib, which translates to
an error for gnucash since it compiles with the -Werror flag.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12093 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 17:08:02 +00:00
David Hampton
5b906bd598 Remove all remaining references to guppi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12070 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-30 01:58:05 +00:00
David Hampton
9771d0f80c Use the g_get_home_dir() function instead of getenv("HOME"). The
former tries multiple places to get the path to the users home
directory.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12025 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-23 22:43:32 +00:00
David Hampton
042f050b9b Andreas Köhler's patch to replace some deprecated glib functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11995 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-20 22:42:25 +00:00
David Hampton
0b8a944f30 Update FSF street address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11964 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-17 05:35:02 +00:00
David Hampton
39829f3fb4 Remove unused call to g_object_set.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11962 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-16 21:58:09 +00:00
Neil Williams
466781acef move QOF files to lib/libqof/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11917 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-13 13:22:34 +00:00
David Hampton
1d6c73d495 Fix a couple of gcc4 warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11904 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-11 06:01:27 +00:00
Neil Williams
b170f4a34f reverting lib/libqof changes to prepare for svn move
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11885 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 18:23:46 +00:00
Neil Williams
c3edb787e4 corrected Makefile.am after svn accident
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11883 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 16:01:41 +00:00
Neil Williams
7c86172c53 New locations for QOF files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11882 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 15:45:58 +00:00
Neil Williams
5cebd80a31 lib Makefile.am changes for new directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11881 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 15:45:00 +00:00
Neil Williams
094c879998 get make dist working again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11818 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-03 17:32:53 +00:00
Joshua Sled
5eded02d6c Removing .cvsignore files; mis-migrated po/ChangeLog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11785 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 16:38:29 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Christian Stimming
694375f3cf 2003-05-30 Christian Stimming <stimming@tuhh.de>
* lib/guppi-legend.patch: Include patch for Guppi that fixes
	reversed legend problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8470 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 19:30:34 +00:00
Derek Atkins
6b85475af0 2003-01-19 John Pierce <XXXXXXXXXXX>
* doc/Makefile.am
	* src/doc/Makefile.am
	* src/doc/design/Makefile.am
	* src/experimental/cgi-bin/Makefile.am
	  Added docs that were missing from dist.
	  Moved doxygen clean rules to maintainer-clean.
	  Moved texinfos to maintainer-clean.

	* lib/libc/Makefile.am
	  Added sources needed for OS X to dist.

	* src/app-utils/Makefile.am
	* src/backend/postgres/Makefile.am
	* src/business/business-core/Makefile.am
	* src/business/business-gnome/Makefile.am
	* src/business/dialog-tax-table/Makefile.am
	* src/core-utils/Makefile.am
	* src/engine/Makefile.am
	* src/gnc-module/Makefile.am
	* src/gnc-module/test/mod-bar/Makefile.am
	* src/gnc-module/test/mod-baz/Makefile.am
	* src/gnc-module/test/mod-foo/Makefile.am
	* src/gnome/Makefile.am
	* src/gnome-search/Makefile.am
	* src/import-export/Makefile.am
	* src/import-export/binary-import/Makefile.am
	* src/import-export/qif-io-core/Makefile.am
	* src/register/register-core/Makefile.am
	* src/report/report-gnome/Makefile.am
	* src/scm/Makefile.am
	* src/app-file/Makefile.am
	* src/gnome-utils/Makefile.am
	  Put generated headers into dist.
	  Moved symlinks to distclean.
	  Moved generated files to maintainer-clean.
	  Put generated gw-.*.scm files in dist for parity.
	  Put generated sources into dist.
	  Moved generated source to maintainer-clean.

	* src/bin/overrides/Makefile
	  Made built scripts depend on config.status to ensure
	  they're rebuilt when paths change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7859 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-20 17:11:50 +00:00
David Hampton
f3c166b44d Remove Finance::Quote from the repository.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7652 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 01:08:48 +00:00
Derek Atkins
1b7c48a98c * Fix the autoconf-2.13/2.52/2.53 problems -- Gnucash should now
work on all versions of auto-tools, although it now requires GnuMake.

	* configure.in -- just pass LIBOBJS directly to the Makefile; pass
	  a sed script that uses '$U' (which is a 2.53ism, but works right
	  on 2.13) to the Makefile.
	* lib/libc/Makefile.am -- Use LIBOBJS and GnuMake's $(shell) syntax
	  to create the list of libobjects to be linked into "libc-missing"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7266 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 14:24:10 +00:00
David Hampton
0f637a6a41 Fix guile-1.4.1 srfi problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7026 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 20:54:40 +00:00
David Hampton
59e52d8714 Mac OS X support, round 2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6878 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-18 20:32:22 +00:00
Derek Atkins
cfd364a4e2 Fix for Solaris: you cannot have an empty .a, so supply a no-op .c
file so you at least have _something_.  This is a crock, but it
was easier than making the inclusion of libc-missing.a optional
everywhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6837 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 05:03:31 +00:00
David Hampton
da8b78111e Convert new 'missing' library to a libtool library.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6834 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:53:27 +00:00
David Hampton
3ce1d63e1a Pogma's initial Mac OS X patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6833 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:22:24 +00:00
Derek Atkins
a2f360a38b srfi-19: Fix date->string to work with guile-1.4/slib-2d2
gncEntry: add date_entered for better sorting
	  change SetDate methods from "Timespec*" to "Timespec"
	  update entry ledger to use new function calls

Fix a comparison bug in Entry/Invoice/Order.  Compares now
work correctly.

Updated invoice report; use date->string to print today's date;
flags to print notes.  Added more flexibility in what gets printed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6748 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 05:10:07 +00:00
Rob Browning
4a3dd89550 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6562 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:42:01 +00:00
Rob Browning
07ce3a1e17 * lib/srfi/Makefile.am: handle conditional per-SRFI install.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6541 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:21:52 +00:00
Rob Browning
12aff8c2d6 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6540 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:21:11 +00:00
Rob Browning
79fff7aa22 * Makefile.am: handle conditional install inclusion of GUILE_WWW.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6539 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:20:55 +00:00
Dave Peticolas
e35ff46a06 * Makefile.am (Repository): clean .scm-links
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6279 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-08 09:31:46 +00:00
Rob Browning
5ceeb2e602 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6132 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 23:20:05 +00:00
Rob Browning
9c07467240 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6094 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 22:24:14 +00:00
Rob Browning
e3fa4ce625 * .cvsignore: add .scm-links
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6091 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 22:21:41 +00:00
Rob Browning
b10410e41f * lib/guile-www/Makefile.am
(.scm-links): create so we can run from gnucash build dir.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6083 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 22:12:03 +00:00
Rob Browning
4dd0f87132 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5869 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-16 20:32:12 +00:00
Rob Browning
1b7345d057 * lib/srfi/Makefile.am: determine SRFI list via autoconf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5585 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-12 19:43:19 +00:00
Dave Peticolas
c6fc078591 2001-06-04 Dave Peticolas <dave@krondo.com>
* lib/srfi/srfi-19.scm: fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4423 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-04 20:45:28 +00:00
Rob Browning
74c35b2c62 * lib/srfi/srfi-19.scm: updated to include guile-core bug fixes.
Removed syncase dependency.
(priv:open-input-string): removed -- check for open-input-string
and define that if not found.
(:optional): removed - just as easy to handle by-hand -- all funcs
that called :optional have been adjusted.
(priv:read-tai-utc-data): remove priv: from open-input-string.
(string->date): remove priv: from open-input-string.
(date): change constructor name to make-date.
(priv:decode-julian-day-number): add inexact->exact after
truncate.
(time-utc->date): add inexact->exact and int-secs.
(priv:locale-reader): use reverse! on result rather than reverse.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4421 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-04 19:41:50 +00:00
Robert Graham Merkel
10b47deeb9 reverted borken version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4274 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-24 07:26:20 +00:00
Rob Browning
741a755af8 * lib/srfi/srfi-19.scm: update to new guile-core version. (Grab
my fixes).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4269 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-23 18:20:00 +00:00
Rob Browning
b88af602e4 * lib/Makefile.am (SUBDIRS): add srfi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4205 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-15 15:51:01 +00:00
Rob Browning
73735fe869 * lib/srfi/srfi-2.scm: new file.
* lib/srfi/srfi-9.scm: new file.

* lib/srfi/srfi-11.scm: new file.

* lib/srfi/srfi-8.scm: moved from src/scm/srfi/.

* lib/srfi/srfi-19.scm: moved from src/scm/srfi.

* lib/srfi/README: moved from src/scm/srfi/.

* lib/srfi/srfi-1.scm: moved from src/scm/srfi/.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4200 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-15 15:48:44 +00:00
Dave Peticolas
2fb255d211 Christian Stimming's .cvsignore fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4121 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-06 21:55:34 +00:00
Dave Peticolas
55c3c262c3 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4010 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 11:58:50 +00:00
Dave Peticolas
1a63b7f75d 2001-04-17 Rob Browning <rlb@cs.utexas.edu>
* src/scm/utilities.scm (string-split): used to be string-split-on
	in qif-utils.scm

	* src/scm/qif-import/qif-utils.scm: move string-split-on to
	utilities.scm as string-split to better match string-join.

	* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
	string-split-on -> string-split.

	* src/scm/qif-import/qif-dialog-utils.scm
	(qif-import:get-all-accts): string-split-on -> string-split.

	* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
	function - retrieve lists of historical quote information.

	* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
	directory so we can use-modules from there.

	* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
	away on "make clean" in addition to "make distclean".

	* src/engine/gnc-pricedb.c: minor doc updates.

	* src/engine/gnc-pricedb.h: much more documentation.

	* lib/guile-www: new directory - contains guile-www CVS module.
	Used by new historical quote function.  Several new files added.
	Installed to new install directory GNC_SHAREDIR/guile-modules such
	that it is available via (use-modules (www main)), etc.

	* lib/Makefile.am (SUBDIRS): add guile-www

	* configure.in (AC_OUTPUT): add lib/guile-www/Makefile


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 21:37:38 +00:00
Dave Peticolas
caf7170200 Update INSTALL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3859 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 23:03:56 +00:00
Dave Peticolas
3b9f470e08 Add INSTALL for F::Q.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3852 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 08:26:57 +00:00
Dave Peticolas
f387ae896c Ben Stanley's patch updating the version of Finance::Quote in lib/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3851 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 07:43:37 +00:00
Dave Peticolas
2b3a4ff53f Remove Makefile.in's from CVS repository.
Add and use gnome autoconf macros.
Fix lots of new compiler warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2842 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-13 22:33:15 +00:00
Dave Peticolas
f6a5568b70 Use the new sgml help files instead of the old html ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2815 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-09 10:25:53 +00:00
Dave Peticolas
76266ceff8 Remove gtkhtml from lib directory. Newer and better versions are available
elsewhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2702 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-08-24 21:55:20 +00:00
Dave Peticolas
be4809968c Add Paul Fenwick's Finance::Quote 1.01 package to lib directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2679 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-08-19 19:29:49 +00:00
Dave Peticolas
4b013b67dd Add gtkhtml to lib.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2544 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-07-08 12:30:13 +00:00
Dave Peticolas
dd13bbf553 Rob Browning's make dist patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2410 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-05 05:51:39 +00:00
Dave Peticolas
f3d729aa02 Various small fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2402 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-03 21:53:22 +00:00
Dave Peticolas
ed0bc95f5d Rob Browning's patch to add automake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2395 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-02 09:00:31 +00:00
Dave Peticolas
c1d8d755b4 Rob Browning's patch to break out g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2277 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-05-08 23:59:45 +00:00
Dave Peticolas
20743f221f *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2161 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-04-05 21:59:56 +00:00
Dave Peticolas
6e611c3e49 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2148 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-04-02 07:56:32 +00:00
Dave Peticolas
6fb319c770 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2144 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-03-31 09:57:02 +00:00
Dave Peticolas
7d20dfc4aa *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2143 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-03-31 09:48:20 +00:00
Linas Vepstas
c8c4ffa54e daves patches of Sun, 09 Jan 2000 03:18:52 -0800
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2000 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-01-10 03:33:23 +00:00
Linas Vepstas
77b52f628f big ol patch from Dave peticolas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1993 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-12-31 00:05:41 +00:00
Linas Vepstas
1bf5ded474 patches from Dave Peticolas Sun, 21 Nov 1999 15:30:07 -0800
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1958 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-11-22 04:54:47 +00:00
Linas Vepstas
d782ecc47b The 'last 10 patches' from Dave Peticolas <peticola@morpheus.cs.ucdavis.edu>
Date: Sun, 07 Nov 1999 02:12:41 -0800


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1954 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-11-10 16:28:05 +00:00
Linas Vepstas
1490cb59e8 patch From: "David O'Brien" <obrien@NUXI.com>
fixes non-portable make invocation


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1925 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-08-24 06:11:41 +00:00
Linas Vepstas
c7e9b4ea50 oops spaces not tabs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1866 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-08-01 20:14:37 +00:00
Linas Vepstas
aefbdafcaf fix a touch problem
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1856 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-07-31 18:44:48 +00:00
Linas Vepstas
6a1900e661 whatever
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1772 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-06-20 03:49:22 +00:00
Linas Vepstas
0345bfd2e2 changes from From Rob Browning Date: 01 Jun 1999 16:05:08 -0500
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1739 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-06-03 04:18:29 +00:00
Linas Vepstas
024944df2b whatever, the patch that should have applied but didn't
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1713 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-05-30 02:25:26 +00:00
Linas Vepstas
0660fd9f74 whatever, fix bugs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1712 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-05-30 02:21:18 +00:00
Linas Vepstas
60f807df76 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1711 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-05-30 01:58:18 +00:00