-- try to inline the numeric-check for slightly better performance
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9978 57a11ea4-9604-0410-9ed3-97b8803252fd
Gains aren't possible if the lot commodity is the same as
the transaction currency. I think that this should fix
http://bugzilla.gnome.org/show_bug.cgi?id=139677
Untested, let me know.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9976 57a11ea4-9604-0410-9ed3-97b8803252fd
requires that all splits in lot share a common transaction currency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9973 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Transaction.c:
Don't recompute balances or write to the translog when we're
shutting down. Destroy the parent transaction from xaccSplitDestroy()
if we're shutting down.
* src/engine/qofbook-p.h:
* src/engine/qofbook.h:
* src/engine/qofbook.c:
add "shutting_down" parameter and getter-method, so that
objects can detect when the book is shutting down and
ignore non-necessary reprocessing. Fixes a memory corruption
bug during book-closing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9972 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/standard-reports/transaction.cm: applied Vasil's
patch to improve the transaction report for HTML export
purposes. Fixes bug #142942.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9968 57a11ea4-9604-0410-9ed3-97b8803252fd
-- Add 'new' callback to QofObject. This allows QofObject to act
as an 'object factory', creating a new instance of something,
given only the type name. Plan to use this in the new SQL
backend, when restoring objects from SQL tables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9965 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/locale-specific/us/taxtxf.scm: guile-1.6 complains
about string->symbol when passed a symbol. Fixes#131201
Also add some code to handle accounts that are expected to
have parents but do not (also described in #131201).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9963 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-08 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-match-map.c
(gnc_imap_add_account_bayes): Skip the case when a token is the
empty string. This caused many warnings about a NULL kvp_frame
lookup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9956 57a11ea4-9604-0410-9ed3-97b8803252fd
guile gh_* routines. The file engine-helpers.c also has whitespace
changes where tabs were expanded to 8 spaces (I have set ts=3, so
mixed tab/space indentation looks terrible). I beleive that the
changes are all good, but if you suspect the worst, you can revert by
fishing out the cvs tag 'pre-gh-deprecate'.
Some of the gnome files weren't converted, mostly because the
conversions really should be done in the gnome2 branch not this
branch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9950 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/iso-currencies-to-c: don't automatically try to
(require 'format), so gnucash will build on an slib-3 system.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9935 57a11ea4-9604-0410-9ed3-97b8803252fd
QOF header files (which should show up in src/engine in the enxt update).
This file is now dead
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9931 57a11ea4-9604-0410-9ed3-97b8803252fd
Synchronize with QOF cvs tree.
gnc-engine-util.h:
-- add string utility to remove whitespace
-- add string utility that recognizess booleans 'TRUE', 'true' etc
guid.h:
kvp_frame.h:
-- doc clarification
qofclass.c:
qofclass.h:
-- fix core dump
-- add qof_class_is_registered() inquiry
qofgobj.c:
-- fix whitespace/bad indentation
qofquery.c:
-- fix query printing
-- fix buglet when mergeing two queries, and one is empty
qofquerycore.c:
-- some subroutine arguments should be const
-- add a handy-dandy qof_query_kvp_predicate_path() convenience routine
qofquerycore.h:
-- fix whitespace/bad indentation
qofsql.c:
qofsql.h:
-- add support for KVP in SQL queries
-- fix problems with GUID's in sql queries
-- separate query parse step from the query execute step
qofquery-serialize.c
qofquery-serialize.h
qofquery-deserial.c
qofquery-deserial.h:
-- Add new functions to turn a query into XML and back.
(Oh, don't ask why, needed for a gnomevfs integration stunt)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9917 57a11ea4-9604-0410-9ed3-97b8803252fd
routine returned the GMT time. The new routine will return the GMT time.
Thus, this change is a no-op
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9914 57a11ea4-9604-0410-9ed3-97b8803252fd
iso8601_to_gmt is going to return GMT. So this net
result should be no change
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9913 57a11ea4-9604-0410-9ed3-97b8803252fd
GMT time. The new gnc_iso8601_to_timespec_gmt() is going to return
the GMT time. Thus, the net result of this change will be a no-op.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9912 57a11ea4-9604-0410-9ed3-97b8803252fd
returning the GMT time. The new gmc_iso8601_to_timespec_gmt()
is going to return GMT. So after these changes, there will be
no function change to this routine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9911 57a11ea4-9604-0410-9ed3-97b8803252fd
thus incorrect time conversion test was passing
due to broken test case :-(
Add additional checks to make sure that zero-hour GMT really does
convert to zero-seconds.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9909 57a11ea4-9604-0410-9ed3-97b8803252fd