Commit Graph

367 Commits (2.4)

Author SHA1 Message Date
Andreas Köhler fa28f0e4f0 Avoid a global static variable by using g_list_sort_with_data.
19 years ago
Andreas Köhler 4251bd7f84 Return NULL on qof_instance_get_guid(NULL) again, #448853.
19 years ago
Andreas Köhler dfde8ebcb7 Do not register qof backend modules on first load, #433779.
19 years ago
Andreas Köhler 0bca303440 Correct use of xmlNodeGetContent in qsf backend module.
19 years ago
Andreas Köhler c892d648b9 Do not call setlocale &friends from within the file backend library.
19 years ago
Andreas Köhler 8c5d2fe40b Avoid stripping the win drive letter on qsf export. Fixes #448900.
19 years ago
Andreas Köhler c24fca6d1e Check for QOF_LIB_DIR environment variable and try to load qof backends from there first.
19 years ago
Derek Atkins b378cd8898 Fix space->tab issue in a Makefile (need tabs, not spaces)
19 years ago
Andreas Köhler 1413a11989 Add some delimiters for parsing CJK dates, #437898.
19 years ago
Andreas Köhler c402307aba Further improve date parsing on Windows. Revert parts of r16049 on Unix.
19 years ago
Andreas Köhler e4b8923fb0 On strptime('%X') and Windows, first translate the time picture to a format spec, cf. #437751.
19 years ago
Christian Stimming 439ad78323 Fix memory leak where a free was forgotten
19 years ago
David Hampton 5990e0be74 Fix several problems with the QOF book merge code. Use unique error
19 years ago
Andreas Köhler 9f44e3155d Do not use langinfo to determine date format spec, but %x, %X or %c.
19 years ago
Andreas Köhler b9664b2cab Add Windows-specific code to lib/libc/strptime.c to eat %x, %X and %c.
19 years ago
David Hampton 9ec864163d Collapse the various "idata" fields into a single field attached to
19 years ago
David Hampton cad2164810 Collapse the various "version" and "version_check" fields into a
19 years ago
David Hampton 62dce55fb8 Fix a problem copying a guid from an object to a local variable.
19 years ago
David Hampton 285a5216b3 Move QofInstance guid property from its public data structure to its
19 years ago
David Hampton 4f6fd1b090 Move QofInstance book properties from its public data structure to its
19 years ago
David Hampton 7d3c6b9a38 More a large number of the QofInstance properties from the public data
19 years ago
David Hampton fd26e126ec Remove the macro versions of qof_begin_edit and qof_commit_edit_part<x>.
19 years ago
David Hampton ce65024722 Start putting an API in place for access to the members of the
19 years ago
David Hampton 80a0403ebb Collapse two functions into their only caller. Move a third function
19 years ago
David Hampton 2b16fa1f41 Use GNC_TYPE_NUMERIC instead of GNC_NUMERIC.
19 years ago
David Hampton c6a609b8f7 Move more account properties from the public data structure to a
19 years ago
Andreas Köhler 70af105a88 Add qof-gobject.h to qofinclude_HEADERS.
19 years ago
Derek Atkins b15d6171c7 Phil Longstaff's patch to enable gnc_numeric to be a GValue
19 years ago
Derek Atkins 7990568f9b Phil Longstaff's patch to fix a kvp_frame bug.
19 years ago
Andreas Köhler ec22b196e5 Remove unused code for gnc_timet_get_day_{start,end}_gdate from qof.
19 years ago
Derek Atkins 18c4cbf122 First step of QOF/Object GObjectification.
19 years ago
Andreas Köhler 3fc5e23b51 Remove unused functions qof_print_{hours,minutes}_elapsed_buff().
19 years ago
Andreas Köhler 8f8a8a33b1 Remove unused function qof_is_same_day().
19 years ago
Joshua Sled 897633f01b Combine two copies of "dow abbrev[iation]" code.
19 years ago
Derek Atkins 8c6e7b8394 Add hooks for the gobject dispose() function so that we can
19 years ago
Derek Atkins b4323dbfcf Get "make check" to work with the gobjectified objects.
19 years ago
Joshua Sled 4a35a0eac8 unused variable removal.
19 years ago
Andreas Köhler e111fd32b0 Use qof_strftime instead of strftime in the C source code.
19 years ago
Andreas Köhler 095c71a5f1 Improve printing of dates and times with non-UTF-8 locales and on Windows.
19 years ago
Derek Atkins 5bee77e41a get libqof to build using GObject
19 years ago
Derek Atkins 44103fd12f convert QofInstance to using GObject
19 years ago
Derek Atkins 06ec94e59c Hey, look! QofInstance has a GObject.
19 years ago
Derek Atkins 12461c5b30 * Merge QofEntity into QofInstance
19 years ago
Derek Atkins 4e43ae10f3 Preparation for QofEntity -> QofInstance:
19 years ago
Joshua Sled 09d90de350 Unused identifier cleanup.
19 years ago
David Hampton 5246632fb4 ISO 8601 requires a four digit year.
19 years ago
Andreas Köhler 5400c53b2a Drop internal copies of libgsf and goffice.
19 years ago
David Hampton 6fbada92ec Remove all traces of the AccountGroup data structure. Accounts now
19 years ago
Joshua Sled 016afcf3da More doc updates.
19 years ago
Joshua Sled 41e5b3540f Update qoflog documentation.
19 years ago
Joshua Sled 5cc69350f4 Better handling of NULL filename.
19 years ago
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.
19 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