Commit Graph

6586 Commits

Author SHA1 Message Date
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
Derek Atkins
c0fa51f9c6 Don't forget the Equity:Opening Balances account(s)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7786 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:50:21 +00:00
Derek Atkins
cb5a45a5be * src/backend/file/io-example-account.c: fix a logic bug
* accounts/C/acctchrt_common.gnucash-xea: don't start selected
	* accounts/C/acctchrt_checkbook.gnucash-xea: provide a simple checkbook


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7785 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:47:42 +00:00
Derek Atkins
6d8034012d * src/register/ledger-core/split-register-model-save.c: when
editing an exchange rate, always change the _VALUE_ of the
	  split, not the amount.  This has the affect of keeping the
	  visible number the same and changing the "other" account.  This
	  should fix #102161


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7784 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:29:15 +00:00
David Hampton
b5641d333c Enhance the component manager so that you can optionally attach a
session to a component. Provide an interface to close components by
session so they can be closed before the entire book/set of accounts
is deleted.  #102531.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7783 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 23:07:32 +00:00
Derek Atkins
f0e602fa65 * src/backend/file/io-example-account.[ch]: add a flag that signifies
that an account-tree should start selected.
	* src/gnome/druid-hierarchy.c: when loading the example accounts, go
	  through the list and 'select' those that are marked as "start selected"
	* accounts/C/acctchrt_common.gnucash-xea: mark this account tree as
	  "start selected"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7782 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 19:57:46 +00:00
Derek Atkins
f9d0134156 * src/backend/file/io-example-account.[ch]: add a flag that signifies
that an account-tree should NOT be included by "select-all"
	* src/gnome/druid-hierachy.c: ignore account-trees that are
	  marked for exclusion from "select-all".
	* accounts/C/acctchrt_business.gnucash-xea: mark this account as
	  "excluded from select-all"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7781 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 19:05:58 +00:00
Derek Atkins
0ee9a57e7b * src/scm/main.scm -- mention bugzilla in the unstable message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7780 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 16:24:01 +00:00
Christian Stimming
9cd4930383 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7779 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 12:06:42 +00:00
Derek Atkins
bd9e618670 * src/register/ledger-core/*: gnc_table_layout_get_cell() doesn't
look at the current cursor, so the multi-currency code was acting
	  all the time, instead of only in registers that needed to be corrected.
	  Fix the code to only apply the multi-currency changes to the correct
	  register types (e.g., NOT stock registers).  Fixes 102549.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7778 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 06:16:05 +00:00
David Hampton
fabeeeb3d7 Don't export lots.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7777 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 05:49:27 +00:00
Derek Atkins
2bd08c53e3 * src/gnome/dialog-find-transactions.c: search on NOTES
add code to prevent searching on template-txn accounts so SXes don't
	  show up in find results.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7776 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:56:25 +00:00
David Hampton
276668eab9 Don't clear the current_session global unless the actual current
session is being destroyed. 101707.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7775 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:50:37 +00:00