Commit Graph

6940 Commits

Author SHA1 Message Date
Derek Atkins
3a064eed95 * src/report/standard-reports/transaction.scm: include split
transactions in the filtering of the transaction report.
	  Fixes #113461.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8380 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 22:01:01 +00:00
Derek Atkins
57e598cc7c * src/gnome-utils/dialog-options.c: back out previous change.
* src/report/report-gnome/window-report.c: a better fix for
	  #107953.  When we are asked to reload the report, queue the
	  request, queue a draw event, and then return immediately.  When
	  the draw event happens, load the report then.  This lets you
	  hit Apply and then OK before the report finishes loading.

	* src/import-export/ofx/test/Makefile.am: make sure we can find
	  libofx/libofx.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8378 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 21:20:15 +00:00
Derek Atkins
84874fe11a * src/import-export/ofx/test/test-link.c: fix the test program
to make sure it links on many weird platforms.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8376 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 03:53:34 +00:00
Derek Atkins
020805377d * src/business/business-gnome/business-gnome.scm:
* src/scm/main-window.scm:
	  Move the instantiation of File -> Properties into
	  main-window.scm (out of business-gnome.scm) for future cases
	  where we might decide to ship the business modules separately.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8374 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 02:21:27 +00:00
Derek Atkins
7040ca692c * src/report/standard-reports/balance-sheet.scm: add some
(commented out) code to support a start date for computing the
	  Net Income (aka Net Profit) in the Balance Sheet.  This is
	  a commented-out partial fix for #113196.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8372 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 01:12:51 +00:00
Derek Atkins
75366e5a57 * src/report/report-system/report-utilities.scm: had the wrong
number of arguments in gnc:account-get-balance-at-date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8370 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-23 23:41:35 +00:00
Derek Atkins
8f4431361f * src/gnome-utils/dialog-options.c: don't let the user do anything
with the options dialog until Apply() finishes.  This is a
	  simple fix for #107953 so that a user can't crash gnucash by
	  hitting Apply and then OK (before the Apply completes).
	  However, what should really happen is that we queue up requests
	  to destroy ourselves and process the event later.  See #107953
	  for more information.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8368 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-23 17:09:51 +00:00
Derek Atkins
f65e083fd1 * src/report/standard-reports/average-balance.scm:
Use the correct columns when printing the Gain column, don't
	  reuse the same column as profit; we want to report different
	  values.  Fixes #113096.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8366 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-23 04:44:04 +00:00
Derek Atkins
afc5e462fb Fix a stupid typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8364 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-22 20:22:00 +00:00
Derek Atkins
74f1987f9a Nikos Charonitakis's account chart updates:
* accounts/el_GR/Makefile.am: added new carloan account chart
	* accounts/el_GR/acctchrt_common.gnucash-xea: updated account chart
	* accounts/el_GR/acctchrt_carloan.gnucash-xea: new car loan chart


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8361 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-22 17:54:38 +00:00
Derek Atkins
e440a4edf1 * src/business/business-reports/owner-report.scm: Better fix for 108731
limit the itemized invoices/payments to the start/end date range,
	  but print out a "Balance" line if there is a non-zero balance as
	  of the start date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8359 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-22 15:23:15 +00:00
Derek Atkins
918c24dd90 * src/business/business-reports/owner-report.scm:
Supply a start date (as well as an end date) and don't print
	  invoices that occur prior to the start date or after the end date.
	  The aging information ignores the start date, but not the end date.
	  This means the aging information will always be acurate through the
	  end date (even if all the invoices and payments are not displayed).
	  Fixes #108731.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8357 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-22 04:18:10 +00:00
Derek Atkins
d67a2e21dd * src/report/standard-reports/advanced-portfolio.scm:
Deal properly when there are no prices for a commodity.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8354 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-21 17:58:31 +00:00
Derek Atkins
d35dbc0d6f * acinclude.m4: modify the AC_GWRAP_CHECK_GUILE() macro to
take an argument, the g-wrap module directory.  Then actually
	  test that the g-wrap module loads.  This should detect systems
	  without slib installed.
	* configure.in: all the new gwrap check macro
	  Fixes #113218


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8351 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-20 23:48:06 +00:00
Derek Atkins
5214fd68c3 * src/scm/printing/print-check.scm: some finer adjustments on
the locations for Deluxe personal checks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8350 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-20 22:52:09 +00:00
Derek Atkins
e5a6623f87 * src/engine/QueryCore.c:
* src/engine/guid.c:
	* src/engine/kvp-util.c:
	  Fixes for 64-bit architectures.  Fixes bug #113231.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8346 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-20 03:28:53 +00:00
Derek Atkins
3fe70012c7 * src/gnome/glade/print.glade: add "Deluxe Personal Check" type
* src/gnome/dialog-print-check.c: add support for choosing
	  a "deluxe" check type.
	* src/scm/printing/print-check.scm: add support for printing
	  to "deluxe" personal checks.  This prints the check "sideways"
	  on a US-Letter configuration.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8345 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-20 02:08:42 +00:00
Derek Atkins
613055b558 * src/gnome-utils/print-session.[ch]: added gnucash wrappers
around gnome-print's rotate, translate, gsave, and grestore
	  APIs.  All to allow sideways printing (by rotating the image).
	* src/gnome-utils/gw-gnome-utils-spec.scm: wrap the new print-session
	  apis.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8343 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 23:46:56 +00:00
Derek Atkins
01ac9a55bc * src/business/business-gnome/dialog-invoice.[ch]: pass a double
instead of an int, because guile-1.6 sucks.  Also fix the Query
	  to actually include the Due Date of the invoice.
	* src/business/business-gnome/gw-business-gnome-spec.scm:
	  change the int to a double on the bills-due api


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8342 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 22:25:34 +00:00
Derek Atkins
220e6dac33 * src/gnome-utils/dialog-query-list*: the glade and C code for
a general QueryList Dialog.
	* src/gnome-utils/Makefile.am: compile the new dialog.
	* src/business/business-gnome/business-gnome.scm: use the new
	  querylist dialog to display the due bills
	* src/business/business-gnome/dialog-invoice.[ch]: create a new
	  API to run a due-bills dialog.
	* src/business/businss-gnome/gw-business-gnome-spec.scm: wrap the
	  new due-bills api
	* src/engine/gnc-book.c: forcibly signal a book destroy event


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8340 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 15:59:29 +00:00
Derek Atkins
e2dbe1e10b * src/engine/gnc-event*: add an api to force an event even when
events are suspended.  Without such an API, events can be lost
	  if the event system is suspended when the event comes in.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8338 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 15:11:51 +00:00
Derek Atkins
7fa134b52f * src/engine/QueryNew.[ch]: add gncQueryGetBooks() API to return
list of books in a query.
	* src/business/business-core/gncInvoice.[ch]: add INVOICE_POST_LOT
	  query parameter methods


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8336 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 14:56:25 +00:00
Derek Atkins
4886428cfe * src/engine/gnc-lot.[ch]: add LOT_IS_CLOSED and LOT_BALANCE
query parameter methods


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8334 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-19 02:47:48 +00:00
Christian Stimming
3d12948d8c Adapt to latest OpenHBCI updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8327 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-18 12:04:50 +00:00
Derek Atkins
21f11b8420 * src/import-export/qif-import/qif-file.scm: the numeric test
regex was broken and would fail on ALL numerics, causing all
	  imports to be of value zero.  Oops.  I _thought_ I tested this,
	  but clearly not sufficiently.  :(


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8324 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 18:38:33 +00:00
David Hampton
d2863ba63a Fix the "View" menu items to track properly when a new data file is
opened. #99598


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8322 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 06:06:18 +00:00
Derek Atkins
85bcf951b2 * src/gnome-utils/gnc-query-list.c: we can't use a reversed list
and prepend() because then we're always adding row 0 so the
	  saved checkmarks fail.  So, use the slow way and use 'append()'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8320 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 03:39:57 +00:00
Derek Atkins
a067318b00 * src/gnome/reconcile-list.[ch]: Port to the gnc-query-list.
Remove all the extraneous code.
	* src/gnome-utils/gnc-query-list.[ch]: Add code so the reconcile-list
	  can successfully use the query-list.  Add a construct() method.
	  Add an "unselect_all()" method.  Add the ability to print numerics
	  as an ABS and invert the sort (defaults to off).  Add methods to
	  determine if an item is in the list, and one to refresh the display
	  of an item.
	* src/gnome-utils/search-param.[ch]: fix the spelling of resizeable


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8318 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 00:22:35 +00:00
Derek Atkins
08f5ab493b Add a justification
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8317 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-17 00:13:15 +00:00
David Hampton
12b7bb55cd Added HTML::Parser to the modules looked for when starting up.
#104197


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8311 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 04:04:50 +00:00
Derek Atkins
21a6866fbc That last patch actually fixes bug #106035
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8309 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 02:37:01 +00:00
Derek Atkins
d39367285c * src/engine/Query{,P}.h: move the location of gncQuerySearchFor()
to allow callers to look it up without requiring the private
	  header.
	* src/business/business-core/gncInvoice.[ch]: define
	  INVOICE_IS_PAID and create gncInvoiceIsPaid() function (the
	  prototype already existed, but it was never implemented).
	* src/business/business-gnome/dialog-invoice.c: add IS_PAID column
	  and the ability to search for paid/not-paid invoices.
	* src/gnome-utils/Makefile.am: build gnc-query-list
	* src/gnome-utils/gnc-query-list.[ch]: finish the GNCQueryList.
	  - allow active-column sorting
	  - watch all the entities in the query and update when an entry changes
	  - use a checkbox to display booleans
	* src/gnome-utils/search-param.[ch]: add extra APIs required to support
	  the initial QueryList implementation
	* src/gnome-search/dialog-search.c: Convert to use the new
	  GNCQueryList to display the search results.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8308 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 02:07:15 +00:00
Derek Atkins
0a883ac5e0 * src/gnome-utils/gnc-query-list.[ch]: an abstracted Query list
widget to display the results of a Query.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8307 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-13 00:46:20 +00:00
David Hampton
661bd34cc4 Remember the state of the "show currencies" check box from one time to
the next.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8305 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 05:26:56 +00:00
David Hampton
99e5c392b5 Fix transfer dialog to not hang if OK button is clicked w/o filling in
dialog properly.  #109497


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8303 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:17:28 +00:00
David Hampton
e805e8f8de A single button shouldn't take full width of the window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8302 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:15:59 +00:00
David Hampton
eb548d152a Add some debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8301 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-12 04:13:37 +00:00
David Hampton
7acf711c83 Give more control over what builds have a version number and what
builds hare labelled "cvs".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8300 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 23:31:23 +00:00
David Hampton
f7ae1b2de5 Fix problem selecting quote source.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8299 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 23:01:42 +00:00
Derek Atkins
8f1702d627 * src/import-export/hbci/gnc-hbci-utils.c: you have to declare
your variables before you g_assert() anything.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8298 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 16:14:38 +00:00
Derek Atkins
33d7497d80 Update for 1.8.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8295 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 14:25:44 +00:00
Derek Atkins
8052d43e03 You need to define your variables before you call ENTER()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8293 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 01:06:35 +00:00
David Hampton
5b7353d67c Move price quote information from the Account data structure to the
Commodity data structure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8292 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-11 00:45:03 +00:00
Derek Atkins
bcbf5c847a Remove non-needed config options, generated by automake
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8290 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 23:23:27 +00:00
David Hampton
a65418bfbe Restore some lost changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8289 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 23:09:26 +00:00
Christian Stimming
07132d7abf Removed AC_PROG_CXX again because openhbci.m4 doesn't require it anymore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8288 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-10 21:38:20 +00:00
Christian Stimming
c44f4e726e 2003-05-09 Christian Stimming <stimming@tuhh.de>
* macros/openhbci.m4: Fix openhbci macro again so that it uses a C
	check program.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8286 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:54:06 +00:00
Derek Atkins
44f314dfe8 Add some extra messages so users don't shoot themselves in the
foot by trying to run aclocal by hand.  gettextize tells them
to do so; add a warning to ignore it.  Hopefully users will listen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8284 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:13:19 +00:00
Derek Atkins
5f35450e82 * acconfig.h: remove duplicate entries (for use with more recent autoheader)
* configure.in: supply AC_PROG_CXX to fix the automake-1.7 problem


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8283 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 02:48:54 +00:00
Derek Atkins
942578370a * configure.in: fix some AC_DEFINE macros
* macros/autogen.sh: a bit more work on the version searches.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8282 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 00:58:23 +00:00