Fix loading modules from an absolute path on Windows.

Don't check the module path using Linux-style path checking.

Issue #11165: https://github.com/ariya/phantomjs/issues/11165
Fire `onResourceReceived` callback when the resource error occured.

Issue #11163: https://github.com/ariya/phantomjs/issues/11163
Show postData in onResourceRequested callback.

Issue #10158 https://github.com/ariya/phantomjs/issues/10158
Temporarily call this branch as version 1.10.

Issue #10448 https://github.com/ariya/phantomjs/issues/10448#issuecomment-15689386
Update ChangeLog.
Flush in `File::write` when in unbuffered "text" mode

If the wrapped `QFile` was opened with `QIODevice::Unbuffered`, any
writes should be unbuffered.  However, as currently implemented,
using `QTextStream` when the `File` is in "text" mode causes all
reads/writes to be buffered.

This modification forces a flush in `File::write` if the wrapped
`QFile` was opened with `QIODevice::Unbuffered`.

Necessary to fix issue #11162 https://github.com/ariya/phantomjs/issues/11162.
Use UTF-8 encoding for std{in,out,err}

This fixes issue #11162.

`File` constructor takes a `QTextCodec *`, codec; but, if codec is
`NULL`, then it assumes "binary" mode, which causes non-ASCII
characters to be converted to NUL (`\0`) in `File::write`.

This change passes the codec for UTF-8 to the `File` constructor for
the `std{in,out,err}` instances, thus opening them in *text mode*.
Fix command line option typo

Issue #11219: https://github.com/ariya/phantomjs/issues/11219
Fix compilation with MSVC 2010

Issue #10158: https://github.com/ariya/phantomjs/issues/10158
This bug introduced by the marco max( ) defined in <windef.h>.
It replaces max( ) with another statement but still preceeded by numberic_limits<Type>::
The workaround is to use the parenthesis
Improve WebPage CJK support tests.

This is for issue #10249: https://github.com/ariya/phantomjs/issues/10249.
Link with text codec plugins on mac and linux

Fixes [#10249](https://github.com/ariya/phantomjs/issues/10249)
Update ChangeLog.
Make `Terminal` emit a signal upon encoding change

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Teach `File` how to change its encoding

If a `File` is in "text" mode, then it has an encoding.  This
encoding defaults to UTF-8; however, it can be set only at time of
construction (by using `fs.open`).

This modification allows the user to change the encoding on-the-fly
for "text" mode `File` instances.

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Synchronize std{in,out,err} encoding with `Terminal`

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Updated rpm spec file to work with 1.9.

Issue #10939: https://github.com/ariya/phantomjs/issues/10939
ChangeUrl to accept an encoded string

Issue #11243: https://github.com/ariya/phantomjs/issues/11243.
MINOR: Reorder initialisation order in NAM constr.

`m_resourceTimeout` is declared before of other
private variables, and the compiler was complaining
the initialisation order could not be respected.
This caused annoying (but innocuous) warnings at compile time.