Commit Graph

19 Commits

Author SHA1 Message Date
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
Geert Janssens
f4872f6e6c Rename gnc-main to gnc-core-prefs
And add proper namespace prefixes to its functions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22939 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:00 +00:00
Geert Janssens
b1c50db501 Fix double definition of gnc-build-dotgnucash-path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22669 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-12-18 10:25:49 +00:00
Geert Janssens
c11dfec1d0 Eliminate use of gnc:find-file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22638 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-12-12 17:42:33 +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
John Ralls
a32c6f5d5d [Python] Suppress the spew from loading the python module
Use --extra if you want it back.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21601 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 18:27:17 +00:00
John Ralls
4ee898d90b [Python] Export core-utils SWIG wrappers to Python.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21600 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 18:27:00 +00:00
John Ralls
8ff535a1af Move gnc_locale functions from src/app-utils/gnc-ui-util to src/core-utils/gnc-locale-utils (new files) and adjust accordingly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20209 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 04:29:48 +00:00
Phil Longstaff
e89563f4ea Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20002 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:51:32 +00:00
Geert Janssens
de7b16533e Make sure the right gnc-fq-* scripts are used.
With the original configuration, whatever script was found first on the path was used.
When testing development versions, this caused the also installed stable version to 
be used as it happened to appear first on the path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19651 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:11:44 +00:00
Geert Janssens
025f3dd92c Eliminate *-vicinity functions from e-guile reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19563 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-08 07:14:05 +00:00
Geert Janssens
c741b07352 Calculate standard-reports dir internally instead of reading it from the environment.
This is a step to make gnucash more run-time relocatable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19505 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:02:57 +00:00
Christian Stimming
a5217470af Fix guile-1.6 compatibility of r18541 (bug#582325).
We still suppport guile-1.6, hence we can use the functions
introduced in guile-1.8 only by providing our own backward compatibility
macro definitions in guile-mappings.h.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18545 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-04 20:21:22 +00:00
Charles Day
6a7585f729 Bug #396665: When any QIF file content is found that is not encoded in UTF-8,
the importer now first attempts to convert it to UTF-8 according to the locale.
If this fails, the offending bytes will be removed from the string as usual.
In addition, the user will now be informed of either of these actions via a
pop-up warning in the GUI. Each occurrence will also be logged.

This changeset also exposes the previously static GnuCash-specific UTF-8
validation C function, gnc_utf8_validate(), and creates a corresponding
Scheme predicate named "gnc-utf8?" for validating strings in this manner.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17063 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-02 18:10:35 +00:00
Charles Day
03fe82538c Bug #450354: QIF importer now tries using locale-encoded path if UTF-8 encoded
path fails. Adds supports for use of non-ASCII filenames under Win32.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17062 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-01 22:07:28 +00:00
Andreas Köhler
949e3d5779 Do not change internal scheme strings in place, #389740.
This fixes a crash that happened in the QIF import with Guile 1.8 after
stripping utf8 violating bytes from the internal null-terminated string
of a scheme string, as the length parameter has not been updated and a
safety check threw an error from within a critical section at a later
stage.  Just do not wrap gnc_utf8_strip_invalid but rather
gnc_utf8_strip_invalid_strdup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16135 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-29 16:24:38 +00:00
Joshua Sled
49501c2dbb (Swig-)expose functions to g_log(...) at various levels; convert the gnc:{error,warn,msg,debug} functions to use those. Make sure the Finance::Quote version is sent to stdout no matter what.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15637 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-19 23:45:15 +00:00
Chris Shoemaker
838ff86fbd Factor out some common typemaps into src/base-typemaps.i
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15026 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-16 03:35:56 +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