1. 21 Apr, 2015 - 2 commits
  2. 20 Apr, 2015 - 3 commits
  3. 15 Apr, 2015 - 15 commits
  4. 10 Apr, 2015 - 4 commits
  5. 01 Apr, 2015 - 1 commit
  6. 31 Mar, 2015 - 4 commits
  7. 30 Mar, 2015 - 2 commits
    • Alex Blasche's avatar
      Android: abort() QBluetoothSocket in its dtor · dd5054b4
      Alex Blasche authored
      
      [ChangeLog][QBluetooth][Android] Forced QBluetoothSocket to close when
      its dtor is called
      
      Change-Id: Ie31a6b64e4939c800983b5c497532c6fcf90c7c0
      Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
      dd5054b4
    • Alex Blasche's avatar
      Android: Fix crash when destructing socket during active connect · e49ef4af
      Alex Blasche authored
      
      Calling BluetoothSocket.connect in Java blocks for a certain amount of
      time. Previously, QtConcurrent::run() was used to separate the
      Java connect() call out into a different thread. Since the function
      executed by QtConcurrent and the user facing class shared data fields,
      a crash occurred if the user deleted QBluetoothSocket while
      QtConcurrent hadn't executed its service connect call yet.
      
      The problem is solved by using QThread and Standard signal/slots
      which separates the shared data members. The only remaining shared data
      member is Java's BluetoothSocket instance which is shared via
      QAndroidJniObject references. This is no problem as deleting one
      reference retains the other reference.
      
      Calling close() on an Android BluetoothSocket while a connect() is
      ongoing seems to be buggy. Sometimes the close() returns, the pending
      connect() throws an exception but the physical connection still
      gets established. To avoid this the patch queues the close() call
      up until after the connect() statement has returned. It is
      accepted behavior that the connection might still get enabled for
      a very brief moment despite a close() being issues before the connect()
      actually finished.
      
      The SocketConnectThread cleans itself up once the thread finished().
      
      Task-number: QTBUG-44930
      Change-Id: I8324497a7395de390529ecd0b97b1a326cd78f63
      Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
      e49ef4af
  8. 24 Mar, 2015 - 5 commits
  9. 23 Mar, 2015 - 3 commits
  10. 19 Mar, 2015 - 1 commit