Commit Graph
1146 Commits
Author SHA1 Message Date
Derek Atkins fd3a09b6f3 * business/business-gnome/dialog-invoice.c
Add an unpost button.  It does nothing at this point.
	* business/business-gnome/glade/invoice.glade
	  Add an unpost button.
	* business/business-core/gncInvoice.c
	  change the readonly message to point to unposting invoices
	  NOTE: This just adds the icon and some new strings..  Functionality
	  to be added soon.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7478 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-13 02:59:19 +00:00
David Hampton 51cd4acd9a Enforce the rule that "Buys" must be a positive number of shares and
"Sells" must be a negative number of shares. #92270


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7477 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-13 02:52:56 +00:00
David Hampton d1ff3b469e Sort the splits in a transaction when the transaction is committed,
not each time the view of the transaction is refreshed in the
register. #92156


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7476 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-13 01:44:19 +00:00
Derek Atkins a0ec45ad40 * src/import-export/gnc-import-match-map.[ch]
Implement a generic Account Mapper for the import routines.
	  Still needs a GUI.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7475 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 22:07:40 +00:00
David Hampton da778e274e Apply the fixes for #92157 to the business entry ledger.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7474 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 18:58:45 +00:00
David Hampton 348e88d83d Fix register problem where the transfer field (on the last line if in
a multi-line split) ignores whatever the user entered if you leave the
cell with the <enter> key instead of the <tab> key.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7473 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 18:21:45 +00:00
Benoit Grégoire 2e26735df4 2002-11-12 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Fix previous patch.
	gcc 3.2 is too forgiving...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7472 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 18:02:13 +00:00
Benoit Grégoire 15b462bc6e 2002-11-12 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c: Dynamically generate
	a pixmap to display match confidence graphically.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7471 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 17:45:50 +00:00
Benoit Grégoire ac12d3226e 2002-11-12 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c: Fix call to
	g_strdup_printf in Christian's 2002-11-03 translation patch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7470 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 13:36:49 +00:00
Benoit Grégoire 8b06515b73 2002-11-12 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c
	* src/import-export/generic-import.glade: First round of
	transaction matcher UI changes.  Create a pseudo-widget in first
	column to select the action to be taken with the transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7469 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 08:46:11 +00:00
Joshua Sled c6445948fc 2002-11-12 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c
	(sxsincelast_tc_row_unsel, sxsincelast_tc_row_sel): Now [again]
	uses the read-only register to show the relevant template
	transaction, so the user has context about any variables they're
	being asked to fill in values for.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7468 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 08:24:57 +00:00
David Hampton 2de338481e Convert all the account window callbacks to take a pointer to the main
GNC MDI data structure, not a child structure that can be created and
deleted willy-nilly by the Gnome MDI code. The current child
(i.e. window) can easily be found from the main data structure.
#94972


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7467 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 07:01:31 +00:00
Joshua Sled bd059c94e0 2002-11-11 Joshua Sled <jsled@phoenix.asynchronous.org>
* src/gnome/window-register.c (regWindowLedger): If we
	gtk_widget_show_all the correct widget [the window], then it's
	available for setting its size and changing the style and whatnot.

	* src/gnome/orig-window-register.c (regWindowLedger): Hack for
	Bug#97640; re-init the style after we've shown the widgets to
	affect a "style change", which lets the GUI nature of the cells
	[combos, autocomplete] init and function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7465 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-12 05:51:57 +00:00
Christian Stimming 0edc5411ef 2002-11-10 Christian Stimming <stimming@tuhh.de>
* src/import-export/Transaction-matcher.c: Make newly imported
	transaction "cleared" instead of "reconciled".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7464 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 07:55:20 +00:00
David Hampton a783247da7 Fix the "reinitialize transaction" code to work correctly on the blank
split.  #98134


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7463 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 07:46:14 +00:00
Derek Atkins 585fc0ef87 Er, only has share price _ONCE_
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7462 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 02:34:18 +00:00
Derek Atkins 719cfd9bae Fix a merge failure
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7461 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 02:32:10 +00:00
Derek Atkins 60ee3df8b7 * Fix the Find-Transactions dialog so it only has "Share Price" twice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7460 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 01:08:42 +00:00
David Hampton f6858e7a5b The reinitialize transaction code should mark the transaction as
pending so that the right checks are done when leaving the
transaction.  Fix spelling errors in function names.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7459 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 00:51:06 +00:00
Derek Atkins 7097d664c5 2002-11-09 Herbert Thoma <herbie@hthoma.de>
* /src/report/standard-reports/cash-flow.scm: bug fix for cash flow
	  reports on stock accounts


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7457 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-11 00:24:18 +00:00
Derek Atkins f20f01857b * gnome/dialog-new-user: don't call the qif-import-druid directly.
Add a callback API for the qif-import druid.  Use that callback
	  when the qif-import button is pressed.  Make the qif-import button
	  sensitive only when the qif-import module is loaded (i.e. only when
	  the callback function is non-NULL).
	* import-export/qif-import -- set the make_druid callback for the new-user
	  dialog.
	* gnome/Makefile.am -- remove dependency on qif-import library.
	* src/makefile.am -- re-order import-export after gnome

	* engine/Transaction.c -- allow deletion of a non-connected Splits
	  (fixes a SEGV problem)

	* engine/Account.c -- send an event whenever an account balance is updated.
	  Fixes bug # 97689


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7456 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-10 04:42:09 +00:00
Christian Stimming b66a65968e 2002-11-08 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-register.c (regWindowLedger): Fix menu
	extension setup by moving it after gnc_register_setup_menu.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7455 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-08 22:42:52 +00:00
David Hampton c9de06c292 Finish moving preferences to an "Advanced" panel. References to these
preferences also need to be changed to reference the new panel name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7454 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-08 01:39:58 +00:00
Derek Atkins ff9152821b * gnome/gnc-split-reg: export jump_to_* functions
* gnome/window-reconcile.c: re-enable the 'jump to blank'
	* gnome/window-register.c: re-enable the 'jump to blank' by calling into
	  the split-reg's implementation.
	  fixes bug #97680


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7451 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-06 21:54:54 +00:00
Christian Stimming 5cffc0f55f 2002-11-06 Christian Stimming <stimming@tuhh.de>
* po/de.po: Completed German translation. Some typo fixed
	elsewhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7450 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-06 18:31:14 +00:00
Christian Stimming ab588fc8c4 2002-11-05 Christian Stimming <stimming@tuhh.de>
* po/it.po: Updated translation by Lorenzo Cappelletti
	<L.Cappelletti@mail.com>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7448 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-05 21:50:58 +00:00
Christian Stimming a7c15674de 2002-11-05 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-split-reg.c, src/gnome/glade/register.glade:
	Replace the term "reinitialize" by "Remove Transaction Splits".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7446 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-05 18:41:37 +00:00
David Hampton addbc80e8d Add support for individual read-only transactions. Enforce this at
various levels in the code.  Take advantage of this in the Business
Invoice code.  #96024


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7445 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-05 06:41:45 +00:00
Derek Atkins eee3644451 2002-11-04 Herbert Thoma <herbie@hthoma.de>
* /src/report/standard-reports/cash-flow.scm: new report
	which shows inflow and outflow of money to a set of accounts

	* src/report/standard-reports/standard-reports.scm: add
	cash-flow.scm to gncscmmod_DATA


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7444 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-05 00:52:09 +00:00
Derek Atkins fc9085b01c * src/business/business-reports/invoice.scm: fix some strings
"Invoice Terms" -> "Billing Terms"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7441 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 22:57:24 +00:00
Derek Atkins 5f35c56b73 * src/app-utils/Makefile.am: install i18n.h but don't include it
in the DIST tarball -- let it be generated from i18n.h.in, which
	  IS distributed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7440 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 22:13:25 +00:00
Derek Atkins a60d60b221 * src/gnome-utils/gnc-gui-query.c: use the right string when building
the dialog (use the output from vsprintf, not the input)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7439 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 17:43:38 +00:00
Derek Atkins 84cb47bdc1 * src/gnome/gnc-split-reg.c: remove reference to gnc-regwidget.h
(which no longer exists)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7438 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 15:09:39 +00:00
Joshua Sled 0f08ff10aa 2002-11-03 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c: Use GNCSplitReg over
	GNCRegWidget.

	* src/gnome/dialog-scheduledxaction.c
	(schedXact_editor_create_ledger): Use GNCSplitReg over
	GNCRegWidget.

	* src/gnome/glade/register.glade: Moved a bunch of the
	previously-shared widget definitions into seperate places to be
	accessed by window-register.c and gnc-split-reg.c.

	* src/gnome/window-register.c: Massive code-sucking into
	gnc-split-reg.c; this file now only handles the details of being
	the register window: dealing with dates and the extended menus and
	whatnot.

	* src/gnome/gnc-split-reg.c: Added; a better implementation of
	gnc-regWidget.  All the "common" register-editing code has been
	moved here from window-register.c.

	* src/register/ledger-core/gnc-regwidget.c: Removed; replaced with
	src/gnome/gnc-split-reg.c.

	* src/register/register-gnome/gnucash-date-picker.c
	(gnc_date_picker_new): Call gtk_widget_show_all rather than
	gtk_widget_realize in order to setup the calendar to a state
	sufficient for subsequent calls.

	* HACKING: Added description of how to start GnuCash in GDB.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7437 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 07:47:03 +00:00
Derek Atkins 2db34dcb9f * business/business-ledger/gncEntryLedgerLoad.c -- set the account
completion character for the account cells.  Fixes bug #97098


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7436 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 05:04:51 +00:00
Derek Atkins 695d717094 * gnome-utils/dialog-account.c: change the BeginEdit() call on the
(temporary) top-level account, so the SQL backend doesn't hate us
	  for committing and account without a commodity.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7435 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 02:22:46 +00:00
Derek Atkins 25f3ffddb9 * business/business-core/*.c: add begin/commit edit calls in every 'set'
function.  Fixes 96855.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7434 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-04 00:41:01 +00:00
Derek Atkins ac574a38eb * engine/gnc-be-utils.h: implement macro helpers for begin/commit functions
* business/business-core/*.c: Implement BeginEdit()/CommitEdit() functions
	  for all the business-accounting data objects.
	* Use the begin/commit calls in the GUI and file-backend.
	* mostly fixes bug #96855.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7431 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-03 20:21:42 +00:00
Christian Stimming 923006d98b 2002-11-03 Christian Stimming <stimming@tuhh.de>
* src/gnome/dialog-sxsincelast.c, src/gnome/window-main.c,
	src/engine/messages.h: Fix translation of plural forms by
	introducing ngettext(3).

	* src/import-export/ofx/gnc-ofx-import.c: Fix string translation
	issues.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7430 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-03 12:15:23 +00:00
Derek Atkins 53f1e9824a * gnc-engine-util.[ch]: add MOD_BUSINESS for logging (eww)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7429 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-03 03:33:15 +00:00
Chris Lyttle d8a1e8fa97 updated spec to work with rh8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7428 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-02 09:59:53 +00:00
Derek Atkins 70e9aa6089 * import-export/ofx/Makefile.am: add gncscm_DATA to EXTRA_DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7427 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-31 16:35:03 +00:00
Derek Atkins abbdfbd1f7 * import-export/ofx/gnc-ofx-import.c: use gnc_timespec_to_iso8601_buff() instead of strftime()
* import-export/ofx/gncmod-ofx-import.c: "remove" two unused variables


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7426 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-31 03:28:03 +00:00
Benoit Grégoire cdd5577825 2002-10-30 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c: Fix security account creation bug caused by the presence of the character ':' in the account default name.  Fix compiler warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7425 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-30 21:17:39 +00:00
Derek Atkins 8e7b08c0ac * configure.in -- improved libofx configure support. Add --with-ofx-prefix
so users can define where to look for libofx.
	* import-export/ofx/Makefile.am -- use new configure glue


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7424 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-30 17:50:39 +00:00
Christian Stimming 3b8bed6ad1 i2002-10-28 Christian Stimming <stimming@tuhh.de>
* intl-scm/xgettext.scm: Add the file name of scheme files to
	translation messages.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7421 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 18:48:09 +00:00
Chris Lyttle b3ee152e2a now works building 1.7.x
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7419 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 11:56:12 +00:00
Chris Lyttle 529d556d77 update for release 1.7.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7416 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 10:21:07 +00:00
Chris Lyttle 8ef71bff02 remove old docs in prep for new ones
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7415 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 09:43:57 +00:00
David Hampton c3e07a256e Add support for "Advanced" option pages. Move some existing
preferences into a new Advanced Preferences page.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7414 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 09:18:49 +00:00