Bump qtserialport version to 5.3.0

Change-Id: I133b05f8701a128f65acd581bd1ceb2fd8d0dbea
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Do not set the sysfs availability to false on Linux

It is unnecessary since it will be evaluated again. As a side note, it can be a
static variable since it is set to false which cannot cause thread-safety
issues. Even more, these variables can get the "const" qualifier as they are not
being changed.

Tested on Linux with Qt 4 and then Qt 5.

Change-Id: I5d9a154b703d794842964c974f44dc75caffec59
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I6f4ee883b4c2e6e441c18d8a19839a586e1f0552
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Iaef343dd542c8b4b4e62deb481559c7c1345d347
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I86357ba67c2314bf423f28bd4137c70bf3cfaf43
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	src/serialport/qserialportinfo_unix.cpp

Change-Id: Idfdfd662f9e336368b6155112405536a2ce5c965
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I4ed57bc4bce87b9982a33ddf692b156721175440
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf
	src/serialport/qserialportinfo_unix.cpp

Change-Id: I9582d161018939defd3ba81d601fff176e86eb3c
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I535078aafe7a322f3b09e2893a89e30c0028661a
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I9b4871e9d69e73a1267a700aa953efaa0267c0e1
Fix the waitForReadyRead() behavior on Windows

It is necessary to compare size of the readBuffer before and after
completion of each read operation. If size of readBuffer are equal
it means that are no more data available for reading. In this case
the method should returns true if an initial size of readBuffer is
not equal to the current size of readBuffer. Otherwise in all other
cases should be continue waiting until timeout has been expired.

Also must not to do check for the NoError code and to hope for valid
value of this code inside waitForReadyRead(). Because a last error
code do not clears automatically. It lead to false returns of this
method in case the error number is not equal to NoError (for example
it error remained after failed of any previous method). This check
should be implemented in a different way in case of need. But at
present this check is unnecessary because result of the waitAnyEvent()
cover it.

Task-number: QTBUG-33987
Change-Id: Ic8d8e3806fd4863c2720ffb83d5c19eae54d57f0
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Fix the broken handle() documentation

This is likely to be happening due to the mismatching function signature include
the return type between the header and source file. Two things are being fixed:

1) Dropped scope for the Handle just like with the winId case in QWidget.

2) "const" qualifier is now added for the method.

Here you can see the documentation that it is empty:
http://qt-project.org/doc/qt-5/qserialport.html#handle

Change-Id: I5e9e0732cfd746a863de523fe90e58eafa42c081
Reviewed-by: Alex Henrie <alexhenrie24@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf

Change-Id: Id8be0cbb66eabf59c47011e4605e71cf29c1f532
Disable build for WinRT

According to MSDN Windows Store apps will not have any
serial port replacement.

http://msdn.microsoft.com/en-us/library/windows/apps/hh464945.aspx

Change-Id: I2aa54462c411341e3b3cdbbbf65a7b3397df93b6
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Fix the creaderasync example name in the qdoc file

This change eliminates the following warnings when using "make docs":

/home/lpapp/Projects/qt/qt5/qtserialport/examples/serialport/doc/creaderasync.qdoc:28:
warning: Cannot find file 'creader/creader.pro' or 'creader/creader.qmlproject'

/home/lpapp/Projects/qt/qt5/qtserialport/examples/serialport/doc/creaderasync.qdoc:28:
warning:   EXAMPLE PATH DOES NOT EXIST: creader

It is also visible that the example is unreachable on the following
documentation page:

http://qt-project.org/doc/qt-5/examples.html

Change-Id: I09f1532fcff6b1f7bfc5c4857bd14252aceb2eb3
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Refactor the reference in the documentation for property setters/getters

The documentation contains broken links due to this, and it is also inconsistent
with the rest. Properties should be referred to as properties, not individual
methods like setter, getter, notified signal, etc.

The change is tested with "make docs" and the broken links are history.

Change-Id: Id94cba1f88503754318c865793229e3d3947bec6
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Obsolete the TxD/RxD signals

They are not much of use due to the low-level OS limitations as of now, hence
the obsolete proposal. It can be brought back to life at any point when we have
a more clear idea what to do with this API.

"faking" this signal as RealTterm probably does it, is not a nice impression
for the end users. That would be more like a software "signal" (which we
already have in place) rather than a real pinout hardware signal.

It is interesting why Windows, Linux, etc do not provide an option for this.
There must be some strong reason for it.

Change-Id: Ia065e2ee9226d16e724f5e2690b25b954329d78e
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Id640f4d6e6d6c6eb794cdc59d7c2008e60634274
Add error handling to some missing functions

Change-Id: If8dee1819d493fa4b27eba99de611c61bfdfe7a3
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Remove the unused SystemIn/OutputQueue size methods

Change-Id: Iafab6ccc376da7a856b409017bbc42c36c016253
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>