1. 01 Sep, 2020 2 commits
  2. 31 Aug, 2020 1 commit
  3. 23 Jan, 2019 1 commit
  4. 17 Jan, 2019 1 commit
  5. 04 Apr, 2018 2 commits
  6. 29 Mar, 2018 1 commit
  7. 01 Jun, 2015 2 commits
  8. 18 May, 2015 4 commits
    • spiiroin's avatar
      Fix timeout calculations in iphb_wait2() · 4e8ee2f1
      spiiroin authored
      The timeout handling in iphb_wait2() mixes signed and unsigned
      integers which causes warnings after enabling -Wextra diagnostics.
      Eliminate numeric overflows due to signed/unsigned to a reasonable
      Refactor the code to use single exit point and make sure that all
      error return paths also set the errno to something relevant.
      Add comments that hopefully clarify what the function is doing.
      [libiphb] Fix timeout calculations in iphb_wait2(). Fixes MER#1005
    • spiiroin's avatar
      Fix warnings about missing structure initializers · e63c2b67
      spiiroin authored
      Using structure initializer that does not specify value for every
      field generates a warning unless at least one member is explicitly
      Use named initializers which both makes the code more readable and
      silences the warning.
      [compilation] Fix warnings about missing structure initializers. Contributes to MER#1005
    • spiiroin's avatar
      Fix warnings about unused callback function parameters · e379fe88
      spiiroin authored
      The parameters are unused on purpose and can be ignored.
      [compilation] Fix warnings about unused parameters. Contributes to MER#1005
    • spiiroin's avatar
      Enable extra compilation warnings · 84e31106
      spiiroin authored
      When libiphb is compiled as a part of another program that uses
      '-W' parameter, it reveals potential problems in libiphb code that
      '-Wall' does not show.
      Note: While '-W' is still supported, nowadays '-Wextra' is preferred.
      Use -Wextra when building libiphb.
      [compilation] Enable extra compilation warnings. Contributes to MER#1005
  9. 15 Mar, 2015 2 commits
  10. 14 Mar, 2015 1 commit
  11. 03 Mar, 2015 3 commits
  12. 23 Sep, 2014 2 commits
  13. 22 Sep, 2014 1 commit
    • spiiroin's avatar
      Allow canceling of iphb wakeups by iphb_wait() with zero wakeup range · 61874d7a
      spiiroin authored
      The daemon side has always assumed that using zero wait window means
      the client wants to cancel the currently programmed wakeup. For some
      reason it was never noticed that the client library does not make the
      request unless a non-zero wait period is defined.
      Do not ignore iphb_wait*() requests with zero wait period.
      [libiphb] Allow canceling of iphb wakeups by iphb_wait() with zero wakeup range. Fixes JB#20629
  14. 24 Mar, 2014 5 commits
  15. 21 Mar, 2014 3 commits
    • spiiroin's avatar
    • spiiroin's avatar
      Update hbtest3 to use the 32bit iphb wakeup ranges · a7a7472b
      spiiroin authored
      Use iphb_wait2() instead of iphb_wait().
      Add a wakeup that is far enough to need 32bit time spans and make the
      test case fail if it gets triggered during the test execution.
    • spiiroin's avatar
      Support 32bit iphb wakeup ranges · 2b43bf7c
      spiiroin authored
      The changes are compatible with pre-existing 16 bit wakeup ranges both
      in API and socket protocol levels.
      Adds new function iphb_wait2() that allows
      * using 32bit values for wakeup ranges
      * synchronizing wakeups without forcing resume from suspend
      The previously existing iphb_wait() is kept for API compatibility, but
      is now just a wrapper for iphb_wait2().
      [libiphb] Support 32bit iphb wakeup ranges. Contributes to JB#16116
  16. 22 Nov, 2013 1 commit
  17. 21 Nov, 2013 1 commit
    • spiiroin's avatar
      Add wakeup field to iphb wait request data · dae40050
      spiiroin authored
      This is used internally within dsme to flag internal wait
      requests that need to wake up from suspend.
      [libiphb] Add wakeup field to iphb wait request data
  18. 10 Oct, 2013 4 commits
  19. 07 Jun, 2013 2 commits
  20. 06 Jun, 2013 1 commit