Commit Graph

7942 Commits

Author SHA1 Message Date
Linas Vepstas
d4fbf9c7f9 changes to make the documentation format nicely with Doxygen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9944 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 04:47:03 +00:00
Linas Vepstas
27b3b9bec6 Working on the doxygen documentation:
fix some typos, add a missed file,


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9943 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 04:44:40 +00:00
Linas Vepstas
0861fb9d02 Changes to make the documentation display nicely with Doxygen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9942 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 04:14:54 +00:00
Linas Vepstas
5bc213ae4d changes to make the documentation format nicely with docygen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9941 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 03:26:31 +00:00
Linas Vepstas
06fae54699 Round one of changes to make doxygen generat nice docs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9940 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 02:36:40 +00:00
Linas Vepstas
d9b43bf908 update documentation structure so that doxygen generates nice output
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9939 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-06 14:42:00 +00:00
Derek Atkins
31dd073300 Fix another slib3 issue.
* 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
2004-05-05 15:52:09 +00:00
Linas Vepstas
9d0d967734 twaks to make doxygen run more nicely
also, fold in old/obsolete query docuemntation


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9933 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-05 15:42:34 +00:00
Linas Vepstas
82395f51df remove deleted file 'query-api.txt' from the dist list
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9932 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-05 14:45:07 +00:00
Linas Vepstas
af44cbb6cc The contents of this document have now been merged into the
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
2004-05-05 14:43:49 +00:00
Linas Vepstas
0dc2890708 fix doxygen warnings by running doxygen -u
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9930 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-04 15:18:50 +00:00
David Hampton
6216b1f167 Work around problems with libltdl3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9921 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-03 05:21:26 +00:00
Linas Vepstas
fb68f770c5 add more tests spanning more decades
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9919 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-03 04:11:01 +00:00
Linas Vepstas
17924792ef whoops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9918 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-03 03:36:42 +00:00
Linas Vepstas
9a1cfd5246 Changes:
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
2004-05-03 03:33:15 +00:00
Linas Vepstas
69a9ad0d4f fix the documentation surrounding the gnc_iso8601_to_timespec routine().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9916 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-02 22:04:07 +00:00
Linas Vepstas
44ba8cf418 change usage of iso8601_to_timespec_local to ..._gmt(). The old
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
2004-05-02 21:37:46 +00:00
Linas Vepstas
9df12db62f the olc is8601_to_timespec_local was returning GMT. The new
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
2004-05-02 20:52:34 +00:00
Linas Vepstas
9a5a234b02 The old gnc_iso8601_to_timespec_local() was actually returning the
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
2004-05-02 20:49:37 +00:00
Linas Vepstas
ef0e3ff946 The old gmc_iso8601_to_timespec_local was actually
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
2004-05-02 20:41:48 +00:00
Linas Vepstas
b05ba5a9bb Time conversion test case was broken;
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
2004-05-02 18:41:22 +00:00
David Hampton
5574f58727 Eliminate compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9907 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-01 22:20:19 +00:00
Derek Atkins
2bb7cee7a6 'sed' out of ${srcdir}
* src/scm/Makefile.am: look in ${srcdir} for build-config.scm.in
	  Fixes #141129


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9906 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-26 15:31:15 +00:00
Derek Atkins
558dedd887 Fix a broken recursion problem in html-utilities.
* 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
2004-04-20 14:21:49 +00:00
Derek Atkins
c44b5a1a45 Fabien COELHO's zero-balance patch.
* 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
2004-04-20 03:48:09 +00:00
Linas Vepstas
d636f3a798 This time, I'm going to say 'cvs commit' in the correct directory.
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
2004-04-19 15:45:46 +00:00
Linas Vepstas
f450305ca2 QOF to GObject glue code. Not currently built or used by
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
2004-04-19 03:35:52 +00:00
Derek Atkins
44969cd944 Revert Linas' broken changes to qof.
* 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
2004-04-18 20:04:07 +00:00
Linas Vepstas
8d2400433e Change all occurances of QofAccessFunc function pointers
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
2004-04-18 06:25:11 +00:00
Derek Atkins
f207abc0d2 Add more warnings to autogen.
* 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
2004-04-16 17:04:50 +00:00
Derek Atkins
efefa08644 Don't use C++/C99 variable declarations.
* 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
2004-04-15 17:35:02 +00:00
Derek Atkins
79a24a42e8 Ignore built test-link file.
* src/engine/test/.cvsignore: ignore test-link in CVS.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9891 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-15 15:12:30 +00:00
Chris Lyttle
965675afb6 update for stable release 1.8.9
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9890 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-13 06:10:27 +00:00
Linas Vepstas
93e2c5cbf9 sync bug fixes from the QOF project tree
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9889 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-13 05:49:39 +00:00
Linas Vepstas
3034024178 add support for the join-from-kvp-frame feature
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9886 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-12 05:27:28 +00:00
Linas Vepstas
05ebfe7e01 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9885 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-12 05:24:02 +00:00
Linas Vepstas
4f0415c82e Add support for client-side-parsed SQL-like queries.
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
2004-04-09 13:59:44 +00:00
Linas Vepstas
fc9fdb03ba sync with QOF sourceforge CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9879 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-09 13:54:53 +00:00
Derek Atkins
17eee61f51 Deal with gettext not doing anything on every autogen.
* 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
2004-04-05 18:31:22 +00:00
Derek Atkins
53824933a5 This isn't C++; variable declaration must be at the top of a block.
* 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
2004-04-01 15:25:39 +00:00
Derek Atkins
2a3cef235e Don't try to distribute nonexistant files.
* 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
2004-04-01 06:12:50 +00:00
Derek Atkins
2388ff3158 Build CVS directly with recent gettextize; no AC_OUTPUT errors.
* 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
2004-04-01 05:42:58 +00:00
Derek Atkins
5d69a9acd0 * src/report/report-system/report-system.scm:
* 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
2004-03-30 23:17:19 +00:00
Joshua Sled
3a84513d47 2004-03-14 Joshua Sled <jsled@asynchronous.org>
* src/gnome/druid-loan.c (ld_get_loan_range): Fix precedence bug
	screwing up loan review page.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9867 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-03-14 17:39:44 +00:00
Joshua Sled
52a65d7915 2004-03-14 Joshua Sled <jsled@asynchronous.org>
* 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
2004-03-14 15:49:40 +00:00
Joshua Sled
4df98e8ade 2004-03-14 Joshua Sled <jsled@asynchronous.org>
* 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
2004-03-14 14:57:27 +00:00
Joshua Sled
7f937768d4 2004-03-13 Joshua Sled <jsled@asynchronous.org>
* 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
2004-03-14 00:25:46 +00:00
Joshua Sled
e19df01f5f 2004-03-07 Joshua Sled <jsled@asynchronous.org>
* 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
2004-03-11 01:17:14 +00:00
Christian Stimming
c967d17c4e 2004-03-08 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c, dialog-hbcitrans.h,
	glade/hbci.glade, gnc-hbci-transfer.c: Transfer template management
	GUI added by Bernd Wagner <F.J.Bernd.Wagner@t-online.de>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9856 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-03-09 17:39:46 +00:00
David Hampton
e60485652d Revert the last change. The gh_xxx functions are deprecated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9845 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-03-03 21:37:51 +00:00