1. 12 6月, 2019 10 次提交
  2. 11 6月, 2019 6 次提交
    • R
      Improve portable builds · 2755bfc2
      Romain Vimont 提交于
      In portable builds, scrcpy-server.jar was supposed to be present in the
      current directory, so in practice it worked only if scrcpy was launched
      from its own directory.
      
      Instead, find the absolute path of the executable and build a suitable
      path to use scrcpy-server.jar from the same directory.
      2755bfc2
    • R
      Add functions to convert wide char to UTF-8 · 3b17ff7c
      Romain Vimont 提交于
      There was already utf8_to_wide_char(), used to correctly execute
      commands on Windows.
      
      Add the reverse converter: utf8_from_wide_char(). We will need it to
      build the scrcpy-server path based on the executable directory.
      3b17ff7c
    • R
      Extract "scrcpy-server.jar" string · 4eb6b26c
      Romain Vimont 提交于
      The filename is used at several places.
      4eb6b26c
    • R
      Simplify portable build configuration · eb34098a
      Romain Vimont 提交于
      To create a portable build (with scrcpy-server.jar accessible from the
      scrcpy directory), replace OVERRIDE_SERVER_PATH by a simple compilation
      flag: PORTABLE.
      
      This paves the way to use more complex rules to determine the path of
      scrcpy-server.jar in portable builds.
      eb34098a
    • R
      Simplify scrcpy-server path configuration · b777760b
      Romain Vimont 提交于
      The full path of scrcpy-server.jar was partially configured from
      meson.build then concatenated by C code.
      
      Instead, directly write the path in C.
      b777760b
    • R
      Never return 0 for stream protocol · 72bdfbc7
      Romain Vimont 提交于
      On socket disconnection, on Linux, recv() returns -1 and errno is set.
      But on Windows, errno is 0.
      
      In that case, AVERROR(errno) == 0, leading to the warning:
      
      > Invalid return value 0 for stream protocol
      
      To avoid the problem, if errno is 0, return AVERROR_EOF.
      
      Ref: commit 2876463d
      72bdfbc7
  3. 07 6月, 2019 5 次提交
  4. 06 6月, 2019 3 次提交
  5. 05 6月, 2019 6 次提交
  6. 03 6月, 2019 2 次提交
  7. 01 6月, 2019 7 次提交
  8. 31 5月, 2019 1 次提交
    • R
      Add clipboard logs · 6537c2ef
      Romain Vimont 提交于
      Synchronizing local and device clipboards in invisible. Add INFO logs
      on success.
      6537c2ef