gnc_xxx_dialog function. The remaining gnc_xxx_dialog function now
takes a parent pointer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8966 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/druid-hbci-initial.c: Add button for
manual adding of HBCI accounts. Fixes#117760. Requires latest
OpenHBCI CVS -- next openhbci-0.9.13 will be out this weekend.
* src/import-export/hbci/gnc-hbci-{getbalance,gettrans,transfer}.c:
Add saving of the HBCI_API so that bank's status changes will now
be remembered immediately. However this might save some
unnecessary information to disk, but hopefully we will have fixed
that in OpenHBCI soon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8965 57a11ea4-9604-0410-9ed3-97b8803252fd
on enter/return keypress events (in addition to ESC).
Fixes#118500
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8962 57a11ea4-9604-0410-9ed3-97b8803252fd
to retrieve the QofBook from the session, instead of storing the
book in the backend object.
- Where be->book was used, use pgendGetBook() instead.
- Enhanced debug messages.
* src/backend/postgres/PostgresBackend.h: Added the qofbook.h
include, and the pgendGetBook() prototype
* src/backend/postgres/book.c: Changed pgendGetBook to
pgendBookRestore() to reflect its functionality of restoring
the book's data to the engine.
* src/backend/postgres/price.c: In pgendPriceFind(), couched the
currenct portion of the SQL statement in an "if" statement,
because gnc_pricedb_lookup_latest_any_currency() can pass in
a NULL currency, and stpcpy() doesn't like NULLs.
* src/backend/postgres/escape.c: enhanced debug messages.
Fixes bug #116546
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8953 57a11ea4-9604-0410-9ed3-97b8803252fd
when we hit a READONLY error.
* src/backend/file/gnc-backend-file.c: return ERR_BACKEND_READONLY
on save if the XML write fails and the unlink() fails with
ENOENT, EPERM, EROFS, or EACCES.
* src/engine/qofsession.c: don't call end_session just because
there's an error.
Fixes#117657
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8949 57a11ea4-9604-0410-9ed3-97b8803252fd
chown() functions fatal errors. Warn the user if they fail, but
don't fail to save. In the long run we need some way to pop up
warning messages from a backend, but until then we'll have to
stick with PWARN() and hope users see the console.
Fixes#118258
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8947 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gw-engine-spec.scm: add new error type
* src/backend/file/gnc-backend-file.c: differentiate between
"file is already locked" and "we can't create the lockfile"
so we can let the user know.
* src/app-file/gnc-file.c: handle the new ERR_BACKEND_READONLY
error message by changing the error dialog presented to the
user.
Fixes#117665
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8941 57a11ea4-9604-0410-9ed3-97b8803252fd
o remove malloc/free usage of struct tm, put it on stack
o improve documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8935 57a11ea4-9604-0410-9ed3-97b8803252fd
more work on the new qif importer. structure it into a parent
context that contains a "list of files" (each file has its own
context). Add some tests to actually test the code. It
actually loads a basic qif file, now. Still need to perform
merging (internal and into GNC) as well as the qif-to-gnc maps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8914 57a11ea4-9604-0410-9ed3-97b8803252fd
more work on the new qif importer. structure it into a parent
context that contains a "list of files" (each file has its own
context). Add some tests to actually test the code. It
actually loads a basic qif file, now. Still need to perform
merging (internal and into GNC) as well as the qif-to-gnc maps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8913 57a11ea4-9604-0410-9ed3-97b8803252fd
backend error directly after calling gnc_file_be_get_file_lock(),
as get_file_lock will set the backend error itself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8901 57a11ea4-9604-0410-9ed3-97b8803252fd
add more text to make it more clear what's going on. Hopefully
fixes#104878.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8888 57a11ea4-9604-0410-9ed3-97b8803252fd