r14521 - gnucash/branches/sx-cleanup - Move SX list from GList to a QofEntity; add SX list mutation events; instance-model reflects SX list mutation; move SX editor to new file.

Joshua Sled jsled at cvs.gnucash.org
Sun Jul 16 17:35:51 EDT 2006


Author: jsled
Date: 2006-07-16 17:35:45 -0400 (Sun, 16 Jul 2006)
New Revision: 14521
Trac: http://svn.gnucash.org/trac/changeset/14521

Added:
   gnucash/branches/sx-cleanup/src/gnome/dialog-sx-editor.c
   gnucash/branches/sx-cleanup/src/gnome/dialog-sx-editor.h
Removed:
   gnucash/branches/sx-cleanup/src/gnome/dialog-scheduledxaction.c
   gnucash/branches/sx-cleanup/src/gnome/dialog-scheduledxaction.h
Modified:
   gnucash/branches/sx-cleanup/ChangeLog
   gnucash/branches/sx-cleanup/src/backend/file/io-gncxml-v2.c
   gnucash/branches/sx-cleanup/src/doc/sx.rst
   gnucash/branches/sx-cleanup/src/engine/SX-book-p.h
   gnucash/branches/sx-cleanup/src/engine/SX-book.c
   gnucash/branches/sx-cleanup/src/engine/SX-book.h
   gnucash/branches/sx-cleanup/src/engine/gnc-engine.h
   gnucash/branches/sx-cleanup/src/gnome/Makefile.am
   gnucash/branches/sx-cleanup/src/gnome/dialog-sx-from-trans.c
   gnucash/branches/sx-cleanup/src/gnome/dialog-sxsincelast.c
   gnucash/branches/sx-cleanup/src/gnome/druid-loan.c
   gnucash/branches/sx-cleanup/src/gnome/gnc-plugin-basic-commands.c
   gnucash/branches/sx-cleanup/src/gnome/gnc-plugin-page-sx-list.c
   gnucash/branches/sx-cleanup/src/gnome/gnc-split-reg.c
   gnucash/branches/sx-cleanup/src/gnome/gw-gnc-spec.scm
   gnucash/branches/sx-cleanup/src/gnome/top-level.c
Log:
Move SX list from GList to a QofEntity; add SX list mutation events; instance-model reflects SX list mutation; move SX editor to new file.

	* src/engine/SX-book-p.h:
	* src/engine/SX-book.h:
	* src/engine/SX-book.c: Promote SX list from a GList to a
	`SchedXactions` QOF Entity.  Create add/remove API that emits
	GNC_EVENT_{INSERT,REMOVE} signals.  Correctly associate the SX
	List with the collection of SchedXaction qof-type rather than the
	SX template transactions qof-type.  Remove some (now-)dead
	code.  Fix long-standing bug in registration of SX qof types.
	
	* src/gnome/dialog-sx-editor.[ch]:
	* src/gnome/dialog-schedxaction.[ch]:
	Move the SX editor dialog subset of dialog-schedxaction to
	dialog-sx-editor.[ch].

	* src/gnome/gnc-plugin-page-sx-list.c:
	Hookup SX editor for both 'new' and 'edit' actions. Hookup
	row-activation from tree-view.  Extend GncSxInstanceModel to
	support SchedXactions (sx list) modification events.




More information about the gnucash-patches mailing list