Get the bi_import plugin building on Windows by including missing libc functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20085 57a11ea4-9604-0410-9ed3-97b8803252fd
This is necessary for Bug #570042 but doesn't completely solve it until
the reports are updated to use the new API. This is backwards-compatible
with the slot data inserted by the book closing since 2010-03-02.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19945 57a11ea4-9604-0410-9ed3-97b8803252fd
* fix the GLOBAL_DIR definition
* Point to the 'global' HH_DIR so we don't reinstall it
* Use the build_package script from trunk
* Don't save the environment to /etc/profile.d on the build server
* re-add the ability to have an aqbanking patch (3.8.3 doesn't build)
* add the NO_SAVE_PROFILE flag
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18126 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a build_tags.sh that will check for new tags
in the tag directory and rebuild them when they appear.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18122 57a11ea4-9604-0410-9ed3-97b8803252fd
This should fix "make dist" even when you don't enable the python bindings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18046 57a11ea4-9604-0410-9ed3-97b8803252fd
It allows transactions that go from one selected account
to another to be ignored.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17855 57a11ea4-9604-0410-9ed3-97b8803252fd
- 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
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
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
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
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
- 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
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
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
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
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
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
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
Use 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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
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
- 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