Commit Graph

15464 Commits

Author SHA1 Message Date
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
Mike Alexander
6591be1005 Use the compile time value of XDG_DATA_DIRS to set the default run time value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23303 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-20 03:34:20 +00:00
Geert Janssens
a9b1bd1da5 Do not remove gnucash_core.c in clean rule
That file is a built source. It is already removed by the maintainer-clean
rule.

Author: Sébastien Villemot <sebastien@debian.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23302 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-19 16:52:54 +00:00
Geert Janssens
4de3cbd1ce Fix bug 708659
* Totals column moves to right hand side when periods are added
* Remove unneeded gnc_plugin_page_budget_refresh_cb

Design: in gnc_budget_view_refresh, detect the condition when periods
are added. If this is true, delete the totals column. It will be
regenerated at the end of the refresh function.

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

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23301 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-18 14:53:51 +00:00
Geert Janssens
8c9e5c8129 Fix bug 668530
* In budget flow report options, change the maximum value
  for period to 60 (Note the FIXMEs)

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

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23300 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-18 12:50:19 +00:00
Geert Janssens
f456d0970a Prevent crash due to accessing a non-existent gsettings schema
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23299 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-17 15:08:23 +00:00
Geert Janssens
33c64d94a0 Fix build error with clang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23298 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 20:30:41 +00:00
John Ralls
dadbb74abc Bug 710311 - Missing ChangeLogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23296 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 19:32:23 +00:00
Geert Janssens
30c365c412 Prefs migration: improve messaging
Redirect all messages to trace file (or wherever logs are configured to go)
Reduce default output by playing with the log levels

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23295 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 15:23:08 +00:00
Geert Janssens
e56f99669c Prefs migration: migrate ofx and aqbanking prefs if these options were enabled at build time
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23294 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 15:22:56 +00:00
Geert Janssens
b9b99c8b47 Prefs migration: write xsl transform to migrate a pair of coordinates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23293 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 15:22:42 +00:00
Geert Janssens
67784e9b08 Prefs migration: fix radiobutton prefs migration
It contained a bug that would set two radiobuttons active in one
radiogroup. This was only really visible in the backend, but
resulted in the wrong option to be highlighted (for example
autoledger register style instead of ledger)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23292 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 15:22:28 +00:00
Geert Janssens
31248bb3f3 Prefs migration improvements
- check if all parents of .gconf/apps/gnucash exist before attempting migration
- wrap guile parts in catch/throw handlers to prevent GnuCash from crashing
  if something goes wrong during the prefereces migration
- add more sanity checks and debugging information
- set flag after first successful migration to prevent future runs

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23291 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-16 15:22:04 +00:00
John Ralls
8dda5cf552 Remove gnucash-launcher and related scripting files.
With GConf gone, gnucash can launch the same way on MacOSX as it does everywhere else.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23290 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-13 17:11:39 +00:00
John Ralls
8418c91170 Adjust error-message tests to pass with Clang
Clang emits full function signatures for __func__ where GCC emits
only the function name.
Adjust Gnucash's own error messages emitted via PWARN and friends
to trim the extra bits so that only the function name is emitted
regardless of compiler. For messages emitted directly by glib
(usually from g_return_if_fail macros), the message in the test
case is special-cased for Clang so that it matches and the test
passes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23289 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-09 05:28:15 +00:00
John Ralls
54cd656980 Clean up a bunch of clang errors
Mostly unsigned and enum mismatches

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23288 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-09 05:28:02 +00:00
Geert Janssens
6a475eb9b8 Gnc-Prefs: make the prefs migration actually do something on Windows
... which is more than simply not crashing

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23287 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-08 20:25:51 +00:00
Geert Janssens
4f4b17c3d9 Gnc-Prefs: fix crash in migration script on Win32
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23284 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-08 16:31:41 +00:00
Geert Janssens
84394292b4 Gnc-Prefs: disable migration of aqbanking prefs for now
There seem to be issues with the schema installation that can cause gnucash to crash

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23282 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 21:12:58 +00:00
Geert Janssens
b4b0953a2f Gnc-Prefs: windows limits preference names to 32 characters
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23280 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 21:06:20 +00:00
John Ralls
05e6698614 Release 2.5.6
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23278 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 18:54:25 +00:00
John Ralls
4df0c7406e Fix EXTRA_DIST typo
Breaks dist & distcheck

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23277 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 17:39:26 +00:00
Geert Janssens
1fcb00bd31 Prefs migrate: skip preferences that don't have a value set
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23276 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 17:18:31 +00:00
Geert Janssens
c0b11d02bf Move prefs migration call from app-utils module load to inner_main
At the same time skip migration if the required xml and xsl files aren't found

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23275 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 17:18:10 +00:00
Geert Janssens
1244caf80d Fix make distcheck
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23274 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 15:50:19 +00:00
Geert Janssens
a807648901 Gnc-Prefs: add code to migrate settings from gconf to gsettings at runtime
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23273 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:32:02 +00:00
Geert Janssens
ce33da254f Gsettings schema corrections
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23272 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:31:50 +00:00
Geert Janssens
b8e9411506 Gnc-Prefs: add convenience functions for int64 and coords typed preferences
coords are a pair of floats

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23271 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:31:37 +00:00
Geert Janssens
6d00f46304 Gnc-Prefs: update the windows build system to handle gsettings properly
- drop installation of files in libexec (we don't ship any anymore)
- make sure gsettings schema files get installed
- drop ORBit2; this was a requirement for GConf only

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23270 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:31:22 +00:00
Geert Janssens
ebedd85c65 Test for empty filename in addition to no filename
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23269 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:31:10 +00:00
Geert Janssens
d9d754b8ab Add some debugging code to gnc-gsettings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23268 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:30:59 +00:00
Geert Janssens
afa4a5cbf3 Gnc-Prefs: stop using gconf as gsettings backend
WARNING: the saved settings in gconf are not (yet) migrated to gsettings !
         running gnucash as of this commit will start you with default values
         for all preferences !

You can of course change your preferences, your changes will be saved
properly in gsettings and restored when you restart gnucash. But what
has been set in GConf before will basically be ignored.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23267 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:30:40 +00:00
Geert Janssens
1ca78698ce Gnc-Prefs: rename preferences to be compliant with gsettings syntax rules
Syntax changes in short:
1. replace all _ with - in preference keys and groups (_ is not allowed)
2. base path should be /org/gnucash instead of /apps/gnucash

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23266 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:30:10 +00:00
Geert Janssens
8af99a8b61 Properly share a variable between two source files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23265 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:29:30 +00:00