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
* src/report/report-system/html-utilities.scm:
Fix a broken recursion problem. Don't call show-acct? from
use-acct? so we don't recurse ad flictum. This recursive
call isn't necessary, just have use-acct? recurse unto itself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9904 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/standard-reports/balance-sheet.scm:
* src/report/standard-reports/pnl.scm:
Fabien COELHO's zero-balance patch to remove accounts of
zero balance from the report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9901 57a11ea4-9604-0410-9ed3-97b8803252fd
Same set of patches as before: replace naked function call pointers
for working with object parameters by 'clothed' paramters.
make clean; make; make install is required to get a functional system,
because these changes change structure sizes and offsets in the engine
libraries. If you don't make clean; you will probably get weird,
impossible-to-find crashes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9900 57a11ea4-9604-0410-9ed3-97b8803252fd
GnuCash; checked in here to keep gnucash in sync with qof files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9899 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Transaction.c: fix a comment to better explain why
we have no-op functions for some parameters.
* src/engine/qof*: Revert Linas' patch from last night which
is broken is way too many ways to count. First, the code didn't
compile. Second it was calling functions that took one argument
with two due to broken casting. Third, it had repurcusions in
other sections of the code that Linas needs to take into account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9898 57a11ea4-9604-0410-9ed3-97b8803252fd
to QofParam, so that the access func can be passed a type.
Time like these, I wish the C programming language had 'lambda'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9896 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/macros/autogen.sh: Add MORE warnings around gettext because
some users STILL don't "get it".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9894 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/dialog-hbcitrans.c: Don't use C++/C99
declarations. Declare variables at the top of the function.
Fixes#140070
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9893 57a11ea4-9604-0410-9ed3-97b8803252fd
Users can now write things such as
'SELECT * FROM xaccTransaction WHERE datePosted > 4/4/4;"
and have the qof query mechanism work as before, and return
a glist of transactions. For example demo usage, see the qof tarball.
Works, but needs improvement.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9880 57a11ea4-9604-0410-9ed3-97b8803252fd
* macros/autogen.sh: make sure we always have intl and po Makefiles
in the configure script. Sometimes it was ripped out without being
replaced. Reported by twunder.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9877 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c: Move variable declaration
to the top of the block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9876 57a11ea4-9604-0410-9ed3-97b8803252fd
* accounts/hu_HU/Makefile.am: don't include files in the DIST that
we don't have in CVS.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9874 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: move m4/Makefile to its own line
* macros/autogen.sh: add code to remove "intl/Makefile po/Makefile"
from AC_OUTPUT in configure.in prior to calling gettextize
to make sure that you can build from CVS with recent versions
of gettextize. Tested with both RH9 and RH7.3 to make sure
it works with both old and new. Fixes#120206.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9871 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/utility-reports/iframe-url.scm:
don't need to require format; main.scm handles it, and
the default "format" (simple-format) is sufficient to
handle everything we need. This allows gnucash to work
with slib3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9869 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/register-core/formulacell.c
(gnc_formula_cell_modify_verify): Add ':' to the token list of
allowable characters in the formula cell. Fixes Bug#106260.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9865 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-loan.c (gnc_ui_sx_loan_druid_create): Use the
account-list filtering capability of the GncAccountSel to only
show/allow-creation-of valid account-types in the
loan-druid. Fixes Bug#124595.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9863 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Bug#133709 fix: when we have a problem parsing a credit/debit
cell, indicate to the user what occurred.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9860 57a11ea4-9604-0410-9ed3-97b8803252fd
* HACKING: Added instructions about running under valgrind.
* lib/gnucash_valgrind.supp: Added a large set of valgrind
suppressions for both guile and gnucash.
* src/register/ledger-core/gnc-ledger-display.c
(gnc_ledger_display_template_gl): Change the reg_type to
SEARCH_LEDGER so all the 'action' types appear. Bug#108833.
* src/gnome/glade/sched-xact.glade: Remove unused 'ledger_status'
widget. Bug#102269.
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_draw_to_buffer):
At least be consistent about the background coloring of the month
labels, even if we're still not using GTK themeage correctly.
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_destroy): Destroy
the transient window when the widget is destroyed. Bug#103910.
* src/gnome/dialog-scheduledxaction.c
(gnc_ui_scheduled_xaction_editor_dialog_create): Make the advance
and remind spin-buttons editable [Bug#94963].
* src/gnome/glade/sched-xact.glade: Change the upper bound on the
advance and remind spins to 365 [days], with a page-size of 30
[days].
* src/gnome/dialog-sx-from-trans.c (gnc_sx_create_from_trans):
Disallow the Scheduling of being-editing transactions in the
Register, preventing a class of unbalacned SX template
transactions from being entered and propogated through the
system. See Bug#130330.
* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr): Fix nasty
memory-corruption issue; insufficent bounds checking on array
index. Bug#125600.
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Better handling of various error cases in
transaction-creation. Bug#120311; Bug#130330.
2004-03-01 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Fix for part of Bug#121740 -- only allow auto-create SXes which
have splits to be created.
2004-02-07 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
* src/gnome-utils/gnc-frequency.c (gnc_frequency_save_state):
* src/backend/file/gnc-freqspec-xml-v2.c (fs_none_handler):
* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr):
Adding "NONE" as an allowable FreqSpec [Bug#103968].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9858 57a11ea4-9604-0410-9ed3-97b8803252fd
little cleaner by not re-using (and re-defining!) the same
variable name inside a block of code and "over-riding" an
existing variable. Unlikely to actually fix anything, but
you never know what a compiler might do.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9841 57a11ea4-9604-0410-9ed3-97b8803252fd
argument in SetOwner() in revision 1.40 thereby causing ALL new
jobs to fail to work. Check the new owner, not the original.
Fixes#133392.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9827 57a11ea4-9604-0410-9ed3-97b8803252fd