This is not needed for the installation tree built by install.sh, but
the binary installer has to add that environment variable to the
relocatable gnucash.bat it writes out.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16142 57a11ea4-9604-0410-9ed3-97b8803252fd
This is a minimally invasive way to make qof backends relocatable and
needed for the Windows port. Avoiding qofla-dir.h completely is
probably desirable anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16141 57a11ea4-9604-0410-9ed3-97b8803252fd
When drawing week backgrounds and the outer month borders, two
mysterious pixels were subtracted from the widths. This led to two
white pixels at the end of incomplete weeks that contained the last day
of the month and belonged to the last month of a calendar column.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16139 57a11ea4-9604-0410-9ed3-97b8803252fd
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
A native rebuild of packages should not be necessary. Just remove
libxml2-2.6.27.win32.zip from your downloads directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16124 57a11ea4-9604-0410-9ed3-97b8803252fd
Let them be closed on session shutdown by setting the session. Call
gnc_main_window_close_page in close handler. Unregister the component
in _destroy_widget and move _destroy into it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16104 57a11ea4-9604-0410-9ed3-97b8803252fd
It used to be hidden and showed again by gtk_widget_show_all.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16099 57a11ea4-9604-0410-9ed3-97b8803252fd
The calendar popup starts at x=0, but in a right-to-left interface it is
drawn to the left, i.e. out off the window. This can be avoided by
overwriting the default direction of the surrounding horizontal box.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16098 57a11ea4-9604-0410-9ed3-97b8803252fd
g-find-program-in-path returns a string---it may be empty but not #f or '().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16096 57a11ea4-9604-0410-9ed3-97b8803252fd
If an error occurs while importing, imported_account_tree will be set to
#f, whereas functions called by gnc:account-tree-catenate-and-merge
would expect empty lists. So do not call that function at all.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16093 57a11ea4-9604-0410-9ed3-97b8803252fd
It is not clear yet, when and how it is best to remove inaccessible
files from the history list. At least we should not do it on startup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16091 57a11ea4-9604-0410-9ed3-97b8803252fd
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am. This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
user. Fixes#436255. Also reload the check format combobox each time
a custom format is successfully saved. Fixes#436394.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16088 57a11ea4-9604-0410-9ed3-97b8803252fd
This prevents the test-lots case from dying when it attempts to divide
one split into two splits, and the ration of the two splits ends up
producing numbers less than 0.01.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16082 57a11ea4-9604-0410-9ed3-97b8803252fd
On Windows, the short date formats are used, containing standard
delimiters.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16081 57a11ea4-9604-0410-9ed3-97b8803252fd