Commit Graph

14750 Commits

Author SHA1 Message Date
Geert Janssens
6e5e7b3a5e Add function to set a feature as used and use it for a first feature:
Credit Notes.
Other changes in this commit:
* The feature code moved to core-utils, because the engine can't use
app-utils.
* I remove the gettext wrapper around the feature description. As
mentioned on the mailing list, by definition unknown features can't have
translated descriptions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21981 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-10 14:40:52 +00:00
Christian Stimming
f5a1d18d65 Win32 build: Update gtk to 2.4.10 [21977] and update other packages to Nov 2011 versions as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21980 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-10 09:19:47 +00:00
Geert Janssens
4119c0f2da Move the features tests to its own source files.
This allows for
- other engine consumers to use the features test as well (think
CuteCash, python bindings,...)
- a central point for developers to check for feature definitions
- a central point to manage all feature related code

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21978 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-09 17:17:59 +00:00
Geert Janssens
54d2786216 Restore missing customer|vendor in easy invoice.
This got broken in r21552

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21931 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-03 13:49:15 +00:00
Mike Evans
ec79f4286c Restore missing customer|vendor in printable invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21930 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-03 13:16:23 +00:00
Phil Longstaff
fc0bbaa449 Add more order gobject properties and convert sql backend to use them for loading/saving.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21922 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-31 01:17:20 +00:00
Phil Longstaff
d9a86d9f37 Add more properties to employee object and convert sql backend to use them to save/load objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21921 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-31 00:00:15 +00:00
Cristian Marchi
5724c2f1b7 Bug#667105: Fix grammatical error in some accounts file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21920 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-30 13:38:32 +00:00
Cristian Marchi
b6672a3e89 Bug #667276: Fix Korean accounts files. Patch submitted by Eulgyoon Lim.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21919 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-30 13:35:12 +00:00
John Ralls
53c7d0c8d1 [r21886][Bug #667900] No clipboard copy and paste
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
2012-01-30 01:54:01 +00:00
John Ralls
4376c08601 Fix compile error
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
2012-01-30 00:28:06 +00:00
Christian Stimming
1fcb6398d3 xml-backend: Fix an uninitialized variable
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21914 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 20:26:10 +00:00
Christian Stimming
821331ae5a Disable "changed" callback on transaction amount field temporarily, as it does not yet seem to work correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21913 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 20:25:58 +00:00
J. Alex Aycinena
f6a3b152fd Add to the includes in Makefile.am, which were implicitly included by until taken out in r21880; this gets make check complete
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21910 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 06:32:09 +00:00
J. Alex Aycinena
7c03e237b2 Update xml file backend to recognize a newer version file on load attempt, not load, and alert user of need to upgrade Gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21908 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 01:12:30 +00:00
Christian Stimming
c2458bfc68 reports: Make report Budget Flow 100% translatable
Patch by Aurimas Fišeras

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21906 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:32:10 +00:00
Christian Stimming
6a3f8175ff Bug #668196: Fix installation of python bindings
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
2012-01-28 22:16:38 +00:00
Christian Stimming
4e7af62136 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@21904 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:37 +00:00
Christian Stimming
a9c51ffc1c Bug #668693: aqbanking: Improve transaction UI
* 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
2012-01-28 22:12:26 +00:00
Christian Stimming
183aec5ec2 Bug #668693: aqbanking: Big code cleanup in transaction dialog
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21902 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:12 +00:00
Christian Stimming
34100fde6f Bug #668693: aqbanking: Added API docs for transaction
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21901 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:00 +00:00
Christian Stimming
1b6a3488fa Bug #668926: Fixes build on GNU/Hurd
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
2012-01-28 22:05:50 +00:00
Phil Longstaff
2f3555c9ee Add more vendor gobject attributes and use those to save/restore to sql db
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21898 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 00:15:04 +00:00
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