Scheduled Transactions

Josh Sled
Thu, 18 Apr 2002 13:18:02 -0700

Damnit.  I meant to send this out Monday, but apparently didn't.  *sigh*

On Mon, Apr 15, 2002 at 10:53:53AM -0700, Josh Sled wrote:

| With some non-zero amount of luck, I hope to commit the stuff on my HD
| before the end of the week.

With a bunch of luck, I was able to do so tonight.

Lemme re-post the ChangeLog entry:

2002-04-16  Joshua Sled  <>

	* src/register/ledger-core/gnc-ledger-display.c: Some template-GL
	cleanup [debugging printf's removed].  Removed never-used

	* src/gnome/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

	* 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

	* src/doc/TODO-schedxactions: Updates.

	* src/engine/ 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

I know this commit has a bunch of problems [lots of dead code, ugly
source files, FIXMEs abound, compilation warnings, &c] ... which I will
work to clean up in the coming days/weeks.  However, it compiles and runs
and has a bunch of new functionality.

Testing is appreciated.

Tim, I've not ignored your problem.  I will look at it first thing next
time I can sit and play with all this [probably tomorrow].

One thing of note, regarding the ad-hoc variables in template transactions:
don't use 'a', 'b', 'c' or 'd' ... these are defined and bound in
.gnucash/, and those bindings will currently shadow yours
when it comes to transaction-creation time.  Luckily, multi-character
names are just as good. :)