If we're expanded, ignore TRANS cursor classes. This prevents
a bug where the exchange-rate dialog is realized when there really
is nothing to do (because we're in an expanded transaction).
* src/register/ledger-core/split-register-model.c
Don't PERR() if we have no account -- this prevents annoying
messages when handling multi-currency txns in the GL. Note:
all GL txns are displayed in the locale currency (if possible).
* src/register/ledger-core/split-register.c
AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return
TRUE, not FALSE.
Fixes 105319
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7957 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/command-line.scm:
Add a flag to make it easier to turn on and off the various debug
messages (except the tip-list, which needs to be done manually).
* src/scm/tip-list.scm: change the 'development' message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7954 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-utils/Makefile.am: make scm-links so you
can run gnucash from within the build tree
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7952 57a11ea4-9604-0410-9ed3-97b8803252fd
0..255 instead of -128..127. Force a "signed char" to make sure
we get the latter interpretation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7946 57a11ea4-9604-0410-9ed3-97b8803252fd
to make sure the numbers are reflected appropriately.
* src/import-export/qif-import/qif-objects.scm: add a neg? value to
a qif-split; use this when converting the split-amount.
Fixes bug #105179
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7942 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Makefile.am: add ${INTLLIBS} for gettext() et al on
platforms that don't have it in libc
* src/backend/file/io-gncbin-r.c: don't need to define functions
that are never used, so move the #ifdef around. Fixes # 105124
* rpm/gnucash.in: don't call autoconf
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7937 57a11ea4-9604-0410-9ed3-97b8803252fd
user does something silly like having a split with no account.
Warn the user when we find this situation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7928 57a11ea4-9604-0410-9ed3-97b8803252fd
* doc/README.OFX: I've quickly put together some docs for the ofx module and transaction matching. Also includes a FAQ. Not perfect, but should closebug 99478.
* doc/Makefile.am: Add README.OFX
* src/import-export/ofx/README: Remove obsolete file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7926 57a11ea4-9604-0410-9ed3-97b8803252fd
income accounts to bills, or expense accounts to invoices. This
should help further reduce user confusion with what to do when
entering invoices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7925 57a11ea4-9604-0410-9ed3-97b8803252fd
gh_scm2int() because guile-1.6 prefers it. Fixes a crash when
opening the Pref's dialog when using guile-1.6.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7924 57a11ea4-9604-0410-9ed3-97b8803252fd
but also move it to the end of the script so it wont interfere with
any other configuration test.
* src/business/business-report/owner-report.scm: fix the column
headings and option names to match. Fix the date-due column so
the heading properly goes away. Also fix some of the
internationalization issues -- strings were translated but the
translation was not being used. Fixes # 105036
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7922 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/gnc-ofx-import.c: No longer assume that transaction with type OFX_OTHER are investement transactions. Fixes bug reported by Rik harris.
* src/import-export/import-main-matcher.c: Fix unrelated display bug with balanced (typically investement) transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7921 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: Disable error-on-warning by default because this
seriously breaks quite a number of configure tests. May be enabled
again for the development branch, but definitely not for
end-users.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7920 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize
even more error codes from OpenHBCI. Yes, I know this breaks
string freeze -- but these strings *really* *only* apply to German
users, so I just fixed the translation myself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7918 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c: Reduced the
MATCH_DATE_NOT_THRESHOLD to 21 days. Yeah, this should rather be a
user preference, but IMHO three weeks should already cover the
basic problem.
* src/import-export/import-account-matcher.c, import-backend.c,
import-main-matcher.c, import-match-picker.c: Comment out
stderr debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7912 57a11ea4-9604-0410-9ed3-97b8803252fd
Added ENTER/LEAVE statements
* src/backend/postgres/escape.c: Adde gnc-engine-util.h,
and "module = MOD_BACKEND"
- (sqlEscape_destroy): Added ENTER/LEAVE statemtents.
* src/backend/postgres/gncquery.c (sql_Query_destroy): Added
ENTER/LEAVE statements.
* src/backend/postgres/putil.h: Cleaned up the formatting on the
SEND/FINISH/EXEC/GET_RESULT macros. Changed them to use
PQresultErrorMessage where possible. Made them all set the Backend
error message string. Removed the PQfinish() calls, and setting
be->connection to NULL. Reasoning: if a malformed query fails, there is
no reason to close the connection. If an update/insert fails,
again, there is no need to close the connection. The user should
be presented an error message and respond appropriately. If
a update/insert/delete fails, then generally the transaction is
rolled back to the last BEGIN, thereby preventing data corruption.
* src/engine/QueryNew.c (gncQueryPrint): Check that q is not NULL
prior to processing it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7905 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-gnome/glade/invoice.glade:
add handlers to immediately save the active and notes fields
as they are edited. Fixes#104954
NOTE: This has a side effect of removing an invoice from any
open searches, but NOT replacing it if you click on the "active"
button.
* src/business/business-gnome/business-gnome.scm: fix the "bill
reminder" so it doesn't create a query if there are no payables
accounts.
* src/gnome-utils/gnc-menu-extensions.c: dgettext() and gettext()
return const char*.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7901 57a11ea4-9604-0410-9ed3-97b8803252fd
parse-fields reports an error or warning. In particular, return
a list such that the error is tied to the actual type. This will
allow us to differentiate a date-parse ambiguity from any other
type of ambiguity. Also add a new procedure that, when given the
(cdr parse-results) and a 'type' will return the actual error for
that particular type.
* src/import-export/qif-import/qif-import.scm: export the new symbol
* src/import-export/qif-import/druid-qif-import.c: change the logic
to use the new parse results and only try to fill the date dialog if
there is actually a date parsing ambiguity.
Fixes Morrison J. Chang's QIF import problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7900 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/standard-reports/account-summary.scm:
* src/report/standard-reports/balance-sheet.scm:
* src/report/standard-reports/cash-flow.scm:
* src/report/standard-reports/pnl.scm:
change the api to gnc:options-add-account-selection! to allow
the caller to set the default choice on "use-subaccounts", and
change the cash-flow report to default to 'no'. This will make
sure that "Assets:A/P" is not included (since it shouldn't be).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7899 57a11ea4-9604-0410-9ed3-97b8803252fd