Commit Graph

7403 Commits

Author SHA1 Message Date
Derek Atkins
a6a176bf94 * src/business/business-gnome/business-gnome.scm: remove
some unused (old) code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8968 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-29 00:56:57 +00:00
David Hampton
5fecbfccc6 Collapse the gnc_xxx_dialog_parented function into the corresponding
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
2003-07-29 00:17:33 +00:00
Christian Stimming
616ae5d466 2003-07-28 Christian Stimming <stimming@tuhh.de>
* 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
2003-07-28 21:43:35 +00:00
Derek Atkins
5bbe9c71cf * src/gnome-utils/gnc-date-edit.c: hide the calendar popup
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
2003-07-28 18:44:21 +00:00
Linas Vepstas
b6ffc7d3f3 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8961 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-28 13:13:14 +00:00
Derek Atkins
e60cd6e43c Fix the DIST_SUBDIRS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8959 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-28 02:22:58 +00:00
Derek Atkins
7475136705 build log-replay before test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8957 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-27 23:30:32 +00:00
Linas Vepstas
93973287f4 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8955 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-27 19:53:52 +00:00
Linas Vepstas
551cc96c4a bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8954 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-27 19:53:13 +00:00
Derek Atkins
41ecc8eab0 * src/backend/postgres/PostgresBackend.c: Added pgendGetBook(),
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
2003-07-27 19:20:05 +00:00
Linas Vepstas
038ead6db7 documentation updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8952 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-27 17:21:50 +00:00
Linas Vepstas
35d1e95fb4 misc updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8951 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-27 05:58:10 +00:00
Derek Atkins
3e99d1e857 * src/app-file/gnc-file.c: fix the message to be more appropriate
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
2003-07-27 04:02:49 +00:00
Derek Atkins
daa491a68d * src/backend/file/gnc-backend-file.c: don't make the chmod() and
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
2003-07-26 23:47:14 +00:00
Linas Vepstas
af4ea9dac8 ongoing hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8946 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 23:36:45 +00:00
Linas Vepstas
7263dfdae4 implement the KVP utilities that have always been needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8945 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 23:25:56 +00:00
Linas Vepstas
9fd213bdb3 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8944 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 23:25:04 +00:00
Derek Atkins
4069994123 Fix a comment pointer (gnc.gwp no longer exists)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8942 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 21:46:05 +00:00
Derek Atkins
473654d156 * src/engine/Backend.h: add a new error, ERR_BACKEND_READONLY
* 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
2003-07-26 21:43:54 +00:00
Linas Vepstas
fc9a6e3923 add title, notes to book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8940 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 21:33:03 +00:00
Linas Vepstas
ed1abc4f55 more hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8939 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 20:58:54 +00:00
Linas Vepstas
e50c7cdf93 add more tracing levels
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8938 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 18:54:15 +00:00
Linas Vepstas
bb67f27978 more hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8937 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 18:42:59 +00:00
Linas Vepstas
1218569524 oops try again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8936 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 18:35:33 +00:00
Linas Vepstas
e8b8febb9c o rationalize default value setup/initialization
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
2003-07-26 18:19:23 +00:00
Benoit Grégoire
deb2a2bce3 2003-07-26 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-account-matcher.c: Fix bug #105293


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8933 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 16:22:12 +00:00
Linas Vepstas
f77bb593a6 ifdef-out the gnome2 port of these utilities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8932 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 14:52:27 +00:00
Linas Vepstas
02453a0eeb add misc gnome textbox utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8931 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 14:48:25 +00:00
Christian Stimming
029dfc92f8 Add include stdlib.h to fix compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8929 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 08:08:20 +00:00
Linas Vepstas
102a96ca5b more misc hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8927 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 05:08:40 +00:00
Linas Vepstas
c5688830f7 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8926 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 04:58:55 +00:00
Linas Vepstas
493b4b3b97 add some more date utilities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8925 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 04:36:39 +00:00
Linas Vepstas
b7a526e646 allow null pointer to be safely passed as arg
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8924 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 04:30:15 +00:00
Linas Vepstas
66b45b6dc4 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8923 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 03:04:56 +00:00
Linas Vepstas
d84721615b temp intermediate stuff
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8922 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 03:01:04 +00:00
Linas Vepstas
703e4a59de bugfix: add "changed" callback for the yearly_spin spin button
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8921 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 02:58:46 +00:00
Linas Vepstas
404cb85425 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8919 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 02:44:34 +00:00
Linas Vepstas
7376d53359 continue hacking on UI
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8918 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-26 01:54:02 +00:00
Derek Atkins
49e769c6af * src/engine/gnc-book.c: be sure to delete the book's KVP when we
destroy it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8917 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-23 18:53:38 +00:00
Derek Atkins
7ac8b434df * src/engine/gnc-book.c: be sure to delete the book's KVP when we
destroy it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8915 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-23 18:46:39 +00:00
Derek Atkins
724bb5d8d2 * src/import-export/qif/...
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
2003-07-22 14:08:01 +00:00
Derek Atkins
4798852b16 * src/import-export/qif/...
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
2003-07-22 05:12:49 +00:00
Linas Vepstas
0d62e775f3 testing 1 2 3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8909 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-21 03:35:22 +00:00
Linas Vepstas
13a4716c04 remove test file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8908 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-20 20:47:11 +00:00
Linas Vepstas
ebbb5974f2 testing 1 2 3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8907 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-20 20:37:32 +00:00
Derek Atkins
ea7bd97f5f * src/backend/file/gnc-backend-file.c: Don't need to set the
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
2003-07-17 17:07:12 +00:00
Derek Atkins
512788fc9a * src/report/standard-reports/register.scm: add Debit and Credit
totals.  Fixes bug #115611.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8892 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-17 05:06:39 +00:00
David Hampton
22fb231a36 Add new test file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8891 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-17 05:00:57 +00:00
David Hampton
c05ef66ff0 The basic ignores.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8890 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-17 04:59:43 +00:00
Derek Atkins
cb4cf56f90 * src/report/standard-reports/cash-flow.scm: fix some labels and
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
2003-07-17 03:14:54 +00:00