Commit Graph

6576 Commits

Author SHA1 Message Date
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
Derek Atkins
f0b9fe9f4b * src/engine/Transaction.[ch]: add TRANS_NOTES and supporting routines
to enable searching for notes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7774 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:46:21 +00:00
David Hampton
fe62ac23e9 Implement file compression.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7773 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 02:03:50 +00:00
Derek Atkins
ad710d157e * add a set of business accounts to the setup druid
* fix the full and common accounts to remove the (wrong) "Accounts Payable"
	  liability account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7772 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 21:51:17 +00:00
Derek Atkins
f13b748817 Don't call a Liability account "Accounts Payable" -- it's wrong!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7771 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 21:03:48 +00:00
Christian Stimming
04700b0d7c Updated German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7770 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 11:33:30 +00:00
David Hampton
b842de758e Add window icons to those windows that don't pick up the default icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7769 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 08:11:01 +00:00
David Hampton
dadc100061 Add window icons to those windows that don't pick up the default icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7768 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 07:16:50 +00:00
David Hampton
b3f1274e0a Add support for i18n of price source strings. #102156
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7767 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:32:48 +00:00
David Hampton
f4a1432582 Do the right thing when going "back" from the "load a file" page. If
there are any files loaded should return to the "loaded files" page
instead of the initial druid page. #101818


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7766 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:29:26 +00:00
David Hampton
5164ae147f Clean up the lock file properly (i.e. in session destruction) when an
error is detected. #101004


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7765 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:28:16 +00:00