1. 29 Aug, 2016 - 2 commits
  2. 03 Aug, 2016 - 1 commit
  3. 01 Aug, 2016 - 1 commit
  4. 28 Jul, 2016 - 1 commit
  5. 21 Jul, 2016 - 3 commits
    • Edward Welbourne's avatar
      Merge remote-tracking branch 'origin/5.7' into dev · 91ebebdb
      Edward Welbourne authored
      Conflicts:
      	src/webchannel/doc/src/index.qdoc
      	src/webchannel/qwebchannelabstracttransport.cpp
      Overlapping changes to documentation; constructed hybrid.
      
      	src/webchannel/qmetaobjectpublisher.cpp
      	tests/auto/webchannel/tst_webchannel.cpp
      	tests/auto/webchannel/tst_webchannel.h
      Both sides made additions; in the same place.
      
      Change-Id: Iff12970978b70946dc3e1290841aca2d35c9c1d0
      91ebebdb
    • Milian Wolff's avatar
      Add a test that emits signals from C++ and checks them in QML · 3b28a695
      Milian Wolff authored
      
      This is again trying to reproduce the issue described in the bug report,
      but it also passes for me. Still, it's good to have this tested in
      more depth.
      
      Change-Id: Ibaaefd7359d558c3b59af3d86a1260ab06caa598
      Task-number: QTBUG-54074
      Reviewed-by: default avatarFrederik Gladhorn <frederik.gladhorn@qt.io>
      v5.6.2
      3b28a695
    • Kai Dohmen's avatar
      Remove deleted transport objects · 43ff11f5
      Kai Dohmen authored
      
      Added a QMultiHash which maps transport objects to wrapped object ids.
      transportRemoved iterates over all matching wrapped objects and removes
      the passed transport object from their transports-vector. If the
      transports-vector is empty after removing the passed transport object
      the objectDestroyed will be called on the wrapped object.
      transportRemoved will be called either on the transports destoryed
      signal or on disconnecting the webchannel from it.
      
      Without this changes the QMetaObjectPublisher::wrappedObjects and
      ::registeredObjectIds would only be cleaned up if the website calls
      deleteLater on QObjects but not on website reloads.
      
      Task-number: QTBUG-50074
      Change-Id: If294564fee2406edd7fb578852aeb269cac23a92
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      (cherry picked from commit fa2374d7
      
      )
      Reviewed-by: default avatarFrederik Gladhorn <frederik.gladhorn@qt.io>
      43ff11f5
  6. 15 Jul, 2016 - 1 commit
    • Edward Welbourne's avatar
      Merge remote-tracking branch 'origin/5.6' into 5.7 · 3836fd7d
      Edward Welbourne authored
      Alleged Conflicts:
      	examples/webchannel/chatclient-html/doc/src/chatclient-html.qdoc
      	examples/webchannel/chatclient-qml/doc/src/chatclient-qml.qdoc
      	examples/webchannel/chatserver-cpp/doc/src/chatserver-cpp.qdoc
      
      In each case, the two sides agreed byte-for-byte.
      Not quite sure what git thought the conflict was !
      
      Change-Id: I5da9695b667f4112848c520b630ab1304d61cea3
      3836fd7d
  7. 13 Jul, 2016 - 1 commit
  8. 28 Jun, 2016 - 1 commit
  9. 21 Jun, 2016 - 1 commit
    • Kai Dohmen's avatar
      Make passing objects from website to server possible · f48e8c97
      Kai Dohmen authored
      
      If you get an object from the server and want to pass it back to the
      server via a function the id of the object is passed instead of the
      whole json object. On the server side QMetaObjectPublisher::invokeMethod
      now looks up the object in QMetaObjectPublisher::wrappedObjects by the
      passed object-id.
      
      Task-number: QTBUG-50075
      Change-Id: Id0df2dfaa79bcba12ca48391ae7537ac1a086898
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      f48e8c97
  10. 16 Jun, 2016 - 1 commit
  11. 15 Jun, 2016 - 1 commit
  12. 08 Jun, 2016 - 1 commit
  13. 02 Jun, 2016 - 1 commit
    • Leena Miettinen's avatar
      Doc: Edit example documentation · 18d8ca18
      Leena Miettinen authored
      
      - Add images to the examples.
      - Add instructions for running the examples
      - Edit for grammar and style
      - Add dependencies to Qt WebEngine and Qt WebSockets modules
      - Add a workaround for preventing autolinking of WebChannel,
        WebEngine and WebSockets to the wrong targets
      - Use explicit linking where necessary
      
      Change-Id: Ia4025284063fa09c9e2a0b2c347ee682bba8a615
      Reviewed-by: default avatarTopi Reiniö <topi.reinio@theqtcompany.com>
      (cherry picked from commit 01ea92c7)
      18d8ca18
  14. 01 Jun, 2016 - 2 commits
  15. 31 May, 2016 - 5 commits
    • Leena Miettinen's avatar
      Doc: Use standard verb form to start function docs · d2e2afce
      Leena Miettinen authored
      
      For consistency, the first verb should be in 3rd person
      singular form.
      
      Change-Id: I5e24ecbbac1b1ab85e737f127b021f24a55c8dd4
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      d2e2afce
    • Leena Miettinen's avatar
      Doc: Fix links to other modules · 9ebaffbd
      Leena Miettinen authored
      
      -Remove references to Qt WebKit
      
      Change-Id: I0bd184021b1a87828e93f5783c38b9ba97f37763
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      9ebaffbd
    • Leena Miettinen's avatar
      Doc: Edit the index page · 432ff4bf
      Leena Miettinen authored
      
      - Remove reference to Qt WebKit
      - Add Getting Started section
      - Use standard section titles for API Reference
        and Examples
      
      Change-Id: Ie5e3ac792a109f680132a79e86d5e1065f4c3829
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      432ff4bf
    • Kai Dohmen's avatar
      Remove deleted transport objects · fa2374d7
      Kai Dohmen authored
      
      Added a QMultiHash which maps transport objects to wrapped object ids.
      transportRemoved iterates over all matching wrapped objects and removes
      the passed transport object from their transports-vector. If the
      transports-vector is empty after removing the passed transport object
      the objectDestroyed will be called on the wrapped object.
      transportRemoved will be called either on the transports destoryed
      signal or on disconnecting the webchannel from it.
      
      Without this changes the QMetaObjectPublisher::wrappedObjects and
      ::registeredObjectIds would only be cleaned up if the website calls
      deleteLater on QObjects but not on website reloads.
      
      Task-number: QTBUG-50074
      Change-Id: If294564fee2406edd7fb578852aeb269cac23a92
      Reviewed-by: default avatarMilian Wolff <milian.wolff@kdab.com>
      fa2374d7
    • Leena Miettinen's avatar
      Doc: Edit example documentation · 01ea92c7
      Leena Miettinen authored
      
      - Add images to the examples.
      - Add instructions for running the examples
      - Edit for grammar and style
      - Add dependencies to Qt WebEngine and Qt WebSockets modules
      - Add a workaround for preventing autolinking of WebChannel,
        WebEngine and WebSockets to the wrong targets
      - Use explicit linking where necessary
      
      Change-Id: Ia4025284063fa09c9e2a0b2c347ee682bba8a615
      Reviewed-by: default avatarTopi Reiniö <topi.reinio@theqtcompany.com>
      01ea92c7
  16. 26 May, 2016 - 1 commit
    • Milian Wolff's avatar
      Fix setting properties of QJson{Value,Array,Object} type. · bec50124
      Milian Wolff authored
      
      Similar to the previous issue, where these types were not properly
      converted to QVariant when invoking a method, we manually do the
      conversion now to get the desired behavior. The culprit is again
      that QJsonValue::toVariant converts an object e.g. to a QVariantMap,
      and not to a QVariant containing a QJsonObject.
      
      [ChangeLog] QObject properties of type QJsonValue, QJsonArray or
      QJsonObject can now be set via the Qt WebChannel.
      
      Task-number: QTBUG-48198
      Change-Id: I5d574b1a5cffd6d6ad9b555f2a3e872b9c3425a7
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      bec50124
  17. 25 May, 2016 - 1 commit
    • Milian Wolff's avatar
      Enable calling C++ functions taking QJson arguments via webchannel. · 97c876a1
      Milian Wolff authored
      
      We used to convert the QJsonValue arguments to QVariants, which
      then failed to call a C++ function which expected on of the three
      QJson data types, i.e. QJsonValue, QJsonObject or QJsonArray. Instead,
      we now detect these three cases and manually convert the QJsonValue
      as needed.
      
      [ChangeLog] C++ functions taking arguments of type QJsonValue,
      QJsonArray or QJsonObject can now be called via the Qt WebChannel.
      
      Change-Id: I94e0c8937ca35e2ecd3554f7ddf2d4e5a3328570
      Task-number: QTBUG-48198
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      97c876a1
  18. 24 May, 2016 - 2 commits
  19. 19 May, 2016 - 2 commits
  20. 12 May, 2016 - 2 commits
  21. 28 Apr, 2016 - 2 commits
  22. 27 Apr, 2016 - 2 commits
  23. 25 Apr, 2016 - 1 commit
  24. 13 Apr, 2016 - 4 commits