Commit Graph

15447 Commits

Author SHA1 Message Date
Geert Janssens
36778dae52 Bug 710979 - Crash in gnc_plugin_page_invoice_summarybar_position_changed
Signal handlers didn't get removed properly from gsettings keys
when an invoice page was closed, leading to a crash if the
signal handler is later activated again.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23356 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-30 14:43:58 +00:00
Geert Janssens
9ae7cb08d8 Some white space and comment improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23355 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:21 +00:00
Geert Janssens
fd94134b85 Cleanup leftover from state save/restore re-implementation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23354 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:09 +00:00
Geert Janssens
50e02d7ac6 Fix crash when deleting budget
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23353 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:27:27 +00:00
Geert Janssens
b3c33b7fdb Remove function that no longer adds value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23352 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:39 +00:00
Geert Janssens
4cfe666dfc Re-implement state save/restore functionality in gnc_tree_view
The new implementation uses the gnucash metafile in .gnucash/books
to save gui state for any page that is based on gnc_tree_view.

Think Account Hierarchy, Budgets, Vendor/Customer/Employee overviews.
Each of these sets a unique name for a state section that the tree view
will use to store column width/visibility, sort column, sort order.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23351 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:23 +00:00
Geert Janssens
de58942794 Move state handling code to separate file and improve on it
- keep the state information in memory while gnucash is running
- upon saving the state, only delete those sections that will be
  recreated by the save_all_state function

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23350 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:02 +00:00
Geert Janssens
df299589d4 On file open, only destroy a previous session if really exists
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23349 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:52 +00:00
Geert Janssens
7835e8cb3e Remove gnc_build_book_path from swig interface file
It hasn't been used in guile since 2006

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23348 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:42 +00:00
Geert Janssens
3aebc9ca54 Remove some unused includes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23347 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:29 +00:00
Mike Alexander
1cfa86695a Guard against bad parameter to gnc_plugin_page_invoice_summarybar_position_changed.
This avoids the crash in bug #710979 but doesn't fix the underlying problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23346 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 19:17:00 +00:00
Geert Janssens
bc1970bf71 Use the symbol in iso-4217-currencies by default
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23345 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 09:22:38 +00:00
Frank H. Ellenberger
96f52a43e6 Rename .texinfo files to .texi to get rid of the autogen.sh warning.
I am wondering if anybody still uses the content of this directory.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23344 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 01:02:53 +00:00
Mike Alexander
45f18a7eff Add --with-xdg-data-dirs to specify default search path for XDG data directories.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23343 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:42 +00:00
Mike Alexander
0c5c0c7e19 Fix a typo in --with-qt3-wizard-package.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23342 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:32 +00:00
Frank H. Ellenberger
9e4c76ece4 Bump required automake version to 1.11
see https://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html
and http://lists.gnucash.org/logs/2013/10/2013-10-27.html#T16:03:07

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23341 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 20:45:13 +00:00
Mike Evans
693a2efed7 Bug 710871 - Undo my last two commits.
Wrong solution to the problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23340 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 14:58:34 +00:00
Mike Evans
7c34b75f58 Bug 710871 - Remove errant $.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23338 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 09:28:22 +00:00
Geert Janssens
82a0329df0 Small XDG_DATA_DIRS improvements
- win32: improve iss script to only replace the real XDG_DATA_DIRS path, not the comment
- use $(datadir) instead of $(prefix)/share, for the rare case someone configures with
  --datadir=DIR

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23337 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:56:26 +00:00
Geert Janssens
2678946472 Add off-by-one warning in comment
Taken from https://bugzilla.gnome.org/show_bug.cgi?id=709329#c7

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23336 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:40:06 +00:00
Geert Janssens
5f9a9489ed Prohibit setting budget values greater than num_periods
* Add unit test to verify changes
* gnc_budget_set_account_period_value returns without doing anything
  if requested period value is greater than num_periods
* Add warning message when setting invalid period

Author: R Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23335 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:38:44 +00:00
Geert Janssens
1c20648c42 Fix save count down timer on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23334 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 20:53:31 +00:00
Geert Janssens
b93d31a550 Clean up preferences for pricedb-editor and price-editor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23333 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 20:34:10 +00:00
Geert Janssens
e72ae0a59a Configure: don't list ofx twice in selected components
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23332 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:03:25 +00:00
Geert Janssens
d429a83792 Avoid the need for a duplicate dialog-preferences.glade
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23331 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:03:00 +00:00
Geert Janssens
5490605de2 Register rewrite Update, revised removal update for next release. This update adds a configure option --enable-register2 which will enable the register2 changes at compile time, there are also some changes to use the Gnucash --extra parameter that displays some of the new register2 functionality for testing. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23330 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:02:43 +00:00
Christian Stimming
4455afbf04 Bug #710739: Fill in field for remote bank account information also for SEPA transfers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23329 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:02:20 +00:00
Mike Evans
906e3509cd Bug-710871 Fix for Python site-packages not found when not installed to default location
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23328 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 15:25:25 +00:00
Geert Janssens
fb80909cb3 Fix window position/size saving
- fix inverted test if saving/restoring is requested
- fix glib CRIT warning when saving

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23327 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 07:27:57 +00:00
Geert Janssens
62bf5257fa Ignore autogenerated Makefile[.in] for gschemas directories
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23326 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 20:33:42 +00:00
Geert Janssens
d1e106e296 Add a field to the commodity editor allowing setting the user symbol.
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23325 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:57 +00:00
Geert Janssens
300cfa76b5 Add a user_symbol to one UT
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23324 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:30 +00:00
Geert Janssens
2d94461e7f Copy the test-files to the builddir, and use that in GNC_TEST_FILES
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23323 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:01 +00:00
Geert Janssens
7a0b3405da Use the new user_symbol property where relevant
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23322 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:49 +00:00
Geert Janssens
13fcf19a72 Add a new user_symbol property to the Commodity class
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23321 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:37 +00:00
Geert Janssens
e718761971 Check for availability of xsltproc at configure time
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23320 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:26 +00:00
Geert Janssens
cb556c13f4 Fix gsettings schema for commodities editor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23319 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:15 +00:00
Geert Janssens
7f1ad0b2b6 Fix budget options descriptions field
* Set scrollbar visibility
* Turn on word wrap

Author: R Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23318 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 07:51:15 +00:00
Geert Janssens
748e8a4897 Abort configure if --enable-ofx specified but no libofx development files found
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23317 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-23 14:25:32 +00:00
Geert Janssens
6d0de88332 Remove reference to schema that was deleted earlier
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23316 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-23 12:46:47 +00:00
Geert Janssens
efcdd285ad Revert "[PATCH] Register rewrite Update, remove update for next release."
This reverts commit 22eff28f0b.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23315 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 19:27:24 +00:00
Geert Janssens
22eff28f0b [PATCH] Register rewrite Update, remove update for next release.
This update removes the register2 changes for the next release
as it is not complete yet.

Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23314 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 18:26:55 +00:00
Geert Janssens
a0f4d98543 Win32: set XDG_DATA_DIRS when running the Windows installer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23313 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 16:30:02 +00:00
Geert Janssens
e39e3a2c68 Add default-to-save timeout on save-on-changes dialog
If the timeout is reached, the dialog is closed as if the user clicked on save.
The timeout period can be set via the preferences dialog

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23312 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 15:44:26 +00:00
Geert Janssens
a0ff784259 Drop check for glib >= 2.14, glib >= 2.28 is already required
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23311 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 15:44:10 +00:00
Geert Janssens
bcac23f96e Bug 710055 - advanced portfolio report counts capital gains split as dividend
Author: Jason McCarty <jmccarty@sent.com>
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23309 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 10:37:01 +00:00
Geert Janssens
549193a615 Set tab position when opening a new window
This code was unintentionally disabled in the preferences refactoring process

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23308 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 09:49:10 +00:00
Geert Janssens
fa02c8ddb4 Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix
This was not clear from the current comment alone

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23307 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 09:18:43 +00:00
Mike Alexander
d1668d5f39 Use ";" as seperator characer since that's what g_key_file_get_keys wants.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23305 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-20 03:41:17 +00:00
Mike Alexander
0efd34e4ff Eliminate null entries in path lists in environment_override.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23304 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-20 03:37:43 +00:00