1. 31 Aug, 2016 - 3 commits
  2. 30 Aug, 2016 - 15 commits
  3. 29 Aug, 2016 - 4 commits
  4. 28 Aug, 2016 - 1 commit
  5. 27 Aug, 2016 - 7 commits
    • Thiago Macieira's avatar
      Mark Clang 3.9 as warning-free · 2743cd54
      Thiago Macieira authored
      
      Change-Id: Id75834dab9ed466e94c7ffff1444b71f29f49afd
      Reviewed-by: default avatarJake Petroules <jake.petroules@qt.io>
      2743cd54
    • Marc Mutz's avatar
      linuxfb plugin: eradicate Q_FOREACH loops · 829c59aa
      Marc Mutz authored
      
      ... by replacing them with C++11 range-for loops.
      
      Then mark the plugin as QT_NO_FOREACH.
      
      Change-Id: I80a18334b1e0c5bbd44dfe45eea80591d478a8d6
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      829c59aa
    • Marc Mutz's avatar
      tests/auto/corelib/json: clean up · dd0daa73
      Marc Mutz authored
      
      Just one Q_FOREACH needed porting to C++11 range-for here.
      
      Change-Id: I30ddd2a80cbb3245e23accc7843e67574fb2db17
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      dd0daa73
    • Marc Mutz's avatar
      minimal platform plugin: eradicate Q_FOREACH loops · 33aaa6a9
      Marc Mutz authored
      
      ... by replacing them with C++11 range-for loops.
      
      Change-Id: I0798d02e19d9f53d96db2f14554325eaeff2a26d
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      33aaa6a9
    • Marc Mutz's avatar
      offscreen plugin: eradicate Q_FOREACH loops · 3c7d67a0
      Marc Mutz authored
      
      ... by replacing them with C++11 for-each loops.
      
      In clearHash(), replace iteration over QHash::keys() with
      iteration over the hash itself. Also use the new const-
      iterator overload of QHash::erase() to save one attempted
      detach (in QHash::find()).
      
      Mark the plugin as QT_NO_FOREACH.
      
      Saves almost 2KiB (1.4%) in text size on optimized GCC 6.1 Linux
      AMD64 builds.
      
      Change-Id: I9bb3154130687c0061ea09b04ab5f627a4d2296c
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      3c7d67a0
    • Marc Mutz's avatar
      tests/auto/corelib/xml: cleanup · efcae5d5
      Marc Mutz authored
      
      - port Q_FOREACH to C++11 range-for
      - mark types held in Qt containers as shared
      - port inefficient QLists to QVectors
        (required adding an artificial default ctor to one of the payload types)
      - fix algorithmic mistake:
        * don't use a QMap to sort a vector of QXmlStream{Attribute,NotationDeclaration},
          constructing a QString key from the QStringRef name(). Use std::sort with a
          lambda. Since this code is used in two places, and we don't yet require poly-
          morphic lambdas, factor the code into a helper function template that also
          takes care of adding the const to the return type so the range-for doesn't
          detach the container.
      
      Fixes errors reported by my local tree's static checks.
      
      Change-Id: I3de97d9b03c87455aa6030998e9ca26c6c79a2e3
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      efcae5d5
    • Marc Mutz's avatar
      tests/auto/corelib/plugin: clean up · 1f8d6195
      Marc Mutz authored
      
      - port from Q_FOREACH to C++11 range-for
      
      Fixes errors reported by my local tree's static checks.
      
      Change-Id: Ib8522ed424ba227d84f9664c3282f95f6bee547c
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      1f8d6195
  6. 26 Aug, 2016 - 10 commits