1. 09 1月, 2021 3 次提交
    • R
      Move common structs to coords.h · 6385b8c1
      Romain Vimont 提交于
      The size, point and position structs were defined in common.h. Move them
      to coords.h so that common.h could be used for generic code to be
      included in all source files.
      6385b8c1
    • R
      Fix compat missing include · 037be4af
      Romain Vimont 提交于
      The header libavformat/version.h was included, but not
      libavcodec/version.h.
      
      As a consequence, the LIBAVCODEC_VERSION_INT definition depended on the
      caller includes.
      037be4af
    • R
      Remove unused struct port_range · 1e215199
      Romain Vimont 提交于
      It had been replaced by struct sc_port_range in scrcpy.h.
      1e215199
  2. 08 1月, 2021 4 次提交
    • R
      Separate process wait and close · d580ee30
      Romain Vimont 提交于
      On Linux, waitpid() both waits for the process to terminate and reaps it
      (closes its handle). On Windows, these actions are separated into
      WaitForSingleObject() and CloseHandle().
      
      Expose these actions separately, so that it is possible to send a signal
      to a process while waiting for its termination without race condition.
      
      This allows to wait for server termination normally, but kill the
      process without race condition if it is not terminated after some delay.
      d580ee30
    • R
      Rename process_simple_wait to process_wait · 821c1757
      Romain Vimont 提交于
      Adding "simple" in the function name brings no benefit.
      821c1757
    • R
      Move conditional src files in meson.build · cc6f5020
      Romain Vimont 提交于
      Declare all the source files (including the platform-specific ones) at
      the beginning.
      cc6f5020
    • R
      Split command into process and adb · 4bd9da4c
      Romain Vimont 提交于
      The process API provides the system-specific implementation, the adb API
      uses it to expose adb commands.
      4bd9da4c
  3. 04 1月, 2021 2 次提交
  4. 03 1月, 2021 1 次提交
  5. 02 1月, 2021 9 次提交
  6. 01 1月, 2021 2 次提交
  7. 23 12月, 2020 2 次提交
  8. 22 12月, 2020 3 次提交
  9. 17 12月, 2020 1 次提交
  10. 14 12月, 2020 2 次提交
  11. 12 12月, 2020 4 次提交
  12. 11 12月, 2020 1 次提交
  13. 24 11月, 2020 1 次提交
  14. 15 11月, 2020 1 次提交
    • R
      Fix size_t format specifier for Windows · 868e762d
      Romain Vimont 提交于
      Use "%Iu" on Windows. This fixes the following warning:
      
          ../app/src/sys/win/command.c:17:14: warning: unknown conversion type character ‘l’ in format [-Wformat=]
             17 |         LOGE("Command too long (%" PRIsizet " chars)", len - 1);
      868e762d
  15. 09 11月, 2020 4 次提交