This avoids problems when libraries or reports have been moved around in newer versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21894 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead, a pointer to the GnuCash website is added for those who are
actually looking for a stable release.
This follows an in my opinion good suggestion from Colin Law on the
mailing list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21877 57a11ea4-9604-0410-9ed3-97b8803252fd
Add two new files that were in the original patch also.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21876 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Johannes Schmid (with indentation fixed by our usual astyle call):
The patch actually fixes two issues:
* Only allow digits in account/bank code field
* Filter spaces when pasting content.
This has annoyed me for a while because quite often I paste account
informations from the browser or some email into gnucash and people tend to
group the numbers like this:
BLZ: 763 510 40
The result of the paste is that the number looks like 763 510<end> because the
number of characters in the entry is limited. With the patch the spaces will be
removed and you will see
763 510 40 -> 76351040
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21874 57a11ea4-9604-0410-9ed3-97b8803252fd
Add the renamed files. Oops, missed one, here it is.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21872 57a11ea4-9604-0410-9ed3-97b8803252fd
Add the renamed files.
Patch supplied by Bob Fewell. Many thanks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21871 57a11ea4-9604-0410-9ed3-97b8803252fd
ac_cv_header_dbi_dbi_h is set only if want_dbi is true, so testing for != no succeeds if dbi isn't enabled -- which is not what we want.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21867 57a11ea4-9604-0410-9ed3-97b8803252fd
With this, the code is no longer using any deprecated Gnome symbols
(though it still uses deprecated Glib and Gtk symbols).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21857 57a11ea4-9604-0410-9ed3-97b8803252fd
Otherwise the old generated file complains about a missing declaration
from r21832.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21840 57a11ea4-9604-0410-9ed3-97b8803252fd
So that FileSaveAction isn't made sensitive when the session isn't dirty.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21833 57a11ea4-9604-0410-9ed3-97b8803252fd
Separate the two uses of QofBook::dirty -- indicating that the book object
itself has been edited and indicating that some object in the dataset has
been changed -- into two separate variables with separate getters & setters.
The latter purpose, indicating that some object has been changed, is moved
to a new member variable of QofBook, session_dirty. Its new setter
qof_book_mark_session_dirty() and canceler qof_book_mark_session_saved()
are called only from the xml backend or gnc-autosave(). Its tester,
qof_book_session_not_saved() is used to check for the need to autosave
and to activate FileSaveAction.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21832 57a11ea4-9604-0410-9ed3-97b8803252fd
Use gnc_dbi_safe_sync_all (which doesn't lose data if the save partion
errors out) for all be->sync.
This is a bit of a half-way solution; we really shouldn't ever have to do
this except when creating a new database, but fixing that will take major
surgery.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21831 57a11ea4-9604-0410-9ed3-97b8803252fd
This is needed to compile the backend/sql test target, which requires
this library to be built even if this isn't the "check" target.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21826 57a11ea4-9604-0410-9ed3-97b8803252fd
Reverse qof_book_mark_saved and qof_instance_mark_clean so that the book
is dirty for qof_book_mark_saved when it's the instance.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21825 57a11ea4-9604-0410-9ed3-97b8803252fd
Create failing test for gnc_sql_commit_edit() showing that it doesn't call book->dirty_cb when the instance gnc_sql_commit_edit() is called on the book itself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21824 57a11ea4-9604-0410-9ed3-97b8803252fd
As usual, re-indentation was done using astyle-1.24 using the following options:
astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21816 57a11ea4-9604-0410-9ed3-97b8803252fd
One gconf setting for the output date format, and another one for the actual
output file name string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21804 57a11ea4-9604-0410-9ed3-97b8803252fd
Much work has been done to change LibGnome Druids to GtkAssistants. The
Makefiles in the containing directories no longer need to use $GNOME_CFLAGS
or $GNOME_LDFLAGS. In a few cases where there still is a dependency,
there's also a dependency on GCONF, so this change also adds $GCONF_CFLAGS
and $GCONF_LDFLAGS to those Makefiles to clarify the dependency.
There were also a few cases where the dependency consisted of a no-longer-
needed include, or where an include was more general than appropriate.
This change cleans up those cases as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21796 57a11ea4-9604-0410-9ed3-97b8803252fd
Otherwise the temporary new session during "Save As" is read-only where in reality
it shouldn't be (but the old session should).
This makes "Save As" work correctly, but many UI elements don't get updated
to reflect the fact we've now got a read-write book again. (E.g., all open registers.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21795 57a11ea4-9604-0410-9ed3-97b8803252fd