Commit Graph

6062 Commits

Author SHA1 Message Date
Derek Atkins
a56e6be18b * created the backend-api document
* removed the old Query code (bug #94318)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7290 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-08 04:01:54 +00:00
Derek Atkins
123d988ed1 * Applied Matt Martin's advanced-portfolio patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7289 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-07 14:07:22 +00:00
Derek Atkins
3a40bd45c3 * Rename "print invoice" to "printable invoice"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7288 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-07 13:45:48 +00:00
David Hampton
7e4a39f847 Ignore new generated files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7287 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-07 01:51:41 +00:00
David Hampton
7eecd9ea66 If there are only two splits and the register is in "expanded" mode,
don't automatically update the price of the other split.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7286 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-07 01:30:41 +00:00
David Hampton
f9ecbf0aaf Opening a placeholder account now yields a register that can't be
edited and a nice warning message.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7285 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 23:23:41 +00:00
Christian Stimming
9d24eedfc5 2002-10-07 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Fix and activate
	the initialization functions again; therefore, the HBCI subsystem
	is now open for testing (requires openhbci-CVS as of Oct 03).

	* src/import-export/hbci/hbci-interaction.[hc]: Close button
	hides, not destroys.

	* src/import-export/hbci/hbci-account-picker.c: Fix account picker.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7284 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 22:35:28 +00:00
Joshua Sled
b7ed99154a 2002-10-06 Joshua Sled <jsled@asynchronous.org>
* src/gnome/druid-loan.c: The druid now enforces valid account
	selection for the GNCAccountSel widgets; fixes Bug#90784.

	* src/gnome/gnc-account-sel.c (gas_destroy): GNCAccountSel
	now cleans up after itself, especially with removing its engine
	event observation.  Moved from src/gnome-utils/ to src/gnome/
	because of circular dep introduced below.

	* src/dialog-account/dialog-account.c
	(gnc_ui_new_account_with_types): Added new function to create a
	NewAccount dialog with only a valid-types filtering list.

	* src/gnome-utils/gnc-account-sel.c
	(gnc_account_sel_set_acct_filters): Added support for filtering
	the accounts available through the GNCAccountSel.
	(gnc_account_sel_set_new_account_ability): Added support for a
	conditional "New..." button which allows the creation a new
	account.  If the selector has a filter in place, the filter will
	apply to the new-account creation as well.

	* src/gnome-utils/gnc-account-sel.c: Added ifdefs, comments around
	regions pertaining to unimplemented feature of completion.
	Fix for Bug#90779.
	(gnc_account_sel_event_cb): Added support for updating list
	contents when the account tree changes; the current selection is
	respected if the account still exists; fixes Bug#94951.

	* src/gnome/dialog-sxsincelast.c
	(sxsld_process_to_create_instance): Handle the corner case of not
	incrementing the state while postponing/ignoring a
	never-been-created SX.  Handle only incrementing the counters of
	newly-come-due SXes.

	* src/engine/SchedXaction.c (gnc_sx_create_temporal_state): Fix
	corner case of creating the temporal state of a never-been-created
	SX; fixes Bug#94947.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7283 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 22:31:05 +00:00
Christian Stimming
354de817c7 2002-10-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c, gnc-hbci-actions.c:
	More work on transaction invocation and importing. Is actually
	usable now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7282 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 20:37:32 +00:00
Derek Atkins
29bfdf9fcf * Change the Report MENU names, not the REPORT names (except for
the "Welcome to GnuCash" report)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7281 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 18:00:03 +00:00
Derek Atkins
8ac773a5ae More report renaming (and report menu renaming). Try to keep reports
with their original name where possible and just change the menu item.

	* taxtxf.scm -- Change "Accounts -> Tax Information" to Edit->Tax Options


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7280 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 17:28:53 +00:00
Derek Atkins
8ea1237010 * report-gnome/report-gnome.scm -- Create sorted menu items
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7279 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 16:53:20 +00:00
Derek Atkins
2b6beb7b0a * Rename a bunch of reports as per Chris Lyttle's suggestions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7278 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 15:35:54 +00:00
David Hampton
b905d37ce8 Today's changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7277 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 09:44:13 +00:00
David Hampton
8e6db21d38 Alphabetic characters in the data field should be passed to the system
if any modifier keys have been pressed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7276 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 09:41:50 +00:00
David Hampton
09bbcd203c Add callbacks so the engine can display gui errors.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7275 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-06 00:18:22 +00:00
Derek Atkins
b9deaef522 * make the Invoiced? cell mutable under limited conditions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7274 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 23:52:42 +00:00
Derek Atkins
d3db2e6750 * use the checkbox cell in the EntryLedger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7273 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 23:24:29 +00:00
Derek Atkins
6510d59d7b * Implement a core CheckboxCell register type (note, still needs a
pretty Gnome implementation)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7272 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 23:23:38 +00:00
David Hampton
e9ce0bdc87 Remove version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7271 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 22:30:56 +00:00
David Hampton
b020b6a186 Erase splash before starting new user dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7270 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 17:11:04 +00:00
Derek Atkins
70545d9a9e Pogma's fixed patch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7269 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 16:32:00 +00:00
Derek Atkins
aceb6f63f2 * Peter O'Gorman's patch for fixing libtool on darwin
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7268 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 15:59:23 +00:00
Derek Atkins
da3abe6423 * Check for gettext in -lintl for MacOS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7267 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 14:49:53 +00:00
Derek Atkins
1b7c48a98c * Fix the autoconf-2.13/2.52/2.53 problems -- Gnucash should now
work on all versions of auto-tools, although it now requires GnuMake.

	* configure.in -- just pass LIBOBJS directly to the Makefile; pass
	  a sed script that uses '$U' (which is a 2.53ism, but works right
	  on 2.13) to the Makefile.
	* lib/libc/Makefile.am -- Use LIBOBJS and GnuMake's $(shell) syntax
	  to create the list of libobjects to be linked into "libc-missing"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7266 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 14:24:10 +00:00
David Hampton
a78f77646c Add missing argument to gnc_session_xxx calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7265 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 09:15:04 +00:00
Christian Stimming
4e47975a10 2002-10-03 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.[hc]: Separate the
	Get-Transaction related HBCI functions into this file. Much more
	work here, so that most of transaction information is now filled
	into the right places. Requires totally up-to-date OpenHBCI CVS,
	though.

	* src/import-export/hbci/gnc-hbci-getbalance.[hc]: Separate the
	Get-Balance related functions to a seperate file. Add invocation
	of account reconcile upon successful balance retrieval.

	* src/import-export/hbci/hbci-progressmon.c: Change to a
	GnomeDialog here, and fix handling of parent window.

	* src/gnome/window-main-summarybar.c: Introduce lookup of currency
	symbol. However, this doesn't quite fix bug #91724, since that one
	is related to the currency_item->assets_label and not to the label
	in front of that. What a pity.

	* src/RecnWindow.h (recnWindowWithBalance),
	src/gnome/window-reconcile.c: Add function to invoke account
	reconciliation with balance and date given.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7264 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 21:07:47 +00:00
Derek Atkins
dd59615084 Add comments about bug fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7263 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 17:51:43 +00:00
Derek Atkins
f3fe12becb * src/scm/main.scm -- move (setlocale ...) earlier in the startup.
it needs to run before app-utils is loaded (because gnc_localeconv()
	  caches the first run -- so if that happens before setlocale, you're
	  stuck!)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7262 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 17:39:03 +00:00
Derek Atkins
058284bc1c * src/backend/postgres/gncquery.c - create proper SQL, ignore bookGUID
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7261 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 02:04:12 +00:00
Derek Atkins
4da20676b1 * configure.in: check for ltdl.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7260 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-02 19:43:58 +00:00
Derek Atkins
0f5a6b518b Herbert Thoma's patch:
* /src/report/standard-reports/advanced-portfolio.scm: new report
	which shows money-in, money-out and gain of stock and fund accounts
	(based on the work of Martijn van Oosterhout and portfolio.scm
	by Robert Merkel)

	* src/report/standard-reports/standard-reports.scm: add
	advanced-portfolio.scm to gncscmmod_DATA

	* doc/build-suse.txt: updated for GnuCash 1.7


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7259 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 20:48:27 +00:00
Derek Atkins
f86d58454a * src/bin/overrides/gnucash-build-env: fix trailing whitespace bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7258 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 04:40:16 +00:00
Derek Atkins
906b4f51ab * src/gnc-test-env: define LTDL_LIBRARY_PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7257 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 04:13:21 +00:00
Christian Stimming
b671df5bf6 2002-10-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c: More work and fixes
	for balance/transaction retrieval.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7256 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 23:59:34 +00:00
Derek Atkins
3809799b0f * src/scm/main.scm -- fix menu issue for LANG=de_DE.. "Preferences" is
really "_Preferences"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7255 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 22:28:03 +00:00
Derek Atkins
79fe4f10b7 * wrap gnc_commodity_table_add_default_data()
* src/engine/gnc-session.c -- don't try to modify a the path of a file: URL
	* src/engine/Transaction.c -- fail in mallocTrans if book is NULL
	* fix qif-io-core: use (gnc:transaction-set-currency) (not commodity)
	* qif-io-core.scm: need app-utils and to re-export simple-format
	* qif-io-core/test/Makefile.am: add app-file and backend/file dirs to tests
	* fix test-import-phase-1.scm: load app-file for symbols, fix
	  the commodity table; fix the "file save" portion


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7254 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 21:37:43 +00:00
Christian Stimming
352bdff101 Clarify some function documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7253 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 21:12:53 +00:00
Derek Atkins
9c0e54444f * get (alpha) qif-io-core to load again and "make check" to
start working (sort-of).  Still needs more work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7252 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 18:29:00 +00:00
Joshua Sled
ae950cd6fb 2002-09-29 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/io-gncxml-v2.c
	(write_template_transaction_data): Updated for new
	backend-structure arguments, to not crash in the call to
	xml_add_trn_data.  Fixes unfiled bug.

	* src/gnome/dialog-sxsincelast.c:
	* src/backend/file/gnc-schedxaction-xml-v2.c
	(sx_defer_last_handler)
	(sx_defer_rem_occur_handler, sx_defer_inst_count_handler)
	(sx_defer_inst_handler):
	* src/engine/SchedXaction.c (gnc_sx_add_defer_instance)
	(_temporal_state_data_cmp, gnc_sx_remove_defer_instance)
	(gnc_sx_get_defer_instances):
	Added and modified to support postponing to-be-created SXes; fixes
	Bug#88981.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7251 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 20:44:54 +00:00
Christian Stimming
d1197d383d 2002-09-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.[hc]: Initial code for
	transaction download with usage of generic transaction
	import. Requires OpenHBCI CVS update.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7250 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 20:16:21 +00:00
Benoit Grégoire
1d2e270101 2002-09-29 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Fix	segfault when
	importing into a gnucash account which has no splits.

	* src/import-export/gnc-ofx-import.c: Code simplification for
	commodity autoselection.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7249 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 17:28:21 +00:00
Derek Atkins
9a01a4d300 * fix g-wrap testing in configure to work with an existing config.cache
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7248 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-28 22:50:16 +00:00
Benoit Grégoire
ef9efd5024 Add missing ChangeLog entries for previous commit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7247 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-28 17:33:15 +00:00
David Hampton
42f491c1af Documentation updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7246 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 16:57:18 +00:00
David Hampton
9d1ee40961 Use report name from options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7245 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 14:54:46 +00:00
David Hampton
1289a79aa9 Change button labels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7244 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 14:52:36 +00:00
Benoit Grégoire
0aa1c8d6bb -Fix new_account_default_type parameter of gnc_import_select_account() not selecting default type properly
-Add auto_create parameter to gnc_import_select_account().  If this parameter is 0 and the function is called, it will silently return NULL if no matching account is found, instead of asking user to select or create an account.
-Clicking cancel will now cancel the import for the whole account instead of having to click cancel for each transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7243 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 05:18:00 +00:00
Benoit Grégoire
ffd939341b -Default commodity and account type are now preselected from OFX information when user decides to create a new gnucash account.
-Fix segfault when canceling import in the file selection dialog


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7242 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 05:13:20 +00:00
David Hampton
d15de598e8 Add a Quit option to the "File Locked" message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7241 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 03:33:31 +00:00