Forward-port of r21886, done in the 2.4 branch to quickly resolve bug
#667900 and to give windows users a nightly build to test with.
Extends that change by also converting the GDK_SELECTION_PRIMARY
operations to use GtkClipboard instead of GtkSelection.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21918 57a11ea4-9604-0410-9ed3-97b8803252fd
td isn't declared unless HAVE_KTOBLZCHECK_H is true, so we can't use it
outside of the #if block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21917 57a11ea4-9604-0410-9ed3-97b8803252fd
With this patch, files are correctly installed together.
Patch by Vincent Untz.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21905 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@21904 57a11ea4-9604-0410-9ed3-97b8803252fd
* Use expander to show/hide templates
* Disable execute button as long as field values are incorrect
* Use icons and tooltips in entries to indicate that an incorrect value was inserted
Patch by Johannes Schmid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21903 57a11ea4-9604-0410-9ed3-97b8803252fd
A buffer of fixed size PATH_MAX is created, but this constant is non-existent
on GNU/Hurd, so the package FTBFS on that architecture.
The fix consists in using a dynamically (re-)allocated buffer, as recommended
on: http://www.gnu.org/software/hurd/hurd/porting/guidelines.html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21900 57a11ea4-9604-0410-9ed3-97b8803252fd
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