Commit Graph

6963 Commits

Author SHA1 Message Date
Linas Vepstas
ac924ede8f move around an include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8425 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 00:35:20 +00:00
Linas Vepstas
1db349384c misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8424 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 00:28:09 +00:00
Linas Vepstas
41a1451a74 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8423 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 00:24:39 +00:00
Linas Vepstas
26d3a81e55 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8422 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 00:09:20 +00:00
Linas Vepstas
fdb11973c8 remove from the gnc-engine-util so that these func
can be used in other apps


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8421 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-28 23:57:55 +00:00
Linas Vepstas
f38fb55aba remove cruft
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8420 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-28 23:36:40 +00:00
Linas Vepstas
a889712da2 cleanup old utilities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8419 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-28 23:35:35 +00:00
Linas Vepstas
2c68f3b4b3 cleanup grungy utils, I need to be able to use this
in a different, unrelated app.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8418 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-28 23:27:05 +00:00
Linas Vepstas
7b50af16ff move KVP junk out of generic engine utilities
-- needed to make portions of engine more generic for use
by other apps.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8417 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-28 23:05:56 +00:00
Christian Stimming
15b50f49d4 2003-05-28 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c, dialog-hbcitrans.c,
	glade/hbci.glade: Add coarse GUI so that transfer templates are
	somehow usable.

	* src/import-export/hbci/gnc-hbci-kvp.[hc]: Store the online
	transfer templates in the book's kvp_frame.

	* src/import-export/hbci/gnc-hbci-trans-templ.[hc]: Add data type
	for online transfer templates.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8414 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-27 23:36:35 +00:00
Christian Stimming
0fcd48a225 Improved documentation -- a GList here is always a GList of kvp_frame's.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8413 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-27 19:19:08 +00:00
Derek Atkins
ef61c14495 * src/register/ledger-core/dialog-dup-trans.c: If the "number" is
set to 0, then empty out the entry.  Considering the SpinButton
	  wants to force a digit, this lets you set an empty number if you
	  accidentally tab into and out of the number field.  This also
	  means you cannot have a check numbered '0', but that is probably
	  a reasonable limitation.  Fixes #109610.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8411 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-27 02:11:34 +00:00
Chris Lyttle
ff366530f6 changes stable version to 1.8.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8407 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-26 18:56:11 +00:00
Benoit Grégoire
cf063fc35b 2003-05-26 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-settings.c: Fix pref page define to the proper page, should fix the problem of all prefs being ignored.  Also make strings in the lookup code translatable so that the matching won't be lost when changing language.
	* src/import-export/generic-import.scm: Add note not to forget to change the c file as well when changing preference page.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8404 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-26 14:12:07 +00:00
Derek Atkins
bd050a5a6d * src/report/utility-reports/view-column.scm:
Catch errors when running the child reports so we display the
	  failed report backtrace but also display an error and continue
	  with the multicolumn report.  Fixes #113668.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8397 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 18:59:17 +00:00
Derek Atkins
bb715d706b * src/report/report-gnome/dialog-view-column.c:
- fix a bug in the gh_ -> scm_ conversion:  gh_appendN() needs
	    to be converted to gh_append(gh_listify(..., SCM_UNDEFINED)).
	    Just using gh_listify is wrong and causes a crash.
	  - fix a bug that crashes gnucash if you remove the last entry
	    and then add another entry.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8396 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 18:04:25 +00:00
Derek Atkins
dc149e622a Revert a patch that wasn't supposed to be committed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8394 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 16:13:15 +00:00
Derek Atkins
404192a052 * src/business/business-reports/aging.scm:
- Deal with the case where the first transaction found for a
	    particular company is a payment (it used to just ignore it!
	    Oops!  That throws off all the numbers...)
	  - Also print out any overpayment in the total column.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8392 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 16:09:41 +00:00
Derek Atkins
6aaa06ce38 * src/business/business-utils/business-prefs.scm: make the
Bill Due Days option selectable based on the setting of
	  Notify Bills Due?


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8390 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 01:22:32 +00:00
Derek Atkins
a0cb1bfab2 * src/business/business-reports/invoice.scm:
* src/business/business-reports/owner-report.scm:
	  Change the date format string to be consistent with other places
	  (e.g. the check print dialog) and use '%' instead of '~'.
	  This is an interim fix for #99574, at least until we can
	  centralize the functionality.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8388 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-25 00:17:22 +00:00
Derek Atkins
022a174ca1 * src/report/standard-reports/price-scatter.scm: "eval" changed
API on guile-1.6.  Use the existing API to convert a delta
	  symbol to a delta time.
	* src/scm/main.scm: call eval with the right number of arguments
	  based on early or late versions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8386 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 23:39:50 +00:00
Derek Atkins
6eefa8b43f * src/gnome-search/search-double.c:
* src/gnome-search/search-int64.c:
	* src/gnome-search/search-numeric.c:
	  Change the default Search Operation for numerics from "less
	  than" to "equals" -- so by default you would search for an exact
	  value.  Fixes #106443


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8384 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 22:48:03 +00:00
Derek Atkins
76f0f6243b * src/report/standard-reports/balance-sheet.scm: use a 'from' date
to better compute the Net Income on the report.  Fixes #113196
	  (although not its dependency, #101519; that requires new strings)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8382 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-24 22:27:01 +00:00
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