* src/gnome-utils/transfer.glade: rename from_xxx and to_xxx account
tree widgets to left_xxx and right_xxx
* src/gnome-utils/dialog-transfer.c: if in "accountant mode" call
"transfer from" "credit account" and "transfer to" "debit account"
and interchange account trees
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9806 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
directory, needs more work.
* src/import-export/hbci/druid-hbci-utils.c:
More work for openhbci2 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9801 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
directory, needs more work.
* src/import-export/hbci/druid-hbci-utils.c:
More work for openhbci2 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9800 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in, macros/openhbci2.m4: Add checking for new
openhbci2 library.
* src/import-export/hbci/ all files: Switch HBCI code to the new
openhbci2 library. Should be working, but needs further testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9797 57a11ea4-9604-0410-9ed3-97b8803252fd
and hbci which should allow running with ofx and hbci in the
build tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9796 57a11ea4-9604-0410-9ed3-97b8803252fd
We probably need a better mechanism to search for a working db
library, like defining our own macro and just supplying a list.
We probably can get rid of the prefer-db1 option as well, maybe?
Fixes#131506
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9784 57a11ea4-9604-0410-9ed3-97b8803252fd
date-selection option creation.
* src/app-utils/app-utils.scm: export the new scheme functions
* src/app-utils/prefs.scm: Modify Herbert's patch to centralize
the date-selection option code.
* src/report/report-system/options-utilities.scm: use the new
centralized date-selection option-creation code.
* src/app-utils/global-options.c:
* src/app-utils/global-options.h: add gnc_lookup_date_option()
function
* src/app-utils/gnc-ui-util.c:
* src/app-utils/gnc-ui-util.h: add
gnc_ui_account_get_balance_in_currency() function
* src/app-utils/prefs.scm: add preferences for summarybar
* src/engine/Account.c:
* src/engine/Account.h: add
xaccAccountConvertBalanceToCurrencyAsOfDate() function
* src/gnome/window-main-summarybar.c: summarybar can now display
a grand total of all commodities, profits of a period of time
and net assets at the end of the period; summarybar can be
configured with some options under edit->preferences
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9780 57a11ea4-9604-0410-9ed3-97b8803252fd
to parse CSV files.
* src/import-export/csv/test/test.csv: a test CSV file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9766 57a11ea4-9604-0410-9ed3-97b8803252fd
to read an unlimited line-length from a file (so you're
not limited to a buffer size with fgets() and the like).
It is similar to the getline(3) on Linux except the API
is different and it will always set the return string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9764 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/doc/qif.txt:
Add new qif importer documentation to the repository/dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9761 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix the actual problem, all the ...ReturnGUID() #define's which
don't check that it's passed a NULL value.
* src/engine/Transaction.h:
* src/engine/Account.h:
Fix ...ReturnGUID() to check whether it was passed a NULL object
and, if so, return the null GUID instead of crashing.
* src/business/business-core/gncCustomer.h:
* src/business/business-core/gncEmployee.h:
* src/business/business-core/gncInvoice.h:
* src/business/business-core/gncJob.h:
* src/business/business-core/gncTaxTable.h:
* src/business/business-core/gncVendor.h:
Fix ...RetGUID() to check whether it was passed a NULL object
and, if so, return the null GUID instead of crashing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9758 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Makefile.am: remove the circular dependency I added earlier
* src/engine/gw-engine-spec.scm: don't include gnc-engine-util.h (it's
not required and may break things).
* src/engine/gnc-trace.[ch]: move gnc_should_log() out of the .h
and into the .c (making it a function instead of an array) due
to symbol problems with libgw-engine. With it the other way the
test-account-create test was throwing an error about an
undefined symbol (gnc_log_modules).
NOTE: If you don't like this de-optimization then feel free to remove
all the P*() calls from engine-helpers.c and then revert gnc-trace.
Or you can find another way around the undefined symbol problem.
* src/doc/Makefile.am: include guid.txt in the dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9757 57a11ea4-9604-0410-9ed3-97b8803252fd
* make-gnucash-patch.in:
Patch by Geoff Kassel to work on OpenBSD (allow user to set diffcmd)
Fixes#122646
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9753 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/test/Makefile.am: add test-link, make libgw-engine
depend on libgncmod-engine
* src/engine/test/test-link.c: add a source-file to test-link
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9752 57a11ea4-9604-0410-9ed3-97b8803252fd
KVPs, on the theory that they will soon be deprecated.
Fixes#127315
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9750 57a11ea4-9604-0410-9ed3-97b8803252fd
get up to 3 terms, not 4
* src/app-utils/test/test-scm-query-string.c: loop the test 1000
times, now that the queries are smaller.
Fixes#127492
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9749 57a11ea4-9604-0410-9ed3-97b8803252fd
"<Invoice Type> <Invoice ID>" (e.g., "Invoice 000001" or
"Bill I2-34") when posting an invoice. We already assume
one invoice to a lot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9747 57a11ea4-9604-0410-9ed3-97b8803252fd
report, ignore splits that belong to closed lots. This way we wont
get the wrong values when the invoice falls outside the 360-day
window but its payment falls inside the window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9745 57a11ea4-9604-0410-9ed3-97b8803252fd
object, because lots of code assumes you can get a guid all the time.
So, just return guid_null() instead of NULL. Fixes a SEGV.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9742 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-trace.c: Patch enabling compilation on Mac OS X
by Rich Johnson <rich@dogstar-interactive.com>: Some platforms
define timeval data members as "int". Explicitly casting to "long
int" for "%ld" directive avoids type mismatch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9739 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-price-editor.c: when the commodity is changed,
then set the currency to the currency of the last price entered
for this commodity
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9731 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-trace.h: Fix for gcc2.95 for macros with variable
arguments by Lionel Elie Mamane <lionel@mamane.lu>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9730 57a11ea4-9604-0410-9ed3-97b8803252fd
in the reconcile hash are still around after a refresh. Fixes
bug #129121.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9722 57a11ea4-9604-0410-9ed3-97b8803252fd
*src/import-export/log-replay/gnc-log-replay.c: Increase read buffer size.
Hopefully fixes 127421, but this time someone please do test the fix...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9719 57a11ea4-9604-0410-9ed3-97b8803252fd
remove Makefile.DEPS because we don't support automake-1.4 anymore
* src/bin/Makefile.am, strsub.c:
remove strsub.c because we don't need it now that we've dropped 1.4
Fixes#120207
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9689 57a11ea4-9604-0410-9ed3-97b8803252fd
with tv_sec == 0. Fixes some tests on the alpha platform.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9685 57a11ea4-9604-0410-9ed3-97b8803252fd
Applied Frank Pavageau's patch regarding capital gains to
handle split transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9681 57a11ea4-9604-0410-9ed3-97b8803252fd