1. 26 Apr, 2017 10 commits
  2. 24 Mar, 2017 7 commits
  3. 13 Mar, 2017 4 commits
  4. 06 Mar, 2017 1 commit
  5. 14 Feb, 2017 6 commits
  6. 31 Jan, 2017 3 commits
  7. 07 Dec, 2016 5 commits
  8. 07 Nov, 2016 4 commits
    • spiiroin's avatar
      Bump version to 0.86.0+mer7 · 43c89f3b
      spiiroin authored
    • spiiroin's avatar
      Merge branch 'mer1694_startup_and_exit' into 'master' · 6f6d4fc7
      spiiroin authored
      Fix issues related to usb-moded startup, exit and dbus usage
      See merge request !20
    • spiiroin's avatar
      [modules] Clear context pointer after dropping reference · f3a01678
      spiiroin authored
      Not explicitly initializing the pointer to null value makes the validity
      of the initial state subject to compiler/libc level implementation details.
      And not clearing the pointer after dropping the reference can lead to
      hard to debug issues if the potentially state pointer is used later on.
      Explicitly initialize the context to null value and set it back to null
      after dropping the reference.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      [usb-moded] Fix issues on exit path. MER#1694 · b3e2f370
      spiiroin authored
      Exiting from mainloop does not work as intended, looks like handle_exit()
      is meant to be called from main() function after mainloop is stopped. What
      happens in practice is that handle_exit() gets called from signal handler
      and it makes exit() without ever returning to main() function - which
      means some cleanup tasks are skipped.
      In general: Make cleanup tasks happen on the same logical level where
      initialization is made, re-order init/cleanup tasks according to what
      functional inter dependencies exist and add comments describing why
      things are done when they are done.
      Remove handle_exit() function and distribute work it used to do among:
      - usb_moded_stop() - exiting from mainloop
      - usb_moded_cleanup() - releasing usb-mode related state/config data
      - main() - cleaning up init steps made from main()
      To make possible ordering issues more visible, refuse to send usb-moded
      dbus signals in situations where the service name is not owned by the
      ubs-moded process.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>