Removes an often regenerated dependency from qof.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14688 57a11ea4-9604-0410-9ed3-97b8803252fd
- Don't distribute (most) generated files.
- Be (more) consistent about when generated files are cleaned.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14555 57a11ea4-9604-0410-9ed3-97b8803252fd
Just modify GLIB_LIBS and GLIB_CFLAGS so everyone properly
links against the glib26 compatibility library when necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14330 57a11ea4-9604-0410-9ed3-97b8803252fd
Hopefully this will solve the problem Macs are having dlopen'ing them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14210 57a11ea4-9604-0410-9ed3-97b8803252fd
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
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
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
* 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
* 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
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
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
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
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
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
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
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
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
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
#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
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
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
* 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
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
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
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
- 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
* 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
* 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
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
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
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
* lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c:
rename 'fmin()' to 'gogi_fmin()' to prevent double
declaration on MacOS. It's an internal (static) function
so we can safely rename the function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12184 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: fix some of the output strings
* lib/libgsf-1.12.3/gsf/glib24_26-compat.c:
make g_get_filename_charsets static because it's not
needed outside this file.
* lib/goffice-0.0.4/goffice/glib24_26-compat.c:
make _g_compute_locale_variants static because it's
not needed outside this file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12097 57a11ea4-9604-0410-9ed3-97b8803252fd
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
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
* lib/guppi-legend.patch: Include patch for Guppi that fixes
reversed legend problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8470 57a11ea4-9604-0410-9ed3-97b8803252fd
* doc/Makefile.am
* src/doc/Makefile.am
* src/doc/design/Makefile.am
* src/experimental/cgi-bin/Makefile.am
Added docs that were missing from dist.
Moved doxygen clean rules to maintainer-clean.
Moved texinfos to maintainer-clean.
* lib/libc/Makefile.am
Added sources needed for OS X to dist.
* src/app-utils/Makefile.am
* src/backend/postgres/Makefile.am
* src/business/business-core/Makefile.am
* src/business/business-gnome/Makefile.am
* src/business/dialog-tax-table/Makefile.am
* src/core-utils/Makefile.am
* src/engine/Makefile.am
* src/gnc-module/Makefile.am
* src/gnc-module/test/mod-bar/Makefile.am
* src/gnc-module/test/mod-baz/Makefile.am
* src/gnc-module/test/mod-foo/Makefile.am
* src/gnome/Makefile.am
* src/gnome-search/Makefile.am
* src/import-export/Makefile.am
* src/import-export/binary-import/Makefile.am
* src/import-export/qif-io-core/Makefile.am
* src/register/register-core/Makefile.am
* src/report/report-gnome/Makefile.am
* src/scm/Makefile.am
* src/app-file/Makefile.am
* src/gnome-utils/Makefile.am
Put generated headers into dist.
Moved symlinks to distclean.
Moved generated files to maintainer-clean.
Put generated gw-.*.scm files in dist for parity.
Put generated sources into dist.
Moved generated source to maintainer-clean.
* src/bin/overrides/Makefile
Made built scripts depend on config.status to ensure
they're rebuilt when paths change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7859 57a11ea4-9604-0410-9ed3-97b8803252fd
work on all versions of auto-tools, although it now requires GnuMake.
* configure.in -- just pass LIBOBJS directly to the Makefile; pass
a sed script that uses '$U' (which is a 2.53ism, but works right
on 2.13) to the Makefile.
* lib/libc/Makefile.am -- Use LIBOBJS and GnuMake's $(shell) syntax
to create the list of libobjects to be linked into "libc-missing"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7266 57a11ea4-9604-0410-9ed3-97b8803252fd
file so you at least have _something_. This is a crock, but it
was easier than making the inclusion of libc-missing.a optional
everywhere.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6837 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry: add date_entered for better sorting
change SetDate methods from "Timespec*" to "Timespec"
update entry ledger to use new function calls
Fix a comparison bug in Entry/Invoice/Order. Compares now
work correctly.
Updated invoice report; use date->string to print today's date;
flags to print notes. Added more flexibility in what gets printed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6748 57a11ea4-9604-0410-9ed3-97b8803252fd
(.scm-links): create so we can run from gnucash build dir.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6083 57a11ea4-9604-0410-9ed3-97b8803252fd
Removed syncase dependency.
(priv:open-input-string): removed -- check for open-input-string
and define that if not found.
(:optional): removed - just as easy to handle by-hand -- all funcs
that called :optional have been adjusted.
(priv:read-tai-utc-data): remove priv: from open-input-string.
(string->date): remove priv: from open-input-string.
(date): change constructor name to make-date.
(priv:decode-julian-day-number): add inexact->exact after
truncate.
(time-utc->date): add inexact->exact and int-secs.
(priv:locale-reader): use reverse! on result rather than reverse.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4421 57a11ea4-9604-0410-9ed3-97b8803252fd
* lib/srfi/srfi-9.scm: new file.
* lib/srfi/srfi-11.scm: new file.
* lib/srfi/srfi-8.scm: moved from src/scm/srfi/.
* lib/srfi/srfi-19.scm: moved from src/scm/srfi.
* lib/srfi/README: moved from src/scm/srfi/.
* lib/srfi/srfi-1.scm: moved from src/scm/srfi/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4200 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/utilities.scm (string-split): used to be string-split-on
in qif-utils.scm
* src/scm/qif-import/qif-utils.scm: move string-split-on to
utilities.scm as string-split to better match string-join.
* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
string-split-on -> string-split.
* src/scm/qif-import/qif-dialog-utils.scm
(qif-import:get-all-accts): string-split-on -> string-split.
* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
function - retrieve lists of historical quote information.
* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
directory so we can use-modules from there.
* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
away on "make clean" in addition to "make distclean".
* src/engine/gnc-pricedb.c: minor doc updates.
* src/engine/gnc-pricedb.h: much more documentation.
* lib/guile-www: new directory - contains guile-www CVS module.
Used by new historical quote function. Several new files added.
Installed to new install directory GNC_SHAREDIR/guile-modules such
that it is available via (use-modules (www main)), etc.
* lib/Makefile.am (SUBDIRS): add guile-www
* configure.in (AC_OUTPUT): add lib/guile-www/Makefile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
Add and use gnome autoconf macros.
Fix lots of new compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2842 57a11ea4-9604-0410-9ed3-97b8803252fd