Commit Graph

5651 Commits

Author SHA1 Message Date
David Hampton
0dbbb49551 Split stock price editor into two dialogs; a price-db editor and a
single price editor.  Portfolio report now has hyperlinks to open the
editor for a single stock price.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6829 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:36:11 +00:00
David Hampton
10a2944b33 Add another use of gtk_window_present().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6828 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:24:07 +00:00
David Hampton
5518f193e7 Tweak a warning message to provide more info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6827 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:22:04 +00:00
David Hampton
dfbb270c2c Update spec fil to build an additional postgres backend rpm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6826 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 01:46:40 +00:00
Derek Atkins
5fc8d2d134 gnc-backend-file.c: scandir() is not portable; re-write the
backup-file deletion using readdir() instead
gnc-gui-query.c:	at startup, gnc_ui_get_toplevel() may return NULL,
			do deal accordingly and don't assume it will be
			non-NULL (still other cases where this can bite you)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6825 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-06 20:15:49 +00:00
David Hampton
66b89538ab Add support for pruning old 'xac' and 'log' files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6824 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-04 05:54:14 +00:00
David Hampton
ed4155b4f6 Track reconciliation interval (by account). When asking the user for
a reconciliation end date, always default to the same time interval
they previously used (or 1 month for the first reconcile in an
account.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6823 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 23:13:58 +00:00
David Hampton
b820a5006c Default date format to the users locale. Date widgets now accept a
single number as the day, or two numbers as day and month (ordered
according to the users date preference).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6822 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 21:43:25 +00:00
David Hampton
f9910405c2 More code to raise existing windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6821 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 04:53:38 +00:00
David Hampton
708d3cd472 Update for previous changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6820 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-23 02:31:08 +00:00
David Hampton
f31ae2e3f9 Move string formatting logic into the gnc_xxx_dialog routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6819 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 21:56:54 +00:00
Joshua Sled
66b982375e 2002-04-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_advanced_clicked): Since
	"Advanced..." editing completely entails the from-transaction
	dialog, we close it if the user selects "Advanced..." to prevent
	errors when the from-trans dialog is "Ok"'d.

	* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
	Better deletion confirmation checking; we now look for
	being-edited scheduled transactions and confirm them specially
	with the user to prevent inconsistencies from cropping up.

	* src/doc/TODO-schedxactions: Updated; more 'X'-ed off items make
	me happy.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6818 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 21:03:57 +00:00
Joshua Sled
7e2051e60d 2002-04-21 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/sixtp.c (sixtp_parse_file): Explicitly create
	an xmlParserCtxt and keep it in the sixtp_sax_data, so we can...
	(sixtp_sax_start_handler): retain line/column numbers for stack
	frames, which pays off in...
	* src/backend/file/sixtp-stack.c (sixtp_stack_frame_print):
	printing the line/column numbers of parsing errors when they
	occur.
	* src/backend/file/sixtp.c (sixtp_parse_buffer): Analagous change
	for in-memory-buffer parsing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6817 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 17:55:49 +00:00
Joshua Sled
833d4042b4 2002-04-20 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c (process_auto_create_list): Added
	progress-bar support for transaction auto-creation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6816 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 04:29:42 +00:00
David Hampton
8d1cb07b21 Clean up a couple of compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6812 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 20:02:12 +00:00
Joshua Sled
44331d5796 Updated comments based off last night's commit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6811 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 04:45:27 +00:00
David Hampton
5a9fc4329f Add support to four more dialogs to automatically raise an existing
window if the user tries to create a new dialog.  Convert ten others
to use the new common logic for raising windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6810 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:55:29 +00:00
David Hampton
7ffb44f292 Create a GTK 1.4 based emulation of the new gtk_window_present()
routine from GTK 2.0.  This routine encapsulates all knowledge of how
to de-iconify and raise windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6809 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:49:01 +00:00
David Hampton
6e28432b23 Change gnc_forall_gui_components() to pass the registered user_data to
the callback routine, and to return a count of the callback functions
called.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6808 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:43:36 +00:00
David Hampton
d3306106c4 Make sure any non standard g-wrap prefix path if reflected in the
setting of the LD_LIBRARY_PATH variable.  Makes it possible to find
libgw-wct.so, et al.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6807 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:14:56 +00:00
Dave Peticolas
b85b2332ef Andreas Bogk's postgres backend patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6806 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 06:56:08 +00:00
Joshua Sled
477202a04a 2002-04-17 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c
	(editor_ok_button_clicked): Added checks for ScheduledTransactions
	with no name, same name as existing SchedXaction.
	(row_select_handler): Resolved "critical" GTK run-time warning
	regarding navigating the Scheduled Transaction list with the arrow
	keys.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6805 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 06:28:37 +00:00
Joshua Sled
1949ee142b Fix for compilation problem against g-wrap-1.3.2-only systems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6804 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 03:12:22 +00:00
Joshua Sled
3121ea6489 Fixed compilation-error-causing tyop.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6803 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 22:59:28 +00:00
Dave Peticolas
ce673ac64f handle null mnemonic
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6800 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 17:44:53 +00:00
Joshua Sled
9ee3253a54 2002-04-16 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c
	(editor_ok_button_clicked): Check to see if the user is attempting
	to create a Scheduled Transaction which can't occur; confirm with
	them if they are.

	* src/gnome-utils/gnc-frequency.c
	(freq_option_value_changed): StartDate and frequency-specific
	options now come into better sync [when possible] on
	frequency-type change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6799 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 06:10:00 +00:00
Dave Peticolas
89a1379ed7 David Hampton's stock split druid patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6798 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 02:23:07 +00:00
Dave Peticolas
0063662599 David Hampton's register patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6797 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 02:22:21 +00:00
Joshua Sled
a35b1536ad Fixes for string-containing files that didn't actually exist because of old source tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6796 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-16 14:14:20 +00:00
Joshua Sled
7de7b944f8 2002-04-16 Joshua Sled <jsled@asynchronous.org>
* src/register/ledger-core/gnc-ledger-display.c: Some template-GL
	cleanup [debugging printf's removed].  Removed never-used
	LD_TEMPLATE type.

	* src/gnome/glade/sched-xact.glade: Removed unused start page.

	* src/gnome/dialog-sxsincelast.c: Added support for using the
	gnc-regWidget to display created transactions for review. Added
	'Cancel' support. Didn't remove enough dead code, but started to.

	* src/gnome/dialog-scheduledxaction.c: Added support for using the
	gncRegWidget in the SX editor.  Formatting changes.

	* src/register/ledger-core/gnc-regWidget.{h,c}: Added; a
	macro-widget roughly duplicating the src/gnome/window-register.c
	look-and-feel-and-behavior.

	* src/engine/SchedXaction.c: Added support for saving a "temporal
	snapshot" of a scheduled transaction. Rewrote "sequence state"
	manipulations in terms of temporal snapshots.

	* src/engine/Query.c: Add support for Querying the template
	AccountGroup.

	* src/doc/TODO-schedxactions: Updates.

	* src/engine/Makefile.am: Prepend-to instead of unconditionally
	setting GUILE_LOAD_PATH when creating iso-4217-currencies.c, for
	those of us that need to set it for whatever reason we need to do
	so.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6795 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-16 07:09:16 +00:00
Dave Peticolas
a7ec9d158f David Hampton's mem leak patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6794 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-15 23:55:16 +00:00
Dave Peticolas
dda3645e70 Andreas Bogk's qif import patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6793 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-15 19:11:02 +00:00
Dave Peticolas
50f9eb4b4c Andreas Bogk's postgres backend patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6792 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-12 08:35:37 +00:00
Dave Peticolas
7211beddb4 David Hampton's patch for make-gnucash-patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6791 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-08 07:09:47 +00:00
Dave Peticolas
1779e5b697 David Hampton's placeholder account patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6789 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-08 07:08:16 +00:00
Dave Peticolas
775f552770 David Hampton's reconciliation patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6787 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 19:33:47 +00:00
Dave Peticolas
d8c82e2d64 David Hampton's placeholder account patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6786 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 08:00:43 +00:00
Linas Vepstas
1473470d76 update docos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6782 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 22:28:26 +00:00
Linas Vepstas
bfd655f160 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6781 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 21:53:39 +00:00
Dave Peticolas
6046b713da James A. Treacy's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6780 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-16 22:44:09 +00:00
Chris Lyttle
e845e4c3d4 update for stable release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6776 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-11 20:12:54 +00:00
Dave Peticolas
b90b076f54 Fix DB_LIBS setting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6772 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 23:28:33 +00:00
Derek Atkins
c26038103e change the structure member name:
version -> interface_version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6771 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 03:07:26 +00:00
Derek Atkins
cfd8718a42 * Plug-in Extensions for backends, so pluggable objects can
provide backend-support without changing the core backend
	implementation.

	* src/engine/gncObject: Add a 'mark_clean' data-type method()
				add backend extension registration.

	* src/engine/gnc-book.c: use mark_clean object interface

	* src/backend/file/io-gncxml-v2: use the backend extensions

	* src/business/business-core/gnc*: add the mark_clean methods
					   add commodities to many objects

	* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug

	* src/business/business-core/file: the XML backend extensions for
	business objects.

	* src/business/business-gnome/dialog-*: supply default commodities


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 19:34:52 +00:00
Dave Peticolas
136d8e4bd4 David Hampton's account deletion patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6767 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:56:48 +00:00
Dave Peticolas
af6169c07a David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6766 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:53:59 +00:00
Dave Peticolas
91b2f1d5f2 David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6764 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:34:37 +00:00
Dave Peticolas
202d7ce6d5 David Hampton's ignore patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6763 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:45 +00:00
Dave Peticolas
4354b2e89f David Hampton's spec file patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6762 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:03 +00:00
Dave Peticolas
5e04748f71 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6761 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:30:48 +00:00