Commit Graph

366 Commits (c6ec7e1039df3e2faba4e8d13fe29afe53d8736e)

Author SHA1 Message Date
Joshua Sled ff3405f4c8 Fix parsing of log config file without [output] sections.
19 years ago
Joshua Sled 1e1077078f use correct datatype.
19 years ago
Andreas Köhler 6eeefe21e3 Remove lib/glib28/gwin32-2.8.[ch] again.
19 years ago
Joshua Sled 8ebec0de11 Support for ~/.gnucash/log.conf, a key-value file of logging settings; see comment-doc for qof_log_parse_log_config(...) for the file format.
19 years ago
Joshua Sled f9863e3ba9 Add G_LOG_DOMAIN for qof.
19 years ago
Joshua Sled d372dbb81a Restore enter/leave indentation. Cleanup some deprecated and (nearly-)unused qoflog code. Audit fraction enter/leave pairs. :/
19 years ago
Joshua Sled c91cb881bd Overhaul gnc/qof logging: Add default log handler that implements a "log4x"-style log level hierarchy. Correctly use G_LOG_DOMAIN, raw glib logging. Cleanup tests that are too loud afterwards.
19 years ago
Joshua Sled b39d84252c Remove basically-unused qof date manipulation code better provided by GDate.
20 years ago
Andreas Köhler c71c7ecd24 Add lib/libc/pow.h to avoid calculation errors on Windows.
20 years ago
Derek Atkins 9160a39948 Make sure we properly add the glib28 sources to EXTRA_DIST
20 years ago
Andreas Köhler f0d6aab958 Replace mkstemp and rename by g_mkstemp and g_rename.
20 years ago
David Hampton 0927d97115 Fix glib28 utils on non-win32 system.
20 years ago
Andreas Köhler 5d79c1a22f Add a few functions from GLib 2.8 in lib/glib28.
20 years ago
Derek Atkins a929bcdf33 /tmp/qof.trace or /tmp/gnucash.trace is opened for writing directly.
20 years ago
Andreas Köhler 5c126dea86 Use g_open, g_fopen, g_stat and g_unlink.
20 years ago
Andreas Köhler 6783775210 Use g_dir_{open,read_name,close}.
20 years ago
Andreas Köhler 35f43c0a1a Raise dependencies: GLib 2.6, Pango 1.8, GTK+ 2.6.
20 years ago
Andreas Köhler b34a1c9f3f Unify library names and installation directories.
20 years ago
Andreas Köhler 96e1ed071d Call g_module_make_resident in qof backend provider modules.
20 years ago
Derek Atkins 7a763898d3 Use G_GINT64_MODIFIER for qofmath test.
20 years ago
Derek Atkins d122eddbb6 Fix the printf routines in the qofmath tests.
20 years ago
Derek Atkins 078d3d0cd8 Uncomment the test-qofmath to make it easier to use.
20 years ago
Christian Stimming def1a50c61 For convenience, add commented-out build rules for testing the qofmath128 test program
20 years ago
Christian Stimming bf3e8f4c1b Make math128 test program compilable again
20 years ago
Christian Stimming 320c1af625 Code cleanup: Move variable declaration into block where it is used.
20 years ago
Christian Stimming a95ff05967 Check for return value of regcomp() and return NULL on failure, as suggested by Jon Arney.
20 years ago
Andreas Köhler 47f406a9b7 Fix some printf's of NULL in DEBUG, ENTER and LEAVE macro invocations.
20 years ago
Chris Shoemaker 60e5a01dfd Fix bug #353450 - Crash on quit during save.
20 years ago
Christian Stimming f60c817a45 Remove unneeded extra Makefile variable
20 years ago
Chris Shoemaker 31e926c486 Merge swig-redo branch back into trunk.
20 years ago
Derek Atkins 57cc5debe9 Don't pass a pointer to a pointer. It's just expecting the pointer.
20 years ago
Derek Atkins 21f2f4e93e Missed one patch hunk in r14903.
20 years ago
Derek Atkins c7c9199800 Add the ability to override the default sort (#150799).
20 years ago
Derek Atkins 8bf369217a Revert r14892 in order to try a different approach.
20 years ago
Derek Atkins f82c369b0e Implement SubQuery functionality in QOF: qof_query_run_subquery()
20 years ago
Derek Atkins 2bb357def4 Add a new QOF_TYPE_NUMSTRING to add numeric sorts. (#150799).
20 years ago
Christian Stimming 0415051267 On Windows/mingw32, scanf only accepts %I64d for long long integers.
20 years ago
Christian Stimming 03cf6d7d01 Fix missing include config.h. Also fix still-used deprecated typedef.
20 years ago
Christian Stimming 042ec5de5e Error out if none of the two SCANF formats are defined in config.h.
20 years ago
Christian Stimming 9495945584 For windows, clean up error conditions before trying again to load the session.
20 years ago
Christian Stimming 3675e7470e If the file type wasn't recognized, check whether this failed because
20 years ago
Christian Stimming 455f96a355 Fix typo
20 years ago
Christian Stimming 6e568f1d91 For windows, fall back to the file backend if a colon was in the URL name.
20 years ago
Derek Atkins e16fdddd01 and one more file needs strptime.h.
20 years ago
Derek Atkins 27f50aa954 need to include strptime.h so we get the declaration.
20 years ago
Derek Atkins 352d39d412 libqof/backend/file needs lib/libc for the missing libc functions.
20 years ago
Christian Stimming 1fa413f54d First round of Makefile symlink cleanup.
20 years ago
Christian Stimming 44ddca68cd Add REGEX_LIBS linker flag that is needed on win32 platform
20 years ago
Christian Stimming 2648783526 Replace : as sed's replacement command delimiter by # because on Windows, fully qualified filenames might contain the colon.
20 years ago
David Hampton e0244824a0 Add some 'const' declarations.
20 years ago
Christian Stimming 337bb207d4 Move #include "qofla-dir.h" into qofsession.c because this is the only place where it is used.
20 years ago
Derek Atkins 3ad22b5eb5 Allow proper compile/install from tarball using separate builddir.
20 years ago
Chris Shoemaker f0d64c1185 Avoid SIGFPE due to modulo-by-zero is the requested number of significant
20 years ago
Andreas Köhler 4762dbf429 String fixes that have been delayed due to the string freeze.
20 years ago
Derek Atkins 3366829dc2 Move the GLIB26 compatibility checks to configure.in.
20 years ago
Chris Shoemaker 564958f000 Add -avoid-version to LDFLAGS of gmodule backends.
20 years ago
Derek Atkins 63dfe823fd QOF should load its own backend libraries.
20 years ago
Chris Shoemaker 97062a3b81 Merge 'misc-backend' -r 14160:14184 into trunk.
20 years ago
Chris Shoemaker 882d453105 Consistently pad date formats with zeros instead of spaces.
20 years ago
Chris Shoemaker 22ce233d1b Fix Bug#342736 by replacing "make-shared-substring" with "substring".
20 years ago
Chris Shoemaker 998edefcc8 Fix Bug#342546 by using the pref date format instead of locale.
20 years ago
Derek Atkins 4ea3753242 Get the RPM SPEC to build properly (should built from future tarballs)
20 years ago
Derek Atkins dfc22ebcb9 revert r14081 because we always have localtime_r.
20 years ago
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.
20 years ago
Joshua Sled 845932adda Convert `localtime` to `localtime_r`, after seeing localtime fail (strange as it is...).
20 years ago
Derek Atkins 504f781c19 Fix the documentation of qof_query_merge for degenerate cases.
20 years ago
Derek Atkins 953d77f0ef Disable the use of external QOF and make sure we can co-exist.
20 years ago
Chris Shoemaker b49877472e Factor out #define _GNU_SOURCE from various .c files into an AC_GNU_SOURCE
20 years ago
Chris Shoemaker de0c1edcb5 Add a flag, 'infant', to QofInstance to note that the instance has been
20 years ago
Chris Shoemaker 6b925724e7 Fix off-by-one error when checking editlevel in qof_commit_edit() (and
20 years ago
Chris Shoemaker 57636f50e4 Make qof_commit_edit() (and macro version) call qof_backend_run_commit()
20 years ago
David Hampton fad343b4e2 Add support for directly marking the book dirty, for recording the
20 years ago
David Hampton 9323c1405d Add an alternate mode for handling the dirty state of instances and
20 years ago
Chris Shoemaker 76f16c91d2 Avoid buffer overrun in qoflog.
20 years ago
Chris Shoemaker 227f515afc Revert r13797 so that it can be recommited as logical, documented changes.
20 years ago
Neil Williams 293e60d88f Final changes for QOF 0.6.4 - Improvements in map handling.
20 years ago
David Hampton dc28af130f The kvp_frame_get_string() function returns a pointer to an internal
20 years ago
Andreas Köhler 14ce276877 Initial support to decode old, ambiguous data files, missing an encoding declaration, with the help of the user.
20 years ago
Andreas Köhler 8b4f3a1570 Fix leakage of old books.
20 years ago
Derek Atkins dd321449ce * lib/libqof/qof/qofbookmerge.c: fix a few memory leaks.
20 years ago
Derek Atkins f9d1f3e42f Create a QOF_SCANF_LLD (because we cannot use the printf version).
20 years ago
Neil Williams ed58ab94a7 typo - erroneous &
20 years ago
Derek Atkins aaa13ff290 * lib/libqof/qof/qof.h: QOF requires <glib.h>
20 years ago
Neil Williams 68ac06b219 Standardise on gint and gchar. libqof 0.6.4 release.
20 years ago
Neil Williams 8edd35d84d Add encoding support and fix compression option handling
20 years ago
Neil Williams 960e545a8f Replace gnc-engine-util with qofutil
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.
20 years ago
Derek Atkins dde1437f81 * lib/libqof/backend/file/qsf-backend.c: add <locale.h>
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.
20 years ago
Christian Stimming 93bee8172a Fix linker flags for gsf-win32 sublibrary
20 years ago
Christian Stimming 0b79b4ea3d Add include/linker flags for using the lib/libc substitutions
20 years ago
David Hampton d331aa8f18 Finish removing deprecated QOF functions.
20 years ago
Neil Williams 2db3d294b4 Remove deprecated
20 years ago
Neil Williams 91642e8fb7 Doxygen tweak
20 years ago
Neil Williams 26d6675b26 Update status; this
20 years ago
Neil Williams abb2bd5473 Move qof_book_merge to new naming convention and deprecate old code
20 years ago
Christian Stimming 47c9948cd3 Clean up unused gettimeofday argument
20 years ago
Christian Stimming df1f9b6306 Add substitution code for unavailable functions gettimeofday and gmtime_r.
20 years ago
Christian Stimming 3934e34aeb Add more linker flags, necessary for some platforms (windows)
20 years ago
Christian Stimming e993e7256a Replace "ln -sf" by "$(LN_S) -f" for
20 years ago
David Hampton 59056ce619 Remove more functions to be deprecated in libqof2. (Pass Three - more
20 years ago
David Hampton 4b04137e7d Never include "config.h" from a header file. Doing so makes it nigh
20 years ago
David Hampton 61a12b2715 Remove more functions to be deprecated in libqof2. (Pass Two - more
20 years ago
Derek Atkins db890792bb Fix the definition of QOF_EVENT_BASE; use QOF_EVENT__LAST for tests.
20 years ago
Andreas Köhler e278c02ea0 Add configure test for sys/times.h and corrected guid.c to check for that.
20 years ago
Christian Stimming 3006050069 Make seed collection parts that depend on particular functions
20 years ago
Christian Stimming 96dea8f6b7 Fix old libc substitution files, now needed for windows/mingw32
20 years ago
Christian Stimming 0651fed036 Minor header include cleanups to enable easier windows/mingw32 porting
20 years ago
Derek Atkins 2e658ee940 properly ignore the return value of fgets(). Fixes an FC4 error.
20 years ago
David Hampton 2ff71abfda Make g_strv_length available outside of the gkeyfile compatability
20 years ago
Neil Williams 9dd917ecf3 simplify creation of new application events
20 years ago
Neil Williams 8fffaf8c7a using new events with object argument
20 years ago
Neil Williams 082212a7eb replacing the macro to restore programme flow
20 years ago
Chris Shoemaker dd8ce0e090 Keep track of exactly how many bytes we've sent to md5_process_bytes().
20 years ago
Chris Shoemaker 6a8404df1d Implement QOF_COMMIT_EDIT_PART2 as a function instead of a macro.
20 years ago
Joshua Sled 81bf512533 Fix "default limit" QOF eventing stuff; thanks Andi.
20 years ago
Chris Shoemaker d3fc3ba57e Mark the QofCollection as dirty when a new QofEntity is added or removed.
20 years ago
Joshua Sled 0e4ac8952a slightly better values.
20 years ago
Joshua Sled c868ca663f Fix GNC_EVENT_* values.
20 years ago
Neil Williams 8bf6b9769a moderating the deprecated handler log entry
20 years ago
David Hampton b575dc47af Compile cleanly with when _FORTIFY_SOURCE is defined. This definition
20 years ago
David Hampton cc44d065bb Don't reference uninitialized memory.
20 years ago
Neil Williams 625a4cd05e replacing gnc-event with qofevent
20 years ago
Derek Atkins 9606f87741 Phil Longstaff's patch to make the GUID length a magic number.
20 years ago
Neil Williams fd4960d0cf Improved reference handling for recursive copying of entities - relocate disparate functions to a single new file
20 years ago
Derek Atkins 7d0228fa58 Use glib's gi18n.h instead of redefining gettext.
20 years ago
David Hampton 0ea6ebe253 Prepare for gtk change that will issue warnings if the return value of
20 years ago
Derek Atkins 3fcedbca8e Make the build work if the build directory is not the source
20 years ago
Derek Atkins 8f98e8a109 * lib/libqof/qof/Makefile.am: add qofla-dir.h to DISTCLEANFILES
20 years ago
Derek Atkins bb9dbe25e7 combine XML_{CFLAGS,LIBS} into LIBXML2_{CLFLAGS,LIBS}
20 years ago
Derek Atkins 25bb23b8d0 Small QOF build fix for dist and non-srcdir builds:
20 years ago
Neil Williams 80b8819625 Improve QOF_TYPE_COLLECT handling and recursive copies
20 years ago
Neil Williams 87c16f98cb Check that files can be opened before
20 years ago
Neil Williams 1853bee97c New QofBackendError code if files cannot be read
20 years ago
Derek Atkins 11a9890323 Better handling of event removal. This allows us to actually
21 years ago
Chris Shoemaker 943532c8cd Don't allow the event handler list to shrink while we're traversing it.
21 years ago
Neil Williams c31f9f6e66 Deprecating qof_log_set_level_global in favour of qof_log_set_level_registered.
21 years ago
Neil Williams 325d74fd90 Improve documentation of QofBackendProvider
21 years ago
Neil Williams bd4211ad2e support logging of qofchoice by default
21 years ago
Neil Williams 9a66ebdf0b line-wrapping tweak
21 years ago
Neil Williams baeb72b172 reverting change to qofsession.c from r13084, already replaced in r13097
21 years ago
Derek Atkins 52514db6fa Some gnc-numeric fixes (more to come).
21 years ago
Joshua Sled 0324351b44 Fix overall and ".log"-specific file-retention issues: Bug#329670 (++).
21 years ago
Derek Atkins eb7c14d20b No need for the blank SUBDIRS +=
21 years ago
Derek Atkins 1adcc37a8a Get libqof to link against glib and gmodule.
21 years ago
Neil Williams f0d89dbfda reverting r12999 and implementing a set of default log modules
21 years ago
Joshua Sled a3f4252965 Change libgsf/goffice libraries and paths to be gnucash-specific.
21 years ago
Chris Shoemaker f46c5dadb9 Re-enable logging for GnuCash modules that haven't explicitly set their
21 years ago
Derek Atkins ed2263acdb Get "make distcheck" to work....
21 years ago
Neil Williams d51aacf100 bug fix: prevent bad time values from being passed to entity - already in QOF CVS
21 years ago