1. 12 3月, 2018 6 次提交
  2. 11 3月, 2018 1 次提交
  3. 10 3月, 2018 4 次提交
  4. 09 3月, 2018 2 次提交
  5. 08 3月, 2018 21 次提交
  6. 01 3月, 2018 1 次提交
  7. 28 2月, 2018 5 次提交
    • R
      Terminate the server on stop · c78ad637
      Romain Vimont 提交于
      On user request to quit, two kinds of blocking calls must be interrupted
      on the server:
       1. the reads from and writes to the socket;
       2. the call to MediaCodec.dequeueOutputBuffer().
      
      The former case was handled by calling shutdown() on the socket from the
      client, but the latter was not managed.
      
      There is no easy way to wake this call properly, so just terminate the
      process from the client (i.e. send SIGTERM on Linux) instead.
      c78ad637
    • R
      Initialize eof flag from BufferInfo · b61310a2
      Romain Vimont 提交于
      Stop encoding if the codec signaled the end of stream.
      
      The eof flag was read, but never written.
      b61310a2
    • R
      Clean up the server from temporary folder · 221a7d08
      Romain Vimont 提交于
      The server is copied to /data/local/tmp/scrcpy-server.jar and executed
      on the device.
      
      As soon as we are connected, we can unlink (rm) it from /data/local/tmp,
      to keep the device clean.
      221a7d08
    • R
      Clean up useless const-casts · 08d32e3b
      Romain Vimont 提交于
      The function adb_execute() now expects a "const char *const *" parameter
      for the adb command, so there is no need to cast.
      08d32e3b
    • R
      Rename ScrCpyServer to Server · 487cb10c
      Romain Vimont 提交于
      The Server class is in package scrcpy, there is no need to repeat the
      name in the classname.
      487cb10c