Commit Graph

14735 Commits

Author SHA1 Message Date
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
Geert Janssens
a5f9af8eef Win32: fix clean trunk build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21791 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 20:18:29 +00:00
Christian Stimming
f23f4cde55 [Win32 build] Enable libxslt to be built in a cross-compile environment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21789 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 19:50:56 +00:00
Christian Stimming
84308c2142 [Win32 build] Another aqbanking version update.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21788 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 19:50:40 +00:00
Geert Janssens
e851934184 Avoid build failure if a temporary directory still exists
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21787 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 12:13:22 +00:00
Christian Stimming
3e26c7943f Update versions of gwenhywfar, aqbanking to most recent ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21786 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:42:15 +00:00
Christian Stimming
2d4d0d490d Fix crash due to non-initialized variable. (Why didn't gcc complain here...)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21784 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:11:53 +00:00
Christian Stimming
944ea0918a Move "Print to PDF" menu item of r21722 right next to the "Print" menu item in the file menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21783 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:11:42 +00:00
Geert Janssens
841ffb24ee Win32 build: abort build process if install.sh step failed.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21775 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-24 13:27:56 +00:00
John Ralls
9e08108091 Update ActivePerl URL
Old one no longer available.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21772 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-22 20:36:10 +00:00
Geert Janssens
fd5504e2ad win32 build: indicate when dist.sh begins or ends and remove redundant crosscompile check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21771 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-21 17:43:48 +00:00
Derek Atkins
538910f00b Add a "features" table to the KVP frame, and pop up an error message
if we find a feature we don't know about.  Currently there are no
known features, so essentially we will error out if we see anything.

The format for the slots table is:

  Book Slots ->
      features (frame) ->
            <feature name> (string) -> <feature description>
            ...

The feature description is printed to the user: it should be stored in
the slots table in English but it should be defined as a translatable
string.

BP          

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21767 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 21:12:22 +00:00
Geert Janssens
75ab43ee1c Remove empty directory left behind by previous commit
(Git -> svn doesn't remove empty directories)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21766 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 20:45:49 +00:00
Geert Janssens
9c77d82385 Bug #666459 - Migrate the remaining business dialogs to builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21765 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 20:42:33 +00:00
Christian Stimming
ddd7f28648 Win32 build: Switch weekly build to daily one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21761 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 08:04:00 +00:00
John Ralls
dbd7744602 [Testing] Complete repositioning of test-core to build after libqof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21759 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 04:02:26 +00:00
Christian Stimming
8ec43f39ec Add customer-specific memory of PDF-Export output directory. Makes exporting to PDF rather easy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21758 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:56 +00:00
Christian Stimming
042b069d84 Minor code documentation improvement of the export-to-pdf feature.
* Only propose output folders that actually exist.
* If the jobname already contains a full filename path, use it as proposed
output path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21757 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:45 +00:00
Christian Stimming
81271aa62b Added icon for "Export to PDF", copied from GNOME icons (license: GPL)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21756 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:34 +00:00
Geert Janssens
eea7693288 Improve kvp handling in aqbanking plugin.
This is a follow-up on 21740.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21753 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 15:30:51 +00:00
Christian Stimming
e5119362e5 [Cutecash] Add needed include path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21750 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:44:15 +00:00
Christian Stimming
1c6debfd8a [Cutecash] Update libxml2 include path lookup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21749 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:37:36 +00:00
Christian Stimming
4aead6ae7d [Cutecash] Fix cmake after file removal.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21748 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:37:25 +00:00
Christian Stimming
6ebd6f1afe Fix typos in r21743.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21747 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:27:41 +00:00
Christian Stimming
4f7f700837 Fix typo in r21742.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21746 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:27:29 +00:00
John Ralls
eabb8af132 Clean up some more cases where KVP was set without committing an edit.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21743 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 00:47:20 +00:00
John Ralls
0c5a2cbc90 [Bug #642276] Bayesian association with Sqlite
Wraps the kvp_frame_set_slot_path with xaccAccountBeginEdit()/xaccAccountCommitEdit().

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21742 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 00:47:11 +00:00
Geert Janssens
343f17fc67 Add some more debug logging to standard-reports.scm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21741 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-18 18:43:40 +00:00
Geert Janssens
b24be97528 Replace no-op function force_account_dirty with qof_book_mark_dirty
See bug #665998 for more details.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21740 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-18 18:13:02 +00:00
Geert Janssens
ef7d41a956 Revert "Replace no-op function force_account_dirty with qof_book_mark_dirty"
This commit had some unintended changes.

This reverts commit 6b6eba2d7e56a4359ca646abb2b0c6c965712ce0.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21739 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-18 18:12:52 +00:00
Geert Janssens
885898feda Replace no-op function force_account_dirty with qof_book_mark_dirty
See bug #665998 for more details.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21738 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-18 18:06:08 +00:00
John Ralls
fb9c826b7b Remove deleted file from POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21737 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-17 19:32:37 +00:00
John Ralls
47edcb2090 Fix circular dependency between test-core and qof-test.
Compile test-core/test-stuff.c into test-qof, then recompile test-core as a module for dealing with noise from Guile and Python tests.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21736 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-17 19:32:27 +00:00
Geert Janssens
1ee901c4df Bug #666311 - Migrate inport-export GladeXML dialogs to builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21735 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-17 11:02:55 +00:00
Geert Janssens
26fcd177e1 Bug #665998 - Migrate Aqbanking from druid to assistant / builder.
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21734 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-17 11:02:41 +00:00
Mike Evans
73d00a82f8 Bug #665996 - Minor changes to existing Assistants.
Patch supplied by Bob.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21733 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 14:57:20 +00:00
Mike Evans
bbf1611b02 Bug #658247 - First time setup should prompt to save file.
Fix supplied by Bob referenced in bug #665996.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21732 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 14:36:00 +00:00
John Ralls
40c93f990c [Testing] Oops, had added this only to gnucash-build-env
So it didn't get picked up as a change in SVN.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21731 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 00:13:02 +00:00
John Ralls
8fbc986cbe [Decruftification] Remove gnc-associate-account
Carried over from somewhere in 2000, only maintained as part of global changes since. Not used anywhere.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21730 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 00:12:52 +00:00
John Ralls
4585ef0bc9 Fix "imported from both (sw_engine) and (gnucash engine)" errors from Guile
The GncNumericErrorCode enums are re-defined in src/engine/gnc-numeric.scm -- the SWIG way of representing them produces type errors in the report code. This may well be a problem with the calling code, but it's easier at this point to just not import the symbols into sw_engine.

gnc_commodity_table_get_quotable_commodities is explicitly wrapped in app-utils.i, so we need to not have the default wrapper in sw_engine.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21727 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 22:42:14 +00:00
John Ralls
a196a9953b [Testing] Suppress expected messages from guile tests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21726 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 22:42:02 +00:00
John Ralls
1619cb7f0a [Testing] Suppress expected messages in optional/python-bindings tests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21725 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 22:41:51 +00:00
John Ralls
5c52e5eb57 [Testing] Export test-core log suppression functions to python and guile
Enables silencing expected error output. Finally found the secret code
to get libtool to build a "noinst" dynamic library: pass -rpath as an
ldflag.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21724 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 22:41:41 +00:00