Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.
Merge pull request #29 from pruiz/issue-1277

Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.
Removed some memory errors detected by valgrind, and added a couple of asserts to help exposing unexpected faults.
Added another disposed object usage check, along with a few more replacements of delete by deleteLater().
Apply deleteLater() to converter instance's destruction C-API method.
Try to ensure no more web requests can be made by finished resource objects (like when a JS script is trying to reload, etc.)
Fixed crash when converting an URL with HTTP authentication, using '--load-error-handling skip' which results in a crash at pdfconverter due to an unitialized QWebPrinter (as there's no resulting page to print at all..)
Avoid delaying calls to ResourceObject::loadDone() when the resource failed to load, as no JS code would be invoked at all.
Avoid hanging for ever when converting an URL with failing HTTP authentication, and also try to report/handle this sort of errors in the same way we treat any other error (ie. abort, skip, ignore, etc.). Currently this sort of errors were provoking an early release of resources which end up hanging the application due to invalid memory access to deleted pointer/objects, and/or missing signals.
Network (or equivalent) level errors throwing during the loading of a resource (such trying to access an invalid URL) were not being detailed reported. I've added code to take into account QNetworkReply->error() along with HTTP's statuses.
Avoid crashing when a late requests caused by iframe or scripts loading too late, and emit a warning instead.
Update nsi.m4 with patch from Brian Forte
Remove 'pruiz' from comments.
Merge pull request #30 from pruiz/misc-enhacements

Collection of fixes and enhacenments over memory and error management issues I've found latelly
${EnvVarUpdate} $0 "PATH" "A" is supposed to append but it's overwriting so for now it's gone and you have to add the executable to your path manually (rather than have it wipe out your entire path, rending your system useless for just about everything including WKHTMLTOPDF).

Signed-off-by: unknown <michael@RAINABBA4.compteknet.local>
Merge pull request #31 from rainabba/master

${EnvVarUpdate} $0 "PATH" "A" is supposed to append but it's overwriting...
remove dependency on qt-xmlpatterns
add version information for wkhtmltopdf and wkhtmltoimage
fix building DLL on windows to not include version number

This is based on the information given in this URL:
http://qt-project.org/faq/answer/how_can_i_add_version_information_to_my_application
include hash for latest commit as part of the version