Commit Graph

19 Commits

Author SHA1 Message Date
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
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
ae4b6a0c5a Refactor preferences
- rename core-utils/gnc-core-prefs* to core-utils/gnc-prefs*
- rename app-utils/gnc-prefs* to app-utils/gnc-prefs-utils*
- move preferences initialization fuctions to gnc-prefs-utils*
- define a gnc_prefs_* api that is independent of any
  settings backend
- refactor gnc_gsettings_* api to serve as a backend for the
  gnc_prefs_* api

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23222 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-07 14:06:23 +00:00
Geert Janssens
eb409ecd35 Refactor file backend settings to no longer depend on gconf
This affects many other components as well, including the
python bindings

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22942 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:38 +00:00
Christian Stimming
ecdb6f078f Remove the separate "calculation" module and swallow it in app-utils.
Those few source files do not justify an extra loadable module. They are
just compiled-in into app-utils.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22075 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-11 22:05:22 +00:00
Christian Stimming
61c16a06dd Re-indentation of source code, next batch.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper

Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18535 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:12:48 +00:00
Derek Atkins
167feed527 Make sure that each GNCModule has a unique set of symbols.
Change gnc-module.c to load the unique symbols based on the module filename.
Change gnc-module-api.h to declare the functions based on a provided filename.
Change ALL the modules to use the new symbol names.

This change should allow the code to build cleanly on the MacIntel platform.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15928 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:23:04 +00:00
Andreas Köhler
2e69bba2db Merge reshuffle-modules (r15315) back into the trunk.
Modules are loaded directly with the g_symbol_* API now while dropping
the dependency on libltdl.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15317 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 00:41:51 +00:00
Chris Shoemaker
31e926c486 Merge swig-redo branch back into trunk.
g-wrap is gone.  I, for one, welcome our new swig overlords.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15024 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-15 19:02:05 +00:00
Chris Shoemaker
540cca4e7a Add hooks just once in app_utils module init.
Also don't try to load imaginary module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12899 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 17:58:02 +00:00
Chris Shoemaker
96276b269d move some app-util function hooks from guile to C
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12881 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 05:18:27 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
David Hampton
d154e92e71 Initial port from the deprecated (in 1.6) guile gh_xxx interface to
the supported scm_xxx interface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8013 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 08:15:53 +00:00
David Hampton
97f77cca4a Fix a bunch of compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7013 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 05:58:58 +00:00
David Hampton
3ce1d63e1a Pogma's initial Mac OS X patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6833 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:22:24 +00:00
Dave Peticolas
aa5229d387 * src/app-utils/gncmod-app-utils.c: perform component manager
initialization and shutdown here


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6398 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:00:58 +00:00
Dave Peticolas
1676f8c02b More work on tests. Make src/calculation a module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5187 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-19 08:36:47 +00:00
Dave Peticolas
f959452ec4 Add tests module. Fix warnings and bugs.
Note to module writers: include gnc-module-api.h to make sure
your signatures are correct.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5168 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-17 22:49:17 +00:00
Dave Peticolas
d9be6ea67b 2001-08-16 Bill Gribble <grib@billgribble.com>
* move report system into gnc-modules. This required a new
	module of application framework stuff, src/app-utils.

	* src/report/report-system/: the report-html-generation code
	and the various report utilities and infrastructure

	* src/report/standard-reports/: non-locale-specific financial
	reports

	* src/report/utility-reports: non-financial reports

	* src/report/locale-specific: reports that only apply to specific
	locales.

	* src/report/stylesheet: report style sheet definitions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5144 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-17 00:44:01 +00:00