Sync source and generated versions of the query parser.

The following manual changes to qquerytransformparser.cpp were not
reflected in the .ypp source, but they are now:
  c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc (Nov 2009)
  c1623a0d42c9869e5a1d04081e7660722a863de5 (Apr 2012)

The following change is lost because it modified code generated by
bison (not from .ypp) and needs to be re-applied:
  e7a51b138772cb453555d27f44e6a2c0e79e799c

Change-Id: I72e76732acd1c370394c9fc373522b43ace6e009
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix MSVC2010 warnings.

Change-Id: I081b4ebad362d99dcae594f877592f2a910002f3
(cherry picked from commit e7a51b138772cb453555d27f44e6a2c0e79e799c)
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Filetree-example: Fix sort order.

The debug version of the algorithm in MSVC performs a check
on the less-than function (if a < b, b < a should be false).
Always returning QXmlNodeModelIndex::Precedes fails that.

Task-number: QTBUG-35525

Change-Id: I2ad030284eb76fd07427ffb710b3d3afd63103e5
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Enable -Werror for all of qtxmlpatterns

Change-Id: Ic385a3589c3c84fdd7e0c73f69ac319d0543009c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Remove unused static functions in QtXmlPatterns

Found by Clang 3.4.

Change-Id: I60f78b62d2ecacf58d534623eced537ca62a2405
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Remove unused variable, found by ICC 14

qxslttokenizer.cpp(700): warning #177: variable "val" was declared but never referenced
              const QStringRef val(m_currentAttributes.value(CommonNamespaces::XML, QLatin1String("space")));
                               ^

Change-Id: Ic806bf1e9c22ead8680907b0e22794d7b07dcc90
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
fix conditionals in DayTimeDuration::stringValue()

Task-number: QTBUG-35479
Change-Id: If385bd85f5c20871a0248c828626deea2d72e0a2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Minor optimization, use QStringRef over QString

That way we avoid some unnecessary memory allocations

Change-Id: I597443393671d57b1a47b37eb15c3eca54ee4168
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Bump MODULE_VERSION to 5.2.2

Change-Id: Ibf702ab35725578d4f72f4959b1bcca9d8332ce0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
test: Don't fail *all* tests if the network test server is not set up

Since not all tests for tst_qxmlquery and tst_xmlpatterns depend on
the network test server being set up, now we just fail those which
really depend on it allowing the rest to be normally run.

Change-Id: I0588cf986ffddea117cee680e07e1a8cc4d68436
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
MER: Add packaging.