Commit Graph

6998 Commits

Author SHA1 Message Date
David Hampton
da1597b40d Changes to make the build system work on multiple architectures and
with multiple versions of the autotools suite.  Make generated g-wrap
sources depend on config.status.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7837 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-16 00:48:17 +00:00
Derek Atkins
ef110593ef * src/backend/postgres/test/Makefile.am: include run-tests.sh in
the distribution.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7836 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-16 00:09:02 +00:00
Derek Atkins
d5eba882d3 * src/app-utils/test/test-print-parse-amount.c: set force_fit and
round to 0 (like they should be) so we don't hit the rounding
	  code and blow up.   Fixes #103536.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7835 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-15 20:31:26 +00:00
Derek Atkins
24b3d95db2 * src/gnome-search/dialog-search.c -- grey out the button if it
has no meaning for this particular search-type.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7834 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-15 03:59:58 +00:00
Derek Atkins
198f41ee89 * src/engine/QueryNew.h: add QUERY_PARAM_ACTIVE
* src/business/business-core/gncCustomer.c:
	* src/business/business-core/gncEmployee.c:
	* src/business/business-core/gncInvoice.c:
	* src/business/business-core/gncJob.c:
	* src/business/business-core/gncOrder.c:
	* src/business/business-core/gncVendor.c:
	  add the QUERY_PARAM_ACTIVE parameter support
	* src/app-util/prefs.scm: add hidden preference to store
	  the user's choice of searchin
	* src/gnome-search/search.glade: add a checkbox to search-for-all
	* src/gnome-search/dialog-search.c -- add preliminary support to
	  limit searches to only "active" objects.  Fixes bug #103506


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7833 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-15 03:49:51 +00:00
David Hampton
8e00dd0826 Make the progress bar argument a double instead of an int. This gets
around an issue with guile 1.6.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7832 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-14 05:15:00 +00:00
David Hampton
119bbe3fa4 Make the gnc_scm_to_gint64() function work with either guile 1.4 or
guile 1.6.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7831 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-14 05:11:34 +00:00
Derek Atkins
159bbe7288 * src/import-export/import-utilities.c -- applied Nigel Titley's
patch for #101705


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7830 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-14 03:12:47 +00:00
Derek Atkins
9ae21f859c * src/business/business-gnome/dialog-invoice.c -- make the Notes
field editable for new invoices.  Fixes #103345


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7829 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-14 02:09:44 +00:00
Derek Atkins
2db9a7f026 * src/app-utils/option-util.c: gh_str2scm() takes a char*, not a
const char* (at least in guile-1.3.4), so force the string to be
	  a char* to make the compiler happy.

	* src/engine/date.c: add spaces to the scanDate delimiters,
	  although it may not help if strptime() is doesn't like the
	  spaces.  Attempt to fix #103147, but it's probably a strptime
	  bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7828 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 19:35:38 +00:00
David Hampton
6252866027 Remember the directory of the last import/export across invocations of
gnucash.  Each type of import/export is remembered separately. #94428


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7827 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 07:43:31 +00:00
David Hampton
d15db59c42 Add support for setting a string option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7826 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 07:33:53 +00:00
David Hampton
f6423ddd09 Clean up include path for gcc3.x.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7825 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 07:32:15 +00:00
Derek Atkins
91e02c362f * src/engine/QueryCore.c: fix the algorithm to compute equality
of numerics so it copes with numbers in the "wrong" order.
	  Fixed bug #103341


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7824 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 05:33:11 +00:00
Derek Atkins
7482f3b07f * .../business-ledger/gncEntryLedgerLayout.c: change the order
of columns in order to get page-up/page-down to work without going
	  into an infinite loop.
	* .../business-ledger/gncEntryLedgerLoad.c: suspend events
	  when we're creating a new entry.  Unfortunately the gnucash-sheet
	  still never counts the blank entry, and I don't know why.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7823 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 04:19:24 +00:00
David Hampton
f931ae8c42 Provide reasonable default directories for the "Save As" and "Export"
operations.  #94428


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7822 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 01:09:27 +00:00
Derek Atkins
25781b936c * .../business-gnome/business-gnome.scm:
Fix the Extensions hooks to connect menus properly when GNC_DEBUG=1
	* .../business-gnome/dialog-customer.c:
	* .../business-gnome/dialog-vendor.c:
	* .../business-gnome/dialog-employee.c:
	* .../business-gnome/glade/customer.glade:
	* .../business-gnome/glade/vendor.glade:
	* .../business-gnome/glade/employee.glade:
	  Add ability to edit currency in the UI.  Fixes #101001


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7821 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 00:16:47 +00:00
David Hampton
122f18e873 Correctly handle the case where no stocks have been defined and the
user askes gnucash to get price quotes. #102560


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7820 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 23:25:38 +00:00
Derek Atkins
c1adfb5be8 * .../business-core/gncCustomer.[ch]:
* .../business-core/gncVendor.[ch]:
	* .../business-core/gncEmployee.[ch]:
	  Rename ...Commodity() to ...Currency()
	* .../business-core/gw-business-core-spec.scm: fix function wrappings
	* .../business-core/file/gnc-customer-xml-v2.c:
	* .../business-core/file/gnc-vendor-xml-v2.c:
	* .../business-core/file/gnc-employee-xml-v2.c:
	  Use new function names.
	* .../business-gnome/business-gnome.scm:
	* .../business-gnome/dialog-customer.c:
	* .../business-gnome/dialog-vendor.c:
	* .../business-gnome/dialog-employee.c:
	  Use new ...Currency() functions
	More prep to fix #101001


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7819 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 22:53:02 +00:00
David Hampton
82268e98b3 Workaround libghttp bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7818 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 22:21:16 +00:00
Derek Atkins
39b506f60c * src/business/business-core/gncOwner.[ch]: rename ...Commodity() to
...Currency()
	* src/business/business-core/gncInvoice.[ch]: rename ...CommonCommodity()
	  to ...Currency()
	  use new gncOwner function name
	* src/business/business-core/gncEntry.c: use new Currency() functions
	* src/business/business-core/gw-business-core-spec.scm:
	  wrap gncInvoiceSetCurrency()
	  wrap gncInvoiceGetCurrency()
	  wrap gncOwnerGetCurrency()
	* src/business/business-core/file/gnc-invoice-xml-v2.c: use new funcs
	* src/business/business-gnome/dialog-invoice.c: use new functions --
	  set invoice currency based on owner's currency
	* src/business/business-reports/invoice.scm: use invoice's currency
	  for printing the invoice.
	PARTITAL fix for #101001


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7817 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 22:07:33 +00:00
Derek Atkins
3d57ec5e53 * src/app-utils/global-options.[ch]: add gnc_default_report_currency()
* src/app-utils/gw-app-utils-spec.scm: wrap gnc_default_report_currency()
	* src/app-utils/prefs.scm: add "Default Report Currency" preference
	* src/report/report-system/options-utilities.scm: use new report currency
	  preference to choose the "default" report currency.
	FIXES Bug #103160


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7816 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 21:21:31 +00:00
David Hampton
993a1a228e Return the number of characters entered, not the length of the encoded
multi-byte string. Possible fix for 99419 and 102057.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7815 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 21:15:00 +00:00
Linas Vepstas
cf8b8b7a23 Glen Ditchfield gui elements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7814 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 17:04:05 +00:00
Derek Atkins
dd78d835a4 * src/business/business-core/gw-business-core-spec.scm:
wrap gncEntryGetInvTaxTable()
	  wrap gncEntryGetBillTaxTable()
	* src/business/business-reports/invoice.scm: only set the "taxable"
	  value to 'T' if the value is true AND we've got an actual tax table.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7813 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 05:13:51 +00:00
Derek Atkins
34abe91b02 * src/business/business-core/gncBusGuile.[ch]: functions to interface
between business objects and scheme.  Add hooks to convert between
	  GncAccountValue* and scheme.
	* src/business/business-core/gw-business-core-spec.scm:
	  wrap the GncAccountValue*
	  wrap gncEntryReturnTaxValues()
	  wrap gncEntryGetInvTaxable() and gncEntryGetBillTaxable()
	* src/business/business-reports/invoice.scm: change a couple of
	  columns.  Enable viewing the "taxable" entry.  Enable viewing
	  all the tax accounts individually (fixes bug #102892)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7812 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-12 05:03:03 +00:00
David Hampton
4ee7b8d775 Fix a missed reference from when the preferences were rearranged.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7811 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-11 23:17:06 +00:00
David Hampton
d07d526913 Convert from the old to new symbols for Russian Roubles (RUB ->
RUR). #102705


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7810 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-11 21:36:34 +00:00
David Hampton
dab1d59bc3 Add note that Austrian switched from Shillings to Euros.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7809 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-11 20:00:56 +00:00
Benoit Grégoire
982a31cff0 2002-1-6 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Fixed the date heuristics modifications, which had an unfortunate interaction with old debugging code, causing the score to be reversed, and making the matcher mostly unusable.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7808 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-11 19:44:28 +00:00
Linas Vepstas
feeec1f6e0 add derek's double-balance idea
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7807 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-11 06:08:57 +00:00
Derek Atkins
ebc555fe43 * src/register/ledger-core/split-register-model.c:
* src/register/ledger-core/split-register-control.c:
	  Ignore certain splits with an "amount" of zero.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7806 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-09 22:50:32 +00:00
Christian Stimming
deeb3fd2f3 2003-01-09 Christian Stimming <stimming@tuhh.de>
* po/el.po: Updated translation, reviewed by
	ta_panta_rei@flashmail.com.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7805 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-09 22:46:33 +00:00
Derek Atkins
d3dcb65e59 * src/business/business-core/gncInvoice.c: actually apply
a payment to the proper transfer account.  Fixes bug #102893


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7804 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-09 03:19:17 +00:00
Derek Atkins
2020629a0e * apply patch to use Euclid's algo for gnc_numeric_reduce
more fixes for #95474


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7803 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-09 01:06:27 +00:00
Christian Stimming
7127d3a6fa 2003-01-08 Christian Stimming <stimming@tuhh.de>
* po/ru.po: Updated very complete (!) Russian translation by
	Vitaly Lipatov <lav@altlinux.ru>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7802 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-08 22:14:18 +00:00
David Hampton
11ffa5dd13 Revert a change for guile 1.6. The 64 bit native API changed between
1.4 and 1.6 so this change caused compilation failures for some users.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7801 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-08 00:20:28 +00:00
Derek Atkins
e9b93eeccf * src/business/business-core/business-core.scm: return #f if
we cannot obtain an owner from a split (in the case of a regularly-
	  entered split)
	* src/business/business-reports/aging.scm:
	* src/business/business-reports/owner-report.scm:
	  Cope with not being able to obtain an owner from a split.
	  In particular, ignore it.  Fixes part of #97097.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7800 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 23:31:35 +00:00
Derek Atkins
d8cff1cd3c 2002-01-07 Herbert Thoma <herbie@hthoma.de>
* src/gnome-search/gncmod-gnome-search.c:
	* src/business/business-gnome/businessmod-gnome.c:
	* gnucash/src/gnome-utils/dialog-options.h:
	* src/import-export/binary-import/druid-commodity.h:
	* src/register/register-gnome/gnucash-color.c:
	* src/report/report-gnome/gncmod-report-gnome.c:
	  add #ifdef HAVE_CONFIG_H
	    #include <config.h>
	    #endif
	  this fixes compile errors on SuSE 8.0 + 8.1


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7799 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 21:54:07 +00:00
Derek Atkins
3db90b6f64 * src/business/business-core/file/* -- don't save half-built data.
Make sure that we're only saving the items that have been fully
	  created (not half-created).  Fixes the cause of bug #102776.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7798 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 20:37:04 +00:00
David Hampton
56c325a322 Changes required for guile 1.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7797 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 06:46:37 +00:00
Derek Atkins
39be7af0f5 * intl-scm/Makefile.am: applied John's patch to build guile-strings.c
properly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7796 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 05:04:43 +00:00
David Hampton
d5e516ebd8 Use guile style names instead of C sytle names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7795 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 04:35:27 +00:00
Derek Atkins
dd4e209a38 * src/engine/test/test-scm-query-import.scm: add a warning message
about potential "error" output which can be ignored.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7794 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 04:21:18 +00:00
Derek Atkins
db4d8f7a2f * macros/Makefile.am: include the rest of the macros in the dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7793 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 03:21:16 +00:00
Christian Stimming
44ba04a500 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7792 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 22:11:20 +00:00
Christian Stimming
281b77c532 Updated translation by Lorenzo Cappelletti <L.Cappelletti@mail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7791 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 21:52:53 +00:00
Chris Lyttle
388b8a9702 release 1.7.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7789 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 09:28:33 +00:00
Chris Lyttle
47fa370fd8 Updates to build system by John H. Pierce
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7788 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 07:15:30 +00:00
Benoit Grégoire
c23c6b9ee7 2002-1-6 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Give a much higher importance
	the date heuristics.   Exact date now worth +3, date within
	MATCH_DATE_THRESHOLD worth +2, and dates outside
	MATCH_DATE_NOT_THRESHOLD (now set to 25) are worth -100.
	The side effect it that any transaction outside a 25 day
	range can't be matched at all.
	-Disable skipping transactions which already have an online id
	during matching, untill a fix for the "transfer between two
	accounts" bug is properly fixed.
	* src/import-export/generic-import.scm:
	* src/import-export/import-settings.c:
	-Disable EDIT action enabling, (it won't be complete for 1.8.0).
	-Fix typos reported by Bill Wohler.
	-Adjust default ADD and RECONCILE threshold to account for above
	change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7787 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 06:20:45 +00:00