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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Neil Williams
91642e8fb7
Doxygen tweak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13569 57a11ea4-9604-0410-9ed3-97b8803252fd
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Joshua Sled
0e4ac8952a
slightly better values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13342 57a11ea4-9604-0410-9ed3-97b8803252fd
20 years ago
Joshua Sled
c868ca663f
Fix GNC_EVENT_* values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13341 57a11ea4-9604-0410-9ed3-97b8803252fd
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
21 years ago
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
21 years ago
Neil Williams
325d74fd90
Improve documentation of QofBackendProvider
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13116 57a11ea4-9604-0410-9ed3-97b8803252fd
21 years ago
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
21 years ago
Neil Williams
9a66ebdf0b
line-wrapping tweak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13114 57a11ea4-9604-0410-9ed3-97b8803252fd
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Chris Shoemaker
a6dcdd8438
spelling fix
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12196 57a11ea4-9604-0410-9ed3-97b8803252fd
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
David Hampton
0b8a944f30
Update FSF street address.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11964 57a11ea4-9604-0410-9ed3-97b8803252fd
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago