The code made a roundtrip into guile (for historical reasons I guess).
The guile code used to be able to provide custom paths to search for
based on some command line parameter set at startup. This parameter
is no longer accepted since a very long time back.
Also note that the gncFindFile function is not actively in use. It is
only called by gncReadFile, which in turn is only called when our html
code is asked to load a generic file or a help file to stream (protocol
file or help). Both protocols are used nowhere in the current GnuCash
code.
gncFindFile (now gnc_path_find_localized_html_file) is only kept for
a. custom reports that potentially use the file protocol
b. jqplot which uses the guile equivalent of this function
(see a subsequent commit)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22637 57a11ea4-9604-0410-9ed3-97b8803252fd
GncDate can now handle all dates between 1 Jan 0001 and 31 Dec 9999
(proleptic Gregorian).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22614 57a11ea4-9604-0410-9ed3-97b8803252fd
Removing an ugly and antiquated name and providing a more concise implementation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22608 57a11ea4-9604-0410-9ed3-97b8803252fd
Into something that isn't an ugly hack and actually works.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22606 57a11ea4-9604-0410-9ed3-97b8803252fd
The builtin time functions suffer from the "2038 bug" caused by
overflowing a 32-bit representation of seconds from 1 Jan 1970. Provide
functions based on GDateTime which use a 64-bit representation (like our
Timespec), replace all of the instances in gnc-date.c, and make other
adjustments needed to ensure that the tests pass on a 32-bit system.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22604 57a11ea4-9604-0410-9ed3-97b8803252fd
Special-case MSWin results.
Create a private struct of function pointers so that we can continue to
use the Win32 workaround functions in test-gnc-date.c while we refactor
gnc-date.c to use GDateTime instead of gmtime, localtime, and mktime.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22603 57a11ea4-9604-0410-9ed3-97b8803252fd
If reports contain an opening <object> tag, but omit the closing tag,
the html string is freed and still used some time later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22544 57a11ea4-9604-0410-9ed3-97b8803252fd
Another update fixing a crash on Windows and Geert's Fedora system
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22541 57a11ea4-9604-0410-9ed3-97b8803252fd
Guards older implementation with ifndef HAVE_GLIB_2_32
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22533 57a11ea4-9604-0410-9ed3-97b8803252fd
This was updated automatically by running make dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22518 57a11ea4-9604-0410-9ed3-97b8803252fd
Filter/sort should now work.
Author: Robert Fewell <14ubobit@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22514 57a11ea4-9604-0410-9ed3-97b8803252fd
Include asserts to fail immediately if either the dbi or xml backends
fail to load.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22511 57a11ea4-9604-0410-9ed3-97b8803252fd