Commit Graph
100 Commits
Author SHA1 Message Date
Derek Atkins 7ac1d9f1e1 export the various QOF_PARAM_* settings to guile
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17500 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-10 17:52:16 +00:00
Derek Atkins 1d32da84d5 Use G_GINT64_FORMAT instead of %lld for x86_64
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17498 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-06 18:13:32 +00:00
Derek Atkins 38d8ce62aa Add SQL glade file so "make check" succeeds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17497 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-06 18:12:45 +00:00
Derek Atkins f0aaf504c8 Add Rolf to AUTHORS
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17261 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 16:13:04 +00:00
Derek Atkins ef25c17cd4 Get GnuCash building again.
- move the #include of g18n.h from gnc-date.h to gnc-date.c
- add gnc-date.c to POTFILES.in

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17250 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 23:28:31 +00:00
Derek Atkins fedaa3d87e Fix the usages of __EXTENSIONS__ so it works with newer auto-tools
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17213 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 12:52:27 +00:00
Derek Atkins 1f5ee72fbc Better patch for goffice-0.5/gtkhtml-3.14 checking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17194 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:54:19 +00:00
Derek Atkins f3407d3283 GOffice >= 0.5 requires GtkHTML >= 3.14
Make sure that happens or the build will fail.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17193 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:38:15 +00:00
Derek Atkins 8d532f650c Match NULL and guid_null() for NULL GUID Matches
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17160 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 17:46:40 +00:00
Derek Atkins 1b01c93198 Don't clean out the EXTRA_DIST pixmaps if we're not building from SVN.
Otherwise "make clean" will put the code into a state where you cannot rebuild.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17159 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 13:22:24 +00:00
Derek Atkins fda5f25019 Honor the "used columns" in the balance row (#530924)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17148 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 22:21:53 +00:00
Derek Atkins 8430b27f03 Handle AB_Job_GetResultText() returning NULL (#506499)
Don't output/printf a NULL string.  Windows doesn't like it.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17146 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 21:00:13 +00:00
Derek Atkins 0cd5892271 Look for Align_n keys in check printing formats (#467529)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17089 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-17 14:16:08 +00:00
Derek Atkins f034c41dfb Add a new Liberty(tm) check format (GtkPrint only)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17073 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-08 17:01:10 +00:00
Derek Atkins 0a2f2a76fb Fix r16860 by re-adding the slash in the XML closing tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16890 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-29 18:09:04 +00:00
Derek Atkins 3ea34ebb16 Small patch to recognize 401k/403b
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16878 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:16:33 +00:00
Derek Atkins c95bc361f9 When matching QIF transactions make sure the account matches (#506810)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16877 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:13:00 +00:00
Derek Atkins 2324d9be48 Ignore empty (whitespace) lines in QIF leader (#457591)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16876 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:06:54 +00:00
Derek Atkins 57706df9e5 Display the Notes if Memo is empty in Transaction Report (#454834)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16875 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:03:58 +00:00
Derek Atkins 4f56d12169 Fix the rounding of security transactions in the QIF Importer (#373584).
The QIF file does not provide the total amount paid for the
  shares. What appears in the "T" line is the price paid for the
  shares *plus* commission ("O" line, if any).

Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16874 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 17:52:55 +00:00
Derek Atkins 41c195d3f2 Improve the QIF txn matcher (#336211)
Don't run it when we have no accounts or empty accounts.
Cache the account list early on.
Patch by Charles Day
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16873 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 17:36:00 +00:00
Derek Atkins 1db95753b7 Throw a better warning for dates before 1970 (#106242)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16872 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 16:56:31 +00:00
Derek Atkins 848bfd2b34 Get distcheck working again on Fedora 7
- move the gnucash-desktop.in.in from POTFILES.skip to POTFILES.ignore
- only try to make-gnucash-potfiles if $(srcdir) is writable
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16868 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 16:35:52 +00:00
Derek Atkins d088b0e9bd Ignore src/gnome/gnucash.desktop.in in the POTFILES
Allows "make check" to work again.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16867 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 15:01:21 +00:00
Derek Atkins b1ac763cab If you close the books on the same day twice don't insert double txns.
The BalanceAsOf() API checks <, not <=, so just add one to the time.
Should be backported only if the rest of the book closing is backported, so:
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16848 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-09 04:18:29 +00:00
Derek Atkins 2bf34ffec9 Get distcheck working on FC7.
Need to ignore some files:
 ./share/icons/hicolor/icon-theme.cache and ./share/info/dir
these get created by the install system but don't get deleted
(and cannot be deleted because they could be shared).
So just ignore them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16844 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-08 02:10:59 +00:00
Derek Atkins 0a149152b5 Better handling of QIF Split transaction matching (#114724)
If a QIF split transaction is involved in a match then it always has
  priority. The other half of the match will always be the half that
  gets discarded, even if it is from an investment account.

Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16828 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 16:02:14 +00:00
Derek Atkins cf397f4c8a Always ask for the QIF currency (#504007).
Patch by Ian Lewis
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16826 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 15:46:33 +00:00
Derek Atkins add9cdd3ee Re-introduce the Profit & Loss report.
Just a renamed Income Statement, because the average person doesn't know better.
It's the exact same report, just relabeled.  Both reports are now available
in the menu.
This change does re-add the translatable string "Profit & Loss"
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16803 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 03:48:09 +00:00
Derek Atkins cfb048d142 Don't need to sleep in the test. (#505894)
If we do need to sleep, next time the comment should explain why.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16746 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:15:15 +00:00
Derek Atkins e6fbb91151 Fix the logic of the #if for the warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16745 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:02:06 +00:00
Derek Atkins 971bc5b709 Allow the user to permanently disable currency quotes (#499496)
Patch by Daniel Harding

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16730 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 05:17:37 +00:00
Derek Atkins 0fc726dc0f Show the balance row for all transactions before the "from" date.
Patch by Jeff Green
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16729 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:28:09 +00:00
Derek Atkins cd0574e346 Including all bills/invoices since the beginning of time.
Patch by Jeff Green.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16728 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:14:22 +00:00
Derek Atkins 8dfc49dc84 Wait for pending events before displaying the tree view (#463678)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16727 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:39:29 +00:00
Derek Atkins 3759d41f96 Don't un-clear transactions improperly when postponing reconciliation (#497517)
Patch by Jeff Green and Mark Jenkins
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16726 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:26:39 +00:00
Derek Atkins fec3d53296 Allow creation of new lots from lot viewer. (#420543)
Patch by Klee Dienes <klee@mit.edu>

        * src/engine/Account.c (xaccAccountRemoveLot): Generate a
        QOF_EVENT_REMOVE for the lot and QOF_EVENT_MODIFY for the account.
        (xaccAccountInsertLot): Ditto, but QOF_EVENT_ADD.
        * src/engine/gnc-lot.c (gnc_lot_make_default): Move from
        cap-gains.c.
        * src/engine/gnc-lot.h (gnc_lot_make_default): Add prototype.
        * src/engine/cap-gains.c (MakeDefaultLot): Move to gnc-lot.c as
        gnc_lot_make_default().
        * src/gnome/lot-viewer.c: Add code to support lot creation:
        (RESPONSE_NEW_LOT): Add enumerated value.
        (lv_save_current_row): New function.
        (lv_select_row): Add call to lv_save_current_row.
        (lv_unselect_row): Use lv_save_current_row.
        (lv_close_handler): Use lv_save_current_row.
        (lv_response_cb): Handle RESPONSE_NEW_LOT.
        (gnc_lot_viewer_dialog): Watch for QOF_EVENT_ADD and
        QOF_EVENT_REMOVE for lots.
        * src/gnome/glade/lots.glade: Add "new lot" button.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16725 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:14:55 +00:00
Derek Atkins 480bb412c7 Fix a crash in the receivable aging report (#384879)
Dont access the owner object after it's freed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16724 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:38:45 +00:00
Derek Atkins 04243f92fc reduce the width of reports (#366934)
Use &nbsp; instead of extra columns.
Patch by Paul Andreassen

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16723 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:07:04 +00:00
Derek Atkins 67119eeb53 Make sure we require slib in our RPM packaging (#471321)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16722 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:10:03 +00:00
Derek Atkins a4ec8b5e52 Add currencies XDR and XXX for IMF and "no-currency" (#504935)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16721 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:03:03 +00:00
Derek Atkins 238141c6c4 Maintain separate invoice number sequences for AR and AP (#327218)
Actually, maintain separate number sequences for Customer Invoices,
Vendor Bills, and Employee Expense Vouchers.  Support Jobs, too.
Based on a patch by Alex Prinsier.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16720 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:56:35 +00:00
Derek Atkins 3b983ff5cb Choose a reasonable currency in stock registers (#116353)
Based on the patch from Mike Alexander, walk up the account
tree until we find a "currency" account and use that instead
of always using the locale currency.  Pop up a dialog if this
fails search fails.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16718 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:23:47 +00:00
Derek Atkins 6f39c0c26e (#492137) Re-apply r16619 and make a change to the test
harness to actually get the checks to pass with r16690.
This was an overflow in the test harness.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16716 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 21:18:09 +00:00
Derek Atkins 244a779d7a Make sure to properly parent auto-created accounts.
Make sure to properly set account commodity.
Make sure a currency sub-account doesn't already exist before creating one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16715 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 20:28:02 +00:00
Derek Atkins fe28cceea7 Fix a fencepost error in the book closing code (#106383).
Add 12 hours to the close_date before asking for the BalanceAsOfDate()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16714 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:48:49 +00:00
Derek Atkins 8ca76d3635 First pass at a Book Closing dialog (#106383)
Helps the user to auto-zeroize Income and Expense accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16713 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:53 +00:00
Derek Atkins 27fcf8ff7c Back out r16619 (#492137) because it breaks test-lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16712 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:46 +00:00
Derek Atkins 144398aac4 A reminder of where we need to set the income/expense accounts
for the auto-interest payments during the reconciliation process.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16609 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:13 +00:00
Derek Atkins 879ed4470f Make sure the splitlist is sorted before we return it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16608 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:07 +00:00
Derek Atkins db05fd5eae Revert Andrew's patch and just run "doxygen -u" to update
the doxygen configuration.  It doesn't crash anymore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16580 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-11-04 14:05:28 +00:00
Derek Atkins d83b383a93 Apply Andrew Sackville-West's doxygen patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16578 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-11-03 01:53:08 +00:00
Derek Atkins 06d3996de3 Reference bug #483631 for slib failures as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16548 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-10-05 15:29:20 +00:00
Derek Atkins 80c5c1fb80 Make sure we have a valid gettext usermode when building (#476189)
Test that HAVE_GETTEXT is true and we can find gmsgfmt.  Bomb
out of configure if either fails, because the build will fail later.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16526 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-09-12 15:56:04 +00:00
Derek Atkins 0d45c24a03 Don't need to test for NULL. (#460924)
dnow,dent,dpost always exist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16365 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-27 14:12:57 +00:00
Derek Atkins c052ac4078 limit SVK version information to 5 revisions/copies.
Otherwise the svk version info just continues to grow ad nausium


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16362 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:54 +00:00
Derek Atkins 5ccebc9d76 Don't crash running the Account/Account Txn Reports from A/R (#460432)
Two fixes here:

* make sure to call the correct report.  The C code calls into scheme
  with a #f, not '(), so check for both cases in standard-reports.scm.

* In the owner-report, don't return #f or '() but rather return -1
  when the user tries to run the Account Transaction Report on A/R or
  A/P when they don't have a transaction selected.  This will at least
  stop gnucash from crashing, but it will appear that gnucash isn't
  doing anything.  A step in the right direction but still not the
  best solution.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16361 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:43 +00:00
Derek Atkins d4be2606ee Overpayment for bills records wrong amount (#447269)
Patch by Mark Jenkins to improve the sign checking and not improperly
reverse the sign of the amount.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16249 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-04 19:10:03 +00:00
Derek Atkins b378cd8898 Fix space->tab issue in a Makefile (need tabs, not spaces)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16113 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 20:56:19 +00:00
Derek Atkins f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
Derek Atkins e5c59face3 Extend the stack size when pulling price quotes (#428133)
Patch from Mike Alexander.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15966 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 19:43:11 +00:00
Derek Atkins 167feed527 Make sure that each GNCModule has a unique set of symbols.
Change gnc-module.c to load the unique symbols based on the module filename.
Change gnc-module-api.h to declare the functions based on a provided filename.
Change ALL the modules to use the new symbol names.

This change should allow the code to build cleanly on the MacIntel platform.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15928 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:23:04 +00:00
Derek Atkins 85785f0789 Actually load the correct module to test invalid dependencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15927 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:22:52 +00:00
Derek Atkins 0db8a768b4 Phil Longstaff's patch for begin/commit edit in price quotes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15860 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-10 14:17:11 +00:00
Derek Atkins b15d6171c7 Phil Longstaff's patch to enable gnc_numeric to be a GValue
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15854 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:47 +00:00
Derek Atkins 7990568f9b Phil Longstaff's patch to fix a kvp_frame bug.
Save the current frame so we know where to build the new one.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15853 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:33 +00:00
Derek Atkins 18c4cbf122 First step of QOF/Object GObjectification.
- Merge QofEntity into QofInstance
- Derive QofInstance from GObject
- Convert all QofInstance-derived objects to use GObject framework
- renamed qof_instance_init() to qof_instance_init_data()
- removed qof_instance_release() because it's no longer needed

Merge from branches/gobject-engine-dev-warlord  (r15827)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15846 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-07 16:02:27 +00:00
Derek Atkins 8c6e7b8394 Add hooks for the gobject dispose() function so that we can
migrate each object's "free()" function to a combination of
dispose() and finalize().
(and yes, "make check" still passes all its tests)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15827 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 03:10:26 +00:00
Derek Atkins b4323dbfcf Get "make check" to work with the gobjectified objects.
- fix a bunch of tests to use the new gobject defs
- make sure we initialize g_type_init() in qof_init()
- fix qofbook's destruction sequence (I broke it earlier)
- use dispose() in QofInstance
- use qof_init() for the business tests.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15826 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:47 +00:00
Derek Atkins 4c64b3e9a0 convert GncVendor to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15825 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:36 +00:00
Derek Atkins aca8de8037 convert GncTaxTable to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15824 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:25 +00:00
Derek Atkins 1b897fd18f convert GncOrder to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15823 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:17 +00:00
Derek Atkins e38adf311d convert GncJob to gobject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15822 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:08 +00:00
Derek Atkins 7f007696f9 Convert GncInvoice to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15821 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:01 +00:00
Derek Atkins 4c1ba72597 convert gncEntry to gobject init.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15820 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:45 +00:00
Derek Atkins 1449cd97d1 convert GncEmployee to GObject initialzation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15819 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:38 +00:00
Derek Atkins 292cf31279 convert GncCustomer to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15818 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:31 +00:00
Derek Atkins d93599d8f4 convert billterm to gobject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15817 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:26 +00:00
Derek Atkins 4271ca4e17 convert gncAddress to GObject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15816 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:43:18 +00:00
Derek Atkins 49c4d834e3 convert price/pricedb objects to GObject initialization
rename gnc_price_{get,set}_type() to _typestr() so it doesn't
conflict with the GType gnc_price_get_type() API.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15812 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:38 +00:00
Derek Atkins 01d677ddb8 convert gnc-lot object to GObject initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15811 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:28 +00:00
Derek Atkins c7d7b9621f Convert gnc_commodity objects to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15810 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:18 +00:00
Derek Atkins d71de524f8 Convert GncBudget object to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15809 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:24:09 +00:00
Derek Atkins e097404f0b Convert the Transaction object to GObject Initialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15808 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:58 +00:00
Derek Atkins cb8f58790c Convert Split objects to GObject intiialization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15807 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:50 +00:00
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 f1e6425dce Convert SchedXaction to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15805 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:32 +00:00
Derek Atkins 1cbf8b848c Convert FreqSpec to GObject initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15804 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 00:23:11 +00:00
Derek Atkins 1bea96024f Convert Account object to GObject
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15785 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 22:58:42 +00:00
Derek Atkins 5bee77e41a get libqof to build using GObject
- migrate QofBook to GObject
- move around some typedef to get libqof to build again


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15784 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 22:30:58 +00:00
Derek Atkins 44103fd12f convert QofInstance to using GObject
note that this breaks the build of this branch, and that the
build will remain broken until each of the objects is converted
over to basic GObject support.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15781 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 13:51:35 +00:00
Derek Atkins ab60ce2a6a Um, the branch should live under branches. oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15779 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 02:15:45 +00:00
Derek Atkins 06ec94e59c Hey, look! QofInstance has a GObject.
Granted, it's not used, yet.  But it's there.
Also add some helpful macros for instances.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15778 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-03 02:14:13 +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
Derek Atkins 4e43ae10f3 Preparation for QofEntity -> QofInstance:
- Convert (QofEntity*)x to QOF_ENTITY(x)
- Move qof_entity_init() and friends into qof_instance and rename
- Move QofEntity contents into QofInstance
(note:  this doesn't compile)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15772 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-01 22:18:30 +00:00
Derek Atkins 4b0ca6b26c Build a branch for my own gobject dev work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15762 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-30 14:02:33 +00:00
Derek Atkins 6c8bebc34c Use Glib GINT64 printf format.
Note:  This probably isn't good for inside a translated string..


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15711 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 21:00:37 +00:00
Derek Atkins 6eb4fef9b9 The New Turkish Lira changes from TRL to TRY in 2005.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15581 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-15 20:22:49 +00:00
Derek Atkins e87a6014f7 Fix the configure tests.. Need a comma instead of a period. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15525 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:25:54 +00:00
Derek Atkins 513bccca0d If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:03:24 +00:00