Commit Graph
100 Commits
Author SHA1 Message Date
Derek Atkins bc7964de49 * Makefile.am: fix the dist-hook macro for po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12302 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:29:47 +00:00
Derek Atkins 98f3494c27 need to #include gkeyfile.h if we don't have glib26.
* src/gnome-utils/gnc-tree-view-account.c:
	* src/gnome/gnc-plugin-page-budget.c:
	  need to #include gkeyfile.h if we don't have glib26.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-02 22:32:18 +00:00
Derek Atkins e9149d926a raname internal fmin() to gogi_fmin().
* 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
2005-12-27 15:41:07 +00:00
Derek Atkins e72d156c03 Some changes to get code to compile on Solaris.
* configure.in: g-wrap 1.9.6 can define the module-dir as
	  share/guile/site -- we want to make sure to get rid of
	  the /site when computing the libdir from this.  Otherwise
	  the runtime will fail to find the g-wrap runtime libraries.
	* src/gnome-utils/gnc-currency-edit.c:
	* src/business/business-gnome/business-urls.c:
	  include <strings.h> to compile on Solaris.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12154 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-09 18:28:42 +00:00
Derek Atkins d0206f3217 Remove dependency on gtk-doc from private libgsf build.
* configure.in:
	  - remove libgsf/doc*
	  - remove GTK_DOC checks
	* lib/libgsf/Makefile.am: remove 'doc' from SUBDIRS and
	  remove distcheck extra flags.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12137 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-06 19:24:42 +00:00
Derek Atkins bb34345b6a remove gsf and goffice po dir from configure script.
* configure.in: remove libgsf/po/Makefile and goffice/po/Makefile
	  because we never build these directories.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12136 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-06 19:02:07 +00:00
Derek Atkins e16e517092 Update svn version grabbing code.
* src/gnome-utils/Makefile.am: Grab svn version using
	  svnversion instead of parsing "svn info".  Also make it
	  so that it doesn't force a rebuild if the version does
	  not change.
	* src/gnome-utils/gnc-splash.c: changed svn version
	  from an integer into a string.  Handle that in the
	  splash screen.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12098 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 22:21:43 +00:00
Derek Atkins eb88bd88f9 Get goffice merge to build on FC3 again.
* 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
2005-12-04 22:11:34 +00:00
Derek Atkins 4ea2948c1f * macros/autogen.sh: don't warn the user about running
configure with zero arguments.  Autogen doesn't run
	  configure anymore.  This confused a user.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12091 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 15:27:20 +00:00
Derek Atkins 51dbc58b59 use LANG=C instead of LANG=en_US
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12010 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 00:27:20 +00:00
Derek Atkins dfb0f29121 run "svn info" in en_US locale
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12009 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 00:19:06 +00:00
Derek Atkins d9d3520ea5 * src/gnome-utils/Makefile.am: exit if "svn info" fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12008 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-21 23:53:57 +00:00
Derek Atkins d1303d7fdd Update patch to explain which versions of gtkhtml are required.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11977 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-19 06:36:08 +00:00
Derek Atkins 9ee2e12585 Derrick Hudson's patch to tell users that they need gtkhtml-3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11973 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-18 18:44:52 +00:00
Derek Atkins a4b084d8c2 Remove Andreas Köhler test.
(final test for commit email)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11951 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 23:19:38 +00:00
Derek Atkins bf99c7bbe7 Test for Andreas Köhler.
( testing commit script)



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11949 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 23:08:24 +00:00
Derek Atkins c0c7a80840 Test for Andreas Köhler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11948 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 22:58:22 +00:00
Derek Atkins 3c4f5ff429 Test for Andreas Köhler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11947 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-15 22:54:31 +00:00
Derek Atkins 04eb0593b5 Fix David Reiser's compile problem on OSX with gcc-3.3.
* src/core-utils/gnc-gkeyfile-utils.c: cast the
	  printf so we don't warn when sizeof(ssize_t) !=
	  sizeof(int).  In this case the cast is safe because
	  we can only write an int-size of data.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11925 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-14 01:49:52 +00:00
Derek Atkins 35e7ebec71 Use the svn info for the splash screen info.
* configure.in: don't need GNUCASH_CVS anymore
	* src/gnome-utils/Makefile.am:
	  build gnc-version.h and gnc-svninfo.h.  add the
	  latter to EXTRA_DIST.  Only build svninfo if
	  $(srcdir)/.svn exists.  #define GNUCASH_SVN
	  when that directory exists (at buildtime).
	* src/gnome-utils/gnc-splash.h: use new SVN info.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11787 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 18:14:48 +00:00
Derek Atkins 02dbf6e134 Yet another cvs-acl test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11559 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-10-31 19:31:01 +00:00
Derek Atkins 6c05541b63 Testing commit. This should fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11558 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-10-31 18:59:52 +00:00
Derek Atkins e5ab6b7529 Fix recursion in gnc:owner-get-owner-id (reported by Chase James).
* src/business/business-core/business-core.scm:  need to
	  properly recurse in gnc:owner-get-owner-id.  there is no
	  gnc:owner-get-id API.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11263 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-08-15 12:54:21 +00:00
Derek Atkins 9f9ce9c60a * acinclude.m4: Add mips, mipsel, arm, and m68k for Debian.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10901 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-17 03:25:29 +00:00
Derek Atkins 833abd9e0e Fix to find glade symbols on some *BSD systems.
* src/gnome-utils/dialog-utils.c: When trying to load the symbol
	  from a glade file, Fall back to dlsym() if g_module_symbol()
	  fails.  This is necessary to find the symbols on on certain *BSD
	  systems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10899 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-16 22:27:00 +00:00
Derek Atkins 321d3e2473 Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10454 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Derek Atkins d84d59488e Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10453 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Derek Atkins 0221866afe Make sure us.scm is distributed.
* src/report/locale-specific/us/Makefile.am: make sure the
	  scheme reports are part of the DIST.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10449 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 04:08:23 +00:00
Derek Atkins ca6e053320 Add extra debugging (#165571).
* src/engine/Scrub.c:
	* src/engine/Transaction.c:
	  Add the transaction guid to some error warning messages.
	  Fixes #165571.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10445 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-31 01:20:52 +00:00
Derek Atkins 408f77d8b8 * src/engine/Account.c:
- updated implementation of qofAccountSetParent().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10443 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 22:45:25 +00:00
Derek Atkins a8102f258b Neil Williams' QOF sync patch.
* This patch updates the QOF merge code to current QOF to bring
	  the HEAD branch into sync. This update also makes
	  qof_book_merge_param_as_string output strings that are
	  compatible with QSF: using false instead of FALSE in string
	  output and using the QSF_XSD_TIME for the datestrings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10440 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 21:06:20 +00:00
Derek Atkins 46cac7318c Fix ACCOUNT_NSCU Qof Param getter.
* src/engine/Account.c:
	  This patch fixes: (QofAccessFunc)xaccAccountSetNonStdSCU in
	  src/engine/Account.c - that's a Set routine allocated as a
	  QofAccessFunc - the patch changes it to the appropriate Get
	  routine - the QofSetterFunc is OK.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10439 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 16:16:35 +00:00
Derek Atkins fd5ffd6e1d Thomas Bushnell's patch to protect non-backup pruning (#164875).
* src/backend/file/gnc-backend-file.c:
	  When working on the file foo.xac, backups are named
	  foo.DATE.xac.  But the backup file pruner will prune any old
	  file named foo.DATE.anything.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10435 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 19:03:28 +00:00
Derek Atkins c7c41453ca David Montenegro's patch for bugs #95551, #124367.
* src/report/standard-reports/account-summary.scm:
	  Rewrote account summary report. Now has fields for
	  more account metadata. Properly handles mixed
	  asset/liability subaccounts.
	* src/report/standard-reports/html-acct-table.scm:
	  Added functionality (account-type &c) and bug fixes
	  (lone zb subtotals, spurious 'recursive-bal, typos)
	  needed to make the new account-summary.scm work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10434 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 18:54:12 +00:00
Derek Atkins b2390c772e Properly accumulate splits (bug #165053).
* src/business/business-core/gncInvoice.c: Properly accumulate
	  splits (bug #165053).  Also fixes a (related) memory leak
	  (caused by the same lack-of-reference to accumulated splits).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10424 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-24 04:33:29 +00:00
Derek Atkins 3227f56daf * Neil William's patch to remove static mergeData context.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10414 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-15 20:16:09 +00:00
Derek Atkins d5c24533d7 Chris Shoemaker's typo-fix patch.
* src/engine/qofbook.h:
	* src/engine/qofid.h:
	  general fixed typos and comments


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10399 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:52:53 +00:00
Derek Atkins c04bbaf639 Chris Shoemaker's gnc-trace patch.
* src/engine/gnc-trace.[ch]:
	  - Recent use of malloc in gnc-trace breaks my compile, use g_malloc
	  - Fix leak of filename mem
	  - add indenting of trace file according to ENTER/LEAVE stack depth
	  - have ENTER report file name of function along with function name


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10398 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:50:37 +00:00
Derek Atkins 8d2cb86f8b John Ellson's patch to fix some gcc4 warnings (bug #162582).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10396 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 18:38:03 +00:00
Derek Atkins 4417e511a9 Rich Johnson's patch to include private structures in the doxygen docs.
* src/doc/doxygen.cfg.in:
	  extract local classes = yes
	  don't exclude *P.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10378 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-17 15:56:30 +00:00
Derek Atkins b4bf5cb9b8 Neil Williams' patch to fix the book-merge test.
* src/engine/test/test-book-merge.c: targetEnt is always NULL
	  during MERGE_NEW so don't test it in that case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10362 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 15:35:52 +00:00
Derek Atkins 5f1900daa3 Get test-numeric working.
* src/engine/test/test-numeric.c:
	  Make sure we use gint64 instead of gint when trying to test
	  values > 2^32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10361 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 00:34:37 +00:00
Derek Atkins e131c27fc2 Include libxml headers during compile (#121026).
* src/backend/file/Makefile.am:
	* src/backend/file/test/Makefile.am:
	* src/business/business-core/file/Makefile.am:
	  Need to include GNOME_XML_CFLAGS to make sure the libxml includes
	  are found during the compile.  Fixes #121026.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10360 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 23:01:42 +00:00
Derek Atkins 8d05aae712 Increase the max dup-trans number to 1Bill (#152772).
* src/gnome/glade/register.glade:
	  Increase "number" spin box to a maximum of 1billion.  Fixes #152772.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10358 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 22:32:37 +00:00
Derek Atkins 6bd18fe4f1 Send an 'invoice modified' event when a payment is applied (#139092).
* src/business/business-core/gncInvoice.c:
	  send an event when a payment is processed so the invoice gets
	  updated as "paid" in the search window.
	  Fixes #139092.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10356 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:56:41 +00:00
Derek Atkins 62783cc63d Set the query search type in the vendor dialog (#141526).
* src/business/business-gnome/dialog-vendor.c:
	  Make sure we set the proper search-type when we create the
	  query, otherwise the search will fail later.
	  Fixes #141526.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10353 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:25:21 +00:00
Derek Atkins d34a56a548 Stephen Evanchik's trace crash patch.
* src/engine/gnc-trace.c: Try a few different filenames for
	  the trace log and if all else fails fall back to stderr.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10347 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:20:08 +00:00
Derek Atkins 5ac580b06f * src/business/business-ledger/Makefile.am: add explicit
dependency on business-utils.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10346 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:18:17 +00:00
Derek Atkins a6ee03383b Fix parameter order to match C file (thanks for Erwin Rieger).
* src/engine/gw-engine-spec.scm:
	  Fix parameter order to match C file (thanks for Erwin Rieger).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10318 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:17:52 +00:00
Derek Atkins 1a43c812b0 James Strandboge's "Easy Invoice" patch.
* src/business/business-reports/Makefile.am:
	* src/business/business-reports/business-reports.scm:
	* src/business/business-reports/easy-invoice.scm:
	  add "easy invoice" code.
	* src/business/business-utils/business-prefs.scm:
	* src/business/business-utils/business-utils.scm:
	  add preferences for the business ID, used in the easy invoice.
	* src/report/stylesheets/Makefile.am:
	* src/report/stylesheets/stylesheets.scm:
	* src/report/stylesheets/stylesheet-easy.scm:
	  add "easy stylesheet" code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10317 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:10:05 +00:00
Derek Atkins c5857de175 Heath Martin's x86_64 patch.
* macros/autogen.sh:
	  change "head -1" to "head -n 1"
	* src/engine/gnc-numeric.[ch]:
	  change string_to_gnc_numeric() to return gboolean.
	* src/app-utils/gnc-exp-parser.c:
	* src/backend/file/sixtp-dom-parsers.c:
	  use new string_to_gnc_numeric() API
	* src/engine/gnc-lot.c:
	  64-bit safe for x86_64
	* src/gnome/dialog-scheduledxaction.c:
	* src/gnome/dialog-sxsincelast.c:
	* src/gnome/druid-loan.c:
	* src/gnome-utils/dialog-account.c:
	* src/gnome-utils/gnc-query-list.c:
	* src/import-export/import-match-map.c:
	  use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10315 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 01:37:10 +00:00
Derek Atkins 2dbd253dba Phil Longstaff's patch to prevent duplicate pricedb entries.
* src/engine/gnc-pricedb.c:
	  Phil Longstaff's patch to prevent duplicate pricedb entries.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10313 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 00:45:44 +00:00
Derek Atkins 41de6f5c74 Neil Williams' QOF Book Merge Patch #2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10311 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-31 19:19:44 +00:00
Derek Atkins 1b1f0cced3 Neil Williams' QOF book merge patch #1.
Includes
	  qof_book_merge.c
	  qof_book_merge.h
	  test-book-merge.c test routine
	  New Account Hierarchy druid
	  Sundry adjustments to QOF support.
	  Tweaks to several Makefile.am files to support new files.
	  Tweaks to window-main.c to support new menu item
	  Changes to druid-hierarchy.c to support the merge druid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10306 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 15:51:26 +00:00
Derek Atkins a7fa3e05a4 Daniel Lindenaar's patch for posting invoices.
* src/business/business-core/gncInvoice.[ch]
	* src/business/business-gnome/dialog-date-close.[ch]
	* src/business/business-gnome/dialog-invoice.c
	* src/business/business-gnome/glade/date-close.glade
	* src/business/business-utils/business-prefs.scm
	  Daniel Lindenaar's patch to implement a check-box in the Invoice Post
	  Dialog (with a default in the File Preferences) to choose to accumulate
	  splits when posting an invoice, or post a 1:1 mapping.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10305 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 02:49:29 +00:00
Derek Atkins 11b5192d23 Don't crash when someone imports a broken QIF (#155244).
* src/import-export/qif-import/qif-object.scm:
	  provide a default account name so we don't crash when someone
	  imports a broken QIF that has a !Account without an account name.
	  Fixes bug #155244.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10303 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-13 15:13:21 +00:00
Derek Atkins e005e91255 Forgot to commit ChangeLog last night.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10300 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-09 17:05:10 +00:00
Derek Atkins 0794bd0815 Andreas Rottmann's patch to support g-wrap 1.9.
* engine/gw-engine-spec.scm:
	* gnome-search/dialog-search.h:
	* report/report-gnome/dialog-column-view.h:
	  Andreas Rottmann's patch to support g-wrap 1.9.
	  - don't wrap non-existent objects
	  - protect headers from multiple inclusion
	  - include gtk.h header when we use gtk objects.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10298 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-08 23:21:18 +00:00
Derek Atkins 2d0abc49fa more x86_64 fixes.
* src/backend/file/io-gncbin-r.c: Fixes for x86_64


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10283 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-28 22:55:41 +00:00
Derek Atkins 17f09817c1 Fix for x86_64.
* src/engine/qofquerycore.c: Fix for x86_64.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10281 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-28 22:16:21 +00:00
Derek Atkins 6e4a7b2f24 Fix ISO C90 (#153465).
* src/engine/test/test-transaction-reversal.c:
	* src/engine/test-core/test-engine-stuff.c:
	  Fix for ISO C90.  Fixes #153465.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10267 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-22 18:40:10 +00:00
Derek Atkins eded6e8bd2 Fix xaccAccountGetBalanceAsOfDate() (bug #150757).
* src/engine/Account.c: fix xaccAccountGetBalanceAsOfDate() to properly
	  compute the balance at the end of the split list.  Fixes #150757.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10255 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-29 02:35:16 +00:00
Derek Atkins fb50077329 Fix a few problems to get CVS to compile.
test-core/test-stuff: remove unused variable.
  register/ledger-core/split-register-control: insert do .. while
      because the code still uses "break"s to exit out.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10253 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-29 02:10:15 +00:00
Derek Atkins 3335a2a14f Add option to advanced portfolio to include $0 splits (#143772).
* src/report/standard-reports/advanced-portfolio.scm:
	  Add option to include zero-amount splits in computations.
	  Fixes #143722.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10224 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-21 16:34:18 +00:00
Derek Atkins 4ae7a36f35 Perry Smith's Null Account patch.
* src/import-export/qif-import/qif-dialog-utils.scm:
	  Perry Smith's Null Account Patch.  Make sure the security is
	  a real string before appending an account separator, so we
	  don't try to create a "null" account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10222 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 19:59:10 +00:00
Derek Atkins 0bc9bfb411 Neil Williams's "QOF create: functionality added" patch.
QOF create: adding functions to be used with
	qof_object_new_instance for new qof_book_merge objects, including
	business objects.

	Small documentation tweak to make QofEntity and QofParam
	structures visible to doxygen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10220 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 19:47:34 +00:00
Derek Atkins ac4a718807 Check for newer gtkhtml first (#84707).
* configure.in: change the gtkhtml order to search for >= 1.1 before
	  < 1.1, in order to try to fix #84707 on systems with multiple
	  versions of gtkhtml.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10219 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 18:36:54 +00:00
Derek Atkins 259e01d5c1 David's patch to handle merchandising businesses (#150008).
2004-08-12  David Montenegro  <sunrise2000@comcast.net>

        * src/report/standard-reports/trial-balance.scm:
	    src/report/standard-reports/equity-statement.scm:
	    src/report/report-system/report-utilities.scm:
	    Added to the work sheet special handling of
	    inventory and income summary accounts for
	    merchandising businesses.  Fixes #150008.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10217 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-13 17:29:46 +00:00
Derek Atkins c97527bcba Make the gnucash desktop HIG compliant (#145545).
* src/gnome/gnucash.desktop.in: make the desktop HIG compliant.
	  Fixes #145545


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10215 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-11 23:30:14 +00:00
Derek Atkins 24b8a65adf Priit Laes' patch for C90 compliance.
* src/engine/Scrub.c
	* src/engine/Scrub2.c
	* src/engine/gnc-numeric.c
	* src/engine/gnc-pricedb.c
	* src/engine/kvp-util.c
	* src/engine/qofid.c
	* src/engine/qofmath128.c
	* src/engine/qofquery.c
	* src/engine/qofsession.c
	* src/engine/test/test-numeric.c
	  Priit Laes' patch for C90 compliance.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10205 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-20 22:49:58 +00:00
Derek Atkins acf2bb7412 David Montenegro's General Journal (bug #109738).
* src/report/standard-reports/general-journal.scm:
          src/report/standard-reports/standard-reports.scm:
          src/report/standard-reports/Makefile.am:
          Added General Journal report, a Register Report
          with a pre-set set of options.
	* Bug #109738.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10200 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-15 03:06:21 +00:00
Derek Atkins 6632fc7584 David Montenegro's patch to fix the pnl (income statement) #105330.
* src/report/standard-reports/income-statement.scm:
          src/report/standard-reports/pnl.scm:
          src/report/standard-reports/standard-reports.scm:
          src/report/standard-reports/Makefile.am:
          Rewrote pnl.scm, renamed it to income-statement.scm.
          Can now create a meaningful statement post-closing.

        * src/report/report-system/html-acct-table.scm:
          Updated to include ability to "see through" closing
          and/or adjusting entries.

	* Fixes #105330.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10199 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-14 18:49:50 +00:00
Derek Atkins 6f2540506d David Montenegro's General Ledger patch (bug #155268).
* src/report/standard-reports/general-ledger.scm:
	  src/report/standard-reports/standard-reports.scm:
          src/report/standard-reports/Makefile.am:
          Added General Ledger report, a Transaction Report
          with a pre-set set of options.

	* src/report/standard-reports/transaction.scm:
          FIXME - All accounts now selected by default, avoids
          confusing error message. Error message also clarified.
          Fixed "Totals" option so that it works.

        * src/report/standard-reports/balance-sheet.scm:
        * src/report/standard-reports/equity-statement.scm:
        * src/report/standard-reports/trial-balance.scm:
        Updated comments

	* Fixes #144268


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10198 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-14 15:30:16 +00:00
Derek Atkins a107a9af22 Forgot to add trial-balance.scm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10197 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-14 00:20:31 +00:00
Derek Atkins 2c5f97a8a7 David Montenegro's patch for trial-balance (bug #144265).
* src/report/standard-reports/trial-balance.scm:
        * src/report/standard-reports/standard-reports.scm:
        * src/report/standard-reports/Makefile.am
          added Trial Balance/Work Sheet report

        * src/report/standard-reports/balance-sheet.scm:
          added drop-down choices missing in previous version
          added support for adjusting/closing entries

        * src/report/standard-reports/equity-statement.scm:
          added support for adjusting/closing entries
          fixed "For Period Covering" label
          fixed handling of unrealized gains
          investment/draw discrimination based on shares sign
          omit unrealized gains when zero

        * src/report/report-system/html-acct-table.scm:
        * src/report/report-system/html-table.scm:
          null reference bug fixes

        * src/report/report-system/report-utilities.scm:
          added utility functions for accessing splits
          and creating double-column balance HTML
          gnc:double-col,
          gnc:account-get-trans-type-balance-interval,
          gnc:account-get-pos-trans-total-interval

        * src/report/report-system/commodity-utilities.scm:
        * src/report/report-system/html-acct-table.scm:
        * src/report/report-system/report-utilities.scm:
          moved gnc:commodity-collector-commodity-count and
          gnc:uniform-commodity? into commodity-utilities.scm

        * src/report/report-system/report-system.scm:
          added some additional exports


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10196 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-13 16:07:55 +00:00
Derek Atkins eafd96227c Make the bug#147025 failure reproducible.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10187 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-09 15:01:07 +00:00
Derek Atkins 2168045b6f Improved checks for scanf %lld and %qd as per gc-devel mail.
* acinclude.m4: create a SCANF_QD_CHECK and make sure both
	  that and SCANF_LLD_CHECK are "long long" constant-safe
	* configure.in: use the new SCANF_QD_CHECK and use it
	  earlier in the configuration.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10161 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-05 03:24:04 +00:00
Derek Atkins abc0dfff51 Get test-lots to die consistently.
- Set the rng to a known seed.
- Loop the test so it fails.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10159 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-04 17:24:08 +00:00
Derek Atkins 2291561fbf get test-query to fail consistently.
PERR() when xaccTransGetSharePrice() overflows.
Loop test-query, and start the rng to fail consistently.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10156 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-04 17:10:38 +00:00
Derek Atkins 8fe7398fb4 Add TD Efunds (#145297).
* src/engine/gnc-commodity.c:
	  Apply David Grant's patch to add TD Efunds.  Fixes #145297.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10142 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-03 02:20:33 +00:00
Derek Atkins c2e3dee382 Apply David Reiser's patch for Quicken(tm) cheques with stub.
* src/gnome/dialog-print-check.c:
	* src/gnome/glade/print.glade:
	* src/scm/printing/print-check.scm:
	  Apply David Reiser's patch for Quicken(tm) cheques with stub.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10140 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-03 02:11:51 +00:00
Derek Atkins 27f6709d33 Add another test to test-numeric to show a division overflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10099 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-26 18:06:20 +00:00
Derek Atkins 9c655449a6 print out more info when trying to print/parse numerics. There's
an overflow condition in the function being tested that needs to be fixed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10096 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-26 15:30:50 +00:00
Derek Atkins abef3b8364 fix a deprecated guile function (use re-export)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10095 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-26 15:30:04 +00:00
Derek Atkins 154966f513 Fix a bunch of GUILE_WARN_DEPRECATED warnings.
* src/gnc-module/gnc-module.scm: create (and export) a re-export macro
	  is guile doesn't already provide one.  Then re-export the symbols
	  instead of exporting them.  Fixes some deprecated guile warnings.
	* src/guile-mappings.h: convert scm_gc_{un,}protect_object() back
	  to its pre-1.6 type for earlier guiles, but upconvert to the new
	  type to fix a deprecated warning.  Note that g-wrap is still
	  outputting deprecated code.
	* lots of other files:
	  convert scm_{un,}protect_object -> scm_gc_{un,}protect_object because
	  the former is now deprecated in guile.  Fixes a bunch of
	  GUILE_WARN_DEPRECATED warnings (but probably not all of them).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10094 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-26 14:52:12 +00:00
Derek Atkins 753a7cff62 Better "carry" flag to not overrun a signed 64-bit int (#114980).
* src/engine/gnc-numeric.c: small change to the 128-bit math
	  routines to actually mark a 'carry bit' to denote numbers
	  >= 2^63 to fix bug #144980.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10080 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-25 16:15:40 +00:00
Derek Atkins e65f9814e6 Add another test for Linas to fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10079 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-25 00:10:03 +00:00
Derek Atkins f6b1637e25 David Montenegro's Balance Sheet + Equity Statement patch (#144243).
* Makefile.am: be sure to rebuild make-gnucash-patch and
	  make-gnucash-potfiles when the Makefile changes (which means the
	  PERL paths might have changed).
	* src/scm/paths.scm: change the default config file to 1.9, so we
	  don't screw up users of 1.8.

	* src/report/report-system/html-acct-table.scm:
	  Added file implementing gnc:html-acct-table utility
	  object for easier creation of HTML reports.

        * src/report/standard-reports/balance-sheet.scm:
	  Updated to use the new gnc:html-acct-table object.
	  Added many new options, including report/account
	  form option.

        * src/report/standard-reports/equity-statement.scm:
	  Created Statement of Owner's Equity.
	  (Unsure if correct exchange-fn's are being used.)

        * src/report/report-system/commodity-utilities.scm:
	* src/report/report-system/html-table.scm:
	* src/report/report-system/html-utilities.scm:
	* src/report/report-system/report-system.scm:
	* src/report/report-system/report-utilities.scm:
	  miscellaneous small additions and/or fixes
	Fixes #144243.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10078 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-24 22:11:26 +00:00
Derek Atkins ef88252b7c Add information about using cvs to create a patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10076 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-24 14:09:51 +00:00
Derek Atkins 2b072e23c8 Auto-load a new "saved reports" config file.
* src/scm/paths.scm: create gnc:current-saved-reports, as
	  the file to store saved reports from cstim.  Autoload the
	  saved-reports file at startup (after config.user/config.auto
	  is loaded).
	* src/scm/main.scm: export gnc:current-saved-reports


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10066 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-18 16:45:10 +00:00
Derek Atkins a9bbb453e7 Fix memory corruption: add book_closing and use it.
* 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
2004-05-29 17:45:56 +00:00
Derek Atkins eed3dfed9f A few more QOF_QUERY_PARAM_GUID -> QOF_PARAM_GUID conversions.
* src/gnome-search/dialog-search.c:
	* src/gnome-search/gnc-general-search.c:
	* src/gnome-utils/gnc-query-list.c:
	  Linas missed a few QOF_QUERY_PARAM_GUID -> QOF_PARAM_GUID
	  conversions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9969 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-24 21:12:25 +00:00
Derek Atkins 8ab475610b Vasil's patch to add "export" option to txn report.
* 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
2004-05-24 16:55:59 +00:00
Derek Atkins 7854068fa8 Guile-1.6 doesn't allow string->symbol on a symbol (bug #131201).
* 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-17 18:55:16 +00:00
Derek Atkins bc21c87cd8 automake-1.8.x is more pedantic about m4 quoting.
* Luigi Ballabio's automake patch to gnucash.m4


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9960 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-15 16:13:29 +00:00
Derek Atkins 0fa3a1904d Remove gncOrder.h from doxygen (I hope this works correctly)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9948 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-07 13:40:55 +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
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