Commit Graph

21 Commits

Author SHA1 Message Date
Derek Atkins
39d9258d19 Convert SX-book (SchedXactions) to GObject initialization.
Note that this object is never freed here, so it's a potential memory leak.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15806 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:42 +00:00
Derek Atkins
12461c5b30 * Merge QofEntity into QofInstance
- QofEntity -> QofInstance
  - qof_entity -> qof_instance
  - QOF_ENTITY -> QOF_INSTANCE
* remove references to instance.entity
* keep qof_entity_init() and qof_entity_release() for now


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15773 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-01 22:18:50 +00:00
Joshua Sled
e6de3eb66d Cleanup unused qof-style "log_module" variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15686 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 23:46:16 +00:00
David Hampton
6fbada92ec Remove all traces of the AccountGroup data structure. Accounts now
point directly to their parent and have a simple GList of children.
(The old method was alternating data structures in the form Account,
AccountGroup, Account, AccountGroup, etc.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15647 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-23 01:23:31 +00:00
Joshua Sled
140db6d1d9 Revise overall SX logging: define G_LOG_DOMAIN in a fine-grained manner, switch to g_mumble calls, cleanup some formatting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15543 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 00:25:16 +00:00
Joshua Sled
eb73260220 Fold branches/sx-cleanup/ [14463:15384] back into trunk/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15399 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-19 23:45:45 +00:00
David Hampton
e0244824a0 Add some 'const' declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14690 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-18 04:48:18 +00:00
Joshua Sled
7d4c8423f1 Add account-deletion handling for SXes. Bug#312730.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13400 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 19:55:17 +00:00
David Hampton
0b8a944f30 Update FSF street address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11964 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-17 05:35:02 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Linas Vepstas
d574e0f186 add version-comarison hooks,
rename the 'new' function to 'create' to avoid reserved-word collision in C++


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10041 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-12 20:25:47 +00:00
Linas Vepstas
ce63311484 -- Rename QOF_QUERY_PARAM_XX to QOF_PARAM_XX
-- Add 'new' callback to QofObject.  This allows QofObject to act
   as an 'object factory', creating a new instance of something,
   given only the type name.  Plan to use this in the new SQL
   backend, when restoring objects from SQL tables.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9965 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-23 17:31:40 +00:00
Linas Vepstas
b10828a439 changes to use more generic 'collection of entities' functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9568 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 05:11:07 +00:00
Linas Vepstas
c90c817e64 merge first round of entity rework back into head branch
The net total of this work is (i beleive) fewer lines of code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9530 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-17 04:25:53 +00:00
Linas Vepstas
92a2f26e52 Rename gncbook and gncsession to qofbook and qofsession
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8762 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:51:10 +00:00
Linas Vepstas
5770f0ca0d rename gncObject to QofObject
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8689 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 02:08:22 +00:00
Linas Vepstas
50906151db rename GNCBook to QofBook
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8681 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 00:52:46 +00:00
Linas Vepstas
c30ca9efed finish moving commodities, prices and sx out of gnc-book;
finish conversion of above to use the gncObject infrastructure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8562 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 22:22:47 +00:00
Linas Vepstas
ef1626a3db set the dirty flag early and often
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8557 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:31:53 +00:00
Linas Vepstas
6a7d8eb580 misc SX-vs-book shuffling about
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8540 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 15:21:47 +00:00
Linas Vepstas
664b865f8b move scheduled transaction book anchors to own file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8539 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 15:07:52 +00:00