[r22154][Bug 674283] With mysql crash after deleting accounts included
into a budget

Never assume a pointer is NULL unless you set it to NULL!

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22155 57a11ea4-9604-0410-9ed3-97b8803252fd
[22157] Bug #674494: Fix version and method of downloading isocodes in win32 packaging

Patch by Mark Jenkins

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22158 57a11ea4-9604-0410-9ed3-97b8803252fd
Update traditional chinese translation. Patch provided by Kuang-che Wu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22177 57a11ea4-9604-0410-9ed3-97b8803252fd
Update Danish translation, copied from the Translation Project.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22178 57a11ea4-9604-0410-9ed3-97b8803252fd
[r22188][Bug #674862] Gnucash crashes after creating a new SX using the Mortgage Wizard and SQL Backend 


Special-cases dbi_result_get_datetime returning -1 to work around a bug in MinGW's implementation of gmtime().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22189 57a11ea4-9604-0410-9ed3-97b8803252fd
[r22171][Bug 674862] Gnucash crashes after creating a new SX using the Mortgage
Wizard and SQL Backend

This addresses the crash reported on Ubuntu with Postgres by Krzysiek.
The stack trace he posted showed the crash was the result of
dereferencing a NULL GDate*, and this change protects against that. It
still doesn't address the more basic problem of why on Win32 and with
mysql and pgsql (but not SQLite3) the mortgage wizard is writing corrupt
dates.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22194 57a11ea4-9604-0410-9ed3-97b8803252fd
Add EXTRA_CFLAGS to inst_gnucash compile line so that cflags can be added by custom.sh

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22195 57a11ea4-9604-0410-9ed3-97b8803252fd
Revert r22195 for install.sh, committed in error.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22196 57a11ea4-9604-0410-9ed3-97b8803252fd
[22197]Add EXTRA_CFLAGS for compiling on Win7


Configure gets confused by some gcc builtins on Win7: Disable them so that configure finds the right settings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22198 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #677570 Error creating net worth linechart report

Revert "Added user settable line width and data point markers to net worth"

Removed entire commit in order to make report work.  Details of error still need
to found so that the feature can be reinstated.

This reverts r21644.  Note, this feature works in trunk.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22220 57a11ea4-9604-0410-9ed3-97b8803252fd
Add formatting to table.

Add cell padding to columns in table.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22221 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #677570 - Error creating net worth linechart report

Remove doubled file contents.
Changeset 21628 has already done this for trunk.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22223 57a11ea4-9604-0410-9ed3-97b8803252fd
[22229] Bug #678214 - GnuCash fails to open some post-processed XML files
Patch by Daniel Harding

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22230 57a11ea4-9604-0410-9ed3-97b8803252fd
[22224] Bug #671323 - Scheduled monthly transactions lose "except on weekends"
setting when using MySQL

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22232 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #611853 - Entering a 2-digit year in the opening balance tab results
in "Parsing Error"
This bug was already fixed on trunk as part of the patch that converted
the new account dialog from glade to gtkbuilder.
This commit extracts only the parts required to fix bug #611853

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22239 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix a double free crash when the required features dialog is shown

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22240 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #631611 - Check printing fails because fonts are too tiny on Windows
Lesson learned: don't use cairo_identity_matrix on a cairo_t managed by
GtkPrintContext. It kills a number of transformations that were already
configured by GtkPrintContext. On Windows this breaks proper scaling.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22244 57a11ea4-9604-0410-9ed3-97b8803252fd
[22246][PATCH] Fix tip-of-the-day with gcc-4.7
When making the text file tips-of-the-day, GnuCash expects 'gcc -E' to
preserve at least one of the whitespace lines between entries. However, this
relies on behavior of 'gcc -E' that isn't actually part of the spec, and is
a historical accident. And it changed in gcc-4.7, such that all the
whitespace is removed.

Work around this by explicitly adding a newline in the sed expression.

Pre gcc-4.7 there will be two newlines between tips, but this has no impact
on the tip displaying code.

Patch by Bill Nottingham

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22247 57a11ea4-9604-0410-9ed3-97b8803252fd
[22248]Bug #678848 - Customer/Vendor reports off-by-one on start date
Additionally removes a superfluous module load

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22249 57a11ea4-9604-0410-9ed3-97b8803252fd
[22050]Bug #494861 - Business reports lose a/p & a/r account options

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22251 57a11ea4-9604-0410-9ed3-97b8803252fd