Commit Graph

14477 Commits

Author SHA1 Message Date
Geert Janssens
1d8e85e8e7 Win32 installer: always remove previously installed versions.
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
2012-01-27 20:09:55 +00:00
Phil Longstaff
6ad0ab7426 Convert to using gobject attribute names to save/restore address fields.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21893 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-27 17:36:35 +00:00
J. Alex Aycinena
8a2f3a7152 Update txf.scm to reflect changes to US Income Tax Forms and Schedules for 2011.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21889 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-26 00:09:51 +00:00
Geert Janssens
9b12eaf158 Remove some stray references to libglade.
It's no longer used by GnuCash. Yay!

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21880 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-23 20:45:26 +00:00
Geert Janssens
31d3b90f30 Avoid guile dependency in the python bindings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21878 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-23 19:33:31 +00:00
Geert Janssens
4627ce546c Remove the stable version numbers from the Development warning version.
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
2012-01-22 21:26:02 +00:00
Geert Janssens
e91e669858 Bug #667581 - Migrate Invoice / Bill plugin to Builder
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
2012-01-22 21:25:51 +00:00
Christian Stimming
e219d2cf89 Bug #668454: Make it easier to paste account/bank in online transaction dialog
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
2012-01-22 21:09:34 +00:00
Mike Evans
7e8a36d984 Bug 667581 - Migrate Invoice / Bill plugin to Builder
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
2012-01-21 16:28:32 +00:00
Mike Evans
1eced1035c Bug 667581 - Migrate Invoice / Bill plugin to Builder
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
2012-01-21 16:22:45 +00:00
Mike Evans
f2325a979c Bug 667581 - Migrate Invoice / Bill plugin to Builder
Remove empty files renamed and updated by patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21870 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 12:20:55 +00:00
Mike Evans
df94d1c936 Bug 667581 - Migrate Invoice / Bill plugin to Builder
Patch supplied by Bob Fewell.  Many thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21869 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 12:20:49 +00:00
John Ralls
2a50ac6461 Reverse the test for HAVE_DBI
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
2012-01-20 21:06:29 +00:00
Geert Janssens
a90e5086a3 Bug #667417 - Fix build with glib 2.31.x
Patch by Vincent Untz
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21860 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-17 08:47:54 +00:00
Geert Janssens
c77caae41a Remove empty directories (which the git-svn bridge ignores)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21859 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-16 17:47:26 +00:00
Geert Janssens
e6dddfc6fa Some small gnome header cleanups.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21858 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-16 17:42:43 +00:00
Geert Janssens
ea06083f9a Remove no longer used druid-utils (replaced with assistant-utils)
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
2012-01-16 17:42:34 +00:00
Geert Janssens
0a60c5bf2e Delete unmaintained and unused binary importer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21856 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-16 17:42:23 +00:00
Geert Janssens
793d4f8d80 Bug #667871 - Migrate druid old xml file import to an assistant
Patch by Bob Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21855 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-16 17:42:11 +00:00
Christian Stimming
2dece71f26 Read-only mode: Don't create a LCK file when opening a file in read-only mode and also ignore existing locks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21853 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-15 22:06:23 +00:00
Christian Stimming
d4dc045db7 [Win32 build] Disable git.exe package again, as it might collide with DLLs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21847 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-11 21:48:43 +00:00
Christian Stimming
06b8201bc8 Add dependency on qofbook.h for swig generated file.
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
2012-01-10 21:34:56 +00:00
John Ralls
f32bccfbaa Fix missing-prototype warnings from r21829
Thanks, Alex.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21837 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-10 05:06:05 +00:00
John Ralls
23384a13d2 Fix Read-only Action Sensitivity
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
2012-01-09 23:10:29 +00:00
John Ralls
55b1a8a5f7 [Bug 666329] - Empty database after a little while
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
2012-01-09 23:10:20 +00:00
John Ralls
2317920635 [Bug 666329] Empty database after a little while
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
2012-01-09 23:10:06 +00:00
John Ralls
614052092e [GSOC][Testing] Unit tests for qofsession
Author: Muslim Chochlov

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21830 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-09 23:09:57 +00:00
John Ralls
5ed0fbb480 [GSOC][Testing] Modifications to qofsession for testability
Author: Muslim Chochlov

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21829 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-09 23:09:47 +00:00
Christian Stimming
7075a77fc0 Let the libgncmod-test-engine be built by the noinst target instead of check target.
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
2012-01-08 20:08:54 +00:00
John Ralls
d861f81c26 [Bug 666329] Empty database after a little while
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
2012-01-07 00:53:54 +00:00
John Ralls
e8a9591eec [Bug 666329] Empty database after a little while
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
2012-01-07 00:53:43 +00:00
Christian Stimming
e0e4994ed1 [Win32 build] Let git.exe be downloaded and unpacked as well. We might start using it sooner or later.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21818 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-02 12:51:24 +00:00
Christian Stimming
3fcdf59adf Re-indentation of source code.
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
2012-01-01 20:36:46 +00:00
Christian Stimming
fc268dba92 Read-only mode: More menu items grayed out: Close Book; Online Banking Setup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21815 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 20:36:29 +00:00
Christian Stimming
3ad34bda49 [Cutecash] Remove removed files of r21799 also from CMake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21814 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 19:49:28 +00:00
Christian Stimming
f04b5c4443 [Win32 build] Update aqbanking version again.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21812 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 19:43:03 +00:00
Christian Stimming
e067a30f2d Read-only mode: Add "Revert file" menu item so that a file that might got changed from someone else can easily be reloaded.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21810 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 16:32:12 +00:00
Christian Stimming
6f3b555946 Add keyboard shortcut in menu (similar to r21652) for a few more items.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21809 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 16:32:01 +00:00
Christian Stimming
29aa98e460 Read-only mode: Add "Read-only" checkbox when opening a file/database.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21807 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 10:41:44 +00:00
Christian Stimming
9ab50b259a Export-to-PDF: Make output file name configurable, at least through gconf keys.
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
2011-12-30 22:06:12 +00:00
Geert Janssens
13796ee99f Win32: use proper cpp and ld include parameters
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21802 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 17:27:12 +00:00
Geert Janssens
17562f903c Remove one more gnc_druid related file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21801 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 17:05:46 +00:00
Geert Janssens
cdce90ca6a Remove unused gnc-dialog code, spotted by Robert Fewell.
Additionally, update POTFILES.in for recent changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21800 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 16:59:14 +00:00
Geert Janssens
779fdd045e Remove unused gnc_druid code.
Spotted by Robert Fewell.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21799 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 16:59:03 +00:00
Geert Janssens
239d2b1069 Bug #666709 - Migrate Tax tables dialog to Builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21798 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 14:18:34 +00:00
Geert Janssens
3df235dc59 Win32: add include to find strtol and strtod
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21797 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 12:01:58 +00:00
John Ralls
dda1b7283e Remove invalid dependencies on LibGnome CFLAGS
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
2011-12-29 23:28:23 +00:00
Christian Stimming
e707b1227c Read-only mode: When using qof_session_swap_data, don't swap the read_only flag but only the rest of the QofBook.
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
2011-12-29 22:14:43 +00:00
Christian Stimming
0e604fe8f3 Revert r21789 - not needed as r21791 adds required include flags in a better way.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21793 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 21:36:35 +00:00
Geert Janssens
f781b161f7 Win32: use new location of gnucash doc directory
It changed in r20736

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21792 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 20:20:46 +00:00