- New "environment" config file that holds the environment modifications to make
- Added a parser for this file that does the actual modification
of the environment (in gnucash-bin.c)
- Eliminate the old gnucash-setup-env script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18994 57a11ea4-9604-0410-9ed3-97b8803252fd
Along with a new version of webkit which properly handles local image files, a change was needed so that instead of creating an html string and feeding it directly to webkit, it is exported to a temp file which is then loaded as a file:// URI. On Linux, if this is not done, any embedded images do not appear, and there is a console message that local resources can't be loaded. On Windows, the embedded images don't appear, possibly for the same reason, but I'm not sure where the console messages go.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18992 57a11ea4-9604-0410-9ed3-97b8803252fd
This version contains changes required to fix#588816 (Heading Banner Image does not display or print
on invoice reports). Note that this bug won't be fixed until some gnucash changes are checked in as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18991 57a11ea4-9604-0410-9ed3-97b8803252fd
Reported by Markus Scheffler on Apr 2 via gnucash-user ML
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18989 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch checks if the separator character is used in account names when loading
a data file, or when changing the separator character in the preferences.
If the separator character is incompatible with some account names, a warning
dialog box is popped up explaining the situation. This dialog also lists the
violating account names.
Additionally, the preferences dialog will show a warning sign as long as the separator
clashes with some account names. The tooltip for this sign will also display the
violating account names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18984 57a11ea4-9604-0410-9ed3-97b8803252fd
The indentation was mixed up due to the unusual IF_TYPE macro, now removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18980 57a11ea4-9604-0410-9ed3-97b8803252fd
The macro is quite ugly: it's not a complete if condition (missing closing bracket)
which makes the code using it difficult to read and error-prone.
Even astyle got confused by it.
The replacement code is slightly longer (two lines per replaced IF_TYPE invocation)
but clean and readable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18979 57a11ea4-9604-0410-9ed3-97b8803252fd
Create the necessary HAVE_GTK_2_12 check in configure.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18978 57a11ea4-9604-0410-9ed3-97b8803252fd
The tab is set again some time later in the gnc_main_window_connect function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18976 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch by Yasuaki Taniguchi fixes the business register.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18974 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove symbol mangling because r18940 already added the gnc_* prefix,
hence the symbol names are unique to gnucash anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18972 57a11ea4-9604-0410-9ed3-97b8803252fd
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.24 using the following options:
astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18971 57a11ea4-9604-0410-9ed3-97b8803252fd
This also strips trailing whitespaces from lines where they existed.
This 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@18970 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that only the type was renamed, but not any enums or function names.
Hence, the scheme wrappers should be unchanged completely (hopefully).
Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2010-March/027679.html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18969 57a11ea4-9604-0410-9ed3-97b8803252fd
At this point, the test creates a customer, saves it to an sqlite3 db, loads it and compares the original and the loaded customer. Will be expanded to test other business objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18966 57a11ea4-9604-0410-9ed3-97b8803252fd
1) Add routine gncCustomerEqual() which will do a deep comparison between two customers
2) Add routine gncAddressEqual() which will do a deep comparison between two addresses
3) Add more GncAddress gobject parameters for the remaining data items
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18965 57a11ea4-9604-0410-9ed3-97b8803252fd
1) Now that the various objects .c files can compare objects in different books, remove the duplicate copies.
2) Create a .la so that the business sql test code can use some common test infrastructure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18963 57a11ea4-9604-0410-9ed3-97b8803252fd
Without the svn:eol-style property, SVN checkouts on windows tend to appear
with varying line endings. The only possible way around this in svn is to
set the expected line endings as svn properties.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18959 57a11ea4-9604-0410-9ed3-97b8803252fd
Examples:
#if COMPILER(MSVC)
#if COMPILER(GCC)
#if ENABLE(NLS)
#if HAVE(PUTENV)
This platform.h file includes config.h, so that doesn't need to be included any more.
PLATFORM(X) is based on the definition of GNC_PLATFORM_X
COMPILER(X) is based on the definition of GNC_COMPILER_X. At this point, only COMPILER(GCC), COMPILER(MSVC), COMPILER(MSVC7) and COMPILER(MINGW) are determined.
HAVE(X) is based on HAVE_X from config.h
ENABLE(X) is based on ENABLE_X from config.h
USE(X) is based on GNC_USE_X from config.h
Having these determinations at a central point makes it easier to add new platforms and easier to conditionally compile based on them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18957 57a11ea4-9604-0410-9ed3-97b8803252fd
Wrong gobject property name used when creating "username" property - sql backend couldn't read it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18950 57a11ea4-9604-0410-9ed3-97b8803252fd
Also, correctly set the document state to "clean" after saving.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18946 57a11ea4-9604-0410-9ed3-97b8803252fd
Odd that this affected only OSX, as the fix is clearly consistent with the GtkLabel "ellipsize" property documentation. (I.e., the packing "expand" property must be TRUE on notebook labels.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18945 57a11ea4-9604-0410-9ed3-97b8803252fd