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